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
<havenn> volty: Rails is safe for now, muahahaha.
<volty> havenn: yes, probably he is talking to the guys how to overcome the mess :)
bbttxu has joined #ruby
scade has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<ebobby> I have an idea for a Rails plugin that may be very useful to people, although I assume there may be another one doing something similar even if I can't find it.
bbttxu has left #ruby [#ruby]
<volty> a simple question (and a bit stupid): what do you guys use when (and if) you need pairs of (name, value) but you also need to preserve or manage their (custom) order? (something like ordered hashes - i have my own based on hash but i'm asking if there' s something "more standard")
hbpoison has joined #ruby
<havenn> volty: Use ruby 1.9+ :P
<volty> havenn: I have to check the compatibility of qtruby
<heftig> volty: 1.9's Hash preserves insertion order
<havenn> volty: Hashes are only unordered in 1.8-
hbpoison has quit [Read error: Connection reset by peer]
<havenn> volty: Hrmm, not sure.
<heftig> however, you can't reorder it. for that, you'd need to construct a new hash
yakko has quit [Remote host closed the connection]
<volty> havenn: nice to know that. So, if you put 'first' -> havenn, 'second' -> rubyboy, and i want to change the order i have to delete 'first' and then reinsert it ? e.g.
<heftig> yes
fixl has joined #ruby
<volty> i'll stick to mine for some (long) time, i need them only for dynamic widgets creation
BadProphet has quit [Quit: This computer has gone to sleep]
c0rn_ has joined #ruby
Cultofmetatron has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
pehlert has quit [Quit: Leaving.]
bapa has quit [Read error: Connection reset by peer]
Servidorv has quit [Ping timeout: 276 seconds]
bapa has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
xpot-mobile has joined #ruby
postmodern has joined #ruby
dtkatch has joined #ruby
noxoc has joined #ruby
ltsstar has joined #ruby
Servidorv has joined #ruby
_alejandro has joined #ruby
ltsstar has quit [Client Quit]
heftig has quit [Quit: leaving]
freakazoid0223 has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
bapa has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
bapa has joined #ruby
rabidpraxis has joined #ruby
zomgbie has joined #ruby
_alejandro has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
nerdy has quit [Quit: Computer has gone to sleep.]
tchebb has joined #ruby
zomgbie has quit [Ping timeout: 260 seconds]
hbpoison has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
perryh has quit [Excess Flood]
tenmilestereo has quit [Quit: Leaving]
<dharmaturtle> I have a loop that builds data from a variable size JSON. Would it be possible to
<dharmaturtle> oops.
jslowe has quit [Quit: Leaving]
perryh has joined #ruby
hron84 has quit [Quit: Leaving.]
<dharmaturtle> Would it be possible to build an activerecord object piece by piece and then send it all to the server with one .save?
Servidorv has quit [Ping timeout: 260 seconds]
instinkt has quit [Quit: leaving]
volty has quit [Quit: Konversation terminated!]
ebobby has quit [Ping timeout: 244 seconds]
Ivo has joined #ruby
rabidpraxis has quit [Remote host closed the connection]
<Spaceghostc2c> dharmaturtle: Yeah.
<Spaceghostc2c> You could use a form object.
<dharmaturtle> okay, thank you!
love_color_text has joined #ruby
krisbulman has quit [Quit: krisbulman]
nyrb has joined #ruby
xpot-mobile has quit [Quit: I'm Out, Later.]
xpot-mobile has joined #ruby
heftig has joined #ruby
xpot-mobile has quit [Read error: Connection reset by peer]
kil0byte has joined #ruby
Servidorv has joined #ruby
skcin7 has quit [Quit: Computer has gone to sleep.]
<havenn> volty: #ruby-lang is about how Style has 'no plans' to order fifth season of the 'Ruby' TV show. ;O
tchebb has quit [Ping timeout: 276 seconds]
awarner has quit [Remote host closed the connection]
<havenn> Oh, nvm, I was reading in the past. Silly comment not relevant. :(
havenn has quit [Remote host closed the connection]
<andy__> anyone else tried code school?
havenn has joined #ruby
andy__ is now known as ablankfield
invapid_ has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
Trucker has joined #ruby
ablankfield has quit [Quit: Lost terminal]
jeffreybaird has joined #ruby
_alejandro has joined #ruby
ablankfield has joined #ruby
<Trucker> Hi
<Trucker> I was wondering
dakine has joined #ruby
<Trucker> How would do I do PHP's $this->parent in Ruby?
AwesomeGarethMan has quit [Quit: leaving]
love_color_text has quit [Remote host closed the connection]
_alejandro has quit [Ping timeout: 264 seconds]
havenn_ has joined #ruby
<heftig> Trucker: what does that refer to?
krisbulman has joined #ruby
<Trucker> The class which called the current class
<Trucker> Say, if X class has something which makes an instance of Y class, in Y class, $this->parent would refer to X (but the instance of X which called Y)
jipiboily has left #ruby [#ruby]
<heftig> but?
<Trucker> ?
<heftig> you said "but". that confused me
<Trucker> well, I'm saying that $this->parent would not simply give me the class name or a NEW instance
<Trucker> but the actual parent, the guy who created Y
<heftig> the instance of X?
tjbiddle has joined #ruby
artOfWar has joined #ruby
<Trucker> yes.
<heftig> that's not saved in ruby
<Trucker> wat
<heftig> i'm pretty sure that's not saved in most OOP languages
<heftig> you would have to do it manually, by passing self when creating the Y instance
<Trucker> So, in my code, I have created an instance of Y class in a function in X class.. - How do I get a handler for X class from within Y?
<ryanf> YClass.new(self)
<Trucker> thank you<3
<ryanf> def initialize(some_x_class)
artOfWar_ has joined #ruby
<ryanf> etc
<heftig> with class YClass; def initialize(creator); @creator = creator; end; end
Servidorv has quit [Ping timeout: 264 seconds]
<ryanf> are you sure that's really how php works?
<ryanf> that seems suspiciously weird, even for php
<heftig> it's pretty horrible IMO and violates a lot of OO design patterns
<apeiros_> o0
<Trucker> Yeah, from a class in PHP< you can call $this->parent and it will reutrn the parent
<heftig> (what php allegedly does, i mean
<apeiros_> the parent class?
<apeiros_> self.class.superclass
<apeiros_> self.class returns the class of self, superclass returns the superclass of the class
pac1 has quit [Quit: I got it one line of code at a time]
<apeiros_> and to invoke the superclass' method of the same name, you use `super()`
<ablankfield> has anyone here used the codeschool website?
<apeiros_> @ Trucker
artOfWar has quit [Ping timeout: 260 seconds]
<apeiros_> ablankfield: I haven't. but don't ask meta questions. ask your real question instead.
Liothen has joined #ruby
carlzulauf has joined #ruby
<ablankfield> I'm just curious if the ruby courses on there are for complete beginners or if you are supposed to know some ruby before you start
freakazoid0223 has joined #ruby
SCommette has quit [Quit: SCommette]
havenn_ has quit [Ping timeout: 240 seconds]
ebobby has joined #ruby
<Trucker> thank you for your help rubyfolk
<Trucker> i appreciate it greatly
ebobby is now known as Guest15124
Servidorv has joined #ruby
kaneda__ has quit [Ping timeout: 260 seconds]
tchebb has joined #ruby
kaneda__ has joined #ruby
Guest15124 has quit [Ping timeout: 260 seconds]
<Trucker> Hi, it's me again
<Trucker> I have the class parent thing working, but I'm wondering how I would access a class variable from it?
samphippen has quit [Quit: Computer has gone to sleep.]
<Trucker> for example I set @@variable in the parent class and I want to access it from the new class I created
cableray has quit [Quit: cableray]
<ryanf> class variables are actually shared between parent and child classes
<apeiros_> and usually it's a bad idea to use them
emmanuelux has quit [Quit: emmanuelux]
<apeiros_> classes in ruby are objects (= instances) too, as such, they can have instance variables and can have accessors to those
<Trucker> well I'm confused, is there a special way to access the variables, because I can't access it in the child class using @@variable
<apeiros_> Trucker: paste code please
<apeiros_> helping from thin air is hard
<Trucker> alright
noxoc has quit [Ping timeout: 245 seconds]
d2dchat has joined #ruby
<Trucker> I apologize for my bad style
<Trucker> I haven't been using Ruby for too long
<apeiros_> Trucker: Client is not a childclass of Server
<Trucker> oh
<apeiros_> and as such has no access to @@vars
<Trucker> I'm sorry, they are separate classes
<apeiros_> it wouldn't make much sense either to design the client as a child of the server…
havenn_ has joined #ruby
<Trucker> as you can see I do pass self to the client class
CaptainKnots has quit [Quit: bazinga!]
<apeiros_> you'd use @test instead of @@test, and add (between line 3 and 4) the line `attr_accessor :test`
<apeiros_> in line 43, you'd write: puts parentClass.test
carlzulauf has quit [Ping timeout: 268 seconds]
<apeiros_> and I'd *totally* rename that variable to `server` - parent class is wrong (as it's not the parent class) and a bad naming scheme (don't name things after their type, that's pointless, state their meaning)
Progster has quit [Ping timeout: 255 seconds]
<Trucker> Thanks! It works.
<apeiros_> unrelated to your problem: I'd use `@clients = []` instead of `@clients = Array.new`
jeffreybaird has quit [Quit: jeffreybaird]
<Trucker> Also, I will rename it to server
<apeiros_> also: you don't need to state `self.` when calling methods. `self.clientLoop(@serverResource)` --> `clientLoop(@serverResource)`
carlzulauf has joined #ruby
CaptainJet has joined #ruby
<apeiros_> and: no semicolons. really.
<Trucker> sorry about the semicolons
<Trucker> and ()'s
<apeiros_> no need to be sorry
<Trucker> I'm used to it because of other languages I use
<apeiros_> you're new. I'm just telling you where and how you can improve ;-)
<shadewind> can the "retry" keyword only be used in the rescue clause?
<apeiros_> of course, as said, no worries.
<shadewind> not in the begin clause itself?
<apeiros_> shadewind: as of 1.9, yes (afaik)
Skelz0r has joined #ruby
zomgbie has joined #ruby
<apeiros_> shadewind: but why don't you just try it?
<shadewind> I am trying it, just trying to figure out if that's the problem or if I'm simply doing something else wrong
<apeiros_> Trucker: also, ruby uses a different naming convention than php
sepp2k has quit [Read error: Connection reset by peer]
<apeiros_> we use snake_case for methods and variables
<apeiros_> only Constants are CamelCase
<shadewind> PHP has no naming convention
<apeiros_> Trucker: `if(potentialClient != false)` --> `if potentialClient`
<Trucker> alright
LouisGB has joined #ruby
<apeiros_> you can also remove almost all return statements
<apeiros_> ruby returns the last evaluated expression
<apeiros_> *the result of
LouisGB has quit [Client Quit]
<Trucker> oh
<Trucker> wow, that's quite a useful feature
<tekknolagi> hey guys, just a bit self promotional
<tekknolagi> but since i worked out a lot of the bugs in #ruby
<tekknolagi> i thought i might as well share
<tekknolagi> guys, check out http://brightswipe.com ! it's a torrent indexer
<tekknolagi> written with Sinatra
<apeiros_> tekknolagi: don't worry, self promotion is perfectly fine as long as it is ruby related ;-)
eph3meral has quit [Quit: eph3meral]
hbpoison has joined #ruby
Zoxc has left #ruby [#ruby]
<Ivo> does case have a fall-through behavior?
moshee has quit [Ping timeout: 240 seconds]
jeffreybaird has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
<blazes816> Ivo: else
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
zomgbie has quit [Ping timeout: 240 seconds]
<blazes816> case 1; when 1; puts '1'; else; 'not 1'; end
Cache_Money has joined #ruby
<apeiros_> Ivo: no
<blazes816> :(
<blazes816> holy crap
<blazes816> i totally misread the hell out of that
<apeiros_> blazes816: that's default, not fall-through. fall-through means that it will execute every when starting from the first matching one
<blazes816> yeah yeah
<Ivo> blazes816: not fall-through :( apeiros_ thans, just wanted to check
<blazes816> going to sleep.....
<Ivo> g'night :)
<apeiros_> Ivo: you can have multiple values on the same when, though
<apeiros_> case x; when a,b,c then do_stuff; when d,e then other_stuff; …
g-ram has quit [Quit: Computer has gone to sleep.]
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
yaymukund has quit [Read error: Operation timed out]
beowuff has joined #ruby
khakimov has joined #ruby
jarred_ has joined #ruby
<scx> how to fix this code?: http://wklej.org/id/856426/
ddd has quit [Quit: Leaving.]
<scx> i want to initialize some variables in singleton class
invapid_ has quit [Read error: Connection reset by peer]
Cache_Money has quit [Ping timeout: 260 seconds]
invapid_ has joined #ruby
<scx> heftig: ok, thanks
Trucker has quit [Ping timeout: 260 seconds]
LouisGB has joined #ruby
rjsamson has joined #ruby
skcin7 has joined #ruby
havenn_ has quit [Remote host closed the connection]
scade has quit [Remote host closed the connection]
forced_request has quit [Remote host closed the connection]
havenn_ has joined #ruby
nari_ has joined #ruby
scx has quit [Remote host closed the connection]
khakimov has quit [Quit: Computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 256 seconds]
* apeiros_ prefers def self.print - easier to grep
pipopopo has joined #ruby
Ruler_Of_Heaven_ has quit [Ping timeout: 272 seconds]
jeremywrowe has joined #ruby
ebobby has joined #ruby
charliesome has joined #ruby
ebobby is now known as Guest98906
eph3meral has joined #ruby
Guest98906 has quit [Ping timeout: 260 seconds]
baroquebobcat has joined #ruby
skcin7 has quit [Ping timeout: 245 seconds]
skcin7 has joined #ruby
baroquebobcat has quit [Client Quit]
havenn_ has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 260 seconds]
thone_ has joined #ruby
chussenot has quit [Quit: chussenot]
helichopter has quit [Ping timeout: 240 seconds]
thone has quit [Ping timeout: 268 seconds]
zomgbie has joined #ruby
whowantstolivefo has quit [Ping timeout: 245 seconds]
dnyy has quit [Remote host closed the connection]
nyrb has quit [Remote host closed the connection]
Goles has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
jeremywrowe has quit [Quit: jeremywrowe]
k0nichiwa has quit [Ping timeout: 240 seconds]
zomgbie has quit [Ping timeout: 260 seconds]
havenn has quit [Remote host closed the connection]
dnyy has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
jrowe has joined #ruby
g-ram has joined #ruby
g-ram has quit [Client Quit]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
jrowe has left #ruby [#ruby]
joast has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
fboudreau has joined #ruby
fboudreau is now known as starship
starship has quit [Changing host]
starship has joined #ruby
yaymukund has joined #ruby
bbttxu has joined #ruby
tk___ has joined #ruby
cableray has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
Hanmac1 has joined #ruby
leoncamel has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 268 seconds]
ryanf has quit [Ping timeout: 240 seconds]
cableray has quit [Quit: cableray]
deo_ has joined #ruby
ebobby has joined #ruby
ebobby is now known as Guest31475
mahmoudimus has quit [Quit: Computer has gone to sleep.]
SCommette has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Guest31475 has quit [Ping timeout: 256 seconds]
k0nichiwa has joined #ruby
dnyy has quit [Remote host closed the connection]
akem has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
Juul has joined #ruby
vonsar has quit [Quit: This computer has gone to sleep]
SCommette has quit [Quit: SCommette]
krisbulman has quit [Quit: krisbulman]
sambio has quit []
kiyoura has quit [Ping timeout: 272 seconds]
g-ram has joined #ruby
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
krisbulman has joined #ruby
sent-hil has joined #ruby
baroquebobcat has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
zomgbie has joined #ruby
invapid_ has quit [Ping timeout: 252 seconds]
g-ram has quit [Quit: Computer has gone to sleep.]
arubin has joined #ruby
radic has joined #ruby
g-ram has joined #ruby
niklasb has quit [Ping timeout: 265 seconds]
SirRamonGabriel has joined #ruby
radic_ has quit [Ping timeout: 260 seconds]
scade has joined #ruby
zomgbie has quit [Ping timeout: 255 seconds]
kamek has joined #ruby
kamek has left #ruby [#ruby]
dakine has quit [Read error: Connection reset by peer]
eph3meral has quit [Quit: eph3meral]
dakine has joined #ruby
kil0byte has joined #ruby
carlzulauf has quit [Ping timeout: 260 seconds]
ryanf has joined #ruby
carlzulauf has joined #ruby
arietis has joined #ruby
igabreu has joined #ruby
blazes816 has quit [Quit: blazes816]
ddd has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
_alejandro has joined #ruby
<tos9> Why is Time making me specify a date? How do I specify a time?
<tos9> And also, is there some other Time class other than the one I get by require 'time' that is loaded by default? One that does not appear to have .parse or .strptime methods. After requiring 'time' though the Time class then appears to.
jarred__ has joined #ruby
jarred_ has quit [Ping timeout: 245 seconds]
hbpoison has joined #ruby
mikepack has quit [Remote host closed the connection]
deo_ has quit [Read error: Connection reset by peer]
deo_ has joined #ruby
ablankfield has quit [Ping timeout: 268 seconds]
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
rakl has quit [Quit: sleeping]
CaptainJet has quit []
akemEikko has joined #ruby
cableray has joined #ruby
thinkdevcode has joined #ruby
helichopter has joined #ruby
akem has quit [Ping timeout: 252 seconds]
uris has quit [Quit: Leaving]
mahmoudimus has joined #ruby
kil0byte has quit [Ping timeout: 276 seconds]
sertaconay has joined #ruby
ryanf has quit [Quit: broken pipes |||]
akemEikko has quit [Read error: Connection timed out]
love_color_text has joined #ruby
Serial_Killer_C has joined #ruby
ryanf has joined #ruby
sent-hil has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
kbeddingfield has joined #ruby
Serial_K_ has joined #ruby
nyrb has joined #ruby
Serial_Killer_C has quit [Ping timeout: 264 seconds]
c0rn_ has quit []
kbeddingfield has quit [Ping timeout: 244 seconds]
igabreu has quit [Remote host closed the connection]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
justinmcp has joined #ruby
rjsamson has quit [Remote host closed the connection]
thinkdevcode has quit [Ping timeout: 245 seconds]
Serial_Killer_C has joined #ruby
rjsamson has joined #ruby
araujo has quit [Quit: Leaving]
kbeddingfield has joined #ruby
zomgbie has joined #ruby
Serial_K_ has quit [Ping timeout: 260 seconds]
zomgbie has quit [Read error: Operation timed out]
<tos9> Never mind. I see that the answer is "you don't".
rjsamson has quit [Read error: Operation timed out]
banisterfiend has joined #ruby
jaygen has quit [Remote host closed the connection]
jaygen has joined #ruby
anirudh24seven has quit [Ping timeout: 272 seconds]
love_color_text has quit [Remote host closed the connection]
love_color_text has joined #ruby
LouisGB has quit [Ping timeout: 248 seconds]
love_color_text has quit [Remote host closed the connection]
mikepack has joined #ruby
Cache_Money has joined #ruby
macabre has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
g-ram has quit [Quit: Computer has gone to sleep.]
recycle has quit [Remote host closed the connection]
g-ram has joined #ruby
recycle has joined #ruby
_veer has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Ping timeout: 248 seconds]
itnomad has quit [Quit: Leaving]
_veer has joined #ruby
leoncamel has joined #ruby
justinmcp has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
andrewhl has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
justinmcp has joined #ruby
RudyValencia has quit [Read error: No route to host]
RudyValencia has joined #ruby
areil has joined #ruby
jaygen has quit [Remote host closed the connection]
c0rn_ has joined #ruby
_alejandro has quit [Ping timeout: 244 seconds]
mneorr has quit [Remote host closed the connection]
__miha__ has quit [Read error: Operation timed out]
medik has quit [Ping timeout: 245 seconds]
__miha__ has joined #ruby
ebobby has joined #ruby
ebobby is now known as Guest16194
deo_ has quit [Read error: Connection reset by peer]
d2dchat has joined #ruby
Guest8394 has quit [Quit: Guest8394]
Guest16194 has quit [Ping timeout: 260 seconds]
nari_ has quit [Ping timeout: 256 seconds]
Takehiro has joined #ruby
thinkdevcode has joined #ruby
helichopter has quit [Ping timeout: 245 seconds]
yakko has joined #ruby
dnyy has joined #ruby
carlzulauf has quit [Ping timeout: 260 seconds]
carlzulauf has joined #ruby
_alejandro has joined #ruby
yoklov has quit [Read error: Connection reset by peer]
Servidorv has quit [Ping timeout: 252 seconds]
zomgbie has joined #ruby
Ivo has quit [Ping timeout: 245 seconds]
savage- has joined #ruby
yoklov_ has joined #ruby
justinmcp has quit [Remote host closed the connection]
kaawee has joined #ruby
Ivo has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
<dharmaturtle> In activerecord, regarding update_attribute, do the parameters have to be symbols?
<dharmaturtle> I'm trying to just put a string in there, and I'm getting this error: `method_missing': undefined method `insert string here ='
postmodern has joined #ruby
<dharmaturtle> for some reason the = is tacked on
zomgbie has quit [Ping timeout: 245 seconds]
krisbulman has quit [Quit: krisbulman]
postmodern has quit [Changing host]
postmodern has joined #ruby
yshh has quit [Remote host closed the connection]
Servidorv has joined #ruby
erichmenge has quit [Quit: Be back later]
dmiller_ has joined #ruby
lahwran has quit [Excess Flood]
lahwran has joined #ruby
kaawee has quit [Read error: Operation timed out]
lahwran has quit [Changing host]
lahwran has joined #ruby
dmiller has quit [Read error: Connection reset by peer]
kaawee has joined #ruby
d2dchat has quit [Remote host closed the connection]
Serial_K_ has joined #ruby
Servidorv has quit [Ping timeout: 256 seconds]
Serial_Killer_C has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
psycho_one has joined #ruby
c0rn_ has quit []
straind` has joined #ruby
straind has quit [Read error: Connection reset by peer]
rippa has joined #ruby
ebobby_ has joined #ruby
CodeDroid__ has joined #ruby
c0rn_ has joined #ruby
kaawee has quit [Ping timeout: 264 seconds]
Serial_K_ has quit [Remote host closed the connection]
vhsmaia_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
fyolnish has joined #ruby
skcin7 has quit [Quit: Computer has gone to sleep.]
CodeVision has quit [Ping timeout: 255 seconds]
CodeVision has joined #ruby
cableray has joined #ruby
dharmaturtle has quit [Ping timeout: 255 seconds]
Goles has quit [Ping timeout: 260 seconds]
dharmaturtle has joined #ruby
yakko has quit [*.net *.split]
_veer has quit [*.net *.split]
areil has quit [*.net *.split]
sertaconay has quit [*.net *.split]
jarred__ has quit [*.net *.split]
__miha__ has quit [*.net *.split]
ddd has quit [*.net *.split]
tchebb has quit [*.net *.split]
Rhynn has quit [*.net *.split]
mercwithamouth has quit [*.net *.split]
starship has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
Alperen has quit [*.net *.split]
Chryson has quit [*.net *.split]
Liothen has quit [*.net *.split]
Axsuul has quit [*.net *.split]
neersighted has quit [*.net *.split]
knite has quit [*.net *.split]
ZubKonst has quit [*.net *.split]
Drewch has quit [*.net *.split]
wargasm has quit [*.net *.split]
quest88 has quit [*.net *.split]
vitor-br has quit [*.net *.split]
brendan` has quit [*.net *.split]
alienvenom has quit [*.net *.split]
BadLarry has quit [*.net *.split]
epochwolf has quit [*.net *.split]
maxmanders has quit [*.net *.split]
TheFuzzball has quit [*.net *.split]
rcs has quit [*.net *.split]
sj26 has quit [*.net *.split]
danheberden has quit [*.net *.split]
waxjar has quit [*.net *.split]
adamblac1well has quit [*.net *.split]
sirecote has quit [*.net *.split]
spo12 has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
bjeanes has quit [*.net *.split]
Bish has quit [*.net *.split]
Guedes has quit [*.net *.split]
benwoody has quit [*.net *.split]
lahwran has quit [*.net *.split]
RudyValencia has quit [*.net *.split]
realniko has quit [*.net *.split]
beowuff has quit [*.net *.split]
joast has quit [*.net *.split]
LucidDreamZzZ has quit [*.net *.split]
g_bleezy has quit [*.net *.split]
casheew has quit [*.net *.split]
alee has quit [*.net *.split]
bairui has quit [*.net *.split]
davorb has quit [*.net *.split]
rtl has quit [*.net *.split]
patricksroberts has quit [*.net *.split]
SeanTAllen has quit [*.net *.split]
randym has quit [*.net *.split]
TomRone has quit [*.net *.split]
nw has quit [*.net *.split]
Tarential has quit [*.net *.split]
malcolmva has quit [*.net *.split]
TheNumb has quit [*.net *.split]
gurps has quit [*.net *.split]
combatai` has quit [*.net *.split]
David_Miller has quit [*.net *.split]
anekos has quit [*.net *.split]
jayne has quit [*.net *.split]
theoros has quit [*.net *.split]
tessi has quit [*.net *.split]
juha_ has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
_root_ has quit [*.net *.split]
elektronaut has quit [*.net *.split]
goraxe has quit [Write error: Connection reset by peer]
c0rn_ has quit [*.net *.split]
yaymukund has quit [*.net *.split]
ebobby_ has quit [*.net *.split]
Nisstyre-laptop has quit [*.net *.split]
kkiero has quit [*.net *.split]
mattp_ has quit [*.net *.split]
bitZero__ has quit [*.net *.split]
Kichael has quit [*.net *.split]
zeromodulus has quit [*.net *.split]
im0b has quit [*.net *.split]
musl has quit [*.net *.split]
davidboy has quit [*.net *.split]
goraxe has joined #ruby
kbeddingfield has joined #ruby
Nisstyre-laptop has joined #ruby
vhsmaia_ has quit [Remote host closed the connection]
dakine has quit [Quit: Leaving]
jaygen has joined #ruby
d2dchat has joined #ruby
c0rn_ has joined #ruby
mattp_ has joined #ruby
Kichael has joined #ruby
kkiero has joined #ruby
bitZero__ has joined #ruby
musl has joined #ruby
davidboy has joined #ruby
yaymukund has joined #ruby
im0b has joined #ruby
rohit has joined #ruby
zeromodulus has joined #ruby
jeremywrowe has joined #ruby
jlwestsr has quit [Ping timeout: 246 seconds]
krz has joined #ruby
Erfankam has joined #ruby
jeremywrowe has quit [Client Quit]
locriani has joined #ruby
cableray has quit [Quit: cableray]
crocket has left #ruby ["Leaving"]
locriani_ has quit [Ping timeout: 265 seconds]
Servidorv has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
emergion has joined #ruby
d2dchat has quit [Remote host closed the connection]
<dpn`> is there any difference between @ and "self." ?
<Paradox> yes
<dpn`> i thought they were functionally the same
<dpn`> doh
zomgbie has joined #ruby
andrewhl has quit [Remote host closed the connection]
<Mon_Ouie> self.foo calls the method foo on self, @foo retrieves an instance variable
<Paradox> ^
<Paradox> i was going to type that
<dpn`> so in rails for example.. instance variables on a model are actually methods that retrieve the value or something?
<Paradox> rails does a lot of tricky stuff
<Paradox> but essentially yes
<dpn`> ie in an instance method @deal gives me nothing... but self.deal does.. where deal is a db field
<dpn`> Paradox: ok cool, so I'm not going crazy
<dpn`> thanks :D
<Paradox> also, in your models, you very rarely have to call self, at least in my experience
<Paradox> usually just the field name works fine
<dpn`> ah, interesting
<Paradox> generally, as a bad but effective rule of thumb
<Paradox> self is used on ! type methods
<Mon_Ouie> In Raiils, I assume it's because attributes aren't instance variables at all, they're fields in a database
<Paradox> and they're handled via a bit of tricky metaprogramming
<Mon_Ouie> The difference between foo and self.foo is the latter only works when foo isn't private
<Paradox> that looks at the tables and their columns
<Paradox> well
<Paradox> the schema.rb file
<Paradox> but w/e
<Paradox> and generates them
<dpn`> i forgt about the implicit "self."
<dpn`> thanks a bunch Paradox and Mon_Ouie
<dpn`> 5 min powerlesson in ruby objects ;)
<Paradox> dpn`, thats an important thing not to forget
<Mon_Ouie> You only need an explicit receiver to call a method on self for setters, since foo = bar sets a local variable
<Paradox> if you forget much more you might be coding python
<dpn`> Paradox: funny you should say that :\
<Paradox> things like a modern syntax and effective defaults
<dpn`> this rails gig is a bit out of the ordinary for me
<dpn`> generally work with python
<Paradox> you'll learn to love rails
<Paradox> i picked up ruby around january of this year
zomgbie has quit [Ping timeout: 245 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
<Paradox> its…different…in a good way
<dpn`> i love ruby
<dpn`> rails is a bit magical for me
<dpn`> though it's improved since 1.x, when i used it last
<Paradox> something about an asimov quote
<Paradox> 4 is going to be a nice update, but im wary of all the trouble i'll have to undergo to update my apps
<Paradox> and secured paramiters sounds like a huge but needed headache
<dpn`> is that named params or something?
<Paradox> no its yet another way to avoid the stupid multtiple assignment security flaws
savage- has quit [Quit: savage-]
shirajermilio has joined #ruby
<dpn`> ah, I'll have to have a look into that
<Paradox> if you ever want to troll pythonistas
<Paradox> just call it c-script
<dpn`> haha
<dpn`> I've been working on python for.. a long time
<dpn`> that is actually what i consider a feature of it :)
<Paradox> i dont
<Paradox> i find c-style syntax irritating
<Paradox> its overly verbose
<dpn`> but imho there's so much in common it's more a matter of preference
<Paradox> for_each i in i as i versus i.each { |x| print x }
<dpn`> well yeah i find c syntax irritating.. but python has less in common with it that ruby i think ;)
<dpn`> than*
<dpn`> explicit block terminators don't exist in python
<Paradox> neither do functional lambdas
<dpn`> but multiline blocks/anonymous functions fon't :(
<dpn`> don't*
<dpn`> my one major bug bear with python
<Paradox> the worst thing about python though
<Paradox> its community
mikepack has quit [Remote host closed the connection]
<Paradox> its the frostiest programming community i've ever seen
<Paradox> makes even haskellites look socially well adjusted
<dpn`> interestingly, when i got into it the irc channel was very helpful. now i admit it's turned into a bit of a brow beating fest
<dpn`> "there is only one way to do everything"
<Paradox> yup
<Paradox> whats happened is school CS programs have switched from java to python
<Paradox> and you're getting all the little einsteins
<tekknolagi> you guys familiar with datamapper/mysql?
<dpn`> yeah i've noticed that a bit lately
<Paradox> they like to call ruby programmers rockstars…hah
akem has joined #ruby
<Paradox> ruby programmers are just nice dudes
<dpn`> it's good for me as someone who needs to hire people :P
<Paradox> (i worked at pivotal this summer, full of nice dudes who are incredibly good at what they do)
<tekknolagi> i worked at MashLogic. They're cool. They use Rails.
<dpn`> sweet gig
<Paradox> python is full of rock stars
awestroke has joined #ruby
<Paradox> people that wont dain to answer such lowly questions
<dpn`> i see the python community as a bit geekier, but that's mostly because it never had a superstar framework like rails
<dpn`> that everyone fell in love with
<tekknolagi> Flask is cool
<dpn`> rails got all the php weenies :P
<tekknolagi> but anyone familiar with DataMapper/MySQL? :-/
<dpn`> which has also helped the community as a whole
<Paradox> i heard some guy saying he thought a lot of rails stuff should be integrated into the stdlibs
<dpn`> much easier for me to get rails work than python :\
<Paradox> i disagreed, for the simple reason that if i want to do 10.months
<dpn`> rails in the stdlib.. wtf
<tekknolagi> ^no
<Paradox> i just do #w{active_support active_support/time}.each { |x| require x }
<Paradox> dpn`, not the routing or stuff like that
<Paradox> things like TimeWithZone
<dpn`> fwiw the large mixin usage in rails bothers me a bit
<Paradox> nah, as much as everyone whines about the ruby stdlib on reddit and sites like that
<Paradox> i've only found it missing in a few areas
<dpn`> unless you know, it can be hard to find where a certain method came from
<Paradox> images and audio files and shit like that
<dpn`> like 10.months
BrianJ has quit [Quit: BrianJ]
<dpn`> yeah images/audio are hard and can be platform specific
<Paradox> well
<Paradox> python has the nice Image class
<Paradox> as does java
<dpn`> though in the stdlib could actually help that situation, if you're forced to maintain them over many platforms
<Paradox> which lets me do simple things like load up an image and crop it based on a histogram
skcin7 has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Paradox> ruby i have to use something like rmagick or some other solution
emergion has quit [*.net *.split]
yaymukund has quit [*.net *.split]
c0rn_ has quit [*.net *.split]
mattp_ has quit [*.net *.split]
kkiero has quit [*.net *.split]
bitZero__ has quit [*.net *.split]
Kichael has quit [*.net *.split]
im0b has quit [*.net *.split]
davidboy has quit [*.net *.split]
musl has quit [*.net *.split]
Ivo has quit [*.net *.split]
bapa has quit [*.net *.split]
tjbiddle has quit [*.net *.split]
CodeVision has quit [*.net *.split]
zeromodulus has quit [*.net *.split]
cibs has quit [*.net *.split]
jgrevich has quit [*.net *.split]
klip has quit [*.net *.split]
preller has quit [*.net *.split]
juarlex has quit [*.net *.split]
FDj has quit [*.net *.split]
nick_h has quit [*.net *.split]
Raboo has quit [*.net *.split]
rking has quit [*.net *.split]
ccooke has quit [*.net *.split]
mikekelly has quit [*.net *.split]
ozzloy has quit [*.net *.split]
dkannan has quit [*.net *.split]
schronicles47 has quit [*.net *.split]
seich- has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
Voxxit has quit [*.net *.split]
PhilK has quit [*.net *.split]
msch has quit [*.net *.split]
mr-rich has quit [*.net *.split]
dfr|work has quit [*.net *.split]
`Mew_ has quit [*.net *.split]
alup has quit [*.net *.split]
melder has quit [*.net *.split]
BombStrike has quit [*.net *.split]
jaygen has quit [*.net *.split]
skcin7 has quit [*.net *.split]
_alejandro has quit [*.net *.split]
arubin has quit [*.net *.split]
Juul has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
heftig has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
kapowaz has quit [*.net *.split]
ctevie has quit [*.net *.split]
arielpts has quit [*.net *.split]
__main__ has quit [*.net *.split]
chendo_ has quit [*.net *.split]
SeySayux has quit [*.net *.split]
SJr has quit [*.net *.split]
zf has quit [*.net *.split]
bigmcq77 has quit [*.net *.split]
amoe_ has quit [*.net *.split]
Nanuq has quit [*.net *.split]
monokrome has quit [*.net *.split]
withnale has quit [*.net *.split]
dpn` has quit [*.net *.split]
otters has quit [*.net *.split]
Rizzle has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
Paradox has quit [*.net *.split]
thomas has quit [*.net *.split]
KindTwo has quit [*.net *.split]
cyt93cs_ has quit [*.net *.split]
spathi has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
williamcotton has quit [*.net *.split]
gregorg has quit [*.net *.split]
dominikh has quit [*.net *.split]
JoeTheGuest_ has quit [*.net *.split]
mtfk has quit [*.net *.split]
c0rn has quit [*.net *.split]
Guest41156 has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
nopper has quit [*.net *.split]
aetaric has quit [*.net *.split]
willb has quit [*.net *.split]
kstephens has quit [*.net *.split]
joni has quit [*.net *.split]
pavelz has quit [*.net *.split]
Muz has quit [*.net *.split]
al-ol has quit [*.net *.split]
kaleido has quit [*.net *.split]
wang has quit [*.net *.split]
chiel has quit [*.net *.split]
drizz has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
nyrb has quit [*.net *.split]
ryanf has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
moshee has quit [*.net *.split]
charliesome has quit [*.net *.split]
alek_b has quit [*.net *.split]
stnly has quit [*.net *.split]
koshii has quit [*.net *.split]
X-Jester has quit [*.net *.split]
mvangala_ has quit [*.net *.split]
s0ber has quit [*.net *.split]
elspeth has quit [*.net *.split]
rellin has quit [*.net *.split]
zipkid has quit [*.net *.split]
faulkner has quit [*.net *.split]
epitron has quit [*.net *.split]
kkh has quit [*.net *.split]
joelio has quit [*.net *.split]
_jesse_ has quit [*.net *.split]
felipe has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
matled has quit [*.net *.split]
dharmaturtle has quit [*.net *.split]
CodeDroid__ has quit [*.net *.split]
Vinz_` has quit [*.net *.split]
crankycoder has quit [*.net *.split]
Quadlex has quit [*.net *.split]
JStoker has quit [*.net *.split]
yoklov_ has quit [*.net *.split]
virtuose has quit [*.net *.split]
tk___ has quit [*.net *.split]
yeggeps has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
armenb has quit [*.net *.split]
jmccune has quit [*.net *.split]
Katniss has quit [*.net *.split]
fcoury has quit [*.net *.split]
ionte has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
orion has quit [*.net *.split]
barefoot has quit [*.net *.split]
ben_alman has quit [*.net *.split]
tils has quit [*.net *.split]
aces1up has quit [*.net *.split]
stat1x has quit [*.net *.split]
Eiam has quit [*.net *.split]
chetan- has quit [*.net *.split]
emdub has quit [*.net *.split]
Drager has quit [*.net *.split]
_br_ has quit [*.net *.split]
k0nichiwa has quit [*.net *.split]
idoru has quit [*.net *.split]
mahlon has quit [*.net *.split]
ged has quit [*.net *.split]
apmacwrk has quit [*.net *.split]
fixl has quit [*.net *.split]
kzrl has quit [*.net *.split]
bbttxu has quit [*.net *.split]
mahmoudimus has quit [*.net *.split]
Tref has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
`brendan has quit [*.net *.split]
justinweiss has quit [*.net *.split]
sr___ has quit [*.net *.split]
shiroginne has quit [*.net *.split]
spanner has quit [*.net *.split]
mmercer has quit [*.net *.split]
Cork has quit [*.net *.split]
methoddk has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
nimred has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
joukokar has quit [*.net *.split]
joppe has quit [*.net *.split]
bnagy has quit [*.net *.split]
Sargun has quit [*.net *.split]
wting has quit [*.net *.split]
axiak has quit [*.net *.split]
cheez0r has quit [*.net *.split]
Rizzle has joined #ruby
thomas has joined #ruby
zf has joined #ruby
_alejandro has joined #ruby
gregorg has joined #ruby
otters has joined #ruby
JoeTheGuest has joined #ruby
monokrome has joined #ruby
arielpts has joined #ruby
skcin7 has joined #ruby
withnale has joined #ruby
__main__ has joined #ruby
yshh has joined #ruby
KindTwo has joined #ruby
ctevie has joined #ruby
kapowaz has joined #ruby
tekknolagi has quit [Quit: leaving]
SJr has joined #ruby
SeySayux has joined #ruby
Dreamer3 has joined #ruby
Sp4rKy has joined #ruby
spathi has joined #ruby
cyt93cs has joined #ruby
emergion has joined #ruby
mattp_ has joined #ruby
davidboy has joined #ruby
im0b has joined #ruby
dharmaturtle has joined #ruby
Kichael has joined #ruby
musl has joined #ruby
CodeDroid__ has joined #ruby
Ivo has joined #ruby
mahmoudimus has joined #ruby
yaymukund has joined #ruby
nyrb has joined #ruby
yoklov_ has joined #ruby
ryanf has joined #ruby
k0nichiwa has joined #ruby
CodeVision has joined #ruby
bitZero__ has joined #ruby
tk___ has joined #ruby
kkiero has joined #ruby
moshee has joined #ruby
bbttxu has joined #ruby
jgrevich has joined #ruby
monkegjinni has joined #ruby
bapa has joined #ruby
virtuose has joined #ruby
Skelz0r has joined #ruby
dkannan has joined #ruby
Villadelfia has joined #ruby
yeggeps has joined #ruby
Tref has joined #ruby
`brendan has joined #ruby
fixl has joined #ruby
charliesome has joined #ruby
pu22l3r has joined #ruby
jmccune has joined #ruby
armenb has joined #ruby
kzrl has joined #ruby
tjbiddle has joined #ruby
koshii has joined #ruby
justinweiss has joined #ruby
rellin has joined #ruby
klip has joined #ruby
X-Jester has joined #ruby
preller has joined #ruby
juarlex has joined #ruby
stnly has joined #ruby
FDj has joined #ruby
spanner has joined #ruby
s0ber has joined #ruby
Katniss has joined #ruby
alek_b has joined #ruby
fcoury has joined #ruby
mvangala_ has joined #ruby
shiroginne has joined #ruby
schronicles47 has joined #ruby
sr___ has joined #ruby
ionte has joined #ruby
orion has joined #ruby
Raboo has joined #ruby
Voxxit has joined #ruby
RubyPanther has joined #ruby
nick_h has joined #ruby
rking has joined #ruby
zipkid has joined #ruby
faulkner has joined #ruby
ccooke has joined #ruby
elspeth has joined #ruby
barefoot has joined #ruby
sixteneighty has joined #ruby
Cork has joined #ruby
seich- has joined #ruby
cibs has joined #ruby
ben_alman has joined #ruby
lupine_85 has joined #ruby
joelio has joined #ruby
ozzloy has joined #ruby
mikekelly has joined #ruby
KarlHungus has joined #ruby
msch has joined #ruby
tils has joined #ruby
emdub has joined #ruby
wting has joined #ruby
PhilK has joined #ruby
joppe has joined #ruby
mmercer has joined #ruby
yugui_zzz has joined #ruby
epitron has joined #ruby
aces1up has joined #ruby
mr-rich has joined #ruby
chetan- has joined #ruby
Quadlex has joined #ruby
felipe has joined #ruby
nimred has joined #ruby
joukokar has joined #ruby
wang has joined #ruby
kaleido has joined #ruby
kkh has joined #ruby
alup has joined #ruby
kstephens has joined #ruby
_jesse_ has joined #ruby
thomasfedb has joined #ruby
crankycoder has joined #ruby
nopper has joined #ruby
Drager has joined #ruby
cheez0r has joined #ruby
JStoker has joined #ruby
Eiam has joined #ruby
Vinz_` has joined #ruby
methoddk has joined #ruby
dfr|work has joined #ruby
BombStrike has joined #ruby
aetaric has joined #ruby
_br_ has joined #ruby
chiel has joined #ruby
zz_chrismcg has joined #ruby
apmacwrk has joined #ruby
matled has joined #ruby
ged has joined #ruby
axiak has joined #ruby
mahlon has joined #ruby
crazedpsyc has joined #ruby
al-ol has joined #ruby
`Mew_ has joined #ruby
idoru has joined #ruby
willb has joined #ruby
Muz has joined #ruby
joni has joined #ruby
Sargun has joined #ruby
elaptics`away has joined #ruby
melder has joined #ruby
drizz has joined #ruby
bnagy has joined #ruby
pavelz has joined #ruby
stat1x has joined #ruby
scade has quit [Excess Flood]
aaroncm has quit [Excess Flood]
emergion has quit [Quit: Computer has gone to sleep.]
zeromodulus has joined #ruby
JStoker has quit [Excess Flood]
KindTwo has quit [Changing host]
KindTwo has joined #ruby
kapowaz has quit [Changing host]
kapowaz has joined #ruby
ctevie has joined #ruby
ctevie has quit [Changing host]
arubin has joined #ruby
amoe has joined #ruby
aaron has joined #ruby
scade has joined #ruby
aaron is now known as Guest36742
bigmcq77 has joined #ruby
wakoinc has joined #ruby
LouisGB has joined #ruby
zeromodulus has quit [Ping timeout: 260 seconds]
kbeddingfield has quit [Remote host closed the connection]
JStoker has joined #ruby
JStoker has quit [Excess Flood]
JStoker has joined #ruby
JStoker is now known as 15SAAGD8B
vectorshelve has joined #ruby
wakoinc has quit [Changing host]
wakoinc has joined #ruby
SeySayux has quit [Changing host]
SeySayux has joined #ruby
Paradox has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
artOfWar_ has quit [Ping timeout: 240 seconds]
nyrb has quit [Remote host closed the connection]
haxrbyte has joined #ruby
shirajermilio has quit [Quit: shirajermilio]
wakoinc has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Erfankam has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
Erfankam has joined #ruby
heftig has joined #ruby
arubin has quit [Quit: Computer has gone to sleep.]
<Paradox> stupid netshit
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<aces1up> i have a stand alone ruby app, and I have many constants, some need to be set different depinding if production or testing mode, how do you guys handle these withou have to do a if else for each constant value? what kinda structure is typically used for this sort of thing?
<awestroke> aces1up: YAML config file with different values for development, production etc
<Paradox> what he said
<Paradox> and then enviornment variables
Takehiro has joined #ruby
slainer68 has joined #ruby
vectorshelve has quit [Ping timeout: 245 seconds]
pehlert has joined #ruby
kzrl has quit [Ping timeout: 240 seconds]
invapid has quit [Ping timeout: 265 seconds]
justinmcp has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
zomgbie has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
haxrbyte has quit [Remote host closed the connection]
rohit has quit [Quit: Leaving]
CodeDroid__ has quit [Ping timeout: 260 seconds]
kzrl has joined #ruby
Nisstyre-laptop has joined #ruby
zomgbie has quit [Ping timeout: 256 seconds]
Juul has joined #ruby
Araxia has quit [Quit: Araxia]
_jesse_ has quit [Ping timeout: 255 seconds]
_jesse_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
kzrl has quit [*.net *.split]
bigmcq77 has quit [*.net *.split]
Guest36742 has quit [*.net *.split]
kkiero has quit [*.net *.split]
yaymukund has quit [*.net *.split]
mattp_ has quit [*.net *.split]
Kichael has quit [*.net *.split]
bitZero__ has quit [*.net *.split]
im0b has quit [*.net *.split]
davidboy has quit [*.net *.split]
cibs has quit [*.net *.split]
Ivo has quit [*.net *.split]
musl has quit [*.net *.split]
CodeVision has quit [*.net *.split]
pehlert has quit [*.net *.split]
amoe has quit [*.net *.split]
jgrevich has quit [*.net *.split]
bapa has quit [*.net *.split]
klip has quit [*.net *.split]
juarlex has quit [*.net *.split]
FDj has quit [*.net *.split]
preller has quit [*.net *.split]
Raboo has quit [*.net *.split]
rking has quit [*.net *.split]
nick_h has quit [*.net *.split]
ccooke has quit [*.net *.split]
ozzloy has quit [*.net *.split]
mikekelly has quit [*.net *.split]
dkannan has quit [*.net *.split]
seich- has quit [*.net *.split]
Voxxit has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
schronicles47 has quit [*.net *.split]
PhilK has quit [*.net *.split]
msch has quit [*.net *.split]
mr-rich has quit [*.net *.split]
dfr|work has quit [*.net *.split]
`Mew_ has quit [*.net *.split]
alup has quit [*.net *.split]
melder has quit [*.net *.split]
BombStrike has quit [*.net *.split]
nopper has quit [*.net *.split]
kstephens has quit [*.net *.split]
aetaric has quit [*.net *.split]
pavelz has quit [*.net *.split]
willb has quit [*.net *.split]
Muz has quit [*.net *.split]
joni has quit [*.net *.split]
al-ol has quit [*.net *.split]
kaleido has quit [*.net *.split]
wang has quit [*.net *.split]
chiel has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
drizz has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
15SAAGD8B has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
Erfankam has quit [*.net *.split]
ryanf has quit [*.net *.split]
charliesome has quit [*.net *.split]
moshee has quit [*.net *.split]
koshii has quit [*.net *.split]
X-Jester has quit [*.net *.split]
rellin has quit [*.net *.split]
stnly has quit [*.net *.split]
alek_b has quit [*.net *.split]
s0ber has quit [*.net *.split]
mvangala_ has quit [*.net *.split]
faulkner has quit [*.net *.split]
elspeth has quit [*.net *.split]
zipkid has quit [*.net *.split]
joelio has quit [*.net *.split]
epitron has quit [*.net *.split]
kkh has quit [*.net *.split]
felipe has quit [*.net *.split]
matled has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
crankycoder has quit [*.net *.split]
Vinz_` has quit [*.net *.split]
Quadlex has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
spathi has quit [*.net *.split]
dharmaturtle has quit [*.net *.split]
yoklov_ has quit [*.net *.split]
tk___ has quit [*.net *.split]
yeggeps has quit [*.net *.split]
virtuose has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
armenb has quit [*.net *.split]
jmccune has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
Katniss has quit [*.net *.split]
fcoury has quit [*.net *.split]
ionte has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
barefoot has quit [*.net *.split]
ben_alman has quit [*.net *.split]
orion has quit [*.net *.split]
emdub has quit [*.net *.split]
stat1x has quit [*.net *.split]
Eiam has quit [*.net *.split]
tils has quit [*.net *.split]
aces1up has quit [*.net *.split]
chetan- has quit [*.net *.split]
Drager has quit [*.net *.split]
_br_ has quit [*.net *.split]
apmacwrk has quit [*.net *.split]
ged has quit [*.net *.split]
mahlon has quit [*.net *.split]
idoru has quit [*.net *.split]
k0nichiwa has quit [*.net *.split]
cyt93cs has quit [*.net *.split]
LouisGB has quit [*.net *.split]
fixl has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Tref has quit [*.net *.split]
mahmoudimus has quit [*.net *.split]
bbttxu has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
justinweiss has quit [*.net *.split]
`brendan has quit [*.net *.split]
Cork has quit [*.net *.split]
sr___ has quit [*.net *.split]
shiroginne has quit [*.net *.split]
spanner has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
mmercer has quit [*.net *.split]
nimred has quit [*.net *.split]
methoddk has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
joukokar has quit [*.net *.split]
joppe has quit [*.net *.split]
axiak has quit [*.net *.split]
bnagy has quit [*.net *.split]
cheez0r has quit [*.net *.split]
wting has quit [*.net *.split]
Sargun has quit [*.net *.split]
gregorg has quit [Read error: No buffer space available]
gregorg has joined #ruby
g-ram has quit [Quit: Computer has gone to sleep.]
awestroke has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 240 seconds]
justinmcp has quit [Remote host closed the connection]
matled has joined #ruby
timonv has joined #ruby
brianpWins has quit [Quit: brianpWins]
awestroke has joined #ruby
brianpWins has joined #ruby
brianpWins has quit [Client Quit]
kramutils has joined #ruby
kramutils has left #ruby [#ruby]
tk has joined #ruby
brianpWins has joined #ruby
Drager has joined #ruby
yshh has quit [Read error: Connection timed out]
akem has quit [Ping timeout: 260 seconds]
blacktulip has joined #ruby
emergion has joined #ruby
hron84 has joined #ruby
emdub has joined #ruby
Vinz_` has joined #ruby
slainer68 has joined #ruby
awestroke has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
<shevy> dumdedum
cantonic has joined #ruby
JStoker has joined #ruby
slainer68 has quit [Ping timeout: 248 seconds]
BombStrike has joined #ruby
alup has joined #ruby
PhilK has joined #ruby
mr-rich has joined #ruby
`Mew_ has joined #ruby
melder has joined #ruby
schronicles47 has joined #ruby
dkannan has joined #ruby
Kichael has joined #ruby
kkiero has joined #ruby
bitZero__ has joined #ruby
seich- has joined #ruby
pehlert has joined #ruby
dfr|work has joined #ruby
Dreamer3 has joined #ruby
robustus has joined #ruby
2JTAAAUVH has joined #ruby
starship has joined #ruby
Guest36742 has joined #ruby
bigmcq77 has joined #ruby
yaymukund has joined #ruby
kzrl has joined #ruby
stat1x has joined #ruby
Voxxit has joined #ruby
Sp4rKy has joined #ruby
mattp_ has joined #ruby
spathi has joined #ruby
yshh has joined #ruby
ben_alman has joined #ruby
musl has joined #ruby
im0b has joined #ruby
davidboy has joined #ruby
nicoulaj has joined #ruby
fixl has joined #ruby
cyt93cs has joined #ruby
LouisGB has joined #ruby
crankycoder has joined #ruby
mahmoudimus has joined #ruby
moshee has joined #ruby
CodeVision has joined #ruby
amoe has joined #ruby
msch has joined #ruby
juarlex has joined #ruby
dharmaturtle has joined #ruby
armenb has joined #ruby
klip has joined #ruby
shiroginne has joined #ruby
koshii has joined #ruby
rellin has joined #ruby
ryanf has joined #ruby
jmccune has joined #ruby
virtuose has joined #ruby
X-Jester has joined #ruby
monkegjinni has joined #ruby
jgrevich has joined #ruby
akem has joined #ruby
Katniss has joined #ruby
charliesome has joined #ruby
`brendan has joined #ruby
sr___ has joined #ruby
Ivo has joined #ruby
yeggeps has joined #ruby
Raboo has joined #ruby
FDj has joined #ruby
alek_b has joined #ruby
pu22l3r has joined #ruby
Erfankam has joined #ruby
lupine_85 has joined #ruby
nick_h has joined #ruby
s0ber has joined #ruby
Villadelfia has joined #ruby
bapa has joined #ruby
fcoury has joined #ruby
orion has joined #ruby
faulkner has joined #ruby
RubyPanther has joined #ruby
barefoot has joined #ruby
elspeth has joined #ruby
preller has joined #ruby
chetan- has joined #ruby
sixteneighty has joined #ruby
joelio has joined #ruby
zipkid has joined #ruby
Quadlex has joined #ruby
cheez0r has joined #ruby
stnly has joined #ruby
methoddk has joined #ruby
Tref has joined #ruby
ccooke has joined #ruby
joukokar has joined #ruby
KarlHungus has joined #ruby
Cork has joined #ruby
spanner has joined #ruby
Skelz0r has joined #ruby
bnagy has joined #ruby
aces1up has joined #ruby
Eiam has joined #ruby
Sargun has joined #ruby
cibs has joined #ruby
crazedpsyc has joined #ruby
joppe has joined #ruby
mikekelly has joined #ruby
mmercer has joined #ruby
mvangala_ has joined #ruby
tils has joined #ruby
nimred has joined #ruby
thomasfedb has joined #ruby
ionte has joined #ruby
rking has joined #ruby
ozzloy has joined #ruby
epitron has joined #ruby
justinweiss has joined #ruby
axiak has joined #ruby
idoru has joined #ruby
ged has joined #ruby
_br_ has joined #ruby
apmacwrk has joined #ruby
wting has joined #ruby
mahlon has joined #ruby
aetaric has joined #ruby
nopper has joined #ruby
willb has joined #ruby
kstephens has joined #ruby
pavelz has joined #ruby
joni has joined #ruby
al-ol has joined #ruby
kaleido has joined #ruby
chiel has joined #ruby
wang has joined #ruby
Muz has joined #ruby
drizz has joined #ruby
zz_chrismcg has joined #ruby
elaptics`away has joined #ruby
yugui_zzz has joined #ruby
psycho_one has quit [Remote host closed the connection]
vonsar has joined #ruby
SCommette has joined #ruby
moos3 has quit [Ping timeout: 248 seconds]
akem has quit [Read error: Connection reset by peer]
akemEikko has joined #ruby
nari_ has joined #ruby
icooba has joined #ruby
yshh has quit [Remote host closed the connection]
akem has joined #ruby
akemEikko has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem has quit [Changing host]
JStoker has quit [Changing host]
JStoker has joined #ruby
tk is now known as Guest76559
bbttxu has joined #ruby
bbttxu has quit [Client Quit]
Morkel has joined #ruby
akem has quit [Ping timeout: 248 seconds]
darthdeus has joined #ruby
Jackneill has joined #ruby
khakimov has joined #ruby
stnly has quit [Ping timeout: 255 seconds]
shtirlic has joined #ruby
starship is now known as 66MAAA6Z5
thinkdevcode has quit [Remote host closed the connection]
arturaz has joined #ruby
SCommette has quit [Quit: SCommette]
skammer_ has joined #ruby
araujo has joined #ruby
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby
nilg has joined #ruby
thomas has quit [Quit: leaving]
araujo has quit [Client Quit]
sepp2k has joined #ruby
Viper has joined #ruby
<shevy> undefined method `-' for "xyz":String
<shevy> waaaah
<shevy> no - method on string
mneorr has joined #ruby
lahwran has joined #ruby
dominikh has joined #ruby
hotovson_ has joined #ruby
ddd has joined #ruby
64MAB5OE3 has joined #ruby
c0rn has joined #ruby
yshh has joined #ruby
starship has joined #ruby
stnly has joined #ruby
__miha__ has joined #ruby
hamed_r has joined #ruby
dpn` has joined #ruby
RudyValencia has joined #ruby
tommyvyo has joined #ruby
areil has joined #ruby
yakko_ has joined #ruby
mtfk has joined #ruby
_veer has joined #ruby
quest88 has joined #ruby
ZubKonst has joined #ruby
rtl has joined #ruby
neersighted has joined #ruby
nw has joined #ruby
freakazoid0223 has joined #ruby
cHarNe2 has joined #ruby
jaredrhine has joined #ruby
rcs has joined #ruby
casheew has joined #ruby
epochwolf has joined #ruby
beowuff has joined #ruby
knite has joined #ruby
benwoody has joined #ruby
BadLarry has joined #ruby
theoros has joined #ruby
g_bleezy has joined #ruby
Liothen has joined #ruby
Drewch has joined #ruby
danheberden has joined #ruby
tessi has joined #ruby
gurps has joined #ruby
juha_ has joined #ruby
alienvenom has joined #ruby
SeanTAllen has joined #ruby
Axsuul has joined #ruby
sirecote has joined #ruby
maxmanders has joined #ruby
patricksroberts has joined #ruby
alee has joined #ruby
spo12 has joined #ruby
waxjar has joined #ruby
Guedes has joined #ruby
Bish has joined #ruby
David_Miller has joined #ruby
Tarential has joined #ruby
elektronaut has joined #ruby
randym has joined #ruby
davorb has joined #ruby
malcolmva has joined #ruby
brendan` has joined #ruby
TheFuzzball has joined #ruby
bjeanes has joined #ruby
bairui has joined #ruby
tchebb has joined #ruby
jayne has joined #ruby
realniko has joined #ruby
Rhynn has joined #ruby
LucidDreamZzZ has joined #ruby
combatai` has joined #ruby
_root_ has joined #ruby
TomRone has joined #ruby
anekos has joined #ruby
joast has joined #ruby
sj26 has joined #ruby
adamblac1well has joined #ruby
TheNumb has joined #ruby
wargasm has joined #ruby
Jackneill has quit [Quit: Jackneill]
neersighted has quit [Max SendQ exceeded]
zeromodu_ has joined #ruby
_veer has quit [Max SendQ exceeded]
zhangwei has joined #ruby
_veer has joined #ruby
anderse has joined #ruby
<Hanmac> shevy what are you string to remove with "-" ?
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Viper is now known as Guest33642
<shevy> "abc" - "a" = "bc"
_cheney2 has joined #ruby
<Hanmac> "adbcxe".delete("cde") #=> "abx"
jgrevich has quit [Quit: jgrevich]
_cheney has quit [Ping timeout: 268 seconds]
<shevy> yeah but that kills all occurences
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<shevy> "adbcxedddd".delete("cde") # => "abx"
<shevy> I am just surprised that - is not a method for strings
<shevy> "abcabcabc" - "abc" = "abcabcabc"
<shevy> hmm
<shevy> the first match found could be removed
<shevy> though I'd need the last match found to be removed :P
Xeago has joined #ruby
wargasm has quit [Read error: Connection reset by peer]
lkba has joined #ruby
kaneda__ has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
rakl has joined #ruby
zhangwei has quit [Remote host closed the connection]
<Hanmac> shevy like this? s="abc1abc2abc3";s[/(abc.*)*(abc)/,2]="";s#=> "abc1abc23"
<shevy> way too long!!!
skammer_ has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
<shevy> I am using only simple code
skammer has joined #ruby
<shevy> everything that is too difficult to understand in a fraction of a second will be discarded :)
<Hanmac> hm yeah, you could show me how to do it more simple
<shevy> "abc1abc2abc3" - "abc"
<shevy> :)
clj_newb has joined #ruby
<Hanmac> hm yeah but how do your code know that it should the last and not the first abc?
zomgbie has joined #ruby
darthdeus has quit [*.net *.split]
aetaric has quit [*.net *.split]
nopper has quit [*.net *.split]
kstephens has quit [*.net *.split]
pavelz has quit [*.net *.split]
willb has quit [*.net *.split]
joni has quit [*.net *.split]
al-ol has quit [*.net *.split]
kaleido has quit [*.net *.split]
Muz has quit [*.net *.split]
wang has quit [*.net *.split]
chiel has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
drizz has quit [*.net *.split]
dkannan has quit [*.net *.split]
schronicles47 has quit [*.net *.split]
Voxxit has quit [*.net *.split]
seich- has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
msch has quit [*.net *.split]
PhilK has quit [*.net *.split]
mr-rich has quit [*.net *.split]
dfr|work has quit [*.net *.split]
`Mew_ has quit [*.net *.split]
melder has quit [*.net *.split]
alup has quit [*.net *.split]
fixl has quit [*.net *.split]
BombStrike has quit [*.net *.split]
2JTAAAUVH has quit [*.net *.split]
bigmcq77 has quit [*.net *.split]
Guest36742 has quit [*.net *.split]
kzrl has quit [*.net *.split]
zeromodu_ has quit [*.net *.split]
nari_ has quit [*.net *.split]
kkiero has quit [*.net *.split]
yaymukund has quit [*.net *.split]
bitZero__ has quit [*.net *.split]
mattp_ has quit [*.net *.split]
Kichael has quit [*.net *.split]
davidboy has quit [*.net *.split]
im0b has quit [*.net *.split]
musl has quit [*.net *.split]
Ivo has quit [*.net *.split]
adambeynon has quit [*.net *.split]
pehlert has quit [*.net *.split]
66MAAA6Z5 has quit [*.net *.split]
amoe has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
cibs has quit [*.net *.split]
nicoulaj has quit [*.net *.split]
CodeVision has quit [*.net *.split]
bapa has quit [*.net *.split]
FDj has quit [*.net *.split]
juarlex has quit [*.net *.split]
klip has quit [*.net *.split]
preller has quit [*.net *.split]
Raboo has quit [*.net *.split]
nick_h has quit [*.net *.split]
rking has quit [*.net *.split]
ccooke has quit [*.net *.split]
mikekelly has quit [*.net *.split]
lkba has quit [*.net *.split]
ozzloy has quit [*.net *.split]
RudyValencia has quit [*.net *.split]
joast has quit [*.net *.split]
64MAB5OE3 has quit [*.net *.split]
lahwran has quit [*.net *.split]
mtfk has quit [*.net *.split]
alee has quit [*.net *.split]
beowuff has quit [*.net *.split]
LucidDreamZzZ has quit [*.net *.split]
g_bleezy has quit [*.net *.split]
casheew has quit [*.net *.split]
davorb has quit [*.net *.split]
bairui has quit [*.net *.split]
patricksroberts has quit [*.net *.split]
rtl has quit [*.net *.split]
randym has quit [*.net *.split]
SeanTAllen has quit [*.net *.split]
nw has quit [*.net *.split]
TomRone has quit [*.net *.split]
Tarential has quit [*.net *.split]
TheNumb has quit [*.net *.split]
malcolmva has quit [*.net *.split]
combatai` has quit [*.net *.split]
gurps has quit [*.net *.split]
David_Miller has quit [*.net *.split]
anekos has quit [*.net *.split]
tessi has quit [*.net *.split]
juha_ has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
theoros has quit [*.net *.split]
jayne has quit [*.net *.split]
_root_ has quit [*.net *.split]
elektronaut has quit [*.net *.split]
_cheney2 has quit [*.net *.split]
_veer has quit [*.net *.split]
yshh has quit [*.net *.split]
stnly has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
mneorr has quit [*.net *.split]
hotovson_ has quit [*.net *.split]
hamed_r has quit [*.net *.split]
yakko_ has quit [*.net *.split]
dominikh has quit [*.net *.split]
dpn` has quit [*.net *.split]
c0rn has quit [*.net *.split]
__miha__ has quit [*.net *.split]
areil has quit [*.net *.split]
ddd has quit [*.net *.split]
Liothen has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
tchebb has quit [*.net *.split]
starship has quit [*.net *.split]
Axsuul has quit [*.net *.split]
Rhynn has quit [*.net *.split]
knite has quit [*.net *.split]
quest88 has quit [*.net *.split]
ZubKonst has quit [*.net *.split]
Drewch has quit [*.net *.split]
alienvenom has quit [*.net *.split]
brendan` has quit [*.net *.split]
BadLarry has quit [*.net *.split]
epochwolf has quit [*.net *.split]
rcs has quit [*.net *.split]
maxmanders has quit [*.net *.split]
sj26 has quit [*.net *.split]
danheberden has quit [*.net *.split]
TheFuzzball has quit [*.net *.split]
sirecote has quit [*.net *.split]
waxjar has quit [*.net *.split]
Guedes has quit [*.net *.split]
bjeanes has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
adamblac1well has quit [*.net *.split]
Bish has quit [*.net *.split]
spo12 has quit [*.net *.split]
realniko has quit [*.net *.split]
benwoody has quit [*.net *.split]
icooba has quit [*.net *.split]
vonsar has quit [*.net *.split]
robustus has quit [*.net *.split]
ryanf has quit [*.net *.split]
moshee has quit [*.net *.split]
Erfankam has quit [*.net *.split]
charliesome has quit [*.net *.split]
koshii has quit [*.net *.split]
rellin has quit [*.net *.split]
X-Jester has quit [*.net *.split]
s0ber has quit [*.net *.split]
alek_b has quit [*.net *.split]
zipkid has quit [*.net *.split]
elspeth has quit [*.net *.split]
mvangala_ has quit [*.net *.split]
faulkner has quit [*.net *.split]
joelio has quit [*.net *.split]
epitron has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
rakl has quit [*.net *.split]
Quadlex has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
crankycoder has quit [*.net *.split]
spathi has quit [*.net *.split]
dharmaturtle has quit [*.net *.split]
virtuose has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
yeggeps has quit [*.net *.split]
barefoot has quit [*.net *.split]
armenb has quit [*.net *.split]
ionte has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
fcoury has quit [*.net *.split]
jmccune has quit [*.net *.split]
Katniss has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
orion has quit [*.net *.split]
Eiam has quit [*.net *.split]
chetan- has quit [*.net *.split]
aces1up has quit [*.net *.split]
tils has quit [*.net *.split]
apmacwrk has quit [*.net *.split]
_br_ has quit [*.net *.split]
ged has quit [*.net *.split]
ben_alman has quit [*.net *.split]
stat1x has quit [*.net *.split]
zomgbie has quit [*.net *.split]
mahlon has quit [*.net *.split]
idoru has quit [*.net *.split]
LouisGB has quit [*.net *.split]
Tref has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
cyt93cs has quit [*.net *.split]
`brendan has quit [*.net *.split]
spanner has quit [*.net *.split]
justinweiss has quit [*.net *.split]
mmercer has quit [*.net *.split]
shiroginne has quit [*.net *.split]
sr___ has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
Cork has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
nimred has quit [*.net *.split]
methoddk has quit [*.net *.split]
joukokar has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
Sargun has quit [*.net *.split]
bnagy has quit [*.net *.split]
joppe has quit [*.net *.split]
wting has quit [*.net *.split]
axiak has quit [*.net *.split]
cheez0r has quit [*.net *.split]
skammer has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
zomgbie has joined #ruby
_cheney2 has joined #ruby
lkba has joined #ruby
_veer has joined #ruby
adambeynon has joined #ruby
zeromodu_ has joined #ruby
_root_ has joined #ruby
tessi has joined #ruby
elektronaut has joined #ruby
juha_ has joined #ruby
jayne has joined #ruby
David_Miller has joined #ruby
adamblac1well has joined #ruby
spo12 has joined #ruby
danheberden has joined #ruby
sj26 has joined #ruby
rtl has joined #ruby
combatai` has joined #ruby
rcs has joined #ruby
bairui has joined #ruby
alienvenom has joined #ruby
cHarNe2 has joined #ruby
TheFuzzball has joined #ruby
patricksroberts has joined #ruby
Tarential has joined #ruby
Drewch has joined #ruby
casheew has joined #ruby
Guedes has joined #ruby
TheNumb has joined #ruby
randym has joined #ruby
BadLarry has joined #ruby
waxjar has joined #ruby
gurps has joined #ruby
davorb has joined #ruby
SeanTAllen has joined #ruby
realniko has joined #ruby
jaredrhine has joined #ruby
bjeanes has joined #ruby
epochwolf has joined #ruby
alee has joined #ruby
LucidDreamZzZ has joined #ruby
Rhynn has joined #ruby
nw has joined #ruby
Bish has joined #ruby
quest88 has joined #ruby
brendan` has joined #ruby
benwoody has joined #ruby
knite has joined #ruby
Liothen has joined #ruby
malcolmva has joined #ruby
TomRone has joined #ruby
Axsuul has joined #ruby
g_bleezy has joined #ruby
anekos has joined #ruby
joast has joined #ruby
ddd has joined #ruby
maxmanders has joined #ruby
starship has joined #ruby
sirecote has joined #ruby
areil has joined #ruby
tchebb has joined #ruby
theoros has joined #ruby
__miha__ has joined #ruby
freakazoid0223 has joined #ruby
dominikh has joined #ruby
ZubKonst has joined #ruby
dpn` has joined #ruby
beowuff has joined #ruby
yakko_ has joined #ruby
RudyValencia has joined #ruby
hotovson_ has joined #ruby
mneorr has joined #ruby
c0rn has joined #ruby
64MAB5OE3 has joined #ruby
lahwran has joined #ruby
tommyvyo has joined #ruby
yshh has joined #ruby
joni has joined #ruby
mtfk has joined #ruby
dfr|work has joined #ruby
Guest36742 has joined #ruby
pavelz has joined #ruby
msch has joined #ruby
kzrl has joined #ruby
yaymukund has joined #ruby
stnly has joined #ruby
Dreamer3 has joined #ruby
kstephens has joined #ruby
mr-rich has joined #ruby
seich- has joined #ruby
PhilK has joined #ruby
crankycoder has joined #ruby
kkiero has joined #ruby
lupine_85 has joined #ruby
drizz has joined #ruby
dkannan has joined #ruby
2JTAAAUVH has joined #ruby
icooba has joined #ruby
chiel has joined #ruby
nicoulaj has joined #ruby
Sp4rKy has joined #ruby
Voxxit has joined #ruby
fixl has joined #ruby
willb has joined #ruby
Erfankam has joined #ruby
melder has joined #ruby
spathi has joined #ruby
pehlert has joined #ruby
wang has joined #ruby
elaptics`away has joined #ruby
musl has joined #ruby
stat1x has joined #ruby
BombStrike has joined #ruby
Muz has joined #ruby
`Mew_ has joined #ruby
alup has joined #ruby
CodeVision has joined #ruby
nari_ has joined #ruby
vonsar has joined #ruby
darthdeus has joined #ruby
al-ol has joined #ruby
dharmaturtle has joined #ruby
amoe has joined #ruby
mattp_ has joined #ruby
ryanf has joined #ruby
bitZero__ has joined #ruby
cyt93cs has joined #ruby
yugui_zzz has joined #ruby
robustus has joined #ruby
nopper has joined #ruby
kaleido has joined #ruby
moshee has joined #ruby
ben_alman has joined #ruby
aetaric has joined #ruby
schronicles47 has joined #ruby
bigmcq77 has joined #ruby
Skelz0r has joined #ruby
im0b has joined #ruby
yeggeps has joined #ruby
zz_chrismcg has joined #ruby
virtuose has joined #ruby
66MAAA6Z5 has joined #ruby
Ivo has joined #ruby
LouisGB has joined #ruby
charliesome has joined #ruby
bapa has joined #ruby
jmccune has joined #ruby
`brendan has joined #ruby
armenb has joined #ruby
Villadelfia has joined #ruby
monkegjinni has joined #ruby
klip has joined #ruby
koshii has joined #ruby
preller has joined #ruby
davidboy has joined #ruby
rellin has joined #ruby
juarlex has joined #ruby
Tref has joined #ruby
spanner has joined #ruby
pu22l3r has joined #ruby
alek_b has joined #ruby
X-Jester has joined #ruby
s0ber has joined #ruby
justinweiss has joined #ruby
mvangala_ has joined #ruby
FDj has joined #ruby
fcoury has joined #ruby
Kichael has joined #ruby
Raboo has joined #ruby
sr___ has joined #ruby
shiroginne has joined #ruby
orion has joined #ruby
ionte has joined #ruby
RubyPanther has joined #ruby
nick_h has joined #ruby
sixteneighty has joined #ruby
rking has joined #ruby
faulkner has joined #ruby
zipkid has joined #ruby
barefoot has joined #ruby
elspeth has joined #ruby
ccooke has joined #ruby
cibs has joined #ruby
Cork has joined #ruby
joelio has joined #ruby
mikekelly has joined #ruby
ozzloy has joined #ruby
KarlHungus has joined #ruby
mmercer has joined #ruby
nimred has joined #ruby
methoddk has joined #ruby
mahlon has joined #ruby
idoru has joined #ruby
ged has joined #ruby
axiak has joined #ruby
apmacwrk has joined #ruby
_br_ has joined #ruby
wting has joined #ruby
Sargun has joined #ruby
bnagy has joined #ruby
crazedpsyc has joined #ruby
joppe has joined #ruby
Eiam has joined #ruby
Quadlex has joined #ruby
chetan- has joined #ruby
epitron has joined #ruby
thomasfedb has joined #ruby
aces1up has joined #ruby
joukokar has joined #ruby
cheez0r has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
charliesome has quit [Ping timeout: 255 seconds]
icooba has quit [Ping timeout: 255 seconds]
Sp4rKy has quit [Max SendQ exceeded]
ionte has quit [Ping timeout: 260 seconds]
zipkid has quit [Ping timeout: 255 seconds]
elspeth has quit [Ping timeout: 255 seconds]
Quadlex has quit [Ping timeout: 255 seconds]
chaplain has joined #ruby
chetan- has quit [Ping timeout: 260 seconds]
ryanf has quit [Ping timeout: 255 seconds]
alek_b has quit [Max SendQ exceeded]
zipkid has joined #ruby
Quadlex has joined #ruby
icooba has joined #ruby
elspeth has joined #ruby
barefoot has quit [Ping timeout: 260 seconds]
ryanf has joined #ruby
emdub has quit [Quit: .]
barefoot has joined #ruby
alek_b has joined #ruby
zeromodulus has joined #ruby
fantazo has quit [Remote host closed the connection]
tjbiddle has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
tils has joined #ruby
rakl has joined #ruby
Katniss has joined #ruby
hbpoison has joined #ruby
emdub has joined #ruby
_veer has quit [Ping timeout: 245 seconds]
dkannan has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
msch has quit [*.net *.split]
seich- has quit [*.net *.split]
schronicles47 has quit [*.net *.split]
Voxxit has quit [*.net *.split]
PhilK has quit [*.net *.split]
dfr|work has quit [*.net *.split]
`Mew_ has quit [*.net *.split]
mr-rich has quit [*.net *.split]
melder has quit [*.net *.split]
alup has quit [*.net *.split]
BombStrike has quit [*.net *.split]
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
zeromodu_ has quit [*.net *.split]
kzrl has quit [*.net *.split]
nari_ has quit [*.net *.split]
Guest36742 has quit [*.net *.split]
bigmcq77 has quit [*.net *.split]
yaymukund has quit [*.net *.split]
Kichael has quit [*.net *.split]
bitZero__ has quit [*.net *.split]
mattp_ has quit [*.net *.split]
kkiero has quit [*.net *.split]
im0b has quit [*.net *.split]
musl has quit [*.net *.split]
davidboy has quit [*.net *.split]
darthdeus has quit [*.net *.split]
aetaric has quit [*.net *.split]
kstephens has quit [*.net *.split]
nopper has quit [*.net *.split]
pavelz has quit [*.net *.split]
willb has quit [*.net *.split]
joni has quit [*.net *.split]
al-ol has quit [*.net *.split]
kaleido has quit [*.net *.split]
Muz has quit [*.net *.split]
wang has quit [*.net *.split]
chiel has quit [*.net *.split]
drizz has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
moshee has quit [Ping timeout: 255 seconds]
crankycoder has quit [Ping timeout: 260 seconds]
ysyk has joined #ruby
crankycoder has joined #ruby
Sp4rKy has joined #ruby
chaplain is now known as thomas
robustus has joined #ruby
2JTAAAUVH has quit [*.net *.split]
fixl has quit [*.net *.split]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
hamed_r has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
answer_42 has joined #ruby
hbpoison has quit [Ping timeout: 244 seconds]
MissionCritical has joined #ruby
dkannan has joined #ruby
mr-rich has joined #ruby
Voxxit has joined #ruby
dfr|work has joined #ruby
lupine_85 has joined #ruby
schronicles47 has joined #ruby
PhilK has joined #ruby
alup has joined #ruby
seich- has joined #ruby
melder has joined #ruby
`Mew_ has joined #ruby
BombStrike has joined #ruby
msch has joined #ruby
ionte_ has joined #ruby
yaymukund has joined #ruby
kkiero has joined #ruby
nari_ has joined #ruby
mattp_ has joined #ruby
bitZero__ has joined #ruby
bigmcq77 has joined #ruby
Guest36742 has joined #ruby
Kichael has joined #ruby
musl has joined #ruby
im0b has joined #ruby
davidboy has joined #ruby
darthdeus has joined #ruby
kstephens has joined #ruby
willb has joined #ruby
aetaric has joined #ruby
nopper has joined #ruby
pavelz has joined #ruby
kaleido has joined #ruby
joni has joined #ruby
zz_chrismcg has joined #ruby
chiel has joined #ruby
drizz has joined #ruby
al-ol has joined #ruby
yugui_zzz has joined #ruby
elaptics`away has joined #ruby
wang has joined #ruby
Muz has joined #ruby
chetan- has joined #ruby
bean_dharma90 has joined #ruby
elaptics`away is now known as elaptics
kzrl_ has joined #ruby
fixl has joined #ruby
2JTAAAUVH has joined #ruby
dharmaturtle has quit [Ping timeout: 260 seconds]
Zenger has joined #ruby
<Zenger> Hello guys, I'm trying to install ror on windows, and got stuck at mysql. I installed mysql 5.5.28, and put the libmysql into ror/bin but it keeps saying it was built fo 6.0.0 but client is 5.5.28, what do
irleif has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<Zenger> but I didn't see that notice about the url to download the proper connector. very well gonna continue studying. thanks
Zenger has quit [Client Quit]
anderse has quit [Quit: anderse]
daniel has joined #ruby
tjwallace has joined #ruby
tjwallace has left #ruby [#ruby]
daniel has left #ruby [#ruby]
guyvdb_ has joined #ruby
guyvdb_ has quit [Client Quit]
codefyre has joined #ruby
_veer has quit [Ping timeout: 245 seconds]
postmodern has quit [Remote host closed the connection]
_veer has joined #ruby
postmodern has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Client Quit]
clj_newb has quit [Ping timeout: 255 seconds]
postmodern has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
<shevy> Hanmac dunno, perhaps via a .reverse first
und3f has joined #ruby
bier has quit [Ping timeout: 264 seconds]
whitedawg has joined #ruby
nilg has quit [Remote host closed the connection]
tobago has joined #ruby
slainer68 has joined #ruby
shtirlic has quit [Remote host closed the connection]
Tuxist has joined #ruby
nari__ has joined #ruby
nari_ has quit [Ping timeout: 260 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
slainer68 has quit [Ping timeout: 272 seconds]
<shevy> hmm when I have two loops
<shevy> one inside the other
<shevy> how to break out from the inner loop but not the outer one?
bier has joined #ruby
havenn has quit [Ping timeout: 252 seconds]
<Mon_Ouie> That's what break does already
rippa has quit [Ping timeout: 264 seconds]
zommi has joined #ruby
scx has joined #ruby
LouisGB has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
rippa has joined #ruby
rakl has quit [Quit: sleeping]
<shevy> hmm
arturaz has quit [Remote host closed the connection]
<shevy> I think my question was not adequate
<shevy> I have a pseudo-irc "client"
<shevy> in it, I use this: select( [$stdin], nil, nil, 1.1 )
emergion has quit [Quit: Computer has gone to sleep.]
<shevy> user_input = $stdin.readline.chomp
mneorr has quit [Remote host closed the connection]
<shevy> and feed that back into the IRC channel
<shevy> now I start this client from within a loop {}
<shevy> and when I type "/quit" I want only this irc client to stop... not the loop around it
mneorr has joined #ruby
<shevy> so I should not use "exit" in that client... but I dont know how else to stop it
samphippen has joined #ruby
<shevy> hmm I spawn it within a thread
<shevy> perhaps I can just kill that thread?
* Hanmac hands shevy a sword to kill that evil thread :P
<shevy> well, if that would work ...
2JTAAAUVH has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
clj_newb has joined #ruby
codefyre has quit [Quit: Leaving]
whitedawg has quit [Quit: Leaving.]
whitedawg has joined #ruby
rippa has quit [Read error: Connection reset by peer]
Servidorv has quit [Ping timeout: 260 seconds]
Erfankam has quit [Ping timeout: 255 seconds]
senny has joined #ruby
anderse has joined #ruby
vlad_starkov has joined #ruby
hsbt is now known as hsbt_away
Servidorv has joined #ruby
medik has joined #ruby
emergion has joined #ruby
hsbt_away is now known as hsbt
hsbt has quit [Read error: Connection reset by peer]
hsbt has joined #ruby
niklasb has joined #ruby
miphe has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
icooba has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
icooba has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
icooba has quit [Max SendQ exceeded]
icooba has joined #ruby
icooba has quit [Max SendQ exceeded]
adambeynon has joined #ruby
icooba has joined #ruby
icooba has quit [Max SendQ exceeded]
Nanuq has joined #ruby
slainer68 has joined #ruby
dakine has joined #ruby
icooba has joined #ruby
nari__ has quit [Ping timeout: 264 seconds]
irleif has joined #ruby
hamed_r has quit [Ping timeout: 245 seconds]
Jackneill has joined #ruby
emergion has joined #ruby
Jackneill is now known as Guest11708
ysyk has quit [Ping timeout: 240 seconds]
Guest11708 is now known as Jackneill-
hoelzro|away is now known as hoelzro
Jackneill-2 has joined #ruby
awestroke has joined #ruby
whitedawg has quit [Quit: Leaving.]
Jackneill- has quit [Ping timeout: 265 seconds]
ltsstar has joined #ruby
Morkel has quit [Quit: Morkel]
samphippen has quit [Ping timeout: 246 seconds]
Servidorv has quit [Ping timeout: 260 seconds]
Erfankam has joined #ruby
Erfankam has quit [Max SendQ exceeded]
Erfankam has joined #ruby
samphippen has joined #ruby
kirun has joined #ruby
Erfankam has quit [Client Quit]
nari__ has joined #ruby
bluOxigen has joined #ruby
Servidorv has joined #ruby
Erfankam has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
ZubKonst has quit [Read error: Connection reset by peer]
clj_newb has quit [Ping timeout: 255 seconds]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
ZubKonst has joined #ruby
benmatthew_ has joined #ruby
Erfankam has quit [Ping timeout: 245 seconds]
ysyk has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
kzrl_ has quit [Ping timeout: 240 seconds]
Russell^^ has joined #ruby
kzrl has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
samphippen has quit [Ping timeout: 245 seconds]
samphippen has joined #ruby
icooba has quit [Quit: Computer has gone to sleep.]
kaneda__ has joined #ruby
icooba has joined #ruby
statarb3 has joined #ruby
samphippen has quit [Ping timeout: 246 seconds]
felipe has joined #ruby
kil0byte has joined #ruby
ysyk has quit [Ping timeout: 240 seconds]
psycho_one has joined #ruby
samphippen has joined #ruby
emmanuelux has joined #ruby
Axsuul has quit [Ping timeout: 245 seconds]
_cheney2 has quit [Read error: Connection reset by peer]
zommi has quit [Quit: Leaving.]
_cheney has joined #ruby
samphippen has quit [Ping timeout: 268 seconds]
pehlert has quit [Quit: Leaving.]
samphippen has joined #ruby
pehlert has joined #ruby
tenmilestereo has joined #ruby
dkannan has quit [Read error: Connection reset by peer]
dkannan has joined #ruby
samphippen has quit [Ping timeout: 256 seconds]
Takehiro has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
samphippen has joined #ruby
Takehiro has joined #ruby
ryanf has quit [Quit: leaving]
adambeynon has joined #ruby
samphippen has quit [Ping timeout: 268 seconds]
samphippen has joined #ruby
benmatthew_ has quit [Quit: benmatthew_]
Jackneill-2 is now known as Jackneill
Jackneill has quit [Changing host]
Jackneill has joined #ruby
Rydefalk has quit [Read error: Connection reset by peer]
Rydefalk has joined #ruby
samphippen has quit [Read error: Operation timed out]
LouisGB has joined #ruby
schronicles47 has quit [Ping timeout: 246 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
samphippen has joined #ruby
ddd has quit [Quit: Leaving.]
whitedawg has joined #ruby
ddd has joined #ruby
kaawee has joined #ruby
somazero has joined #ruby
krisbulman has joined #ruby
adamcooper has joined #ruby
adamcooper has left #ruby [#ruby]
krisbulman has quit [Client Quit]
jlwestsr has joined #ruby
QKO has joined #ruby
vlad_starkov has joined #ruby
kramutils has joined #ruby
icooba has quit [Quit: Computer has gone to sleep.]
kramutils has left #ruby [#ruby]
<shevy> dumdedum
mklappstuhl has quit [Ping timeout: 252 seconds]
anirudh24seven has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
nyrb has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
psycho_one has quit [Remote host closed the connection]
Vinz_` is now known as Vinz_
Vinz_ is now known as Guest92332
psycho_one has joined #ruby
Guest92332 is now known as Vinz_
<shevy> fish is really nice
whitedawg has quit [Quit: Leaving.]
Guest76559 has quit [Quit: ばいばい]
krisbulman has joined #ruby
mneorr has quit [Ping timeout: 252 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hbpoison has joined #ruby
mucker has joined #ruby
vlad_starkov has joined #ruby
deo_ has joined #ruby
krisbulman has quit [Client Quit]
bluOxigen has quit [Ping timeout: 260 seconds]
nopolitica has joined #ruby
k610 has joined #ruby
otters has quit [Quit: WeeChat 0.3.8]
otters has joined #ruby
hbpoison has quit [Ping timeout: 240 seconds]
noxoc has joined #ruby
erichmenge has joined #ruby
mneorr has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
k610 has joined #ruby
krisbulman has joined #ruby
dakine has quit [Quit: Leaving]
skcin7 has quit []
neku has joined #ruby
Slivka has joined #ruby
statarb3 has quit [Quit: Leaving]
k610 has quit [Ping timeout: 245 seconds]
nopolitica has quit [Quit: leaving]
k610 has joined #ruby
hoelzro is now known as hoelzro|away
nari__ has quit [Ping timeout: 260 seconds]
slainer68 has quit [Remote host closed the connection]
k610 has quit [Ping timeout: 272 seconds]
k610 has joined #ruby
darthdeus has quit [Quit: Leaving...]
und3f has quit [Ping timeout: 245 seconds]
kirun has quit [Quit: Client exiting]
slainer68 has joined #ruby
Takehiro has quit [Remote host closed the connection]
hbpoison has joined #ruby
fasta has quit [Remote host closed the connection]
deo_ has quit [Read error: Connection reset by peer]
fasta has joined #ruby
fasta has quit [Read error: Connection reset by peer]
deo_ has joined #ruby
fasta has joined #ruby
fasta has quit [Remote host closed the connection]
andrewhl has joined #ruby
k610 has quit [Ping timeout: 260 seconds]
fasta has joined #ruby
k610 has joined #ruby
arietis has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
k610 has quit [Ping timeout: 268 seconds]
benmatthew_ has joined #ruby
vitor-br has joined #ruby
k610 has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
elico has joined #ruby
benmatthew_ has quit [Remote host closed the connection]
benmatthew_ has joined #ruby
bigkevmcd has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
k610 has quit [Ping timeout: 255 seconds]
ablankfield has joined #ruby
k610 has joined #ruby
und3f has joined #ruby
psycho_one has quit [Remote host closed the connection]
anirudh24seven has quit [Read error: Connection reset by peer]
anirudh24seven has joined #ruby
Takehiro has joined #ruby
k610 has quit [Ping timeout: 240 seconds]
anirudh24seven has quit [Read error: Connection reset by peer]
anirudh24seven has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
anirudh24seven has quit [Read error: Connection reset by peer]
anirudh24seven has joined #ruby
jtperreault has quit [Quit: WeeChat 0.3.7]
psycho_one has joined #ruby
Goles has joined #ruby
clj_newb has joined #ruby
anirudh24seven has quit [Read error: Connection reset by peer]
psycho_one has quit [Remote host closed the connection]
moeSeth has quit [Quit: Connection closed for inactivity]
Vert has joined #ruby
anirudh24seven has joined #ruby
hron84 has quit [Quit: Leaving.]
mucker has quit [Quit: leaving]
irleif has joined #ruby
kil0byte has quit [Ping timeout: 240 seconds]
somazero has quit [Remote host closed the connection]
kirun has joined #ruby
rubynewb has joined #ruby
<rubynewb> hi all
lxsameer has joined #ruby
<lxsameer> hi, is the any standard or most favorite coding style for ruby?
<rubynewb> I have two different arrays one is names Chapters and the second is named pages - I want to print each one in line with eachother. I.e. chapters[0] pages[0] then a \n then chapters[1] pages [1] any thoughts on how to do that?
<rubynewb> lxsameer I'd like to answer your question but I have no idea...
<lxsameer> rubynewb: about my question , or coding style ?
verto|off is now known as verto
<rubynewb> both
<lxsameer> rubynewb: :)
<rubynewb> ;)
<rubynewb> https://github.com/bbatsov/ruby-style-guide for what it's worth
Drager has quit [Changing host]
Drager has joined #ruby
<lxsameer> rubynewb: yeah i read that :D
_veer has quit [Ping timeout: 245 seconds]
<rubynewb> I need to read it.
<rubynewb> I don't suppose you know how to join to arrays inline with eachother?
<rubynewb> *two
Servidorv has quit [Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak]
psycho_one has joined #ruby
banisterfiend has joined #ruby
<lxsameer> rubynewb: no i'm a ruby rookie
<Hanmac> rubynewb chapters.each_with_index.map{|c,i| [c,pages[i],"\n"] }.join or something similar
<rubynewb> blind leading the blind
<rubynewb> sweet Thanks Hanmac
<rubynewb> good luck lx
rubynewb has left #ruby [#ruby]
szhang has joined #ruby
apeiros has joined #ruby
apeiros has quit [Remote host closed the connection]
fbernier has quit [Quit: ZNC - http://znc.in]
<apeiros_> Hanmac: zip would have worked too
Takehiro has quit [Remote host closed the connection]
_veer has joined #ruby
stnly has quit [Ping timeout: 245 seconds]
kil0byte has joined #ruby
<Hanmac> apeiros_ fu you are right
ltsstar has quit [Quit: ltsstar]
stnly has joined #ruby
<banisterfiend> Hanmac: where im from "fu" means "fuck up"
Takehiro has joined #ruby
awestroke has quit [Remote host closed the connection]
darthdeus has joined #ruby
mohanmcgeek has joined #ruby
<Hanmac> banisterfiend its more an "fuck" against myself
<banisterfiend> ah
fyolnish has quit [Read error: Connection reset by peer]
fyolnish has joined #ruby
<Hanmac> i shorted it to "fu*" or fu because i thought so sounds it less agressive ...
dangerousdave has joined #ruby
rjsamson has joined #ruby
<apeiros_> in my area, FU is "fuck you", but I knew how Hanmac meant it
JohnBat26 has joined #ruby
marioooo has quit [Ping timeout: 256 seconds]
LucidDreamZzZ has quit [Quit: Leaving]
anirudh24seven has quit [Read error: Connection reset by peer]
mariooo has joined #ruby
Rizzle has quit [Ping timeout: 240 seconds]
LucidDreamZzZ has joined #ruby
anirudh24seven has joined #ruby
krisbulman has quit [Quit: krisbulman]
mohanmcgeek has left #ruby [#ruby]
noxoc has quit [Ping timeout: 240 seconds]
Mathieu has quit [Ping timeout: 248 seconds]
Mathieu has joined #ruby
forced_request has joined #ruby
psycho_one has quit [Remote host closed the connection]
nari__ has joined #ruby
slainer68 has quit [Remote host closed the connection]
rjsamson has quit [Remote host closed the connection]
linoj has joined #ruby
Serial_Killer_C has joined #ruby
rjsamson has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
mucker has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
rjsamson has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
icooba has joined #ruby
senny has quit [Remote host closed the connection]
clj_newb has quit [Ping timeout: 244 seconds]
Vinz_ is now known as Vinz_`
nyrb has quit [Remote host closed the connection]
rippa has joined #ruby
_alejandro has quit [Ping timeout: 268 seconds]
jlwestsr has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Remote host closed the connection]
rjsamson has joined #ruby
<lxsameer> what does this form of class called ? "class << self"
SCommette has joined #ruby
<Hanmac> lxsameer it opens the singleton class of the class that means its a shortcut for defining singleton methods (or then you want attr_accessor on the class itself)
<lxsameer> Hanmac: can you give me a link to read more about it ?
v1negar has joined #ruby
szhang has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
g-ram has joined #ruby
somazero has joined #ruby
<lxsameer> Hanmac: thanks man
Serial_Killer_C has quit [Remote host closed the connection]
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jlwestsr has joined #ruby
und3f has quit [Quit: Leaving.]
<Xeago> #ruby
adambeynon has joined #ruby
<Xeago> help! Give me a list of books that have been discussed here recently!
<Xeago> and/or other highly advisable books
<Hanmac> Xeago i learned ruby without books
<Xeago> not necessarily ruby, but design patterns for cloud architectures and stuff
nari__ has quit [Ping timeout: 245 seconds]
<Xeago> not interested in a book about a language, as that is usually to be found on so.com and the lang-lang.org
irleif has quit [Quit: Computer has gone to sleep.]
morozovm has joined #ruby
anderse has quit [Quit: anderse]
chrishunt has joined #ruby
morozovm has quit [Client Quit]
yshh has quit [Remote host closed the connection]
anderse has joined #ruby
tommyvyo has joined #ruby
Slivka has quit [Remote host closed the connection]
fbernier has joined #ruby
micsha has joined #ruby
deo_ has quit [Quit: Leaving]
marcuspat has joined #ruby
JohnBat26 has joined #ruby
shtirlic has joined #ruby
awarner has joined #ruby
<matti> ;]
<micsha> if I write my own module and I require it at the top of a seperate script then create a class and include the module in the class why wouldn't it be able to find the module?
Araxia has joined #ruby
freakazoid0223 has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
hamed_r has joined #ruby
rjsamson has quit [Remote host closed the connection]
rjsamson has joined #ruby
<apeiros_> micsha: paste the code and the exception you get please
<apeiros_> e.g. on gist.github.com
<micsha> k, one second
<shevy> micsha you should include what error is given. the way you describe it runs counter to what others do, it is possible to require .rb files and use them in other classes
Guest33642 is now known as neersighted
<micsha> ok, here it is
nohonor has joined #ruby
rjsamson has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
<shevy> ok good
<shevy> no such file to load -- Testmodule.rb
<micsha> Thanks a lot for look at this for me.
<shevy> is it upcased or downcased, the filename
<dominikh> or it's simply not in the load path...
<shevy> because otherwise the error would be "no such file to load -- testmodule.rb"
<apeiros_> micsha: your $LOAD_PATH does not contain the path where testmodule.rb resides
<apeiros_> micsha: run test.rb with `ruby -I. test.rb`
<apeiros_> micsha: also note that you should spell the require exactly the same as the file. not all filesystems are case insensitive.
<micsha> apeiros_: ok, let me try that really quickly
mneorr_ has joined #ruby
<micsha> apeiros_: linux OS
MarcWeber has joined #ruby
someguy has joined #ruby
<apeiros_> the ruby convention is to name the file the same as the main module, but all lowercased. in your case 'testmodule.rb'
<apeiros_> and then the require will be `require 'testmodule'` (ruby will automatically check for the .rb)
rjsamson has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
awarner has quit [Remote host closed the connection]
<MarcWeber> Is there any shortcut for a.nil? nil : a.text ?
<micsha> ok
<apeiros_> MarcWeber: a && a.text
<micsha> let me check these things and I'll let you know, thanks, guys.
tommyvyo has joined #ruby
tommyvyo has quit [Client Quit]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<MarcWeber> apeiros_: Bad idea if a is a fucntion call, you have to evaluate it twice then.
slainer68 has joined #ruby
<MarcWeber> So I assume I have to write a function ..
<apeiros_> MarcWeber: errr, as opposed to your solution? :)
<apeiros_> or do you think a.nil? ? nil : a.text would *not* execute a twice?
<apeiros_> also, it's method calls in ruby, not function.
<apeiros_> if you don't know whether a is a method or not, then you're doing something wrong. if you know that it *is* a method, then simply assign the result to a variable first.
<apeiros_> x = a; x && x.text
bigmcq77 has joined #ruby
classix has quit [Ping timeout: 248 seconds]
beit has joined #ruby
mattt has joined #ruby
rjsamson has quit [Remote host closed the connection]
mikepack has joined #ruby
irleif has joined #ruby
rjsamson has joined #ruby
invapid has joined #ruby
slainer68 has quit [Ping timeout: 272 seconds]
<Ivo> is there a string function like strip that can strip other char than whitespace!?
<micsha> ok, that worked
<lxsameer> what is the suitable exception for a wrong parameter
irleif has quit [Client Quit]
<apeiros_> Ivo: gsub, delete, tr
elico has quit [Quit: elico]
<apeiros_> though, those do not work strictly at the ends of the string, like strip
<MarcWeber> http://dpaste.com/819424/ @ apeiros_
<micsha> thanks for the help guys
<apeiros_> MarcWeber: nill?
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wallerdev has joined #ruby
samphippen has quit [Ping timeout: 244 seconds]
<apeiros_> use __send__ if you don't know the object
someguy has quit [Ping timeout: 245 seconds]
<apeiros_> also, common implementation of `try` is to add `try` to NilClass too and let it return nil
rjsamson has quit [Ping timeout: 265 seconds]
<MarcWeber> That would make it faster ..
<MarcWeber> Thanks for your tips.
samphippen has joined #ruby
mahmoudimus has joined #ruby
CaptainKnots has joined #ruby
<lxsameer> is there any easy way to convert all the keys of a hash from symbol to string
kaawee has quit [Ping timeout: 268 seconds]
maletor has joined #ruby
<Hanmac> lxsameer: Hash[hash.map{|k,v|[k.to_s,v]}]
<lxsameer> Hanmac: nice
kirun_ has joined #ruby
awarner has joined #ruby
dakine has joined #ruby
hotovson_ has quit [Remote host closed the connection]
bbttxu has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
kirun has quit [Ping timeout: 256 seconds]
mattt has left #ruby [#ruby]
xbayrockx has quit []
clj_newb has joined #ruby
thinkdevcode has joined #ruby
psycho_one has joined #ruby
invapid_ has joined #ruby
anderse has quit [Quit: anderse]
CaptainJet has joined #ruby
<CaptainJet> ut
Serial_Killer_C has joined #ruby
monkegjinni has quit [Remote host closed the connection]
ltsstar has joined #ruby
<shevy> zt?
CaptainKnots has quit [Ping timeout: 245 seconds]
kaawee has joined #ruby
invapid_ has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
kaneda__ has quit [Ping timeout: 255 seconds]
medik has quit [Quit: Leaving]
mucker has quit [Ping timeout: 272 seconds]
Cultofmetatron has joined #ruby
Lemtzas has quit [Remote host closed the connection]
Lemtzas has joined #ruby
h4mz1d has joined #ruby
invapid_ has joined #ruby
walbert has joined #ruby
kaawee has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
vonsar has quit [Quit: This computer has gone to sleep]
elico has joined #ruby
kil0byte has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
mikepack has quit [Remote host closed the connection]
kaneda__ has joined #ruby
bigkevmcd has quit [Remote host closed the connection]
fyolnish has quit [Remote host closed the connection]
Serial_Killer_C has quit [Remote host closed the connection]
ablankfield has quit [Ping timeout: 268 seconds]
linoj has quit [Quit: linoj]
<arietis> hey, i need to convert string into another one using utf-8
cableray has joined #ruby
<arietis> is there any API in ruby to work with utf-8?
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<apeiros_> String
<apeiros_> take a look at its methods
DarkFoxDK has joined #ruby
<apeiros_> (requires ruby 1.9)
cakehero has joined #ruby
<arietis> it's ok, i'm using 1.9.3
havenn has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
<arietis> i have such representation "#symbol_code_in_decimal_form#symbol_code_in_decimal_form#symbol_code_in_decimal_form#symbol_code_in_decimal_form"
joofsh has joined #ruby
<apeiros_> you better make an actual example
<apeiros_> consisting of in- & output
Virunga has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
cableray has quit [Client Quit]
<shevy> hehehe
<matti> Ohai shevy
<arietis> #1060#1072#1084#1080#1083#1080#1103
<shevy> matti!!! stop work, code more!
<matti> ?
<shevy> matti I am working on disco prompt
<matti> Em?
<shevy> I want a prompt that constantly changes colour
<matti> Right.
<arietis> i have no idea what output is i can only guess it's "Фамилия"
<matti> shevy: Good luck ;]
<matti> shevy: Its nice to see that brain power of young generation is used to create "disco prompt" :)
<lxsameer> how can i break a ruby line to two or more
<matti> lxsameer: "ruby line"?
<apeiros_> arietis: s.scan(/\#(\d+)/).map { |a,*| a.to_i.chr(Encoding::UTF_8) }.join
<apeiros_> there might be a better way
<lxsameer> matti: a line of code in ruby
<matti> lxsameer: Look in Google for some style guideliness.
<apeiros_> s.scan(/\d+/).map(&:to_i).pack("U*") is probably faster
<lxsameer> matti: ok thanks
<shevy> matti man you need the fancy stuff in order to be cool
<matti> lxsameer: There is a nice one on github.
<arietis> apeiros_: what i want to achieve is to replace #1060 for example with char in file
<shevy> lxsameer you could continue it on the next line via a \
<matti> shevy: Hahah, I suppose so ;]
<lxsameer> thanks guyes
<shevy> matti zsh is nothing more than the natural evolution of disco prompts
<shevy> it just calls the disco box RPROMPT for some reason
<shevy> dance!
<shevy> \o/
<apeiros_> arietis: see the code I pasted
<shevy> ~o/
<ddd> arietis: also, this might be a good read for you
tobago has left #ruby [#ruby]
h4mz1d has quit [Ping timeout: 245 seconds]
<shevy> ruby always needed to have umlauts as variable names
jlwestsr has quit [Ping timeout: 246 seconds]
virtuose has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
hamed_r has quit [Quit: Leaving]
noxoc has joined #ruby
artOfWar has joined #ruby
otters has quit [Ping timeout: 245 seconds]
freakazoid0223 has joined #ruby
elico has quit [Quit: elico]
phelps has joined #ruby
<phelps> To those who are curious, I found a gem that has the functionality of the whenever gem, but execution is actually done in the code: http://rufus.rubyforge.org/rufus-scheduler/
slainer68 has joined #ruby
<phelps> (In context to an earlier question)
Xeago has quit [Ping timeout: 265 seconds]
Guest41156 has joined #ruby
virtuose has joined #ruby
BrianJ has joined #ruby
daniel_- has joined #ruby
coder_neo has joined #ruby
Juul has quit [Quit: Leaving]
Rizzle has joined #ruby
djbpython has joined #ruby
<djbpython> hi all, how can i get this to work -> https://gist.github.com/3969139
jeremywrowe has joined #ruby
<djbpython> the *args ends up being a an array of a single element array
slainer68 has quit [Ping timeout: 240 seconds]
<canton7> djbpython, you're passing one argument to #sender
<canton7> (which is an array of two items)
<canton7> #sender then faithfully passes that one argument to #success
<apeiros_> djbpython: sender(tl, *two_params)
<canton7> which moans because it was expecting two arguments
<apeiros_> (and canton7 will explain why that works ;-) )
tommyvyo has quit [Quit: Computer has gone to sleep.]
<canton7> ahem... putting the splat operator before two_params (as apeiros_ did) takes that array of two items and passes it as two separate arguments
<canton7> (to #sender)
<djbpython> ah, interesting
tpe11etier_ has joined #ruby
CaptainJet has quit []
jlwestsr has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
<djbpython> thanks canton7 apeiros_! I'm not sure i would have been able to figure that out on my own
phelps has left #ruby ["Linkinus - http://linkinus.com"]
cakehero has quit [Quit: Computer has gone to sleep.]
<canton7> djbpython, the thing to do would be to 'p args' at each step, and examine what was going on
mercwithamouth has quit [Ping timeout: 255 seconds]
<canton7> you'd have seen that, in #sender, args was [['x', 'y']] instead of ['x', 'y']
Goles has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
Goles has joined #ruby
fyolnish has joined #ruby
sent-hil has joined #ruby
CaptainJet has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
clj_newb has quit [Ping timeout: 245 seconds]
kaneda__ has quit [Ping timeout: 248 seconds]
anderse has joined #ruby
walbert has quit [Remote host closed the connection]
Serial_Killer_C has joined #ruby
medik has joined #ruby
jgrevich has joined #ruby
mercwithamouth has joined #ruby
linoj has joined #ruby
blazes816 has joined #ruby
wallerdev has quit [Quit: wallerdev]
Vinz_` is now known as Vinz_
fyolnish has quit [Ping timeout: 245 seconds]
otters has joined #ruby
khakimov has joined #ruby
kidoz has joined #ruby
jeff_sebring has joined #ruby
Goles has quit [Remote host closed the connection]
anirudh24seven has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121010235040]]
jeremywrowe has quit [Quit: jeremywrowe]
kaneda__ has joined #ruby
Eplemosen has joined #ruby
Goles has joined #ruby
robbie has joined #ruby
rakl has joined #ruby
<robbie> hi -- I'm making a github module for conky: https://gist.github.com/3969216 -- how can I easily add caching so I can compare the last push from github API for each of my repos? (its a very short script despite that description)
awestroke has joined #ruby
Xeago has joined #ruby
codefyre has joined #ruby
<robbie> I'm making a github module for conky: https://gist.github.com/3969216 -- how can I easily add caching so I can compare the last push from github API for each of my repos? (its a very short script despite that description)
Morkel has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
artOfWar has quit [Remote host closed the connection]
Serial_Killer_C has quit [Remote host closed the connection]
codefyre has quit [Quit: Leaving]
Cultofmetatron has joined #ruby
k610 has joined #ruby
skaczor has joined #ruby
wallerdev has joined #ruby
vonsar has joined #ruby
verto is now known as verto|off
mahmoudimus has joined #ruby
rjsamson has joined #ruby
v1negar has quit [Quit: v1negar]
jeff_sebring has quit [Quit: Leaving]
robotmay has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
robbie has quit [Remote host closed the connection]
dagnachewa has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
kaneda__ has quit [Ping timeout: 260 seconds]
kaawee has joined #ruby
nohonor has quit [Quit: Leaving]
hotovson_ has joined #ruby
love_color_text has joined #ruby
nohonor has joined #ruby
jscoder has joined #ruby
forced_request has quit [Remote host closed the connection]
<jscoder> Hey guys, how can I call the method a inside that module? http://snippi.com/s/0bfkhby
<sent-hil> jscoder: you'll need to 'extend self' to call it like that
<sent-hil> or you can include the module in a class and call on its instance: "MyClass.new.a"
Progster has joined #ruby
phantasm66 has joined #ruby
neku has quit [Quit: Linkinus - http://linkinus.com]
Rizzle has quit [Ping timeout: 268 seconds]
elico has joined #ruby
<jscoder> sent-hil: Thanks, `extend self` works perfectly :)
taypen has joined #ruby
clj_newb has joined #ruby
<taypen> hey, while installing rdoc i get `gem_original_require': no such file to load -- racc/static (LoadError)
<taypen> any clues?
kaawee has quit [Ping timeout: 245 seconds]
miphe has quit [Quit: Leaving]
marcuspat has quit [Quit: marcuspat]
nyuszika7h has quit [Read error: Connection reset by peer]
phantasm_ has joined #ruby
love_color_text has quit [Remote host closed the connection]
elico has quit [Client Quit]
nyuszika7h has joined #ruby
Eplemosen has quit [Quit: Hexchat FTW! http://www.hexchat.org/]
<taypen> ok did, gem install racc
<taypen> now it fails with : /usr/local/rvm/gems/ruby-1.9.3-p0/gems/racc-1.4.9/lib/racc/cparse.so: [BUG] Segmentation fault
<taypen> any more clues? )
havenn has quit [Remote host closed the connection]
thinkdevcode has quit [Remote host closed the connection]
tenmilestereo[aw has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
<taypen> i use ruby 1.9.3
thinkdevcode has joined #ruby
<taypen> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
thinkdevcode has quit [Read error: Connection reset by peer]
thinkdevcode has joined #ruby
phantasm66 has quit [Quit: phantasm66]
mklappstuhl has joined #ruby
tenmilestereo has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
robotmay has quit [Remote host closed the connection]
Rizzle has joined #ruby
margle has joined #ruby
phantasm_ has quit [Quit: *poof*]
kaawee has joined #ruby
<taypen> is it because i have RUBY_TARGETS="ruby18 ruby19" ?
<taypen> i mean both of them
Vinz_ is now known as Vinz_`
mklappstuhl has quit [Ping timeout: 240 seconds]
Vinz_` is now known as Vinz_
jaygen has joined #ruby
Spaceghost|cloud has joined #ruby
artOfWar has joined #ruby
shevy has joined #ruby
jrajav has joined #ruby
artOfWar has quit [Remote host closed the connection]
kaneda__ has joined #ruby
artOfWar has joined #ruby
maddog_ has quit [Ping timeout: 240 seconds]
Cache_Money has joined #ruby
maddog_ has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
awestroke has quit [Remote host closed the connection]
h4mz1d has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
k_89 has joined #ruby
Antiarc has joined #ruby
<k_89> anyway to override how puts deals with an object ?
<k_89> print uses to_s
<k_89> what does puts use ?
mneorr_ has quit [Read error: Connection reset by peer]
havenn has joined #ruby
<Antiarc> If I use Kernel#popen, will the subprocesses run on the same core as the spawning ruby script, or will they be eligible to be run on different cores?
mneorr has joined #ruby
<Antiarc> Looking at it in top, it *seems* like their runtime is credited to the spawning process, which is worrying, since it means that they won't distribute their workload across cores like running a process with backticks would.
mklappstuhl has joined #ruby
dagnachewa has quit [Quit: Leaving]
love_color_text has joined #ruby
noxoc1 has joined #ruby
areil has quit [Remote host closed the connection]
sertaconay has joined #ruby
<Antiarc> Sorry, IO#popen, not Kernel.
<taypen> how do i reinstall all the local gems ?
g-ram has joined #ruby
<Kovensky> Antiarc: it's opened just like any other OS process
<Antiarc> Hrm. I'll need to try this on a machine with more cores.
bluOxigen has joined #ruby
jamjam has joined #ruby
<arietis> which way is more suitable if i wanna replace chars in file? IO.read or File.open?
noxoc has quit [Ping timeout: 265 seconds]
<k_89> how to override how puts prints an object
Vinz_ is now known as Vinz_`
<arietis> looks like File.open is the way to go
<arietis> :)
mneorr_ has joined #ruby
dlb has joined #ruby
dlb is now known as zz_dlb
<Kovensky> k_89: puts just calls #inspect in the object
<k_89> ok
<k_89> thanks
tenmilestereo[aw has quit [Read error: Connection reset by peer]
tenmilestereo has joined #ruby
mneorr has quit [Ping timeout: 276 seconds]
<k_89> Kovensky, http://paste.laravel.com/8IS .. an object of this class is behaving differently under puts and print
<k_89> the puts version prints the array of vertices
<k_89> while print outputs the proper format (uses to_s)
sepp2k has quit [Ping timeout: 264 seconds]
<k_89> any idea why ?
_alejandro has joined #ruby
mneorr_ has quit [Ping timeout: 260 seconds]
fms has joined #ruby
Araxia_ has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
Araxia_ is now known as Araxia
Axsuul has joined #ruby
zz_dlb is now known as dlb
love_color_text has quit [Remote host closed the connection]
linoj has quit [Quit: linoj]
ltsstar has quit [Ping timeout: 244 seconds]
<arietis> ARGV[0] is first argument in case of ruby?
<arietis> or the name of program
caleb_io has joined #ruby
<arietis> looks like argument
love_color_text has joined #ruby
micsha has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D]
<Kovensky> k_89: hm, maybe puts treats it as an Array
<arietis> tell me if i'm wrong
<arietis> :)
clj_newb has quit [Ping timeout: 245 seconds]
awestroke has joined #ruby
<Kovensky> $0 is the name of the program
<Kovensky> ARGV only has arguments
Nisstyre-laptop has quit [Ping timeout: 264 seconds]
jerius has joined #ruby
<Kovensky> k_89: yep; if I make Edge not < Array and use an internal array, puts behaves correctly
<Kovensky> let's see what happens if I implement []
jslowe has joined #ruby
<Kovensky> yep, puts still DTRT
love_color_text has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
Nisstyre-laptop has quit [Read error: Connection reset by peer]
Virunga has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
<Kovensky> k_89: alright; if the object is #kind_of? Array, it'll do special processing
<Kovensky> otherwise, both puts and print call #to_s, not #inspect :X
<Kovensky> what calls #inspect is irb
mr-rich has quit [Read error: Connection timed out]
<k_89> Kovensky, oh, thats some awesome detail .. thanks !!
<k_89> probably will drop the whole < Array thing
schaerli has joined #ruby
mr-rich has joined #ruby
* Kovensky does a lot of < Hash as a perlism :X
_veer has quit [Ping timeout: 245 seconds]
tjbiddle has joined #ruby
mr-rich has quit [Max SendQ exceeded]
<apeiros_> Kovensky: that's not quite correct, puts uses to_s too
<apeiros_> p uses inspect
<arietis> can anyone link me good getting started with Test::Unit tutorial?
dlb has left #ruby [#ruby]
sepp2k has joined #ruby
_veer has joined #ruby
<arietis> i know how to write tests, just never did it in ruby
My_Hearing has joined #ruby
My_Hearing has quit [Changing host]
My_Hearing has joined #ruby
Mon_Ouie has quit [Disconnected by services]
My_Hearing is now known as Mon_Ouie
irleif has joined #ruby
<apeiros_> k_89: I think I'd rather use a Struct than an Array to represent an edge
My_Hearing has joined #ruby
<sent-hil> Not a tutorial, but chapter 1 of a book (pdf btw)
<havenn> arietis: I'd recommend checking out minitest. Also included in ruby, but newer, easier to read code.
margle has quit [Quit: Computer has gone to sleep.]
fantazo has joined #ruby
<Kovensky> <apeiros_> Kovensky: that's not quite correct, puts uses to_s too <-- yeah, I verified that while poking the class to see what happens
<sent-hil> arietis: i prefer rspec myself, but i hear minitest is just as good
_alejandro has quit [Ping timeout: 246 seconds]
tjbiddle_ has joined #ruby
<arietis> sent-hil: havenn: thanks
yekta has joined #ruby
<havenn> sent-hil: minitest has a nice rspec-like spec style.
slainer68 has joined #ruby
<sent-hil> havenn: yea, i gotta check it out
margle has joined #ruby
Xeago has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
Slivka has joined #ruby
andrewvos has joined #ruby
tommyvyo has joined #ruby
andrewvos has left #ruby [#ruby]
seydar has joined #ruby
cakehero has joined #ruby
<seydar> shevy: you have been summoned to the high court of #ruby-lang
andrewvos has joined #ruby
<arietis> is there any convention about naming test class file?
<andrewvos> shevy: What are you doing in here?
<andrewvos> shevy: Are you lost?
<seydar> shevy come home
<seydar> these are bad people here
slainer68 has quit [Ping timeout: 245 seconds]
<andrewvos> hahaha
<shevy> andrewvos hey
<havenn> andrewvos: He found out that #ruby-lang is actually about the Style weight-loss show Ruby, and it is being cancelled.
<shevy> andrewvos it annoyed me too much that #ruby-lang requires registration if you wish to talk
<sent-hil> arietis: test class file?
<shevy> I like the free-talking here without having to register :)
<havenn> shevy: So they can ban you when you talk! :P
<jrajav> A lot of language channels require that
<havenn> jrajav: Strict ones. Ruby is not a strict mistress.
<shevy> yeah jrajav
<shevy> #python wants it too
<arietis> sent-hil: well, i have KursConvert.rb and KursConvertTest.rb files
<shevy> seydar I'll be back on #ruby-lang the moment the registration-to-talk is gone
<arietis> both in same directory
<arietis> is such structure ok?
<sent-hil> arietis: for rspec it is kurs_convert_spec.rb, for minitest, i'm guessing test_*
irleif has quit [Quit: Computer has gone to sleep.]
<arietis> i'm using Test::Unit
<sent-hil> arietis: we usually put the test files in specs/ (rspec) or test/ (minitest)
ltsstar has joined #ruby
<seydar> i can't get my ruby install to find libffi
<arietis> what about scope? will it see my class?
<havenn> arietis: Minitest spec style in spec/ and test style in test/
<seydar> libffi is installed in ~/local/lib/libffi-3.0/include/*.h, and the ruby install prefix is ~/local
_alejandro has joined #ruby
<sent-hil> arietis: btw, snake case for file names
<sent-hil> camel case for constants like class names
maletor has quit [Quit: Computer has gone to sleep.]
<sent-hil> that's a good link, but mind you they use their own comment style
<havenn> sent-hil: Yeah, I tried TomDoc for one gem. Certainly made for thorough commenting... but I can barely find the code between the comments. :P
kaneda__ has quit [Ping timeout: 265 seconds]
<havenn> Verrry thorough.
<sent-hil> havenn: haha, yea
<sent-hil> at least no random @ in comments like rdoc
<seydar> shevy: what have you been working on lately?
artOfWar has quit [Ping timeout: 255 seconds]
<shevy> seydar hmm mostly on dia-shell
<shevy> and a bit bio-ruby related stuff
kaneda__ has joined #ruby
mneorr has joined #ruby
<shevy> oh and I try to maintain the old fpdf things for ruby
<seydar> link to dia-shell?
<seydar> wait so you ARE shevegen
<seydar> could've sworn i asked you that on reddit and you said no
mklappstuhl has quit [Ping timeout: 255 seconds]
c0rn_ has joined #ruby
love_color_text has joined #ruby
adambeynon has joined #ruby
_veer has quit [Ping timeout: 245 seconds]
Tuxist has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
c0rn_ has quit [Ping timeout: 265 seconds]
benmatthew__ has joined #ruby
_veer has joined #ruby
benmatthew__ has quit [Client Quit]
_veer has joined #ruby
_veer has quit [Changing host]
thisirs has joined #ruby
lxsameer has quit [Quit: Leaving]
preservingmachin has joined #ruby
psycho_one has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 265 seconds]
benmatthew_ has quit [Ping timeout: 248 seconds]
c0rn_ has joined #ruby
<arietis> i have Rakefile but how do i check if it works?
<arietis> if i run ruby Rakefile i just get no output
<blazes816> "rake -T" will show you the tasks available
jgrevich_ has joined #ruby
<arietis> kk, thanks
_veer has quit [Ping timeout: 240 seconds]
andrewvos has left #ruby [#ruby]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
preservingmachin has left #ruby [#ruby]
robbie has joined #ruby
nateberkopec has quit [Quit: Leaving...]
havenn has quit [Remote host closed the connection]
<robbie> github API returns timestamps of the form "2012-10-28T12:07:33-07:00" -- how can I get timestamps form them that account for the minutes instead of just the date? (eg, Date.parse(d).to_time will show midnight on that date instead of accounting the time data
<shevy> nono
<shevy> I am inactive on github
<shevy> :(
coder_neo has quit [Read error: Connection reset by peer]
<shevy> seydar, I am trying to be more active on rubygems
<shevy> seydar: https://rubygems.org/profiles/58718 (I try to use "shevy" since ~2 years, it's a better nick, but leads to confusion with "shevegen" now)
coder_neo has joined #ruby
<shevy> I am just training how to use gems really, until I gemify my larger projects :P
preservingmachin has joined #ruby
havenn has joined #ruby
havenn has quit [Client Quit]
seydar has quit [Quit: leaving]
havenn has joined #ruby
schaerli has quit [Remote host closed the connection]
robbie has quit [Ping timeout: 252 seconds]
Bosma has joined #ruby
preservingmachin has left #ruby [#ruby]
g-ram has quit [Quit: Computer has gone to sleep.]
Cultofmetatron has quit [Read error: Connection reset by peer]
<tpe11etier_> Hi. I'm messing around with ruby motion and I'm more of a python guy. I'm looking at some example code and I see methods defined as....... def user=(user)......... What does the '=' mean?
Cultofmetatron has joined #ruby
<havenn> tpe11etier_: It is syntactic sugar for a setter. You can then call the method: user = "I'm a user"
jscoder has quit [Quit: Page closed]
BadProphet has joined #ruby
robbie has joined #ruby
<tpe11etier_> havenn: ahhh.... thank u
g-ram has joined #ruby
kaneda__ has quit [Ping timeout: 244 seconds]
irleif has joined #ruby
robbie has quit [Remote host closed the connection]
kaneda__ has joined #ruby
Progster has quit [Ping timeout: 244 seconds]
nateberkopec has joined #ruby
Goles has quit [Ping timeout: 252 seconds]
c0rn_ has quit []
tjbiddle has quit [Quit: tjbiddle]
cableray has joined #ruby
LouisGB has quit []
jerius has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
yekta has quit [Quit: yekta]
chrisramon has joined #ruby
_veer has quit [Ping timeout: 245 seconds]
g-ram has quit [Quit: Computer has gone to sleep.]
vonsar has left #ruby ["Leaving"]
Orcris has joined #ruby
g-ram has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
joeycarmello has joined #ruby
akemEikko has joined #ruby
invapid_ has quit [Ping timeout: 252 seconds]
akem has quit [Read error: Connection reset by peer]
Progster has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9]
slainer68 has joined #ruby
rippa has quit [Ping timeout: 255 seconds]
_veer has quit [Ping timeout: 245 seconds]
c0rn_ has joined #ruby
kzrl has quit [Ping timeout: 260 seconds]
kaawee has joined #ruby
_veer has joined #ruby
sent-hil has quit [Remote host closed the connection]
Hanmac has joined #ruby
savage- has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
g-ram has quit [Quit: Computer has gone to sleep.]
kzrl has joined #ruby
Takehiro has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 240 seconds]
noxoc1 has quit [Quit: WeeChat 0.3.9]
g-ram has joined #ruby
caleb_io has quit [Quit: caleb_io]
Vinz_` is now known as Vinz_
nyrb has joined #ruby
shiroginne has quit [Quit: Connection closed for inactivity]
joeycarmello has quit [Remote host closed the connection]
i8igmac has joined #ruby
invapid_ has joined #ruby
elaptics is now known as elaptics`away
benmatthew_ has joined #ruby
irleif has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
caleb_io has joined #ruby
dmiller_ has quit [Ping timeout: 246 seconds]
Cultofmetatron has quit [Remote host closed the connection]
Orcris has quit [Ping timeout: 245 seconds]
k_89 has quit [Ping timeout: 265 seconds]
s0ber_ has joined #ruby
joeycarmello has joined #ruby
SirRamonGabriel has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
s0ber has quit [Ping timeout: 255 seconds]
s0ber_ is now known as s0ber
Virunga has joined #ruby
krz has quit [Quit: krz]
`brendan has quit [Ping timeout: 244 seconds]
g-ram has quit [Quit: Computer has gone to sleep.]
arubin has joined #ruby
Morkel_ has joined #ruby
somazero has quit [Quit: Leaving]
Jackneill has quit [Quit: Jackneill]
Morkel has quit [Ping timeout: 248 seconds]
Morkel_ is now known as Morkel
joeycarmello has quit [Remote host closed the connection]
dmiller has joined #ruby
anderse has quit [Quit: anderse]
caleb_io has quit [Read error: Connection reset by peer]
caleb_io has joined #ruby
g-ram has joined #ruby
hotovson_ has quit [Remote host closed the connection]
linoj has joined #ruby
nicoulaj has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
c0rn_ has quit []
sent-hil has joined #ruby
Takehiro has joined #ruby
h4mz1d has quit [Ping timeout: 245 seconds]
caleb_io has quit [Quit: caleb_io]
advorak has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
ddd has left #ruby [#ruby]
ddd has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
cakehero has quit [Quit: Computer has gone to sleep.]
shirajermilio has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
_alejandro has quit [Ping timeout: 245 seconds]
CaptainKnots has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
_alejandro has joined #ruby
Takehiro has quit [Ping timeout: 260 seconds]
jeffreybaird has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
tenmilestereo has quit [Quit: Leaving]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
Cultofmetatron has joined #ruby
shirajermilio has quit [Quit: ta ta]
margle has quit [Quit: Computer has gone to sleep.]
joeycarmello has joined #ruby
Rhynn has quit [Ping timeout: 245 seconds]
dcope has joined #ruby
<dcope> Is it possible to "catch" a method exception when a method is called with no param but it expects one?
alee has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
margle has joined #ruby
alee has joined #ruby
irleif has joined #ruby
<blazes816> dcope: yeah, i think that raises an ArgumentError
<dcope> cool, i'll see if i can use rescue
<blazes816> so you could do "begin; [].zip(); raise ArgumentError; end
BoomCow has joined #ruby
<blazes816> eh, rescue, not raise
<blazes816> yeah, you get the idea. should work fine
workmad3 has joined #ruby
krisbulman has joined #ruby
<dcope> blazes816: Can you rescue it within the method that you're trying to call?
joeycarmello has quit [Remote host closed the connection]
<blazes816> no
<dcope> ie def foo(bar) ... rescue ArgumentError end end
<dcope> hm
<blazes816> but
<dcope> blazes816: so there's no way at all to do that?
<blazes816> you could make it take optional args
<blazes816> and then do the checking yourself
joeycarmello has joined #ruby
<dcope> ah sweet
<BoomCow> sup pimps
<dcope> i'll look into those
<blazes816> def foobar(baz=nil); raise ArgumentError if baz.nil?; end
Cultofmetatron has quit [Remote host closed the connection]
adambeynon has quit [Read error: Connection reset by peer]
classix has joined #ruby
joeycarmello has quit [Ping timeout: 252 seconds]
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
krisbulman has quit [Quit: krisbulman]
Rhynn has joined #ruby
monkegjinni has joined #ruby
scade has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
Cultofmetatron has joined #ruby
ablankfield has joined #ruby
<havenn> 1.9, 2.0, rbx, jruby, and maglev working nicely in rbfu :) mmmmmm, simplicity.
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
Takehiro has joined #ruby
joshcheek has joined #ruby
<blazes816> curb is a cooler name
<blazes816> furb*
kaawee has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
Vinz_ is now known as Vinz_`
savage- has quit [Quit: savage-]
chrisramon has quit [Quit: chrisramon]
skaczor has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
mercwithamouth has joined #ruby
mklappstuhl has quit [Quit: Leaving]
Takehiro has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
skaczor has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
margle has quit [Quit: Computer has gone to sleep.]
krisbulman has joined #ruby
krisbulman has quit [Client Quit]
joshcheek has left #ruby [#ruby]
awestroke has quit [Remote host closed the connection]
margle has joined #ruby
Goles has joined #ruby
Progster has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
havenn has quit [Remote host closed the connection]
scade has joined #ruby
macmartine has joined #ruby
bbttxu has quit [Quit: bbttxu]
yaymukund has quit [Ping timeout: 260 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
Azure has quit [Excess Flood]
Azure has joined #ruby
justinmcp has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
[Neurotic] has joined #ruby
h4mz1d has joined #ruby
jrajav has quit []
bean_dharma90 has quit [Read error: Connection reset by peer]
dharmaturtle has joined #ruby
kiyoura has joined #ruby
invapid_ has quit [Ping timeout: 268 seconds]
advorak has quit [Quit: This computer has gone to sleep]
invapid_ has joined #ruby
krisbulman has joined #ruby
Cultofmetatron has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
thone_ has quit [Ping timeout: 246 seconds]
emergion has joined #ruby
hotovson has joined #ruby
thone has joined #ruby
advorak has joined #ruby
BoomCow has quit [Quit: Leaving]
yakko has joined #ruby
micsha has joined #ruby
<micsha> Sorry, guys, I'm going to be asking a bunch of silly questions for a while
Cultofmetatron has quit [Remote host closed the connection]
coder_neo has quit [Read error: Connection reset by peer]
yakko_ has quit [Ping timeout: 245 seconds]
coder_neo has joined #ruby
<micsha> if I delcare a global variable like $global and then a method with a local variable like @local then in the global space try to print both with puts should I be able to print both variables, should i be able to?
hotovson has quit [Remote host closed the connection]
<workmad3> micsha: @local isn't a local variable
<workmad3> micsha: it's an instance variable
benmatthew_ has quit [Quit: benmatthew_]
Goles has quit [Remote host closed the connection]
<workmad3> micsha: so if you set that in one method and then print it out in another method on the same object, then it will have the same value
Xeago has joined #ruby
<workmad3> micsha: and the 'global' scope in ruby is simply code being executed on the 'main' object (an instance of Object in most cases, iirc), so if you define a method in that 'global' scope and set instance variables, then they will be visible to code executing at the top level
deadalus has quit [Quit: Leaving]
nyrb has quit [Remote host closed the connection]
irleif has joined #ruby
robustus has quit [Quit: ZNC - http://znc.in]
jarred has joined #ruby
<arietis> what's analog of property in ruby?
<arietis> how do i define properties for object?
Goles has joined #ruby
<workmad3> arietis: either with attr_accessor, or manually with 'def whatever' and 'def whatever='
benmatthew_ has joined #ruby
<workmad3> arietis: 'properties' are really just setter/getter methods in ruby, but thanks to ruby's syntax niceties, they look nice :)
<workmad3> arietis: assuming you're meaning something similar to properties in C# anyway
<arietis> java/obj-c ones
rellin has quit [Quit: Nettalk6 - www.ntalk.de]
<arietis> usually when writing something i have such structure - class represents object properties, initializer and object methods
<workmad3> arietis: I didn't think java had 'properties' as such... it had either public member variables or getter/setter methods
<arietis> so i'm trying to figure out how to do it proeprly in ruby
Monie has joined #ruby
Monie has joined #ruby
Monie has quit [Changing host]
<workmad3> arietis: but chances are you're just looking for the methods to manipulate an instance variable, which is either done via attr_accessor, or manually as I showed above :)
<workmad3> arietis: if you only want a setter you have attr_writer and for a getter you have attr_reader too
dmiller has quit [Remote host closed the connection]
sent-hil has quit [Remote host closed the connection]
<arietis> workmad3: i got it, thanks
emergion has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
<arietis> if i have multiple vars should i use attr_accessor :var1, :var2 ?
Araxia has quit [Quit: Araxia]
Xeago has joined #ruby
thisirs has quit [Remote host closed the connection]
khakimov has quit [Quit: Computer has gone to sleep.]
tjbiddle has joined #ruby
Takehiro has joined #ruby
Xeago has quit [Ping timeout: 268 seconds]
slainer68 has joined #ruby
beit has quit [Quit: beit]
QKO_ has joined #ruby
Trucker has joined #ruby
krisbulman has quit [Quit: krisbulman]
Takehiro has quit [Ping timeout: 260 seconds]
QKO has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
advorak has quit [Quit: This computer has gone to sleep]
kiyoura has quit [Quit: Leaving]
linoj has quit [Quit: linoj]
juarlex__ has joined #ruby
Morkel has quit [Quit: Morkel]
advorak has joined #ruby
juarlex_ has quit [Ping timeout: 244 seconds]
thinkdevcode has quit [Read error: Connection reset by peer]
benmatthew_ has quit [Remote host closed the connection]
<arietis> somehow it says undefined
<arietis> when i'm trying to run method
<arietis> what's wrong with my class?
Progster has joined #ruby
awarner has joined #ruby
Goles has quit [Remote host closed the connection]
yaymukund has joined #ruby
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
<Hanmac> arientis how would you react when i tell you that you should do your job before i tell you wants your job is?
<Hanmac> and convert is defined as an instance method, but you want to call it as a class method
<blazes816> so how would you react if Hanmac told me to do a job before he told me what it was?
<blazes816> aw, I messed it up
<blazes816> :(
<blazes816> so how would you react if Hanmac told you to do a job before he told me what it was?
advorak has quit [Quit: This computer has gone to sleep]
love_color_text has quit [Remote host closed the connection]
<arietis> it wont work if ill place convert after definition
gabrielrotbart has joined #ruby
<blazes816> you define convert for the instance, but try calling it on the class
tjbiddle has quit [Quit: tjbiddle]
<blazes816> try def self.convert
<micsha> workmad3: sorry I was afk for a second. so even if I define a method in the global space and a variable in that method, the variable is still "global"?
_alfalfa has joined #ruby
<blazes816> well, what type of variable?
mercwithamouth has joined #ruby
<micsha> def local_meth
<micsha> @var = 5
<micsha> end
<micsha> like that ^
<blazes816> and @instance variable would be on object
<blazes816> yeah, then it would be
<blazes816> a local var wouldn't
fyolnish has joined #ruby
<blazes816> nice name for a global method too
yxhuvud has quit [Ping timeout: 272 seconds]
<micsha> sorry, I'm coming from C so relearning this is just taking a while.
<blazes816> np
<micsha> ok, so a randomly defined method in global space isn't going to have a local variable per se, then, right?
<micsha> it would have to be in an class object?
<blazes816> def local_meth; var = 5; end
<blazes816> var is local
levabalkin has joined #ruby
<blazes816> local_meth is not
<micsha> right, so I shouldn't be able to directly reference the local variable from outside of that method, correct?
<micsha> oh!
<blazes816> correct
<micsha> I understand what you mean, I think
yaymukund has quit [Quit: Lost terminal]
<blazes816> def local_method; @a = 'foo'; b = 'bar'; end
<blazes816> a is an instance variable, b is a local variable
<blazes816> if you now do like "puts b"
<blazes816> b will be undefined
<blazes816> "puts a" will output foo
jamjam has quit [Ping timeout: 255 seconds]
ablankfield has quit [Ping timeout: 276 seconds]
fyolnish has quit [Ping timeout: 265 seconds]
freakazoid0223 has quit [Read error: Connection reset by peer]
bbttxu has joined #ruby
Chryson has joined #ruby
joeycarmello has joined #ruby
_alfalfa has quit [Ping timeout: 240 seconds]
toolio_jarvis has joined #ruby
toolio_jarvis has quit [Client Quit]
_alfalfa has joined #ruby
jipiboily has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
kirun_ has quit [Quit: Client exiting]
clj_newb has joined #ruby
coder_neo has quit [Ping timeout: 265 seconds]
bbttxu has quit [Quit: bbttxu]
mercwithamouth has quit [Ping timeout: 252 seconds]
coder_neo has joined #ruby
CaptainKnots has quit [Quit: bazinga!]
jenrzzz has joined #ruby
J-_-L has joined #ruby
sertaconay has quit [Read error: Connection reset by peer]
<micsha> ok, so @var is an instance variable and var would be a local variable, I need to understand the difference between the two, thanks.
<micsha> gah.
<micsha> i think I accidentily that sentence.
<micsha> but suffice it to say instance variables != local variables.
sertaconay has joined #ruby
<apeiros_> so you don't need an explanation anymore?
fantazo has quit [Ping timeout: 260 seconds]
Russell^^ has quit [Quit: Russell^^]
hesco has joined #ruby
irleif has joined #ruby
elico has joined #ruby
<hesco> I have been distracted from this task for nearly a month by a vacation and other priorities. My notes on the ticket point to an installation at /usr/local/ruby-1.9.3-p194 , but when I try to launch my puppet daemon, I'm seeing errors related to: /usr/local/lib/ruby/1.9.1.
gabrielrotbart has quit [Remote host closed the connection]
statarb3 has quit [Quit: Leaving]
<hesco> While the ticket notes are silent on this question, I suspect this is left over from previous installation attempts.
gabrielrotbart has joined #ruby
darthdeus has quit [Quit: Leaving...]
Xeago has joined #ruby
<hesco> apt-get remove --purge insists that no ruby remain installed which I may have installed from the packages
_alejandro has quit [Ping timeout: 268 seconds]
<hesco> My notes seem to indicate that my source install in /usr/local is the one which took and worked.
blacktulip has quit [Remote host closed the connection]
<hesco> Before I left off on this project, I had a working dependency stack under puppet.
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
alanp_ has joined #ruby
_alejandro has joined #ruby
<hesco> but now coming back at this a month later, things look curious.
<hesco> Did the 1.9.3 version I installed mislable its library paths as 1.9.1 ???
irleif has quit [Quit: Computer has gone to sleep.]
cakehero has joined #ruby
<Hanmac> hesco its the API version
brianpWins has quit [Quit: brianpWins]
alanp has quit [Ping timeout: 268 seconds]
mercwithamouth has joined #ruby
BoomCow has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<hesco> Hanmac: how do you mean?
dnstbr has joined #ruby
Takehiro has joined #ruby
<Hanmac> hesco the API version of 1.9.3 is still 1.9.1
<hesco> ok, so it is hitting the right version of ruby then.
miphe has joined #ruby
<Hanmac> yeah, and you that try to google the question first ...
x82_nicole has joined #ruby
marcuspat has joined #ruby
<hesco> apparently I was invoking `puppetd` when I should have been using `puppet agent`
h4mz1d has quit [Ping timeout: 245 seconds]
ltsstar has quit [Quit: ltsstar]
Takehiro has quit [Ping timeout: 260 seconds]
Cache_Money has quit [Read error: Connection reset by peer]
cantonic has quit [Quit: cantonic]
Cache_Money has joined #ruby
h4mz1d has joined #ruby
JoshWines has joined #ruby
<arietis> any ideas what's wrong?
erichmenge has quit [Quit: Be back later]
krisbulman has joined #ruby
_alejandro has quit [Ping timeout: 245 seconds]
advorak has joined #ruby
<x82_nicole> Can someone explain when you would ever use the .each method on an array? I don't understand. The .map method actually returns results, and the .each does nothing?
<arietis> each is iterator
slainer68 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
<arietis> for each element in array do something
advorak has quit [Client Quit]
cardoni has joined #ruby
jjang has joined #ruby
_alejandro has joined #ruby
nohonor has quit [Ping timeout: 245 seconds]
invapid_ has quit [Quit: Lost terminal]
lkba has quit [Ping timeout: 276 seconds]
_veer has quit [Ping timeout: 245 seconds]
glyytchy has joined #ruby
nohonor has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
aarondaub has joined #ruby
BoomCow has left #ruby ["Leaving"]
fyolnish has joined #ruby
irleif has joined #ruby
Servidorv has joined #ruby
<Servidorv> hey guys
<Servidorv> anyone there??
sepp2k has quit [Remote host closed the connection]
nohonor has quit [Ping timeout: 240 seconds]
irleif has quit [Client Quit]
krisbulman has quit [Quit: krisbulman]
lkba has joined #ruby
Goles has joined #ruby
alejandro_ has joined #ruby
_alejandro has quit [Read error: No route to host]
krisbulman has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
elico has quit [Quit: elico]
clj_newb has quit [Ping timeout: 252 seconds]
Rix has quit [Ping timeout: 260 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
Rix has joined #ruby
<Servidorv> anyone???
_alfalfa has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Quit: Leaving...]
<aarondaub> hey
miphe has quit [Quit: Leaving]
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
sent-hil has joined #ruby
synthetix has joined #ruby
levabalkin has quit []
synthetix has quit [Quit: Ex-Chat]
monkegjinni has quit [Read error: Connection reset by peer]
synthetix has joined #ruby
monkegjinni has joined #ruby
pehlert has quit [Quit: Leaving.]
slainer68 has joined #ruby