apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste >3 lines of text on gist.github.com || Rails is in #rubyonrails || Log: http://irclog.whitequark.org/ruby
<gogiel> in ruby you can't do that
<gogiel> (without send)
<Ionic`> hm wait, that's not private, is it?
<Ionic`> what's the default visibility?
<gogiel> private
<gogiel> in struct it's public, in class it's private
<gogiel> but in c++ you know that the method is private of same class, so you can call it
Rizzle has joined #ruby
<gogiel> ruby is not static typed so it doesn't know anything about object's class when calling method
josefig has quit [Quit: Leaving]
<Ionic`> ah indeed
<gogiel> ideone, forogt about that great website!
<Ionic`> indeed :)
mdszy has joined #ruby
<Ionic`> hmm... ok, this error I don't get
shvelo has quit [Quit: Leaving]
LifeSF has joined #ruby
ramblex has joined #ruby
<Ionic`> (make sure to refresh the git link)
ramblex has quit [Client Quit]
<Ionic`> why does ruby think sections is a method?
<Ionic`> It's the class variable and I'm referencing it via self.sections uhm...
<gogiel> self.class.sections
<gogiel> or YourClassName.sections
<Ionic`> uh?
<gogiel> self is an object, not a class
<gogiel> and what do you mean "class variable"
<Ionic`> well, sure, but I have defined @sections
jeff_sebring has quit [Quit: Leaving]
headius has quit [Quit: headius]
<Ionic`> in initialize
c0rn_ has quit [Quit: Computer has gone to sleep.]
jeff_sebring has joined #ruby
<gogiel> and do you have attr_accessor for sections?
<Ionic`> nope, do I need one?
<gogiel> no
<gogiel> but your variable is @sections
<gogiel> no self.sections
<gogiel> or sections
<Ionic`> hm
<Ionic`> ok
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<Ionic`> So in this case I should define the accessor
<gogiel> attr_accessible creates two methods - getter and setter
<Ionic`> aah
<gogiel> and if you use it you can call self.sections
<Ionic`> ok, that makes sense
<gogiel> but it's better to call sections, you don't nee self
<Ionic`> but do I really want to expose getters and setters to the outside world? mmh
<gogiel> no
<Ionic`> not really, I'll just use @sections
<gogiel> yes
jgrevich has quit [Quit: jgrevich]
<Ionic`> thanks :)
digitalcakestudi has joined #ruby
fixl has joined #ruby
c0rn_ has joined #ruby
fridim_ has quit [Ping timeout: 264 seconds]
whowantstolivefo has quit [Read error: Connection reset by peer]
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
xiaotian has joined #ruby
ViperMaul has joined #ruby
kenperkins has joined #ruby
c0rn_ has quit [Client Quit]
btanaka has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
jimeh3 has quit [Ping timeout: 255 seconds]
ryanf_ has quit [Ping timeout: 246 seconds]
Rizzle has quit [Ping timeout: 252 seconds]
Rizzle has joined #ruby
ViperMaul has quit [Ping timeout: 248 seconds]
Aaton is now known as Aaton_off
cbuxton has quit [Ping timeout: 246 seconds]
ViperMaul has joined #ruby
artOfWar has joined #ruby
yannis has quit [Read error: Connection reset by peer]
artOfWar has quit [Remote host closed the connection]
artOfWar has joined #ruby
liluo has joined #ruby
Rizzle has quit [Ping timeout: 245 seconds]
marcosmlopes has joined #ruby
SegFaultAX|work2 has quit [Ping timeout: 248 seconds]
kirun has quit [Quit: Client exiting]
xiaotian has quit [Ping timeout: 264 seconds]
krz has joined #ruby
jumpingcloud has quit [Quit: Leaving]
mrsolo has quit [Quit: Leaving]
ViperMaul is now known as Rizzle
subbyyy has joined #ruby
busybox42 has quit [Ping timeout: 245 seconds]
morf has quit [Remote host closed the connection]
artOfWar has quit [Ping timeout: 245 seconds]
pting has joined #ruby
ryanf has joined #ruby
itnomad has joined #ruby
dbgster has quit [Quit: dbgster]
g0bl1n has quit [Ping timeout: 240 seconds]
ephemerian has quit [Quit: Leaving.]
alexim has quit [Quit: sleep]
mikeycgto has quit [Ping timeout: 264 seconds]
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
indian has joined #ruby
akem has joined #ruby
lorandi_ has quit [Quit: Leaving]
marcosmlopes has quit [Ping timeout: 245 seconds]
busybox42 has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
vsg1990 has left #ruby [#ruby]
zodiac1111 has joined #ruby
graspee has quit [Quit: leaving]
phelps_ has quit [Remote host closed the connection]
mikeycgto has joined #ruby
mikeycgto has joined #ruby
mikeycgto has quit [Changing host]
<digitalcakestudi> other the is_a conditions what can I do to read a class of an object
trend_ has quit [Read error: Connection reset by peer]
trend has joined #ruby
iocor has quit [Quit: Computer has gone to sleep.]
Siphonblast has joined #ruby
<Spooner> digitalcakestudi : Depends what you want. #class does well, but #is_a? is generally more useful.
<digitalcakestudi> thanks
Spooner has quit []
jrajav has joined #ruby
freeayu has joined #ruby
schickung has joined #ruby
apok_ has joined #ruby
bradhe has quit [Remote host closed the connection]
chson has joined #ruby
pk1001100011 has quit [Remote host closed the connection]
apok has quit [Ping timeout: 240 seconds]
blischalk has joined #ruby
smw_ has quit [Remote host closed the connection]
mockra has joined #ruby
apok_ has quit [Ping timeout: 245 seconds]
mockra has quit [Remote host closed the connection]
andrewhl has joined #ruby
d34th4ck3r has quit [Ping timeout: 265 seconds]
williamcotton has joined #ruby
williamcotton has quit [Client Quit]
mdszy has quit [Quit: brb]
williamcotton has joined #ruby
mockra has joined #ruby
heoa has left #ruby [#ruby]
graft_ is now known as graft
subbyyy1 has joined #ruby
MatthewGA has quit [Ping timeout: 248 seconds]
dkissell has quit [Ping timeout: 248 seconds]
dankest has joined #ruby
jxf has quit [Ping timeout: 244 seconds]
dbgster has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
mdszy has joined #ruby
goddard has joined #ruby
<goddard> i noticed ruby looks a lot like python is that true?
voodoofish430 has quit [Quit: Leaving.]
<twock> In some ways, yes.
Gneiss has quit [Quit: Gneiss]
<goddard> what are some advantages in switching from php to ruby?
<mdszy> goddard: I've heard that PHP is just god-awful xD
<mdszy> I've never used it myself, though
<jrajav> goddard: You stop waking up with cold sweats at night
<jonathanwallace> goddard: a sane API
ronychen has joined #ruby
Z_Mass has joined #ruby
neiZ has joined #ruby
savage- has quit [Ping timeout: 245 seconds]
<goddard> ive heard a lot about ruby lately so i decided to check it out
<goddard> so its a compiled language not a scripting language?
<seanstickle> It can be compiled, but in almost every case is not.
<seanstickle> The standard interpreter does not compile it.
schickung has quit [Quit: schickung]
<jrajav> goddard: It's an interpreted language, I don't know about scripting
<jrajav> When I think "scripting language" I think bash, applescript, autohotkey (lol)
Gneiss has joined #ruby
<seanstickle> It falls under the rubric of "scripting languages" as that term was used 10 years ago
<jrajav> Yeah
igotnolegs has joined #ruby
<jrajav> When scripting language was anything that didn't run like C
<Gneiss> Ruby or python, GO:
khakimov has quit [Quit: Computer has gone to sleep.]
<seanstickle> I've heard Go is quite nice
<Gneiss> Dart?
<seanstickle> Less nice
bradhe has joined #ruby
khakimov has joined #ruby
<jrajav> Dart is what happened when a bunch of pro Java coders found themselves in 2010 looking at Javascript creeping into everything they were working on
<jrajav> And went EW EW GET IT OFF
<jrajav> GET THE DEET
<Gneiss> That actually sounds pretty accurate.
<seanstickle> I thought that's what they made GWT for
<Gneiss> Nah, they thought they might fix the languages while they're at it.
<jrajav> You know Google coding is basically oozing Java out of every pore
<jrajav> If it's not Java, it should be
<Gneiss> python :P
kenichi has quit [Remote host closed the connection]
<jrajav> I actually really like Javascript
<jrajav> It has a ton of annoying quirks
<jrajav> But hell so does Java
<Gneiss> Honestly, I never really used it :/
<Gneiss> Java can be frustrating :P
<Gneiss> I kinda just know enough javascript to use jquery... :P
bradhe has quit [Remote host closed the connection]
<jrajav> haha
<Gneiss> Hey, it works for what I need XD
<jrajav> jquery is barely javascript :P
designated has quit [Max SendQ exceeded]
<Gneiss> Okay well
<Gneiss> I learned a bit of JS to add dynamics to some sites
<jrajav> If you're interested, read Javascript: The Good Parts, you might actually start liking it too
<Gneiss> but that was it.
JustinCampbell has joined #ruby
<Gneiss> so I was like, this is pointless, I should just use jquery
phelps_ has joined #ruby
<jrajav> Until you wrap your head around it, it's hard to see it as anything but a dynamically typed C
<Gneiss> and it does EVERYTHING I need it for
<goddard> javascript is nice to read compared to jquery for me
<Gneiss> Yeah?
<Gneiss> (the dynamic c)
<goddard> jquery is kind of cryptic
<goddard> until you learn it
<Gneiss> errrr
<Gneiss> I don't know, I found it to be the other way
<Gneiss> I read jquery code and I was like
<Gneiss> "What code?
<Gneiss> "
<goddard> i started on the javascript source though
khakimov has quit [Quit: Computer has gone to sleep.]
<Gneiss> oh
yxhuvud has quit [Ping timeout: 240 seconds]
twock has quit [Quit: Lost terminal]
twock has joined #ruby
healpay has joined #ruby
mockra has quit [Remote host closed the connection]
mdszy_ has joined #ruby
jeff_sebring has quit [Quit: Leaving]
andrewhl has quit [Remote host closed the connection]
LifeSF has quit [Ping timeout: 248 seconds]
robozahn_ has joined #ruby
mdszy has quit [Disconnected by services]
mdszy_ is now known as mdszy
jfoley has joined #ruby
trend has quit [Quit: trend]
Gneiss has left #ruby [#ruby]
keppy has quit [Ping timeout: 248 seconds]
robozahn has quit [Ping timeout: 265 seconds]
kevinbond has quit [Quit: kevinbond]
dkissell has joined #ruby
jeff_sebring has joined #ruby
umttumt has joined #ruby
mockra has joined #ruby
seanstickle has quit [Quit: Nihil sub sole novum]
Targen has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
ken_barber1 has joined #ruby
noganex has quit [Ping timeout: 245 seconds]
kevinbond has joined #ruby
noganex has joined #ruby
ronychen has quit [Ping timeout: 250 seconds]
ken_barber has quit [Ping timeout: 252 seconds]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
LifeSF has joined #ruby
sreko has joined #ruby
<goddard> 4/close
kevinbond has quit [Client Quit]
goddard has left #ruby ["WeeChat 0.3.7"]
mockra has quit [Remote host closed the connection]
<sreko> Hello. I am using Ruby 1.9.2 and I'm trying out a project called furnace-swf. I know you don't support modules created by a specific author, although I feel as if I'm missing a dependency with ruby to make it work. An error I get is this:
<sreko> `do_read': invalid signature (ArgumentError)
<sreko> Does anyone have any ideas?
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
* offby1 stares blankly
mockra has joined #ruby
mfridh has quit [Read error: Operation timed out]
choffstein has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 250 seconds]
phelps_ has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
Guedes has quit [Ping timeout: 245 seconds]
quest88 has joined #ruby
dankest has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 240 seconds]
dbgster has quit [Quit: dbgster]
ananthakumaran has joined #ruby
bglusman has joined #ruby
<healpay> sreko: something wrong with your Arguments? :)
stephenjudkins has joined #ruby
<sreko> healpay: Not likely. I followed the commands exactly, and people have reported success with the same commands I run.
<sreko> Which led me to believe it's something to do with my install.
<healpay> sreko: a stack trace in a gist might be helpful..
bricker88 has quit [Quit: Leaving.]
mockra has joined #ruby
blischalk has quit [Quit: blischalk]
minijupe has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
<sreko> healpay: It is.
Guest49465 has joined #ruby
Guest56132 has quit [Ping timeout: 244 seconds]
<healpay> sreko: line 23 of this:
<healpay> is where it's failing
<healpay> what are you passing to do_read?
<sreko> I do believe it is a SWF file.
<healpay> well based on the header.signature, it's not picking up the string FWS or CWS
<healpay> so
<healpay> maybe you can run irb, require the gem, instantiate a new File object,
lkba has joined #ruby
<healpay> and try running some of the methods related to the header
<sreko> Possibly.
<healpay> to so exactly what is going on
<healpay> see*
<healpay> brb, gonna take a shower.. let me know if that works for you :)
<sreko> Alright, thank you.
<neiZ> Hello, I am trying to learn ruby and am creating a binary search method. I have it written, but am working on a unit test for it. I would like to use assert_equal, however even after installing the test-unit gem, and requiring "test/unit", I get undefined metho 'assert_equal' - anyone able to shed some light?
learc83 has quit [Quit: learc83]
indian has quit [Ping timeout: 248 seconds]
<Ionic`> neiZ: require "test/unit/assertions"?
PhelpsB has joined #ruby
indian has joined #ruby
PhelpsB has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
itnomad has quit [Ping timeout: 264 seconds]
<neiZ> Ionic`: hmm, still giving me the same error of undefined method 'assert_equal' - if you dont mind, gist: https://gist.github.com/3064056
twock has quit [Quit: Lost terminal]
Targen has joined #ruby
stefanp has joined #ruby
stefanp has quit [Changing host]
stefanp has joined #ruby
LifeSF has quit [Read error: Operation timed out]
ciopte7 has quit [Quit: ciopte7]
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
ciopte7 has joined #ruby
ciopte7 has quit [Client Quit]
jfoley has quit [Quit: jfoley]
<ryanf> neiZ: you need to make a class that inherits Test::Unit::TestCase
<ryanf> and put your method in there
stefanp_ has quit [Ping timeout: 265 seconds]
richardcreme has quit [Remote host closed the connection]
<Ionic`> yeah
<Ionic`> neiZ ^
<nathaniele> does anybody know a way to set a constant equal to the result of a function
<Ionic`> (I didn't fix any other error in your code)
itnomad has joined #ruby
<nathaniele> ie: i want DICTIONARY constant to be a long list of words
<nathaniele> so i have a function that reads the words from a wordlist file
<neiZ> Ionic`: ryanf : thank you both very much, able to run to code now - guess I have a lot to learn :) Did not consider the inheritance
<nathaniele> but the problem is that every time i call DICTIONARY - it reads the wordlist file as opposed to returning the result it already found
richardcreme has joined #ruby
<Ionic`> nathaniele: uhm so write a caching class?
EzeQL has quit [Ping timeout: 248 seconds]
EzeQL has joined #ruby
mockra has joined #ruby
s0ber has joined #ruby
mockra has quit [Remote host closed the connection]
<Ionic`> hmmm
<Ionic`> seems like my quoting code doesn't work as expected... oops
<Ionic`> ["section2", "=", "\"\\\"new\\\"", "link", "name"]
<Ionic`> indeed *sigh*
<Ionic`> oh well... debugging this "tomorrow"
mockra has joined #ruby
Goles has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
mockra has quit [Remote host closed the connection]
bradhe has joined #ruby
R_Macy has joined #ruby
mockra has joined #ruby
umttumt has quit [Remote host closed the connection]
ken_barber1 has quit [Remote host closed the connection]
choffstein has joined #ruby
LifeSF has joined #ruby
crankycoder has quit [Remote host closed the connection]
kevinbond has joined #ruby
emmanuelux has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
pting has quit [Quit: Ex-Chat]
srid has left #ruby [#ruby]
dbgster has joined #ruby
enriclluelles has quit [Remote host closed the connection]
Vert has quit [Ping timeout: 252 seconds]
Z_Mass has quit [Quit: Leaving]
itnomad has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Ping timeout: 248 seconds]
mdszy has quit [Quit: nini]
nadirvardar has joined #ruby
zodiac1111 has quit [Quit: 离开]
jrajav has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Gavilan> Does anyone has any idea/suggestion of an interesting, complex and difficult software design problem (or domain) to solve/model as an exercise/example? yet small in scope? which uses only "common" knowledge?
kevinbond has quit [Quit: kevinbond]
<offby1> now, that's a stumper.
<offby1> I like writing a program to find anagrams.
sexybabe has joined #ruby
<Gavilan> offby1: the difficult there it's algorithmic, not design...
otters has quit [Remote host closed the connection]
mpereira has quit [Read error: Operation timed out]
otters has joined #ruby
andrewhl has joined #ruby
fayimora has quit [Quit: Busy…..zzzzz]
charliesome has joined #ruby
Shrink has quit [Ping timeout: 255 seconds]
JustinCampbell has quit [Remote host closed the connection]
itnomad has joined #ruby
Tricks has quit [Read error: Connection reset by peer]
Tricks has joined #ruby
neiZ has quit [Quit: Lost terminal]
khakimov has joined #ruby
jsilver has joined #ruby
<jsilver> hey #ruby, my love
<jsilver> how do i add something to the front of an array instead of the end?
mockra has quit [Remote host closed the connection]
<jsilver> nvm
<jsilver> #insert
fbernier has joined #ruby
Goles has joined #ruby
otters has quit [Quit: Leaving]
otters has joined #ruby
ipoval has joined #ruby
wargasm is now known as gasm
gasm is now known as gasm_afk
Tricks has quit [Read error: Connection reset by peer]
sexybabe has left #ruby [#ruby]
Tricks has joined #ruby
akem has quit [Ping timeout: 245 seconds]
user__ has joined #ruby
mpereira has joined #ruby
banisterfiend has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
jarred_ has joined #ruby
jarred has quit [Ping timeout: 248 seconds]
jarred_ is now known as jarred
justsee|away is now known as justsee
RainbowDashh has joined #ruby
andrewhl has quit [Read error: Connection reset by peer]
fbernier has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
LifeSF has quit [Ping timeout: 255 seconds]
ananthakumaran has quit [Quit: Leaving.]
ananthakumaran has joined #ruby
mockra has joined #ruby
krusty_ar has quit [Ping timeout: 248 seconds]
Ionic` has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Client Quit]
ryanf has joined #ruby
NimeshNeema has quit [Read error: Operation timed out]
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
Spaceghostc2c has quit [Read error: Operation timed out]
cesario has quit [Read error: Operation timed out]
dekz has quit [Read error: Operation timed out]
R_Macy has quit [Quit: Leaving...]
simao__ has quit [Ping timeout: 248 seconds]
denysonique has quit [Ping timeout: 248 seconds]
lectrick has quit [Ping timeout: 244 seconds]
davidboy has quit [Ping timeout: 244 seconds]
SeanTAllen has quit [Ping timeout: 244 seconds]
si14 has quit [Ping timeout: 246 seconds]
MetaCosm has quit [Ping timeout: 246 seconds]
relix has quit [Ping timeout: 246 seconds]
notbrent has quit [Ping timeout: 240 seconds]
kapowaz has quit [Ping timeout: 245 seconds]
blooberr has quit [Ping timeout: 245 seconds]
ctevie has quit [Ping timeout: 244 seconds]
MoMo has quit [Ping timeout: 248 seconds]
xrl has quit [Ping timeout: 248 seconds]
randym has quit [Ping timeout: 248 seconds]
anildigital_work has quit [Ping timeout: 248 seconds]
Dr4g has quit [Ping timeout: 244 seconds]
patricksroberts has quit [Ping timeout: 244 seconds]
avandendorpe has quit [Ping timeout: 244 seconds]
moeSeth has quit [Ping timeout: 265 seconds]
aquaranto has quit [Ping timeout: 265 seconds]
<Boohbah> lolirccloud
dkannan has quit [Ping timeout: 272 seconds]
pkondzior has quit [Ping timeout: 276 seconds]
pvh has quit [Ping timeout: 264 seconds]
[diecast] has quit [Max SendQ exceeded]
<fowl> Boohbah, bring back my friends
jhowarth has quit [Ping timeout: 246 seconds]
jeremy_carroll has quit [Ping timeout: 248 seconds]
mroth has quit [Ping timeout: 264 seconds]
jonathanwallace has quit [Remote host closed the connection]
MetaCosm has joined #ruby
MoMo has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
dbgster has quit [Quit: dbgster]
si14 has joined #ruby
baphled has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
dekz has joined #ruby
RainbowDashh has joined #ruby
brianpWins has joined #ruby
[diecast] has joined #ruby
fixl has quit [Remote host closed the connection]
brianpWins has quit [Client Quit]
khakimov has joined #ruby
avandendorpe has joined #ruby
webguynow has quit []
jameshyde has joined #ruby
bfig has quit [Quit: Leaving]
mahmoudimus has joined #ruby
bfig has joined #ruby
choffstein has quit [Remote host closed the connection]
jonathanwallace has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
cesario has joined #ruby
dotemacs has joined #ruby
moeSeth has joined #ruby
perryh_away is now known as perryh
yonggu has quit [Read error: Connection reset by peer]
yonggu_ has joined #ruby
NimeshNeema has joined #ruby
dkannan has joined #ruby
perryh is now known as perry
relix has joined #ruby
fbernier has quit [Ping timeout: 264 seconds]
mahmoudimus has quit [Read error: Connection reset by peer]
aquaranto has joined #ruby
lectrick has joined #ruby
mahmoudimus has joined #ruby
jhunter has quit [Ping timeout: 244 seconds]
randym has joined #ruby
simao__ has joined #ruby
krz has quit [Quit: krz]
jhunter has joined #ruby
itnomad has quit [Quit: Leaving]
ckrailo has quit [Quit: Computer has gone to sleep.]
mahmoudimus has quit [Client Quit]
minijupe has quit [Quit: minijupe]
xrl has joined #ruby
Dr4g has joined #ruby
ananthakumaran has joined #ruby
mockra has quit [Remote host closed the connection]
savage- has joined #ruby
denysonique has joined #ruby
Eldariof-ru has joined #ruby
ctevie has joined #ruby
ctevie has quit [Changing host]
ctevie has joined #ruby
libertyprime has quit [Read error: Operation timed out]
libertyprime has joined #ruby
rcsheets has joined #ruby
yoklov has quit [Quit: computer sleeping]
jhowarth has joined #ruby
mockra has joined #ruby
neiZ has joined #ruby
anildigital_work has joined #ruby
ringotwo_ has quit [Remote host closed the connection]
<jameshyde> how do you change date type's to_s method, like '2012-07-06T23:48:36-05:00' to '2012-07-06 23:48:36'?
hadees has joined #ruby
Gerty_ has joined #ruby
justsee is now known as justsee|away
justsee|away is now known as justsee
mockra has quit [Remote host closed the connection]
clamps has joined #ruby
hadees has quit [Ping timeout: 244 seconds]
<ryanf> jameshyde: date's to_s actually takes a format parameter
Spaceghostc2c has joined #ruby
<ryanf> oh oops that's rails. maybe the normal one doesn't
<fowl> typical
<ryanf> fowl: :(
patricksroberts has joined #ruby
SeanTAllen has joined #ruby
kapowaz has joined #ruby
jeremy_carroll has joined #ruby
<Boohbah> jameshyde: ^
<jameshyde> Boohbah, thanks, works here.
<fowl> ryanf, typical of rails :p
mockra has joined #ruby
sreko has left #ruby [#ruby]
mpereira has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
mockra has quit [Remote host closed the connection]
elhu has joined #ruby
notbrent has joined #ruby
<jsilver> in ruby, how to i easily switch to main scope
<jsilver> i want to override require
<banisterfiend> jsilver: override it just at toplevel of override it generally?
Aaton_off is now known as Aaton
blazes816 has quit [Quit: Leaving]
<banisterfiend> jsilver: or override*
quest88 has quit [Quit: quest88]
<jsilver> im just going to go ahead and use toplevel
<jsilver> override it at toplevel.. but im fine
<banisterfiend> jsilver: defining it at toplevel witll make it a private instance method of Object
<jsilver> where is it normally defined
<jsilver> i have a method that works
<jsilver> doing just that
<banisterfiend> that's fine
<jsilver> ye ye, gotta get this done, lol.. ill show u when im ready, its some OSS
elhu has quit [Quit: Computer has gone to sleep.]
pkondzior has joined #ruby
mockra has joined #ruby
gtuckerkellogg has joined #ruby
kyktommy has quit [Quit: Leaving...]
Aaton is now known as Aaton_off
davidboy has joined #ruby
mockra has quit [Ping timeout: 252 seconds]
k_89 has quit [Ping timeout: 244 seconds]
nachtwandler has joined #ruby
Ontolog has quit [Remote host closed the connection]
gtuckerkellogg has quit [Ping timeout: 250 seconds]
Eldariof-ru has quit []
beneggett has quit [Ping timeout: 240 seconds]
pvh has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
beneggett has joined #ruby
wallerdev has quit [Quit: wallerdev]
nazty has joined #ruby
ryanf has quit [Quit: leaving]
nadirvardar has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kyktommy has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Ping timeout: 244 seconds]
octarine has joined #ruby
wvms has quit [Quit: wvms]
learc83 has joined #ruby
<Spaceghostc2c> jsilver: !
<jsilver> yo
<jsilver> im making some evil ha
<jsilver> x
<Spaceghostc2c> Sounds like it.
learc83 has quit [Client Quit]
<jsilver> yea
<Spaceghostc2c> What horrid thing are you doing today, jsilver?
<jsilver> they will be good tho
<jsilver> cant tell yet
mathie has joined #ruby
<jsilver> but its all OSS
<jsilver> and will all be public domain soon
<jsilver> muahaha
<jsilver> gotta finish first
<Spaceghostc2c> It's open source, but I won't tell you a thing about it. Obscure as fuck. :p
<jsilver> yea
<jsilver> i wanna finish first
<Spaceghostc2c> TWSS
srji has joined #ruby
ebanoid has joined #ruby
srji has quit [Remote host closed the connection]
srji has joined #ruby
mucker has joined #ruby
digitalcakestudi has quit [Ping timeout: 264 seconds]
<jsilver> when i require 'yaml', what is happending?
beneggett has quit [Ping timeout: 264 seconds]
<jsilver> you get ridrected to psych
<Spaceghostc2c> Psych is the yaml gem
<jsilver> right
<jsilver> where is the redirect happening tho
<jsilver> like
<jsilver> where is ruby finding "yaml"
beneggett has joined #ruby
anothervenue has joined #ruby
justsee is now known as justsee|away
arturas has joined #ruby
Targen has quit [Ping timeout: 252 seconds]
jameshyde has quit [Remote host closed the connection]
arturas is now known as arturaz
RainbowDashh has quit [Disconnected by services]
RainbowD_ has joined #ruby
RainbowD_ is now known as RainbowDashh
pygospa has joined #ruby
TheRealPygo has quit [Ping timeout: 264 seconds]
RainbowDashh has quit [Ping timeout: 246 seconds]
<jsilver> wwowowowowow
<jsilver> lolz
atmosx has joined #ruby
RainbowDashh has joined #ruby
<jsilver> wowowowz
<jsilver> cant rly believe what ive just done
RainbowDashh has quit [Client Quit]
RainbowDashh has joined #ruby
j0llyr0tten has quit [Quit: Lost terminal]
dhodgkin has joined #ruby
ypk has joined #ruby
cantonic_ has joined #ruby
<anothervenue> did you hack the gibson?
elliottcable has quit [Read error: Operation timed out]
piotr_ has joined #ruby
RainbowDashh has quit [Disconnected by services]
RainbowD_ has joined #ruby
wubino has joined #ruby
cantonic has quit [Ping timeout: 252 seconds]
cantonic_ is now known as cantonic
<Spaceghostc2c> He's macgyver.rb
<anothervenue> haha
Scub has quit [Ping timeout: 265 seconds]
<anothervenue> I'll put together a GUI interface in Visual Basic, see if I can track an IP address.
yxhuvud has joined #ruby
jalljo has quit [Changing host]
jalljo has joined #ruby
nazty has quit [Ping timeout: 250 seconds]
justsee|away is now known as justsee
<atmosx> hahaha
<atmosx> visual basic
<atmosx> it's visual and it's basic
elliottcable has joined #ruby
<anothervenue> basically_visual.rb
<atmosx> what are the chances this: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/ruby.tbz is 1.9.x ?
<atmosx> I've put the 1.9.x variable sin /etc/make.conf but I should use ports instead of pkg_add probably… #blah
<fowl> atmosx, what do you need system-wide ruby for
<atmosx> fowl: you think I should go with rvm?
<fowl> no, rbenv or rbfu
<atmosx> system-wide it's easier to configure with vim, etc.
<Spaceghostc2c> atmosx: rvm is pretty easy and good.
<Spaceghostc2c> rbenv is alright.
<atmosx> hm
<atmosx> I also wans unicorn_rails… but that doesn't need root privs
<atmosx> okay
<Spaceghostc2c> I deploy with rvm in production. system wide rvm.
<Boohbah> Spaceghostc2c: but have you ever looked at rvm source? :)
<atmosx> it's a pain to configure with fcrontab
<atmosx> put I can deal with it… (already did once)
<Spaceghostc2c> Boohbah: Sure. All the time.
<Spaceghostc2c> I just don't agree with the writing style.
<Spaceghostc2c> Which is why I didn't become a contributor.
<atmosx> I don't have an opinion about the writing style, does it matter?
Tricks has quit [Remote host closed the connection]
<Spaceghostc2c> Not unless you need to open rvm up and poke at the insides.
Tricks has joined #ruby
<Spaceghostc2c> There's also that Western Union thing.
<Spaceghostc2c> Oops.
<Paradox> hi diddily doo rubyrenos?
manizzle has joined #ruby
federic has joined #ruby
atmosx has quit [Ping timeout: 255 seconds]
td123 has quit [Ping timeout: 265 seconds]
banghouse has quit [Remote host closed the connection]
banisterfiend has joined #ruby
jsilver has quit [Remote host closed the connection]
azm has joined #ruby
mathie has quit [Quit: Sleeping...]
pk1001100011 has joined #ruby
adamkittelson has quit [Remote host closed the connection]
subbyyy1 has quit [Quit: Leaving.]
mathie has joined #ruby
Gerty_ has quit [Quit: Gerty_]
azm has quit [Ping timeout: 265 seconds]
dnyy has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
k_89 has joined #ruby
freeayu has quit [Ping timeout: 248 seconds]
piotr_ has quit [Ping timeout: 264 seconds]
nachtwandler has quit [Read error: Operation timed out]
igotnolegs has quit [Quit: Computer has gone to sleep.]
fantazo has joined #ruby
RainbowD_ is now known as RainbowDashh
<wubino> any good reads on creating a personal pastebin server?
freeayu has joined #ruby
cloud|windoze has joined #ruby
indian has quit [Ping timeout: 246 seconds]
<Kwpolska> wubino: hmm… the source code of a good existing pastebin service?
perry is now known as perryh_away
bfgun has joined #ruby
azm has joined #ruby
<anothervenue> Why not just use pastebin? 0.o
bfig has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
AlbireoX has quit [Remote host closed the connection]
Notimik has joined #ruby
siefca has quit [Read error: Operation timed out]
jarred has quit [Quit: jarred]
banisterfiend has quit [Remote host closed the connection]
siefca has joined #ruby
savage- has quit [Remote host closed the connection]
banisterfiend` has joined #ruby
azm has quit [Quit: Leaving]
Spooner has joined #ruby
saschagehlich has joined #ruby
graspee has joined #ruby
banisterfiend` has quit [Remote host closed the connection]
mathie has quit [Quit: Sleeping...]
tommyvyo has joined #ruby
blacktulip has joined #ruby
mathie has joined #ruby
banisterfiend has joined #ruby
tommyvyo has quit [Client Quit]
bier has quit [Ping timeout: 252 seconds]
bier|tp has quit [Ping timeout: 264 seconds]
mucker has quit [Ping timeout: 245 seconds]
knoopx has joined #ruby
romain1189 has joined #ruby
romain1189 has left #ruby [#ruby]
Niamkik_ has joined #ruby
srji has quit [Quit: leaving]
araujo has quit [Quit: Leaving]
kn330 has quit [Ping timeout: 252 seconds]
ilyam has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
ilyam has quit [Client Quit]
nazty has joined #ruby
bier has joined #ruby
ipoval has quit [Quit: ipoval]
bier|tp has joined #ruby
Notimik has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
pygospa has quit [Ping timeout: 244 seconds]
davidpk has quit [Quit: Computer has gone to sleep.]
nazty has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Ping timeout: 264 seconds]
pygospa has joined #ruby
mahmoudimus has joined #ruby
banisterfiend has joined #ruby
thone has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
davejacobs has joined #ruby
thone_ has quit [Ping timeout: 252 seconds]
mathie has quit [Quit: Sleeping...]
Goles has quit [Quit: Computer has gone to sleep.]
graspee has quit [Quit: bed time]
mathie has joined #ruby
morf has joined #ruby
Squee-D has joined #ruby
jimeh3 has joined #ruby
ebanoid has quit [Quit: kthxbye]
<banisterfiend> burgestrand: who is zapnap, do u know him?
<burgestrand> banisterfiend: no idea who he is, I just thought it’d be easy enough to make a pastebin in sinatra, recalled I had read about an OSS variant of it, and found it by googling :)
mathie has quit [Quit: Sleeping...]
Scub has joined #ruby
<k_89> man ruby gems ... arggghhhhh
davejacobs has quit [Ping timeout: 240 seconds]
ronychen has joined #ruby
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
kyktommy has quit [Quit: Linkinus - http://linkinus.com]
jimeh3 has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
<k_89> this sucks
apeiros_ has joined #ruby
Tricks has quit [Read error: Connection reset by peer]
<k_89> sequels migration comman via terminal isn't doing dog shit
<k_89> while i can comfortably work with it in a .rb file
cloud|windoze has quit [Read error: Connection reset by peer]
Squee-D has quit [Quit: The computer fell asleep]
<k_89> keep getting an Adapter not found error
<k_89> anyone has any idea
<k_89> ?
ipoval has joined #ruby
zodiac1111 has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
<matled> some methods in Array would be nice as static methods, for example zip or product
<matled> I find myself regularly writing something like a.first.zip(*a[1..-1])
mathie has joined #ruby
dani912 has joined #ruby
dani912 has left #ruby [#ruby]
zommi has joined #ruby
<k_89> can someone help me with this
vlad_starkov has quit [Ping timeout: 265 seconds]
<k_89> really, ruby 'doesnt' have the best package management system out there
federic has quit [Remote host closed the connection]
abdulkarim has joined #ruby
mucker has joined #ruby
mathie has quit [Quit: Sleeping...]
ipoval has quit [Quit: ipoval]
<apeiros_> matled: agreed. but preferably on Enumerable
<apeiros_> hm, though, since the result is an array…
Foxandxss has joined #ruby
<matled> apeiros_: well, the result could also be an enum, would be fine for me too
<apeiros_> so let Array.zip return an Array and Enumerable.zip an enum :)
<shevy> Spaceghostc2c I never had a look at RVM writing style. anything that comes to your mind being particularly annoying?
justsee is now known as justsee|away
etehtsea has joined #ruby
workmad3 has joined #ruby
mathie has joined #ruby
<banisterfiend> apeiros_: hey you pinged me before
<apeiros_> yeeees!
<banisterfiend> apeiros_: but i didnt see ur msg properly since i was half asleep and it scrolled away
<apeiros_> pry. prompt. stuff in it yet? :)
pygospa has quit [Disconnected by services]
* apeiros_ wants to use pry but is a prompt addict…
TheRealPygo has joined #ruby
<banisterfiend> apeiros_: i'll try to add it now
<apeiros_> weeee!
<banisterfiend> apeiros_: i've done the config struct thingy, just a matter of adding data to it
<apeiros_> ^^
<apeiros_> weeeee again! :D
<banisterfiend> :))
<apeiros_> btw., anybody know what the behaviour for rand(-n) is?
<banisterfiend> apeiros_: can i see your prompt?
<banisterfiend> your irb prompt
<banisterfiend> ca u show me a screenshot?
<apeiros_> sure, sec
<apeiros_> banisterfiend: http://pastie.org/4214809
fantazo has quit [Remote host closed the connection]
<banisterfiend> apeiros_: thanks
<banisterfiend> apeiros_: out of interest though in what context is the behaviuor that useful? cant you just look at what you've typed and see what needs to be closed?
<apeiros_> I sometimes have longer pieces
pygospa has joined #ruby
<apeiros_> also sometimes I miss where I omitted to close e.g. a nested #{}
<apeiros_> so it's helpful to see that it doesn't execute something because you forgot to close something
liluo has quit [Remote host closed the connection]
<apeiros_> with simple prompt you just sit there and wonder :)
<banisterfiend> apeiros_: hmm, but doesn't the syntax highlighting indicate things too?
<banisterfiend> apeiros_: do u have the pry version where it auto-syntax highlights each line after u press enter?
<apeiros_> I have none in irb. but yes, it might be that in pry that will change.
<banisterfiend> apeiros_: btw, i will add this feature, im just curious :)
TheRealPygo has quit [Ping timeout: 264 seconds]
<apeiros_> so I *might* change the prompt. I didn't think of that. but if you add it, I'll go with it and see how it works out :)
<apeiros_> meeeh, JS has no String#capitalize :(
skryking has quit [Ping timeout: 252 seconds]
mathie has quit [Quit: Sleeping...]
<apeiros_> :( also it has no negative lookahead in regexen
* apeiros_ cries
anothervenue has quit [Ping timeout: 250 seconds]
mahmoudi_ has joined #ruby
Faris has joined #ruby
KindOne is now known as InternetExplorer
wubino has quit [Remote host closed the connection]
nai has joined #ruby
mahmoudimus has quit [Ping timeout: 246 seconds]
mahmoudi_ has quit [Client Quit]
nazty has joined #ruby
morf has quit [Quit: eol]
fayimora has joined #ruby
indian has joined #ruby
nazty has quit [Ping timeout: 245 seconds]
nai has quit [Remote host closed the connection]
arturaz has quit [Ping timeout: 265 seconds]
hatoishi has joined #ruby
schickung has joined #ruby
LifeSF has joined #ruby
kirun has joined #ruby
justsee|away is now known as justsee
LifeSF has quit [Ping timeout: 244 seconds]
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
Morkel has joined #ruby
<banisterfiend> apeiros_: hey did u see our new color theme stuff?
<banisterfiend> apeiros_: github.com/kyrylo/pry-theme
<apeiros_> banisterfiend: not yet. but probably soon :)
<apeiros_> ah, nice
<apeiros_> I'm a fan of little colors, though ;-)
<apeiros_> but I'm curious to see how nice pry will become with the retina
<banisterfiend> haha
<apeiros_> do you use 256 colors or 16 colors?
<banisterfiend> well only as nice as a normal terminal experience i guess :P
<banisterfiend> 256
<apeiros_> was just gonna say it looks like 256 :)
<apeiros_> well, the terminal looks awesome on the retina
<banisterfiend> though we have a couple of reduced color themes iirc
<banisterfiend> it's not really my plugin but i contributed a few themes
<banisterfiend> its exremely easy to make a theme, the guy came up with a really nice yaml system
<apeiros_> cool
<apeiros_> will probably do my own then. a very soft one
<apeiros_> can we use color codes too?
<apeiros_> or do we have to use names?
<apeiros_> hm… can patch that if necessary :)
<banisterfiend> apeiros_: not yet, but his command converts numbers to namees for u
<banisterfiend> apeiros_: so if you know the number, it'll tell u the name to use
heftig has quit [Ping timeout: 248 seconds]
<banisterfiend> i dont know why he didnt accept numbers by default..
<apeiros_> patchable
* apeiros_ is currently hating on JS again…
<apeiros_> writing an address input field. plain textarea which plucks out things like street number, street name, zip code, city etc.
<apeiros_> you'd wonder about how many details that entails :-S
<apeiros_> stupid french with their "street number, street name" format…
<shevy> see I passed that stage already
<shevy> I never liked javascript much to begin with
<banisterfiend> fuck the french
<shevy> dont tell Mon_Ouie !!!
<banisterfiend> shevy: Mon_Ouie is only pseudo-french
<shevy> hmm
<matled> apeiros_: there is some google api to put just a string and it returns detailed information iirc, including the parsed address and coordinates
<matled> dunno if it is helpful in your case..
<apeiros_> matled: might try it. I have to mirror it server side, though
<apeiros_> (never trust user input and stuff - especially not our users…)
Faris has left #ruby [#ruby]
<shevy> yeah
<shevy> I would not even trust myself when I input things
<apeiros_> hm, stupid me… it's an http request. of course I can do that from the server too…
<shevy> somehow ruby subclassing vs. mixins still confuses me
<apeiros_> shevy: you do ruby for over 8 years, no?
<shevy> I had all classes in one project subclass from a Base class. now I rewrote it... and I use a module, rather than subclassing
<shevy> apeiros_ yeah
lxsameer has joined #ruby
<shevy> hard to find the best way :(
<apeiros_> and it still confuses you? :)
<kapowaz> hi there… got an issue installing eventmachine here: https://gist.github.com/3a709bb190d5f9abd4b6
<apeiros_> yeah, ok, finding "the best" way is always hard.
<kapowaz> anybody have any idea what this is about? I'm doing this on Snow Leopard (10.6)
<shevy> apeiros_ yeah. well, if given enough time I should be able to figure out what is going on even in other people's code. but when I write something that is quite large, I wonder how to make it better. or smaller...
<shevy> though ruby style with lots of lambdas still confuses me
heftig has joined #ruby
<shevy> kapowaz: you could try to use machomebrew and see if this error exists there, lots of mac users use it :) #machomebrew
<workmad3> perfection is impossible
<shevy> workmad3: lies!!!!!
<shevy> though it probably won't last for long
<kapowaz> shevy: I already use homebrew
mathie has joined #ruby
<shevy> the zebra has to run only faster than the slowest zebra lest the lion catches the other one
<kapowaz> but this is a gem install command that's failing here, nothing to do with brew
<kapowaz> (it fails building native extensions)
<shevy> workmad3: which of your projects is the nicest one in terms of code clarity and style? https://github.com/workmad3
<workmad3> shevy: none of them? they all suck :)
<workmad3> I'm really crap at getting anything done on my own stuff
<shevy> kapowaz: all I see is "make" command failing in a .cpp file
<shevy> now if I would actually know C++ ... :)
Shipow has joined #ruby
<shevy> workmad3: hmmmm
<shevy> but I want to learn from other people's styles
<Shipow> hello ! need a hand to upgrade ruby on debian
<shevy> ack
benwithjamm_in has joined #ruby
<shevy> debian messes up ruby, it is best to ask them how to clean up
<Shipow> what's best release to ruby ?
<workmad3> shevy: annoyingly, all my recent work stuff is closed source atm
indian has quit [Read error: Operation timed out]
<shevy> Shipow: 1.9.3* something, the latest. second best is legacy 1.8.x
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
<shevy> dunno what debian uses, I heard they switched to 1.9.x something
<Shipow> on squeeze it's 1.8.7
<kapowaz> okay, how does one tell a gem that builds native extensions to build in 64-bit mode instead of 32-bit?
<shevy> old rant by a debian developer against ruby http://www.lucas-nussbaum.net/blog/?p=566
Guedes has quit [Read error: Connection reset by peer]
<workmad3> shevy: it's also mostly rails apps :P
<Shipow> but i planned to learn RoR so i thought that was a good idea to upgrade to 1.9
<shevy> kapowaz: good question! not sure that is possible... perhaps if you can find the Makefile, you could add some kind of switch... like -m32 or something like that
KevinSjoberg has joined #ruby
<shevy> workmad3: ok I dont want to learn rails style
<workmad3> shevy: I don't have a 'typical' rails style
<kapowaz> that's weird.
<workmad3> kapowaz: you can pass configure and compile switches though to gem with gem install <whatever> -- -compiler -switches
<kapowaz> workmad3: aha.
<shevy> cool
<kapowaz> don't suppose you'd know what switch you'd use to tell it to use x64 ?
<workmad3> nafc
<kapowaz> :)
<heftig> kapowaz: are you building on windows?
<kapowaz> seems weird I'm the only one to have encountered this, at least according to Google.
<kapowaz> no, OS X 10.6
<kapowaz> I run 10.7 on my other machines but my desktop is still on Snow Leopard
<benwithjamm_in> Hi all, im new to ruby and struggling a little to get my head around scopes. hhttp://pastebin.com/Bt0SyKNS I know the user_answer setter is been called as I can see it, however its value on each result returned from the scope is always null. What am i missing here? Thanks
<shevy> Shipow: if you dont have any luck with debian ruby upgrade, you could always try to use RVM https://rvm.io/
<kapowaz> I'm just in the process of switching from using rvm to rbenv
<workmad3> kapowaz: you mean other than the open issue on event machine for 0.12.10 for what looks like a similar issue on solaris? :P
<heftig> doesn't that build fat libs anyway?
<shevy> haha fat libs MONSTER LIBS
<kapowaz> workmad3: that one didn't show up when I googled. Hmm.
<workmad3> kapowaz: best place to start is to look at the github issues page for a project rather than random googling :)
* workmad3 should try and practice that one himself more
<shevy> hey benwithjamm_in
<shevy> where from does: selected_response = answers.joins { responses }.where{ responses.user_id == user_id }.first
<kapowaz> fair point.
<shevy> come? the answers part
<Shipow> shevy : i just read that RVM wasn't a good idea beacause magical var like $PATH will not work on cron etc
Niamkik_ has quit [Remote host closed the connection]
araujo has joined #ruby
araujo has joined #ruby
<benwithjamm_in> hey, shevy. object graph is questions -> answers -> responses the first is just a temp hack to get around the fact ive got no validation (user will only be able to answer once when finished)
<shevy> benwithjamm_in: ok but the "answers". where from does it come? I can not see it in the snippet you pasted
<shevy> also pastie.org has much nicer colours for ruby code :D
<workmad3> benwithjamm_in: that looks almost like rails code
<benwithjamm_in> it is rails code, wrong place?
<workmad3> benwithjamm_in: except that you're badly misusing lambdas...
<shevy> depends on the question
<shevy> but usually rails code is highly specific
<workmad3> benwithjamm_in: that in fact looks like you're trying to figure things out based on something like a python ORM rather than just reading the activerecord guide on guides.rubyonrails.org :P
<benwithjamm_in> ok cool, let me know if too rails specific and i will ask elsewhere. the answers are are AR has_many
mathie has quit [Quit: Sleeping...]
<shevy> :)
fayimora has quit [Ping timeout: 248 seconds]
<workmad3> benwithjamm_in: for example, this line is nonsense to rails - answers.joins { responses }.where{ responses.user_id == user_id }.first
<Shipow> "aptitude purge ruby" done the trick
<shevy> Shipow: hehe didnt this just kill all of debian ruby?
<workmad3> benwithjamm_in: it should be answers.joins(:responses).where('responses.user_id' => user_id).first
<benwithjamm_in> im using the squeeel gem for AR querrying
Niamkik has quit [Ping timeout: 244 seconds]
<benwithjamm_in> hence the syntax
<workmad3> benwithjamm_in: ah, never come across that one
<Shipow> shevy maybe, but don't know the consequences :)
<apeiros_> Shipow: re rvm & cron - yes, but you can let rvm create a wrapper script which loads the rvm env.
<workmad3> benwithjamm_in: your scope isn't chainable either, btw
justsee has quit [Quit: Linkinus - http://linkinus.com]
<workmad3> benwithjamm_in: scopes can only use query methods, you can't do things like .each because they execute the query, stopping the chain
<shevy> Shipow: hehe. "ruby -v" still gives something?
<benwithjamm_in> ahhhh
<benwithjamm_in> that would explain it, thanks :) i think i need to read more on scopes
Synthead has quit [Ping timeout: 244 seconds]
<Shipow> yes i reinstall 1.9 with sudo apt-get install ruby1.9.1 ruby1.9.1-dev # this is actually Ruby 1.9.2
<Shipow> sudo ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby
<shevy> Shipow: well if everything fails, you can still compile ruby from source. even on debian. I did that usually via "apt-get install build-essentials" or something like that, then compile ruby into /usr prefix. or /usr/local, doesnt matter that much
<shevy> aha
<shevy> I dont get why debian versions towards 1.9.1
<shevy> is this 1.9.2 now or 1.9.1
<shevy> and why does it version binaries anyway
<workmad3> I think debian's '1.9.1' binaries are actually 1.9.3 now
<shevy> hehe
<shevy> why make things simple when you can make them complicated!
<Shipow> :)
<workmad3> they just kept the 1.9.1 version specifiers because 'fuck you, users'
<shevy> yeah they are not alone in that though, developers hate users everywhere
<workmad3> benwithjamm_in: incidentally, I would learn plain AR syntax and style before using extra gems like that squeel one
<benwithjamm_in> that would probabbly be a wise move :)
<benwithjamm_in> so the way i see this i have two options, a)drop the scope completly and do it in a function. or b)use a function but call the scope then enumerate and call the setter and return
<benwithjamm_in> b)seems a bit messy as the scope will never be used anywhere else
<workmad3> benwithjamm_in: sounds about right
<workmad3> benwithjamm_in: and also, if you do have rails-specific questions, #rubyonrails is the place to go ;)
<workmad3> benwithjamm_in: but quite a few people are there and here (e.g. me :) )
<benwithjamm_in> ok thanks all, will ask in #rubyonrails next time :)
abdulkarim has quit [Ping timeout: 264 seconds]
<shevy> maaaaaan I think I hate CSS
etehtsea has quit [Ping timeout: 246 seconds]
<benwithjamm_in> I think CSS is fantastic. Broswer compliance on the other hand :(
d34th4ck3r has joined #ruby
dbgster has joined #ruby
benwithjamm_in has quit [Quit: Leaving]
<workmad3> shevy: just learning CSS, or is this a hatred from years of use? :)
<shevy> workmad3: well. simple CSS is alright... but all this "if this <p> resides in that <div> tag with that id, apply this style here"
fayimora has joined #ruby
<workmad3> shevy: ah, and of course that couples with the specificity rules too
<kapowaz> that's simple enough.
<workmad3> yeah, simple once you know them :)
<kapowaz> div > p { /* rules only applying to a p that is an immediate descendent of a div */ }
<workmad3> kapowaz: div + p ;)
<kapowaz> nope
lkba has joined #ruby
<kapowaz> that's the adjacent selector
<kapowaz> that would only target a p that immediately follows a div
<shevy> yeah workmad3
<Spooner> shevy : Use something like Compass to help with cross-browser support?
<shevy> this is beginning to become as complicated as a programming language
<kapowaz> it's really not.
<Spooner> And use sass/scss :P
<kapowaz> of all the things I feel like I understand well in software development, CSS is amongst the easiest.
<workmad3> shevy: http://www.w3.org/TR/selectors/#selectors <-- that's the place to go for a full list nad descriptino
<kapowaz> indeed.
<kapowaz> reading the W3C stuff on selectors is a good start.
<kapowaz> it's actually far easier to learn than something like xpath
<kapowaz> still can't get eventmachine installed here. sigh.
<workmad3> Spooner: sass only helps once you've gotten a handle on selectors
<workmad3> shevy: they're just declarations
<workmad3> shevy: <pattern> should be styled with {style}
<kapowaz> the tough stuff in CSS isn't really CSS at all, but the box model, floats and clearing elements.
pygospa has joined #ruby
<workmad3> kapowaz: that is all CSS
<workmad3> kapowaz: it's all part of the CSS standard ;)
<kapowaz> sure it's CSS, but it's not the writing rules that makes it hard ;)
<workmad3> kapowaz: but yes, it's understanding what's happening, rather than the syntax :)
<kapowaz> understanding how various elements in the page flow into one another once you start using floats or absolute vs relative positioning is tricky for some people to get a handle on.
<kapowaz> okay, this not being able to build eventmachine is going to ruin my day.
atmosx has joined #ruby
<kapowaz> not been able to work on this project all week, and I have this morning set aside for dev.
<shevy> buy beer
<kapowaz> there isn't an EM channel is there?
<workmad3> kapowaz: have you tried 'gem install eventmachine --pre'L
<workmad3> ?
<shevy> hmm there could be
<workmad3> kapowaz: or is 0.12.10 a requirement?
<shevy> look at #eventmachine ?
<shevy> but like not many there
<kapowaz> workmad3: not specifically tried that, but I did try to install one of the alphas — same failure
TheRealPygo has quit [Ping timeout: 245 seconds]
Manhose has joined #ruby
ping-pong has quit [Ping timeout: 248 seconds]
Manhose has quit [Client Quit]
<atmosx> hmm maybe freebsd was a mistake
<atmosx> or I'm too bored to get through all this learning how to use ports process
<workmad3> kapowaz: well, they have 1.0 rcs on rubygems, the latest from just over a week ago... that's not an alpha, maybe try the --pre ;)
eighty4 has quit [Excess Flood]
<workmad3> right, g2g
<workmad3> have fun
<kapowaz> workmad3: it fails too
<kapowaz> :(
<kapowaz> ta ta
<workmad3> kapowaz: boo :(
eighty4 has joined #ruby
<kapowaz> woah, wait
<kapowaz> I ran it in another shell and it worked.
<kapowaz> maybe it was actually to do with gcc
<kapowaz> I just installed the osx-gcc compiler
<kapowaz> that looks like that was the issue
<shevy> atmosx: I felt that way too
<kapowaz> bloody Xcode…
<shevy> my problem was that after a few hours, I wondered why I use it when I basically get all this on linux already. and just for ports alone... was not worth it. I better improve on my ruby scripts to install and compile things, that way at least I am in control of what is going on and I know how to change it too
<atmosx> shevy: I'll use it for a month or so, If it continues to look so rigid for no reason I'll switch back to gentoo.
<shevy> hehe
<shevy> I wanted to use PCBSD because it has a nicer philosophy
<atmosx> shevy: Yes, well I switched to it, to avoid Gentoo's often updates on an rdc (vortex86 cpu) SoC
<atmosx> and if you don't do often upgrades there, you're get problems in the long way...
<atmosx> pcbsd? as a desktop you mena?
<atmosx> as a desktop I wouldn't change macosx for anythign right now…
k_89 has quit [Ping timeout: 245 seconds]
<kapowaz> now bundle install is failing even though it successfully built the gem a moment ago, with a permissions error. Schitz.
workmad3 has quit [Ping timeout: 248 seconds]
<kapowaz> Installing eventmachine (0.12.10)
<kapowaz> Errno::EACCES: Permission denied - /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/.gitignore
<kapowaz> I think I must have sudoed at some point whilst trying to use the x64 arch, but I didn't actually switch into su
jonathanwallace has quit [Remote host closed the connection]
chrismcg is now known as zz_chrismcg
<kapowaz> and now it fails to build again.
<kapowaz> ;_;
twinturbo has joined #ruby
jonathanwallace has joined #ruby
ping-pong has joined #ruby
iocor has joined #ruby
vlad_starkov has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
wobr has joined #ruby
romain1189 has joined #ruby
sepp2k has joined #ruby
freeayu has quit [Ping timeout: 250 seconds]
romain1189 has quit [Quit: romain1189]
<shevy> hehe
<shevy> the joy of native extensions!
<shevy> atmosx: yeah but I dont really see the distinction between server and desktop per se
<shevy> to me it comes down to this - arrange packages into standalone directories, versioned. then let the user simply install what he or she needs
<shevy> I don't believe into the linux "solution" to dump stuff into / and /usr prefix
`brendan has joined #ruby
<shevy> unfortunately linux is stuck with this world view for eternity
atmosx has quit [Ping timeout: 250 seconds]
freeayu has joined #ruby
<kapowaz> I'm really fucked off by this.
<kapowaz> an hour of my day lost
keppy has joined #ruby
ronychen has quit [Ping timeout: 248 seconds]
Morkel has quit [Quit: Morkel]
atmosx has joined #ruby
<shevy> yeah
nari has joined #ruby
<shevy> investigating compile problems isn't a lot of fun
qko_ has joined #ruby
Ionic` has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<atmosx> shevy: true
<kapowaz> what I don't get is why it suddenly worked, then stopped
<kapowaz> I installed the osx-gcc compiler and it worked
<atmosx> osx-gcc?
qko has quit [Read error: Operation timed out]
mucker has quit [Read error: Operation timed out]
<shevy> probably their gcc wrapper
<shevy> though I thought they moved to llvm completely already
<shevy> atmosx: you coding anything cool?
<atmosx> yes I have llvm here, that's why I'm asking
enriclluelles has joined #ruby
* atmosx is in macosx lion
VegetableSpoon has joined #ruby
<shevy> oh I see
<kapowaz> I don't fully understand why, but apparently the later versions of Xcode have a version of gcc which doesn't work with a lot of older code.
<kapowaz> and it's something to do with the LLVM
<atmosx> shevy: just fine-tuning my fail2ban script, I have to re-write a large part of it… and re-write all the handling based on argv's… but it's ready on my mind mostly
<atmosx> shevy: u?
davidcelis has quit [Ping timeout: 244 seconds]
seanstickle has joined #ruby
nazty has joined #ruby
<shevy> I kinda finished my "cookbooks" project 2 days ago, at least to the point where I could make it a gem (still was too lazy to do that though)
<shevy> next step is to add the compile scripts on top of this project, in its own project
ramblex has joined #ruby
<atmosx> what's the project about?
<shevy> then I'll see what I will add on to that... one todo entry is "replace libtool"
<shevy> just so that you can compile or install something anywhere
<shevy> generate .rpms etc... like what checkinstall does
<shevy> it's more a meta project than one with a very specific goal
<shevy> - bundle together everything that a developer may find useful
<atmosx> I see
<atmosx> nice
saschagehlich has quit [Quit: saschagehlich]
nazty has quit [Ping timeout: 252 seconds]
mucker has joined #ruby
<shevy> hmm I have an odd question
<shevy> in css, I like boxes with colours ( usually <div> tags)
<shevy> typically, the header of that box has a dark background, i.e. dark green. and then, the content of that box, has a lighter green background
<shevy> is there ... any algorithm or anything else to use to find patterns for this? like "if I give you a strange dark blue, spit out a light blue colour for me"
<canton7> shevy, sass has the lighten() function. might be worth looking at
dbgster has quit [Quit: dbgster]
jimeh3 has joined #ruby
<shevy> oh cool thanks canton7
<atmosx> calibre and kindle works awesomly good together.
<atmosx> I wonder if there's a way to make a server do the "fetch/convert/send" job on kindle
ph^ has joined #ruby
ph^_ has joined #ruby
umttumt has joined #ruby
ph^ has quit [Ping timeout: 240 seconds]
choffstein has joined #ruby
jerius has quit [Quit: leaving]
d34th4ck3r has quit [Ping timeout: 255 seconds]
ph^_ has quit [Remote host closed the connection]
saschagehlich has joined #ruby
freeayu has quit [Quit: 离开]
mucker has quit [Read error: Connection reset by peer]
krusty_ar has joined #ruby
<joni> how can i turn ["a","b","c"] to {:a=>{:b=>{:c=>{}}}}
krusty_ar has quit [Read error: Connection reset by peer]
mucker has joined #ruby
<seanstickle> ["a","b","c"].reverse.reduce({}){|a,x| {x.to_sym => a} }
ananthakumaran has joined #ruby
umttumt has quit [Remote host closed the connection]
twinturbo has quit [Quit: twinturbo]
fbernier has joined #ruby
atmosx has quit [Ping timeout: 244 seconds]
hunglin has joined #ruby
hunglin has quit [Client Quit]
hunglin has joined #ruby
Gavilan has left #ruby [#ruby]
d34th4ck3r has joined #ruby
nazty has joined #ruby
Gavilan has joined #ruby
nazty has quit [Client Quit]
d34th4ck3r has quit [Ping timeout: 265 seconds]
i256 has joined #ruby
<i256> in #debian.pl
nari has quit [Ping timeout: 264 seconds]
wobr has quit [Quit: Leaving.]
i256 has left #ruby ["lece"]
wobr has joined #ruby
wobr has quit [Ping timeout: 244 seconds]
user__ has quit [Ping timeout: 264 seconds]
king313 has joined #ruby
workmad3 has joined #ruby
MatthewGA has joined #ruby
Shipow has quit [Quit: Leaving...]
hatoishi has quit [Quit: leaving]
fermion has joined #ruby
etehtsea has joined #ruby
blacktulip has quit [Remote host closed the connection]
fermion has quit [Client Quit]
gasm_afk has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
ronychen has joined #ruby
wargasm has joined #ruby
vlad_starkov has joined #ruby
dkissell_ has joined #ruby
dv310p3r has joined #ruby
enriclluelles has quit [Remote host closed the connection]
dkissell has quit [Ping timeout: 244 seconds]
dkissell_ is now known as dkissell
<banisterfiend> apeiros_: ping
<apeiros_> pong
<apeiros_> gotta run in a minute, though
tommyvyo has joined #ruby
<banisterfiend> apeiros_: what's the diff btw continuation_type (what is open in a multiline) and continuation_indicator?
<banisterfiend> apeiros_: what kind of thingy would u like for each one? and can i just provide one?
<apeiros_> oh, hm, don't remember from the top of the head
<banisterfiend> apeiros_: https://github.com/pry/pry/issues/545
<banisterfiend> your issue
nari has joined #ruby
<apeiros_> I think the indicator is a string which you can use directly
<apeiros_> the type is information. but not sure. I'd have to look it up.
<apeiros_> ping me tomorrow again, I'll see that I look it up
<banisterfiend> apeiros_: is just providing indicator ok?
<apeiros_> the string thing? sure…
<banisterfiend> for now anyway
<banisterfiend> maybe i can do the other thing too
<banisterfiend> apeiros_: one more q. what is historical_line (including the history)
<apeiros_> say you open a session
<apeiros_> you start with line 1
<apeiros_> but you have history containing 10_000 lines
mathie has joined #ruby
<apeiros_> so you're on historical_line 10_001
<banisterfiend> ah
<banisterfiend> cool
<banisterfiend> yeah no prob
<apeiros_> that one is not that important
<banisterfiend> we expose the pry instance itself, so all that stuff is easily accessible
<banisterfiend> but i might wrap it up a bit more nicely
<apeiros_> it's mostly useful if you have something like bash's !101
<apeiros_> ok
<apeiros_> well, gotta run. leaving soon and got to prepare some things :)
<banisterfiend> cya
bowlowni has joined #ruby
indian has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
dv310p3r has quit [Ping timeout: 245 seconds]
akem has joined #ruby
pk1001100011 has quit [Quit: I've got a feeling there's a fish in the floor; I'd better squish it or he'll swim out the door; Sometimes they take me for a walk in the sun; I see my fish and I have to run]
fbernier has quit [Ping timeout: 264 seconds]
liluo has joined #ruby
liluo has quit [Remote host closed the connection]
shevy has joined #ruby
apeiros_ has quit [Remote host closed the connection]
mfridh has joined #ruby
iocor has quit [Quit: Computer has gone to sleep.]
andrewhl has joined #ruby
mathie has quit [Quit: Sleeping...]
k_89 has joined #ruby
LifeSF has joined #ruby
mroth has joined #ruby
mroth has quit [Changing host]
mroth has joined #ruby
mroth has joined #ruby
hunglin has quit [Quit: Leaving.]
subbyyy has joined #ruby
<kapowaz> so, I upgraded to Lion.
<kapowaz> in the process this means I've upgraded to Xcode 4.3.3 and installed the Command Line tools for that, but despite that, I still can't install eventmachine
<kapowaz> https://gist.github.com/1926238111fe28f3a338 is the new trace — a different error now, but possibly because I'm missing something vital?
jfoley has joined #ruby
jer1ko has joined #ruby
undersc0re is now known as Ethan
jrajav has joined #ruby
<kapowaz> can somebody please help?
<kapowaz> I'm really at the end of my tether here.
<banisterfiend> kapowaz: use railsinstaller
<kapowaz> what the hell is that?
<kapowaz> this isn't for a rails app
gtuckerkellogg has joined #ruby
justsee has joined #ruby
VegetableSpoon has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
<jer1ko> kapowaz: What are you doing?
akem has quit [Ping timeout: 265 seconds]
indian has quit [Ping timeout: 265 seconds]
Z_Mass has joined #ruby
<kapowaz> trying to install eventmachine
<kapowaz> I can see a potential issue now though
<kapowaz> I've got 10.7.4 running on my new MBP which was able to bundle install the same project
<kapowaz> gem environment lists the rubygems platforms as x86_64-darwin-11
<kapowaz> (on the machine that works)
<kapowaz> on my other machine, it's x86-darwin-10
<kapowaz> so it's trying to build 32-bit binaries?
ahuman has quit [Quit: No Ping reply in 180 seconds.]
jlwestsr has joined #ruby
jxf has joined #ruby
ahuman has joined #ruby
<kapowaz> so, can I force rubygems to use a different platform?
<kapowaz> by default?
Spooner_ has joined #ruby
<kapowaz> where does it get its environment from?
digitalcakestudi has joined #ruby
banghouse has joined #ruby
cdepue has quit [Remote host closed the connection]
Spooner has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 252 seconds]
<Ethan> kapowaz: chances are that you are running an x86 kernel on that machine
cdepue has joined #ruby
mockra has joined #ruby
<kapowaz> Ethan: how can I check? And how could it be, anyway?
pk1001100011 has joined #ruby
<kapowaz> it's a fresh upgrade to OS X 10.7
fbernier has joined #ruby
jfoley has quit [Quit: jfoley]
<kapowaz> System Profiler says: 64-bit Kernel and Extensions:Yes
<kapowaz> so…
<Ethan> kapowaz: run uname -m in terminal.app
<kapowaz> x86_64
<Ethan> hm
baroquebobcat has quit [Read error: Connection reset by peer]
<kapowaz> so wtf is rubygems only giving me x86 in my platforms?
<Ethan> that means it is running a 64 bit kernel
<Ethan> kapowaz: idk
<Ethan> does it matter?
<kapowaz> if you'd been listening to the above, yes.
Spooner_ is now known as Spooner
<kapowaz> I can't build eventmachine
Spooner has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<workmad3> OS X does fun stuff to enable you to run both 32 and 64 bit processes
<kapowaz> plus it would probably seem a whole bunch of other stuff is broken as a result
<Ethan> workmad3: ya
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
Spooner has joined #ruby
<Ethan> kapowaz: running a 32 bit build on a 64 bit compatible processor won't hurt anything
<kapowaz> that's not the issue
<kapowaz> I can't build stuff with native extensions
baroquebobcat has joined #ruby
<kapowaz> it won't compile *at all*
kirun_ has joined #ruby
<Ethan> it's cool to be able to run 64 bit apps on 32 bit kernel
mahmoudimus has joined #ruby
<Ethan> kapowaz: have you tried google?
<kapowaz> that's not especially helpful. I've been trying to solve this for over four hours.
<Spooner> kapowaz : Can you be more specific than "won't compile" (in terms of what gems fail).
<kapowaz> okay, just opened a new tab after uninstalling and reinstalling rbenv, and now x86_64 is listed under environments
<kapowaz> maybe because I initially installed rbenv before upgrading to Lion. Going to try building the gem again now…
moshee has quit [Ping timeout: 265 seconds]
<kapowaz> it appears to be building it…!
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
* kapowaz head desks
<Spooner> Have you tried simpler gems than EventMachine? I've never got that one to compile (but then again I'm on windows).
kirun has quit [Ping timeout: 260 seconds]
<kapowaz> gems without native extensions are fine because they're only downloaded
<Spooner> No, I mean compiled ones that are simple and up to date and don't have any dependencies at all.
<kapowaz> well, I bundle install; eventmachine was the first to fail.
nachtwandler has joined #ruby
<kapowaz> it's alive.
<kapowaz> 4 hours 25 minutes, about 15GB of downloads, and a new OS installed…
fuleo has joined #ruby
<jer1ko> hmm
andrewhl has quit [Remote host closed the connection]
<jer1ko> That's a lot of time to sink into it
<jer1ko> hmm
<Ethan> doingitwrong.jpg?
<jer1ko> that is weird I just installed it in 15 seconds
mockra has quit [Remote host closed the connection]
jer1ko has quit [Remote host closed the connection]
atmosx has joined #ruby
<kapowaz> Ethan: yeah, sure. Doing it wrong. Thanks for that.
<atmosx> hello again
Vert has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
khakimov has joined #ruby
mockra has joined #ruby
quest88 has joined #ruby
mockra has quit [Remote host closed the connection]
subbyyy has quit [Read error: Connection reset by peer]
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
cantonic has quit [Quit: cantonic]
<Ethan> kapowaz: don't be a dick
<Ethan> Git off my lawn!
mahmoudimus has quit [Quit: Computer has gone to sleep.]
rakunHo has joined #ruby
<t_j> how does one pass in variables to a thread creation such that a local copy is made
Guest16542 has joined #ruby
* atmosx is listening to Pearl Jam - Black, from the album Ten [5:44 mins] [195 kbps MPEG audio file] [8.14 MB] [played 0 times]
<banisterfiend> atmosx: thx, glad u told me :D
<atmosx> banisterfiend: I knew you were dying to know, don't be shy.
<banisterfiend> ya
<atmosx> whyyyyy whyyyyyyyyYYYYYYyyyyy can't beeee miiiiiineeeeeee (Tararararaaaaaaa)
<banisterfiend> hehe
fuleo has quit []
mdszy has joined #ruby
CircleDot has joined #ruby
frogstarr78 has joined #ruby
mdszy has quit [Client Quit]
<kapowaz> Ethan: don't be a dick.
ronyrus has left #ruby [#ruby]
<banisterfiend> is public_instance_methods on 1.8 ?
pk1001100011 has quit [Ping timeout: 264 seconds]
subbyyy has joined #ruby
savage- has joined #ruby
davejacobs has joined #ruby
mockra has joined #ruby
wvms has joined #ruby
dotnull has joined #ruby
mockra has quit [Remote host closed the connection]
jfoley has joined #ruby
akem has quit [Ping timeout: 264 seconds]
fbernier has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
<Ethan> kapowaz: fuck off you shit
mockra has joined #ruby
R_Macy has joined #ruby
mockra has quit [Remote host closed the connection]
Ethan has quit [Quit: i fucking hate IRC]
<kapowaz> what a rude person.
Targen has joined #ruby
jlwestsr has quit [Quit: Leaving]
R_Macy has quit [Client Quit]
baphled has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
tamaska has joined #ruby
larissa has joined #ruby
fyolnish_ has joined #ruby
Beoran__ has joined #ruby
itnomad has joined #ruby
pk1001100011 has joined #ruby
bbttxu has joined #ruby
Beoran_ has quit [Ping timeout: 244 seconds]
jer1ko has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
TheJoker0670 has joined #ruby
davejacobs has quit [Ping timeout: 250 seconds]
<KevinSjoberg> Does anyone know where I can find other people that want to build something in Ruby together? I mean, is there some sort of website for those kind of requests or should I just ask directly here at IRC?
king313 has quit [Quit: .]
seanstickle has quit [Quit: seanstickle]
<Spaceghostc2c> shevy: Go read through it.
<Spaceghostc2c> Like, it's not horrible, but it isn't anything I'd write.
hunglin has joined #ruby
<Spaceghostc2c> I'd write it closer to a Unix philosophy of small things doing only one thing.
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
lkba has quit [Quit: Bye]
jer1ko has quit [Quit: Linkinus - http://linkinus.com]
khakimov has quit [Quit: Computer has gone to sleep.]
dotnull has quit [Read error: Connection reset by peer]
td123 has joined #ruby
ipoval has joined #ruby
<tamaska> KevinSjoberg: i suppose here is a good place. what do you want to build?
davejacobs has joined #ruby
troyack has joined #ruby
<atmosx> let's build a castle!
johnduhart has quit [Ping timeout: 250 seconds]
<KevinSjoberg> tamaska: Well, I want to experiment a bit with the TCP socket through Ruby and was thinking of building an simple IRC client. The final result should be a Ruby gem with an CLI interface.
<tamaska> KevinSjoberg: a simple irc client would be good.
schickung_ has joined #ruby
wvms has quit [Quit: wvms]
<atmosx> I like irssi
wvms has joined #ruby
<tamaska> KevinSjoberg: i was considering writing a simple but extensible irc bot as practice.
* atmosx swingle
<davidcelis> weechat
zodiac1111 has quit [Quit: 离开]
<KevinSjoberg> tamaska: Indeed. Feels like a hard-enough project and I think building something like that would cover some interesting topics such as threads, sockets and learning the IRC protocol.
<davidcelis> atmosx: i saw that
johnduhart has joined #ruby
* atmosx ducks and runs
<davidcelis> hahaha
<KevinSjoberg> atmosx: Irssi is nice, I use it myself. This is mere of an experiment.
<atmosx> why build something that already exists and works fine?
<davidcelis> to learn?
<Spaceghostc2c> atmosx: Why not?
<atmosx> even weechat users are happy with that lame mIRC-like, terminal client
<KevinSjoberg> atmosx: To learn?
<Spaceghostc2c> I love weechat. :D
<tamaska> KevinSjoberg: what about writing a nice irc backend with an api, and then building a gui all in ruby? think that might be good?
<Spaceghostc2c> It's not really mIRC-like, but mkay.
<KevinSjoberg> atmosx: If everyone thought like that, technology would never envolve.
<atmosx> okay, agreed… learning is what I need to do also… but isn't it better to create something it does not exist already or something that could be made better?
<atmosx> KevinSjoberg: you think? :-/
<davidcelis> atmosx: no
<Spaceghostc2c> I can see that, but how would you know how good it is?
<tamaska> atmosx: there need to be better options for urc
<tamaska> *irc
<davidcelis> atmosx: Don't write software for other people, write it for yourself
<Spaceghostc2c> If you have something to measure against, you'll have a better idea.
<davidcelis> atmosx: Either to learn, or something you personally will use
<atmosx> tamaska: ah okay, then you build an irc client
<tamaska> atmosx: i will, :P
schickung has quit [Ping timeout: 264 seconds]
schickung_ is now known as schickung
<atmosx> tamaska: no, I mean I like the mindset
<tamaska> what do you mean?
<atmosx> well if you see flaws in your client(s) then you might come with a better one
<atmosx> otherwise you'll end up writing something that's no use to you or others… and it's good for learning (agreed) but you'll end up leaving it at some point… because of no interest at all.
<atmosx> Not to mention that it won't attract other users.
<atmosx> s/users/developers
hunglin has quit [Quit: Leaving.]
<Spaceghostc2c> Depends, what if you can reuse others code and pull it in and improve while making your own thing?
<atmosx> yeah that too.
vitor-br has joined #ruby
<atmosx> that's just my opinion, not a universal truth or something...
<Spaceghostc2c> What if the developers of weechat never really made such an awesome client? Irssi 'works'.
<Spaceghostc2c> Or tmux?
<tamaska> atmosx: i kindof want something like kvirc, but written completely in ruby, with built-in ruby scripting.
<atmosx> well, I wouldn't miss it because irssi is better
<KevinSjoberg> My personal opinion is the following. I want to learn and improve as a programmer, to do that I choose a task I find interesting. For me it do not matter if the project at hand exist or not. It's for my personal learning. Later on you can either continue improving your experimental project into something widely useful or just keep it as it is.
<Spaceghostc2c> atmosx: Not really, but I'm glad you like it.
<atmosx> BUT, I'm quite sure that they didn't feel good with irssi that's why they mad weechat
<davidcelis> atmosx: You're too concerned with getting "other users"
<atmosx> s/mad/made (lazy typing
<davidcelis> That's not what writing software is about
<Spaceghostc2c> The splits are way better in weechat.
<atmosx> davidcelis: maybe
<tamaska> atmosx: irssi is great, but it's not an optimal solution to the problem.
<Spaceghostc2c> They don't get 'lost' like irssi's.
<davidcelis> If you write software just so other people will use it, you're gonna have a bad time
<KevinSjoberg> Seems like I started a bit of discussion :)
<Spaceghostc2c> davidcelis: If you write software that doesn't have easter eggs, you'll have a mediocre time.
<davidcelis> You should want to use it; other people should be a secondary thought
<atmosx> KevinSjoberg: still, I didn't see anyone joining (in the end of the day...)
<davidcelis> Spaceghostc2c: ^^vv<><>ba
neku has joined #ruby
kevingranger has joined #ruby
<Spaceghostc2c> davidcelis: Koopa!
<atmosx> KevinSjoberg: I don't wont to discourage your or something… heh not my intention
blacktulip has joined #ruby
JustinCampbell has joined #ruby
<KevinSjoberg> atmosx: You don't, it's absolutely fine to have a personal opinion. I wouldn't try to take that away from you.
<Spaceghostc2c> KevinSjoberg: If it's on github, I'll add it to my watch list for sure.
JustinCampbell has quit [Read error: Connection reset by peer]
<KevinSjoberg> I get your point, but I think we have different mindsets.
<atmosx> yeap
<KevinSjoberg> Spaceghostc2c: I surely would be on GitHub.
<Spaceghostc2c> KevinSjoberg: You'd make me super happy if you'd consider making a graphical front end to weechat in ruby. :D
heftig has quit [Quit: leaving]
<KevinSjoberg> Is there any good libraries for GUI-programming in Ruby?
<Spaceghostc2c> No!
<KevinSjoberg> I think I remember something like Shoes, but it's a very early stage and I don't have a clue about it's performance.
* atmosx is listening to Nina Simone - Baltimore, from the album Best Of Nina Simone Vol 1 [4:38 mins] [128 kbps MPEG audio file] [4.36 MB] [played missing value times]
<tamaska> atmosx, KevinSjoberg: so anyway, it would be nice to have a little help writing a pure-ruby guified client, maybe something with a networked backend like http://www.smuxi.org/page/Features but with an extensible interface like kvirc
<tamaska> though i dont expect it
* tamaska shrugs.
LifeSF has quit [Ping timeout: 265 seconds]
<tamaska> i'm already working on it
<KevinSjoberg> tamaska: I think I missed what you discussed earlier. Could you just brief me_
itnomad has quit [Quit: Leaving]
<atmosx> I'd like to get involved into a sentiment analysis project, once I finnish my own (the two I'm working on)
PaciFisT has joined #ruby
Hanmac has joined #ruby
mockra has joined #ruby
<atmosx> anyway, good luck KevinSjoberg :-)
<tamaska> KevinSjoberg: nvm.
wallerdev has quit [Quit: wallerdev]
AlbireoX_ has quit [Ping timeout: 244 seconds]
<KevinSjoberg> atmosx: Thanks!
<tamaska> it's fine. i'll just do it myself. good luck, KevinSjoberg
<KevinSjoberg> tamaska: Okey, but what did you talk about? I may be more then happy to contribute?
AlbireoX_ has joined #ruby
<atmosx> KevinSjoberg: scroll up
<atmosx> [19:23:20] <tamaska> atmosx, KevinSjoberg: so anyway, it would be nice to have a little help writing a pure-ruby guified client, maybe something with a networked backend like http://www.smuxi.org/page/Features but with an extensible interface like kvirc
ronychen has quit [Ping timeout: 244 seconds]
<tamaska> well, i am currently working on an irc client with a network backend like smuxi, but with a gui frontend that is all pure ruby as well, extensible like kvirc. i'm working on it now.
troyack has left #ruby [#ruby]
<KevinSjoberg> tamaska: Oh I see. What library do you use for the GUI-part? Is it available on GitHub?
<tamaska> i am not yet working on the gui part, but i'm planning on using WXWidgets
LifeSF has joined #ruby
tommyvyo has joined #ruby
<Hanmac> tamaska ... wxruby is outdated ... i planing an new binding
choffstein has quit [Remote host closed the connection]
<tamaska> Hanmac: well, what should i do, wait?
cantonic has joined #ruby
<Hanmac> hm i think yes because my binding is not finish yet
k_89 has quit [Ping timeout: 252 seconds]
PaciFisT has quit [Quit: Leaving.]
<tamaska> Hanmac: might help
Targen has quit [Ping timeout: 240 seconds]
<Hanmac> ... why should it help?
jonathanwallace has joined #ruby
dv310p3r has joined #ruby
* tamaska shrugs.
cantonic has quit [Client Quit]
<tamaska> if it doesnt, then oh well.
<tamaska> KevinSjoberg: anyway, if Hanmac's project seems to be moving along, i may use that instead, but it'll be a bit, working alone, to get there.
<tamaska> KevinSjoberg: i'm still working on the backend :P
<Spaceghostc2c> tamaska: That's what he said.
<tamaska> Spaceghostc2c: i think i'm misunderstanding something. what?
<KevinSjoberg> tamaska: I understand. It seems like a pretty interesting project to me. The question I keep thinking about is, is it to complex? I want something that's easy enough to complete relatively soon but interesting enough to learn.
<Spaceghostc2c> tamaska: Just a joke.
PaciFisT has joined #ruby
Guest16542 has quit [Ping timeout: 245 seconds]
<tamaska> Spaceghostc2c: oh. lol.
<Spaceghostc2c> KevinSjoberg: An IRC client wouldn't be a fast thing if you're trying to implement anything near the standards.
baphled has quit [Ping timeout: 264 seconds]
<KevinSjoberg> I think you have more experience than me regarding the project so what do you think?
vitoravelino is now known as vitoravelino`afk
* Hanmac works currently on an Ogre binding wich is more cool then wx :D
<Spaceghostc2c> Write an IRC bot first! That's fun and gets you partway there in terms of domain knowledge.
<tamaska> KevinSjoberg: not by much. i'm just slowly working step by step, that's all.
<tamaska> ogre?
<KevinSjoberg> Spaceghostc2c: Do note that when I say fast I mean the period of a few weeks of programming. And the IRC client I was thinking of building should not include all available features but those that are being implemented should comply with the standard.
<KevinSjoberg> tamaska: I see.
* atmosx is listening to Nina Simone - Sinnerman, from the album Best Of Nina Simone Vol 2 [10:21 mins] [128 kbps MPEG audio file] [9.71 MB] [played missing value times]
<Spaceghostc2c> KevinSjoberg: Could be doable.
<tamaska> Hanmac: oh, i see.
<atmosx> Oh sinnermaaan what you're gonna dooo
<tamaska> KevinSjoberg: anyway, i'm just going to go now. i'll see you around i guess.
tamaska has left #ruby ["Heaven isn't a place, it's being with people who love you."]
<atmosx> nice part message
<KevinSjoberg> Spaceghostc2c: I thought so to, I usually have pretty sane ideas. I was thinking at implementing CONNECT, QUIT, JOIN, PART and SAY to begin with.
mpereira has joined #ruby
<Spaceghostc2c> KevinSjoberg: I'd still look at the IRC bots to get an idea of the domain.
<Spaceghostc2c> Unless you're pretty happy with documentation.
fbernier has joined #ruby
<KevinSjoberg> Spaceghostc2c: You may be right, the domain as such is totally new for me. I've read through the RFC for IRC(http://www.irchelp.org/irchelp/rfc/rfc.html) but the documentation isn't as "complete" as I would want it.
PaciFisT has quit [Quit: Leaving.]
<Spaceghostc2c> There's hundreds of IRC bots around. Perl, ruby, python, brainfuck.
<Spaceghostc2c> Anything.
<KevinSjoberg> Plus that I've a very basic understanding of TCP and threads in general.
<KevinSjoberg> Spaceghostc2c: IRC bots in Brainfuck actually amaze me :)
rakunHo has quit [Remote host closed the connection]
<atmosx> seriously, the idea of writing anything more than hello world in brainfuck is … so obscene I like it :D
vitoravelino`afk is now known as vitoravelino
<KevinSjoberg> atmosx: I couldn't agree more :)
<Spaceghostc2c> I can read it and sometimes write it.
<Spaceghostc2c> It's like obfuscated ASM
<KevinSjoberg> Spaceghostc2c: But where you thinking of building the actual client needed for the bot myself or use something existing.
<Spaceghostc2c> KevinSjoberg: It's easy to build from scatch.
<Spaceghostc2c> Took me way less than an evening.
kevingranger has quit [Quit: Linkinus - http://linkinus.com]
silentpost has joined #ruby
Shipow has joined #ruby
<KevinSjoberg> Spaceghostc2c: Yeah, I thought so. In practice all that's needed is for the bot to connect itself to the right IRC server right?
<Spaceghostc2c> There's a project I was working on that my friend and I need to get at.
<KevinSjoberg> Spaceghostc2c: You wrote the framework or did you use it to create you bot? I would like to get down in the "low level" details in that so I think a framework or DSL isn't optimal.
<KevinSjoberg> Or did you link it as a reference for inspiration and ideas for own implementation?
<Spaceghostc2c> Crap, I didn't push.
<Spaceghostc2c> One sec.
<KevinSjoberg> Sure
silentpost has quit [Client Quit]
vitor-br has quit [Quit: Saindo]
yoklov has joined #ruby
yoklov has quit [Remote host closed the connection]
fbernier has quit [Ping timeout: 245 seconds]
<Spaceghostc2c> KevinSjoberg: I have to find the code. We wrote it from plain old ruby. Just stdlib. No framework has emerged, but it works.
Niamkik has joined #ruby
begriffs has joined #ruby
Ethan has joined #ruby
<Spaceghostc2c> It takes less than 20 lines of code for basics. We're building a base and adding everything as plugins.
<KevinSjoberg> Spaceghostc2c: Interesting. Tell me when you pushed.
brianpWins has joined #ruby
<Spaceghostc2c> KevinSjoberg: Stick around on IRC, I have to ask my friend where it is.
<Spaceghostc2c> brianpWins: Mister sir!
<KevinSjoberg> Spaceghostc2c: Sure!
<brianpWins> Morning Spaceghostc2c
savage- has quit [Remote host closed the connection]
davidcelis has quit [Ping timeout: 252 seconds]
LifeSF has quit [Ping timeout: 252 seconds]
ipoval has quit [Quit: ipoval]
niklasb has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has joined #ruby
neku is now known as neku|away
dv310p3r has quit [Ping timeout: 264 seconds]
d34th4ck3r has joined #ruby
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
bfgun has quit [Ping timeout: 245 seconds]
robozahn_ has quit [Ping timeout: 265 seconds]
bfgun has joined #ruby
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
workmad3 has joined #ruby
jfoley has quit [Quit: jfoley]
<atmosx> what is the fastest way of discovering if a hash has a value of argv[2] > 1 in any of its elements?
<Spaceghostc2c> Writing tests and profiling. :D
<atmosx> so there's no fast way of doing it...
<Hanmac> atmosx look at Enumerable#any?
<atmosx> Hanmac: k
<atmosx> ah k got it I think
ipoval has joined #ruby
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
nachtwandler_ has joined #ruby
ipoval has quit [Client Quit]
mockra has quit [Remote host closed the connection]
niklasb has quit [Read error: Operation timed out]
mahmoudimus has joined #ruby
CircleDot has quit [Quit: Leaving]
josefig has joined #ruby
nachtwandler has quit [Ping timeout: 264 seconds]
josefig has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 265 seconds]
Fezzler has joined #ruby
robozahn has joined #ruby
dv_ has quit [Quit: No Ping reply in 180 seconds.]
dv_ has joined #ruby
<KevinSjoberg> Spaceghostc2c: Found the code yet?
<Spaceghostc2c> KevinSjoberg: I'll highlight you when she gets online.
pygospa has quit [Disconnected by services]
<atmosx> Enough programming for today
TheRealPygo has joined #ruby
mohits has joined #ruby
<atmosx> I've stuck anyway, I need to get a bite of fresh air
baroquebobcat has joined #ruby
mathie has joined #ruby
mahmoudi_ has joined #ruby
TorpedoSkyline has joined #ruby
* atmosx puts on his Nikes which were made by severelly underpaid little childs in Taiwan while some dickhead chasing a ball gets paid in triple figures in order to promote them featuring totally unreal, utterly idiotic commercials.
<Spaceghostc2c> Open your window and put those fingers back on the keyboards.
<atmosx> Spaceghostc2c: hahaha nah :-P I can't continue anyway, I'm stuck and I have the strong feeling that there's a much easier solution to this… I will see my code and laugh tomorrow (probably)
<atmosx> or maybe in week, but I'll cry instead because I won't know wtf I was thinking
mahmoudi_ has quit [Client Quit]
cherrypeel has joined #ruby
<atmosx> anyway I'm off
<atmosx> bb
mahmoudimus has quit [Ping timeout: 264 seconds]
indian has joined #ruby
Tricks has joined #ruby
atmosx has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
savage- has joined #ruby
timonv has quit [Remote host closed the connection]
gizmore has quit [Ping timeout: 244 seconds]
irakli has joined #ruby
mockra has joined #ruby
begriffs has quit [Quit: begriffs]
dnyy has joined #ruby
etehtsea has quit []
TheJoker0670 has quit [Quit: Leaving]
Goles has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
mockra has quit [Remote host closed the connection]
fyolnish_ has quit [Remote host closed the connection]
andrewhl has joined #ruby
mockra has joined #ruby
d34th4ck3r has quit [Remote host closed the connection]
mathie has quit [Quit: Sleeping...]
lkba has joined #ruby
cakehero has joined #ruby
Fezzler has quit [Quit: Leaving]
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
k_89 has joined #ruby
schickung has quit [Quit: schickung]
codezombie has joined #ruby
knoopx has quit [Quit: Linkinus - http://linkinus.com]
kevinbond has joined #ruby
mathie has joined #ruby
fantazo has joined #ruby
apok has joined #ruby
neku|away is now known as neku
davejacobs has quit [Ping timeout: 255 seconds]
mockra has quit [Remote host closed the connection]
TheRealPygo has quit [Read error: Operation timed out]
pygospa has joined #ruby
lxsameer has quit [Quit: Leaving]
ilyam has joined #ruby
mockra has joined #ruby
ilyam has quit [Remote host closed the connection]
nicferrier has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
<nicferrier> hey people! I am trying to use rvm to manage ruby on my ubuntu... I'm doing rvm --default use 1.9.2 (after installing it) but when I go to a new shell ubuntu still tells me I don't have ruby. what am I doing wrong? any clues?
<ramblex> nicferrier: have you added anything to your .bashrc?
<nicferrier> ramblex: no.
<k_89> add something then :P
bradhe has joined #ruby
alexch has joined #ruby
indian has quit [Read error: Operation timed out]
<nicferrier> ok. I did. started a new shell. still no default ruby
<nicferrier> I added this: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Synthead has joined #ruby
<ramblex> nicferrier: try `rvm use --default 1.9.2`
<nicferrier> did that.
<ramblex> putting the option after the action
cherrypeel has quit [Ping timeout: 265 seconds]
<nicferrier> paying more attention to the output I see this $ rvm use 1.9.2 --default
<nicferrier> Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p180
<Spaceghostc2c> nicferrier: rvm use 1.9.2 --default
<nicferrier> so ubuntu's package puts it in /usr/share or something?
<Spaceghostc2c> Ugh, the repo ruby :(
<Spaceghostc2c> and repo rvm. :(
<k_89> ??
yannis has joined #ruby
<nicferrier> yeah. it just seems broken. it makes all the documentation wrong. is this another example of over enthusiastic package maintainers doing totally the wrong thing?
twinturbo has joined #ruby
<alexch> Linux distros hate Ruby. You should use plain old rvm and stop the madness. But I dunno if that'll fix your problem.
<Boohbah> following the directions might help
<ramblex> nicferrier: what does `which rvm` return?
<nicferrier> ramblex: /usr/bin/rvm
<nicferrier> Boohbah: what directions?
<Boohbah> nicferrier: alexch kindly linked them for you
davejacobs has joined #ruby
<nicferrier> so don't use apt packages?
mockra has quit [Remote host closed the connection]
<k_89> nope
<k_89> they gave me a lot of pain before i finally was able to start using ruby
<k_89> few days ago :P
<alexch> I repeat: Linux distros hate ruby. They want to mess with its directory structure. Using rvm avoids that by putting ruby in your home directory, and has a bonus of allowing you to switch ruby versions at will. And not having to use sudo.
mockra has joined #ruby
blacktulip has quit [Remote host closed the connection]
<alexch> If someone made an apt-get package for rvm then they were being very silly. rvm *is* a package manager.
<Spaceghostc2c> Packagemanagerception. :(
<Spaceghostc2c> npm is installable via deb
<nicferrier> yeah it doesn't seem that silly to me.
dbgster has joined #ruby
Chaazd has joined #ruby
<Hanmac> alexch my system ruby is the current newst ruby, so i dont need to play with rvm
TheShadowFog has quit [Remote host closed the connection]
<Spaceghostc2c> Hanmac: So you're using ruby-head?
<regedarek> Hello, how will be the best way to get username from email "test@email.com" (I want o to get whole string before @
<Spaceghostc2c> Or 1.9.3? Are you using your own gemhome or using sudo?
schickung has joined #ruby
<regedarek> regex?
schickung has quit [Client Quit]
mockra has quit [Remote host closed the connection]
<Hanmac> ruby 1.9.3p194, gems are installed with sudo
<Spaceghostc2c> Meh.
<ramblex> regedarek: regex or just use split if you're sure it's a valid email
<Spaceghostc2c> Not too bad. I just prefer to manage my own stuff at user level.
ananthakumaran has quit [Quit: Leaving.]
<Chaazd> Although this does work and writes to the yaml file, Ruby cannot parse it seemingly because the keys are not indented by 2 spaces. Is there a way I can make it write to the yaml file using the correct indentation? http://pastebin.com/QeWD5RhH
<nicferrier> thanks guys.
nicferrier has left #ruby ["rcirc on GNU Emacs 24.1.50.1"]
<regedarek> ramblex: thx i`ll use split this is rake tast for existing users
<regedarek> *for
<regedarek> u.email.split('@').first
irakli has left #ruby [#ruby]
<Spaceghostc2c> I have to do this, but if you're validating email with a regular expression, you're doing it wrong.
<Hanmac> Spaceghost2c yeah, and then the rvm users came back because they cant install gems, because they forgot to install -dev packages and are to dumb to google there problem
baroquebobcat has quit [Quit: baroquebobcat]
<Spaceghostc2c> Hanmac: Wat, -dev packages of what? The system packages they need?
<Hanmac> like that "i cant install gems because Zlib is missing"
banisterfiend has quit [Read error: Connection reset by peer]
bfgun has quit [Ping timeout: 250 seconds]
<Spaceghostc2c> Lol.
<Spaceghostc2c> Yeah, I classify myself as 'not completely fucking retarded, but only mostly.'
adamkittelson has joined #ruby
savage- has quit [Remote host closed the connection]
iocor has joined #ruby
nyuszika7h is now known as iwconfig
iwconfig is now known as nyuszika7h
bfgun has joined #ruby
VegetableSpoon has joined #ruby
iocor has quit [Client Quit]
jgrevich has joined #ruby
<Chaazd> An example of what the output to the file would be: http://pastebin.com/jvDk9zDs
banisterfiend has joined #ruby
iocor has joined #ruby
dankest has joined #ruby
neiZ has quit [Ping timeout: 252 seconds]
andrewhl has quit [Remote host closed the connection]
andrewhl has joined #ruby
neiZ has joined #ruby
jfoley has joined #ruby
Chaazd has left #ruby [#ruby]
twinturbo has quit [Quit: twinturbo]
andrewhl has quit [Ping timeout: 246 seconds]
baphled has joined #ruby
savage- has joined #ruby
imami|afk is now known as banseljaj
jfoley has quit [Client Quit]
melba has joined #ruby
mathie has quit [Quit: Sleeping...]
mongag has joined #ruby
<mongag> Please, see here http://bit.ly/PwryKS if you can help me
LBRapid has joined #ruby
thecreators has joined #ruby
mathie has joined #ruby
choffstein has joined #ruby
hrs_ has joined #ruby
workmad3 has joined #ruby
<regedarek> hmm, is possible to refactor this rake task i want to remove this duplication: User.find_by_username(username) -> https://gist.github.com/3067635
<regedarek> ?
choffstein has quit [Remote host closed the connection]
ph^ has joined #ruby
Shipow has quit [Quit: Linkinus - http://linkinus.com]
xnm has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
oscardelben has joined #ruby
melba has left #ruby [#ruby]
ph^ has quit [Ping timeout: 240 seconds]
hrs_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
andrewhl has joined #ruby
oscardelben is now known as oscardelben_
jameshyde has joined #ruby
LBRapid has quit [Quit: Computer has gone to sleep.]
<jameshyde> say a number is 11.7542200965118, how to convert it to 11.75 in ruby?
oscardelben_ is now known as oscardelben
<Hanmac> a=11.7542200965118; a.round(2)#=>11.75
<Hanmac> or if you only want it for output: "%.2f" % a
zommi has quit [Remote host closed the connection]
lkba has quit [Quit: Bye]
cherrypeel has joined #ruby
<jameshyde> Hanmac, thanks!
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
kvirani has joined #ruby
jarred has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Client Quit]
project2501a has joined #ruby
Cache_Money has joined #ruby
thecreators has quit [Quit: thecreators]
bfgun is now known as bfig
savage- has quit [Remote host closed the connection]
tommyvyo has joined #ruby
mathie has quit [Quit: Sleeping...]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
Vert has quit [Ping timeout: 252 seconds]
jrajav has quit [Quit: The best darkness is strange and surprising]
<shevy> hmm
<shevy> anyone of you using an ascii counter or display bar
<shevy> something like "This may take a while. Please be patient." -> display a stupid ASCII counter
mdhopkins has quit [Quit: mdhopkins]
mathie has joined #ruby
Bosma has quit [Quit: leaving]
<Mon_Ouie> print "1"; sleep 1; print "\r2"
Poapfel has quit [Quit: WeeChat 0.3.7]
<shevy> hehe
Poapfel has joined #ruby
<shevy> I may actually use this :)
Poapfel has quit [Client Quit]
KevinSjoberg has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Synthead has quit [Read error: Connection reset by peer]
blacktulip has joined #ruby
<Hanmac> if OS == WIN print "this will takes longer then you think"
Poapfel has joined #ruby
mdszy has joined #ruby
kevinbond has quit [Quit: kevinbond]
kenichi has joined #ruby
VegetableSpoon has quit [Ping timeout: 264 seconds]
Ste11a has joined #ruby
dankest has quit [Quit: Linkinus - http://linkinus.com]
Gneiss has joined #ruby
weasels has joined #ruby
weasels has quit [Client Quit]
<Gneiss> hi gues
<Gneiss> *guys
saschagehlich has joined #ruby
jarray52 has joined #ruby
jameshyde has quit [Ping timeout: 245 seconds]
Gneiss has quit [Quit: leaving]
<matled> shevy: we talked about ansi escape sequences a month ago!
<shevy> I collect ready made ansii kickass code
fantazo has quit [Remote host closed the connection]
<shevy> oh no
<shevy> ASCII
jameshyde has joined #ruby
<shevy> should turn that into a gem one day
<shevy> gem install ascii-table
<shevy> aaaaah what is this
<shevy> cool
<shevy> makes ASCII tables :)
neku is now known as neku|away
workmad3 has quit [Ping timeout: 265 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
liluo has joined #ruby
workmad3 has joined #ruby
davejacobs has quit [Ping timeout: 264 seconds]
AlbireoX has joined #ruby
dbgster_ has joined #ruby
bfgun has joined #ruby
igotnolegs has joined #ruby
Synthead has joined #ruby
dbgster has quit [Ping timeout: 245 seconds]
dbgster_ is now known as dbgster
mdszy has quit [Quit: bye for now]
bfig has quit [Ping timeout: 265 seconds]
ringotwo has joined #ruby
Ste11a has quit [Ping timeout: 246 seconds]
neku|away is now known as neku
liluo has quit [Remote host closed the connection]
justsee is now known as justsee|away
dv310p3r has joined #ruby
lkba has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
mathie has quit [Quit: Sleeping...]
jlwestsr has joined #ruby
yannis has quit [Quit: yannis]
ringotwo has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 255 seconds]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
InternetExplorer is now known as KindOne
Siphonblast has quit [Remote host closed the connection]
robozahn has quit [Ping timeout: 265 seconds]
graspee has joined #ruby
gizmore has joined #ruby
apok has quit [Quit: apok]
mohits has quit [Ping timeout: 240 seconds]
ringotwo has joined #ruby
kevinbond has joined #ruby
nachtwandler_ has quit [Read error: Operation timed out]
savage- has joined #ruby
choffstein has joined #ruby
seanstickle has joined #ruby
ringotwo has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
mohits has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
clamps has left #ruby [#ruby]
twinturbo has joined #ruby
twinturbo has quit [Client Quit]
savage- has quit [Remote host closed the connection]
Squee-D has joined #ruby
choffstein has quit [Remote host closed the connection]
heftig has joined #ruby
williamcotton_ has joined #ruby
yannis has joined #ruby
Ionic` has quit [Excess Flood]
Goles has quit [Quit: Computer has gone to sleep.]
Ionic` has joined #ruby
moshee has quit [Ping timeout: 248 seconds]
moshee has joined #ruby
Vert has joined #ruby
mengu has joined #ruby
patient has joined #ruby
Squee-D has quit [Quit: The computer fell asleep]
luckyruby has joined #ruby
Aaton_off is now known as Aaton
heftig has quit [Quit: leaving]
cakehero has joined #ruby
<patient> hey guys, i've been learning ruby and using a text editor to do some small programs, but i wanted to do some bigger projects to deepen my knowledge and i was thinking about using an ide, can someone recommend me a nice free one?
<patient> for what i've read, the best alternative was an old version of netbeans, but i wanted to know your oppinion
cakehero has quit [Client Quit]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
syamajala has joined #ruby
cakehero has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
bluenemo has quit [Remote host closed the connection]
blacktulip has quit [Remote host closed the connection]
davejacobs has joined #ruby
hunglin has joined #ruby
Synthead has quit [Quit: p33 ba115]
jfoley has joined #ruby
davejacobs has quit [Ping timeout: 248 seconds]
balki_ is now known as balki
rdx has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
fflush has joined #ruby
rdx has left #ruby [#ruby]
jameshyde has quit [Remote host closed the connection]
baphled has quit [Quit: leaving]
learc83 has joined #ruby
itnomad has joined #ruby
thecreators has joined #ruby
tvw has joined #ruby
Z_Mass has quit [Quit: Leaving]
rdg has joined #ruby
ixti has joined #ruby
syamajala has quit [Remote host closed the connection]
syamajala has joined #ruby
jxf has quit [Ping timeout: 265 seconds]
dv310p3r has quit [Ping timeout: 264 seconds]
univers has joined #ruby
Aaton is now known as Aaton_off
heftig has joined #ruby
headius has joined #ruby
<burgestrand> patient: I’ve heard people like redcar (http://redcareditor.com/), but most people I know don’t use an IDE at all
rdg has quit [Quit: [quit]]
<burgestrand> textmate/sublimetext/vim/emacs and a terminal is pretty common
<patient> yeah, i've used redcar before
<patient> but it feels more like a textmate clone than an ide
tewecske has quit [Quit: Leaving.]
<patient> i've been using vim + terminal too, i was just wondering what "real ruby programmers"' habits were
<patient> (and for some occasional debug)
<jlwestsr> For learning I suggest Aptana or RubyMine. However, using a text editor is your best option I have found. I used those two IDEs and found them to be more cumbersome then helpful.
<learc83> I've always thought an IDE just got in the way, unless I really need it for something like Java
<burgestrand> patient: editor+terminal is pretty much the real way. As for debugging pry is popular and most often enough.
<patient> didn't knew about pry, thanks for the tip
mpereira has quit [Read error: Connection reset by peer]
<learc83> and for debugging I just usually use puts
<patient> that's a way too :D
<burgestrand> I’d call that probing not debugging :p
<patient> but i wanted something more visual, with easy access to variables, stack trace like i was used in eclipse for java development or visual studio
<learc83> I use the debugger all of the time when I'm doing embedded stuff with C, but I haven't really felt the need for it with ruby
xea has quit [Ping timeout: 245 seconds]
<patient> ok guys, thanks for sharing your experience, guess i'll stick with vim for a while and give pry a go
fflush has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
mucker has quit [Remote host closed the connection]
<patient> really enjoying ruby so far, i wanted to get away from the typesafe languages
<patient> now i just need to learn a unit testing library, is rspec a nice option?
<learc83> yeah, but I ended up just sticking with test/unit after playing with it for a while
<patient> test/unit uses the bdd approach too, or tdd?
<patient> i'm more used to tdd, but for what i could grasp the bdd way is more adopted in the ruby world
alindeman has quit [Remote host closed the connection]
<learc83> tdd, but to me rspec was just syntactic sugar for what I was doing with test/unit anyway
Niamkik has quit [Read error: Operation timed out]
project2501a has quit [Quit: Leaving]
<patient> hm ok, i'll try it too, to see which one suits me better
Fezzler has joined #ruby
choffste_ has joined #ruby
Cache_Money has quit [Ping timeout: 248 seconds]
jxf has joined #ruby
jlwestsr has quit [Ping timeout: 250 seconds]
Guest24792 is now known as mafs
mafs has quit [Changing host]
mafs has joined #ruby
itnomad has quit [Quit: Leaving]
thecreators has quit [Quit: thecreators]
Fezzler has quit [Quit: Leaving]
neku has quit [Quit: Linkinus - http://linkinus.com]
mongag has quit [Quit: Leaving]
alindeman has joined #ruby
baphled has joined #ruby
kevinbond has quit [Quit: kevinbond]
syamajala has quit [Remote host closed the connection]
choffste_ has quit [Remote host closed the connection]
<shevy> free sex!
<shevy> click me
ringotwo has joined #ruby
alanp_ has joined #ruby
balki_ has joined #ruby
<Spaceghostc2c> learc83: It's actually a different perspective on the object under test.
balki has quit [Read error: Connection reset by peer]
alanp has quit [Read error: Connection reset by peer]
banghouse has quit [Remote host closed the connection]
<learc83> I didn't really see enough of an advantage to switch
pk1001100011_ has joined #ruby
shadoi has joined #ruby
<Spaceghostc2c> That's cool.
<Spaceghostc2c> I prefer thinking in object behaviour over internal state representation.
emmanuelux has joined #ruby
<Spaceghostc2c> But luckily, there's support for that in the new minitest.
<patient> minitest?
<learc83> test/unit replacement for 1.9
<learc83> I still call it test/unit
<learc83> :(
<patient> hehe
pk1001100011 has quit [Ping timeout: 244 seconds]
pk1001100011_ is now known as pk1001100011
<patient> you gotta evolve man!
headius has quit [Quit: headius]
apok has joined #ruby
kevinbond has joined #ruby
dv_ has quit [Quit: No Ping reply in 180 seconds.]
dv_ has joined #ruby
<learc83> :)
headius has joined #ruby
Stumilowy has joined #ruby
<shevy> test test test
<shevy> I avoid tests and write bug free software
atmosx has joined #ruby
<learc83> I avoid bugs and write test free software
<shevy> lol
<Spaceghostc2c> I avoid software and write free bugs.
<atmosx> shevy: how's life? :-D
<shevy> ack
<learc83> lol
<atmosx> Spaceghostc2c: hello!
<atmosx> Spaceghostc2c: where r u from?
<shevy> one day I should really collect best quotes from #ruby
<atmosx> rst
<shevy> hey atmosx. thinking about what I write next today
<Spaceghostc2c> shevy: Anything I say automatically does not qualify
<atmosx> shevy: hehe wait I'll search my fav irc quote
<Spaceghostc2c> atmosx: I'm from a place I like to call porn-mode.
<shevy> right now "highest.rb" which only tells me the top 10 largest programs I have
<atmosx> this http://www.qdb.us/29152 :D
<atmosx> gets me every time hahahahahaha awesome hahahaha
<atmosx> Spaceghostc2c: California?
<patient> bugs? oh you mean undocummented features
<atmosx> shevy: so you're gonna be a chemist programmer etc?
<Spaceghostc2c> Atlanta at the moment.
<atmosx> Spaceghostc2c: the only thing I know about Atlanta are the "Hawks"
<learc83> i'm just outside atlanta as well
<shevy> atmosx: hmm I think so. unfortunately I still suck at math... need to spend boring times in library
<atmosx> learc83: yes, but we did not ask you. We're not polite to foreigners here
<atmosx> learc83: j/k
<learc83> LOL
<atmosx> shevy: I think it's quite a striking combination
<atmosx> oooh the love gone baaad, turned my love to blaaaaack
<shevy> ruby is beautiful
* atmosx listening Pearl Jam all day long
<atmosx> true
<atmosx> and perl sucks big time
kevinbond has quit [Quit: kevinbond]
<shevy> kinda. compared to ruby I think so yes
<shevy> before ruby perhaps not so much so
<shevy> it kinda opened the way for the other "scripting" languages
obryan has joined #ruby
<obryan> when I change a array back to a string I get the ['one', 'two'] but is there a simple way to just have it show the items stripped of the padding?
dv_ has quit [Quit: No Ping reply in 180 seconds.]
<shevy> obryan: not sure what you mean? .join ? [1,2,3].join('_')# => "1_2_3"
<learc83> do you just want to display it?
<shevy> or do you mean you want to display the array, without the ' ' separating the fields of the array
<shevy> not sure how to get rid of that ' '
<obryan> displaying it
jlwestsr has joined #ruby
<obryan> say i change ['one','two'].to_a
<obryan> but I want to change it back
<obryan> so if i display it, it will just show as "onetwo"
kenichi has quit [Remote host closed the connection]
<obryan> not "['one','two']"
dv_ has joined #ruby
<shevy> nono
<obryan> ?
<shevy> "onetwo" is a string right?
<obryan> yes
<obryan> i want to change an array to a string but without the "[" and "]"
<obryan> also no " in them
<learc83> loop through it and construct a string
<shevy> [1,2,3].join(',') # => "1,2,3"
<learc83> tadah
<shevy> for a moment I thought you want to change the string "onetwo" to an array
<obryan> no no
<learc83> same here
<obryan> i want to change the array into a string
<richardcreme> or * instead of join
<obryan> but my array.to_s puts a [] in the string
<obryan> also it puts "" around each item
<patient> override it
<obryan> how?
<learc83> if you just do puts on an array without calling .to_s it till only put a newline between each not the array padding
<learc83> so puts ["one", "two"] will get you
<learc83> one
<learc83> tow
<learc83> that's kinda weird come to think of it
<obryan> eh
<obryan> that is problematic for me
<obryan> what i have is a array that has to be converted to a string for my web form
<patient> for what i get, he wants the to_s method to return "one two three" instead of "["one", "two"...]"
<shevy> obryan: well just use the .join method on your array
<obryan> you got it patient
<shevy> .to_s is not always that useful
<obryan> ah
<shevy> though you can define it if you must.
<ixti> ['one','two'].join(" ") # => "one two"
jlwestsr has quit [Quit: Leaving]
<shevy> I think it is used for .inspect or something like that
<shevy> like when you do: p some_object
<patient> can't you use .join instead of to_s?
<patient> like self.join...
<shevy> ohhhhh
<shevy> patient is an IRC nick :)
<shevy> I wondered why obryan thought someone had to be patient lol
<obryan> lol i didn't come up with his nick
<patient> ?
<richardcreme> lol
<obryan> but that does the trick nicely guys
<obryan> thanks :)
banseljaj is now known as imami|afk
<obryan> if only i could for once not be the only ruby advocate in a office full of php guys
<ixti> rofl
<patient> i didn't want to say *instead*
<patient> s/instead/inside of/
<atmosx> php
pureluck has quit [Quit: leaving]
<learc83> just do what the haskell guy in the python shop did, he renamed all of his haskell files to .py
<patient> LOL
<obryan> lol
<ixti> figured out that i promised to review and fix php code today and immediately a phrase came to my head "i hate myself and want to die"
<obryan> here's a project: PHP.to_Ruby
<obryan> "Yes but when you convert PHP to Ruby isn't something lost in translation?" "Yes, the headaches."
<patient> lol
itnomad has joined #ruby
* ixti . o O ( why people always want to write XXX like they did it in YYY when XXX and YYY are absolutely different? )
<obryan> Because people are lazy and afraid of new ideas
workmad3 has joined #ruby
* atmosx is listening to Oasis - Don't Look Back In Anger, from the album The Acoustic Sessions Vol 1 [3:54 mins] [993 kbps Apple Lossless] [27.87 MB] [played missing value times]
<atmosx> obryan: do they like wine?
dbgster has quit [Quit: dbgster]
<obryan> Ruby is by far my favorite language, it is not the first, second, third or even fifth language I learned
<learc83> first language for me
<learc83> but I've changed my style a good bit since learning lisp
<ixti> I love Ruby. But when I write JS - I don't trying to write it like in Ruby...
<atmosx> obryan: that's good, you can stay in our channel.
<atmosx> ixti: you can stay too.
<patient> sure ixti
<obryan> obryan.accepted?
<obryan> hehe
<atmosx> hahaha yeeeeesss
<atmosx> true
Ethan has quit [Read error: Connection reset by peer]
<obryan> Ternary.this.car(around)
<obryan> hmmm no
seanstickle has quit [Quit: seanstickle]
<obryan> this.car ? around : "Don't make me come back there"
<ixti> dont_care unless ixti.was_asking?
jimeh3 has quit [Ping timeout: 252 seconds]
<learc83> anyone else do any of the hackerrank.com challenges?
<obryan> if by challenge you mean showing up?
<learc83> I mean the little spacex and candies games
headius has quit [Ping timeout: 245 seconds]
<learc83> I seemed to be the only person in the top 10 who wrote a bot in ruby (at least out of people I've talked to in IRC)
<obryan> well you certainly outrank me then :)
<shevy> learc83: my first ruby project was a bot too
<obryan> I'm a sysadmin by trade, all this coding fun is just... fun
<shevy> since then I broke it though and now it no longer works :(
<learc83> lol
<learc83> obryan so do you use ruby for your adminy stuff
LifeSF has joined #ruby
<atmosx> is this expression invalid? (topno = line[1].to_i && $top_list << line) if topno =< line[1].to_i
<atmosx> I know for sure I can add the && after the 'if' there… but I'm not sure if I can add it before, I never seen it… it just came out (imagination never hurt)
s0ber has joined #ruby
<atmosx> obryan: r you good with FreeBSD?
vlad_starkov has quit [Remote host closed the connection]
LifeSF has quit [Ping timeout: 246 seconds]
<shevy> still trying to use freebsd?
ricn has joined #ruby
wvms has left #ruby [#ruby]
<atmosx> shevy: I'll figure it out… I solved the ports upgrade thing...
<atmosx> there's a really nice command line tool which tells which ports have security issues and another one which handles automatically the updates...
<atmosx> if these two work without issues then I'm fine I guess… I'll run a tor server, irc, a couple of ruby scripts… and nginx + uinicorn_rails for an octopress blog, afpd, ftpd and dnsmasq for the local network
<atmosx> and a couple of others services of course...
ixti has quit [Quit: So Long, and Thanks for All the Fish!]
moshee has quit [Ping timeout: 255 seconds]
moshee has joined #ruby
Synthead has joined #ruby
chessguy has joined #ruby
<patient> wow, pry looks great
RainbowDashh has joined #ruby
learc83 has quit [Quit: learc83]
minijupe has joined #ruby
<bradhe> Trying to write a native extension, and I'm getting: error: no member named 'ptr' in 'struct RString'
mdszy has joined #ruby
<bradhe> RSTRING(my_str)->ptr; is the relevant line clang is pointing at
<bradhe> is there any common issues that might cause this?
fantazo has joined #ruby
kevinbond has joined #ruby
<obryan> hey sorry i was downstairs answering the door
emmanuelux has quit [Ping timeout: 252 seconds]
<obryan> lear83: i use ruby for writing nagios stuff and doing capistrano
CmdrTallen has joined #ruby
<obryan> atmosx: i use ruby for writing nagios stuff and doing capistrano
emmanuelux has joined #ruby
bfgun has quit [Ping timeout: 252 seconds]
emmanuel__ has joined #ruby
<atmosx> nice
<obryan> right now i'm kicking around the idea of a rails site that'd log data sorta like cacti
emmanuelux has quit [Ping timeout: 264 seconds]
ricn has left #ruby [#ruby]
kevinbond has quit [Quit: kevinbond]
<banisterfiend> obryan: what do u mean by kicking
<obryan> i am thinking about the idea
<obryan> sorry, american metaphor
<banisterfiend> 'merica
JustinCampbell has joined #ruby
<obryan> like John Chrichton
ringotwo has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 255 seconds]
banghouse has joined #ruby
R_Macy has joined #ruby
Berglund has joined #ruby
apok has quit [Quit: apok]
htroyack has joined #ruby
htroyack has quit [Client Quit]
htroyack has joined #ruby
apok has joined #ruby
R_Macy has left #ruby ["Linkinus - http://linkinus.com"]
JustinCampbell has quit [Remote host closed the connection]
verto has joined #ruby
kevinbond has joined #ruby
Chryson has joined #ruby
kirun_ has quit [Quit: Client exiting]
workmad3 has quit [Read error: Operation timed out]
Chryson has quit [Client Quit]
Chryson has joined #ruby
apok has quit [Quit: apok]
saschagehlich has quit [Quit: saschagehlich]
workmad3 has joined #ruby
kyktommy has joined #ruby
kevinbond has quit [Quit: kevinbond]
pk1001100011 has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
Stumilowy has quit [Ping timeout: 245 seconds]
seanstickle has joined #ruby
kevinbond has joined #ruby
<atmosx> hahah just take a look at the reply… must have taken 2 days of writing http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
<seanstickle> Actually, in Vim you can write that much with about 10 keystrokes
<patient> *glasses off*
<oscardelben> lol
<patient> MOTHER OF REPLIES
bfgun has joined #ruby
kevinbond has quit [Client Quit]