lenodroid has quit [Read error: Connection reset by peer]
lenodroid has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
babykosh has quit [Quit: babykosh]
snorkdude has joined #ruby
byennen_ has quit [Remote host closed the connection]
byennen has joined #ruby
jeffreybaird has joined #ruby
byennen has quit [Read error: Connection reset by peer]
byennen has joined #ruby
acoyfellow has quit [Ping timeout: 260 seconds]
tbrock has joined #ruby
jeffreybaird has quit [Client Quit]
piotr has quit [Ping timeout: 256 seconds]
caleb_io has quit [Quit: caleb_io]
byennen has quit [Ping timeout: 252 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
lampe2 has joined #ruby
machty has quit [Quit: machty]
jrunning_ has joined #ruby
lolcathost has joined #ruby
AxonetBE has joined #ruby
nhnate has quit [Remote host closed the connection]
seanstickle has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
tenmilestereo has quit [Quit: Leaving]
jhunter has quit [Ping timeout: 264 seconds]
jhunter has joined #ruby
Virunga has quit [Remote host closed the connection]
ttt_ has joined #ruby
deepgray has joined #ruby
<deepgray>
hi guys
love_color_text has joined #ruby
awarner has quit [Remote host closed the connection]
lenodroid has quit [Remote host closed the connection]
ttt_ has quit [Ping timeout: 245 seconds]
freeayu has quit [Remote host closed the connection]
keyvan has joined #ruby
keyvan has joined #ruby
keyvan has quit [Changing host]
jsilver_ has joined #ruby
snorkdude has quit [Quit: snorkdude]
love_color_text has quit [Ping timeout: 255 seconds]
eka has quit [Remote host closed the connection]
phelps has joined #ruby
whowantstolivef0 has quit [Quit: quit]
jsilver has quit [Ping timeout: 248 seconds]
bluesnow has left #ruby [#ruby]
jellosea has left #ruby [#ruby]
<slash_nick>
hi
thone has joined #ruby
snorkdude has joined #ruby
snorkdude has quit [Client Quit]
byennen has joined #ruby
snorkdude has joined #ruby
thone_ has quit [Ping timeout: 256 seconds]
icole has quit [Remote host closed the connection]
statarb3 has quit [Quit: Leaving]
ltsstar has quit [Quit: ltsstar]
acoyfellow has joined #ruby
headius has joined #ruby
cableray has quit [Quit: cableray]
Adget has quit [Ping timeout: 252 seconds]
malkomalko has joined #ruby
mneorr has quit [Remote host closed the connection]
byennen has quit [Ping timeout: 256 seconds]
dzhulk has quit [Quit: Leaving.]
mneorr has joined #ruby
nhnate has joined #ruby
nhnate has quit [Remote host closed the connection]
staafl has quit [Ping timeout: 265 seconds]
axl_ has quit [Read error: Connection reset by peer]
Proshot has joined #ruby
axl_ has joined #ruby
rellin has quit [Ping timeout: 260 seconds]
bluesnow has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<bluesnow>
Hi, I'm working through the rails tutorial and at "rails generate controller home index"
<bluesnow>
That added get "home/index" to my routes.rb
<bluesnow>
Can anyone tell me what 'get "home/index"' means?
<bluesnow>
It doesn't look like a URL mapping..
_alejandro has joined #ruby
banisterfiend has joined #ruby
<slash_nick>
thinking about modeling real world mathy stuff... any gem dependencies I should think about using?
bluesnow has left #ruby [#ruby]
<seanstickle>
haskell?
emergion has joined #ruby
joeycarmello has joined #ruby
<slash_nick>
bluesnow: yeah... "get 'home/index'" will infer you want to route a get request 'home/index' to the controller action HomeController#index .... it a
Russell^^ has joined #ruby
Markvilla has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
joeycarmello has quit [Ping timeout: 246 seconds]
Slivka has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
Proshot has quit [Remote host closed the connection]
Proshot has joined #ruby
axl_ has quit [Quit: axl_]
headius has quit [Quit: headius]
AxonetBE has quit [Quit: Leaving.]
samphippen has quit [Quit: Computer has gone to sleep.]
byennen has joined #ruby
hsbt is now known as hsbt_away
byennen has quit [Read error: Connection reset by peer]
deepgray has quit [Read error: Connection reset by peer]
byennen has joined #ruby
snorkdude has quit [Quit: snorkdude]
whitedawg has joined #ruby
volty has joined #ruby
snorkdude has joined #ruby
acoyfellow has quit [Ping timeout: 255 seconds]
<volty>
hi, shorthand for obj.kind_of?(ClassA) || obj.kind_of?(ClassB) .... ?
<volty>
banisterfiend: nice, i forgot that way, i'll wrap that one, thx :)
hsbt_away is now known as hsbt
huoxito has joined #ruby
ISF has joined #ruby
headius has joined #ruby
ttt_ has quit [Ping timeout: 276 seconds]
<volty>
class Object; def any_of?(*a); a.any? { |v| v === self }; end; end; // right?
ryanlecompte has joined #ruby
whitedawg has quit [Quit: Leaving.]
MattHulse has joined #ruby
whitedawg has joined #ruby
whitedawg has quit [Client Quit]
<MattHulse>
I am trying to pass the background color into code that generates an image using RMagick. I set background to the passed in value and then I run the following:
<MattHulse>
It raises an error because background is nil in the block.
codecaster has quit [Quit: Leaving.]
jsilver_ has quit [Quit: Leaving...]
r4um has quit [Ping timeout: 264 seconds]
jsilver has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<MattHulse>
Admittedly I've been away from Ruby for awhile. Is this expected behavior in 1.9.2?
r4um has joined #ruby
jrunning_ has quit [Ping timeout: 248 seconds]
ircmouser has quit [Ping timeout: 260 seconds]
<apeiros_>
MattHulse: you're not showing why background should not be nil
<apeiros_>
therefore - impossible to tell
<MattHulse>
The previous line is background = "black"
<apeiros_>
then no, not expected
rellin has joined #ruby
<volty>
y = 5; class A; attr_accessor :x; end; a = A.new() { self.x = y }; puts a.x # => nil ruby-1.8.7
dpg has left #ruby [#ruby]
nyrb has quit [Remote host closed the connection]
Rym has quit [Quit: Rym]
nyrb has joined #ruby
<apeiros_>
volty: of course
<apeiros_>
the block isn't executed at all
<volty>
ah :) thx
<apeiros_>
add a proper initialize and it'll change.
<volty>
ops, sorry, i forgot, maybe so: the block gets executed with initialize
<apeiros_>
if you just yield, it'll raise
axl_ has quit [Quit: axl_]
<volty>
if initialize, ok, thx
<apeiros_>
you have to instance_eval the block (otherwise self isn't a, but main)
seanstickle has left #ruby [#ruby]
skattyadz has quit [Quit: skattyadz]
banisterfiend has quit [Ping timeout: 250 seconds]
<MattHulse>
Okay, I left out an important detail it seems. background is an instance variable of my class. I assumed the same would happen when simplifying the example.
<apeiros_>
MattHulse: stupid idea to leave out such information
<apeiros_>
an ivar is NOT the same as an lvar.
<MattHulse>
The code I posted works fine. It's this code that doesn't:
<apeiros_>
if you make an example, make sure it does what you think it does. otherwise it's entirely useless.
<apeiros_>
so your @background refers to your new Image instance's @background, and that, of course, is nil.
<MattHulse>
Wow, things have changed since I last worked with Ruby.
<apeiros_>
when have you last worked with ruby?
<apeiros_>
because instance_eval exists for 8y+
<MattHulse>
I'm referring to being insulted in the IRC channel.
<MattHulse>
thanks for the help
MattHulse has left #ruby [#ruby]
<volty>
MattHulse: apeiros_ is precious anyway, don't be too sensible
<apeiros_>
he left
<apeiros_>
and obviously he's not capable between making the difference between insult and telling somebody that he did something stupid
<apeiros_>
gah, minus first "between"
BoomCow has joined #ruby
slainer68 has joined #ruby
<volty>
look, i, like him, leave ruby from time to time, but at least, when i see something strange, i do not use the same names for the variables
byennen has joined #ruby
vasile has quit [Ping timeout: 246 seconds]
<apeiros_>
that's fine. but that's not the same as using different constructs.
<apeiros_>
it's even fine to use different constructs. but before you ask, you verify that the problem still exists.
Banistergalaxy has quit [Ping timeout: 246 seconds]
<volty>
agree
<apeiros_>
not doing so is stupid. there isn't much to argue about that.
<apeiros_>
but doing something stupid ain't the same thing as *being* stupid. and I didn't say that he was stupid.
axl_ has joined #ruby
<cout>
just because something is stupid doesn't mean you have to say that it is :(
<volty>
it depends on the kindness of the stupid too :)
dmiller has quit [Ping timeout: 260 seconds]
* cout
scratches head
<cout>
volty: english isn't your first language, is it?
axl_ has quit [Client Quit]
<volty>
not at all, my dear
<cout>
volty: I know what you are saying but your choice of words tickles :)
<volty>
it depends upon the kindness of the stupid?
<cout>
yes, that
<volty>
tell me that i write in a stupid way, honey :)
<cout>
and "don't be too sensible"
<apeiros_>
cout: I see no value in talking around issues. it doesn't matter in what words you wrap a fact, the fact remains the same.
pyx has joined #ruby
<cout>
apeiros: I didn't say anything about talking around issues
<volty>
:) not at all, i know enough, i'm old enough, smart enough, know what i don't know
<cout>
apeiros: but if you don't want me to talk around the issue, then I'll be blunt
icole has joined #ruby
<volty>
apeiros_: mah, when you see a short man you don't say to him that he's short, do you? :)
<apeiros_>
volty: if he asks me
<cout>
apeiros: your choice of wording was, simply, stupid :(
<apeiros_>
cout: so how'd you have said it?
<volty>
but this pure man didn't ask you if his piece of code was stupid ? :)
<apeiros_>
volty: read the backlog
<volty>
poor
<apeiros_>
I didn't say his code was stupid
<apeiros_>
I said his act of NOT CHECKING that his example exhibited the behavior he asked about, was stupid
<jrajav>
I might tell a short man that he's short if he came into a room full of people and asked why he couldn't reach the top shelf at a grocery store
<cout>
apeiros: I probably would have said "oh, yeah, that's kind of important"
<apeiros_>
cout: see, dressing up words
<apeiros_>
tell me the truth in flowers…
iPhoneMRZ has joined #ruby
<cout>
it's not dressing up anything
<apeiros_>
yes it is
Xeago has quit [Remote host closed the connection]
<apeiros_>
it's stupid not to check your example first.
<cout>
no, it isn't
<apeiros_>
it defeats the purpose of making the example in the first place.
<cout>
you were simply being mean to make yourself feel better
<cout>
that's stupid.
<apeiros_>
cout: you're wrong.
<cout>
I'm not wrong.
<volty>
some people come here to ask when they are tired and desperate
<apeiros_>
very much so.
xcvd`` has quit [Read error: Connection reset by peer]
bluesnow has joined #ruby
<bluesnow>
Hi, I'm new to Rails
<volty>
otherwise they could fix by themselves - if not stupid enough :)
<bluesnow>
Generate scaffold created a posts_path, but I don't see the path when I type rake routes
<bluesnow>
How does posts_path work?
byennen has quit [Ping timeout: 264 seconds]
<cout>
bluesnow: try asking in #rubyonrails
jeffreybaird has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<volty>
it's stupid to ask in a wrong channel :)
_nitti has joined #ruby
ossareh has quit [Ping timeout: 252 seconds]
<volty>
rdoc has problems when encountering :1
<volty>
rdoc has problems when encountering :@1
<volty>
rdoc has problems when encountering :$1
<volty>
sorry
bluesnow has left #ruby [#ruby]
<apeiros_>
volty: you're stretching it :-p
Monie has joined #ruby
twopoint718 has quit [Ping timeout: 244 seconds]
<volty>
it was strech.pop; strech.empty? => true
bigmac has quit [Ping timeout: 265 seconds]
_nitti has quit [Ping timeout: 260 seconds]
dorei has joined #ruby
<shevy>
stretching the pop
phantasm66 has joined #ruby
iPhoneMRZ has quit [Ping timeout: 255 seconds]
jackdanger has joined #ruby
Michae___ has joined #ruby
nyrb has quit [Remote host closed the connection]
nyrb has joined #ruby
nkts has quit []
<apeiros_>
cout: ok, while talking with matthulse, I read the scrollback. and I did indeed not write what I wanted to express.
<apeiros_>
I did write that leaving out the information was stupid. what I wanted to refer to was that not checking an example was stupid.
<apeiros_>
I agree that what I wrote was not good. But I stand by my opinion that a) not fact-checking examples is stupid, and b) it should be pointed out as such.
<shevy>
well he had no patience anyway
<shevy>
he should argue with zenspider on #ruby-lang :>
Michae___ has quit [Remote host closed the connection]
<shevy>
hmmm
araujo has quit [Quit: Leaving]
<volty>
what about "you should fact-check your examples, for the joy of my patience" ? :)
mercwithamouth has joined #ruby
<shevy>
are people reading english letters faster than people who read chinese symbols?
<shevy>
volty hehe. I think if you help people a lot over many weeks, you become impatient with them, and you try to bring them to the point where they are more efficient in demonstrating the problem they have
<volty>
shevy: i don't beleive so, anyway they read with different side of brain
LouisGB has quit [Ping timeout: 260 seconds]
<shevy>
yeah, well they often face a problem and dont understand what happens, so they don't think about being terse, succint, concise. it's like someone having lost the way and needs help to find the way again
<shevy>
RMagick died years ago too :(
<shevy>
like the ruby GUI toolkits ...
<apeiros_>
shevy: maybe you should go jruby - swing is afaik live and kicking…
<apeiros_>
but from what I hear from manveru, so is Tk
<shevy>
hmmm
<volty>
true, they have to exercise and develop the right connections from the one to the other side of the brain :)
bradhe has joined #ruby
<shevy>
I could bite the bullet and learn java ... it's either java or C .....
<volty>
what was rmagick about ?
<shevy>
it was a wrapper over ImageMagick
niklasb has quit [Read error: No route to host]
mahmoudimus has joined #ruby
byennen has joined #ruby
charliesome has joined #ruby
<apeiros_>
shevy: hm? just use ruby on jruby. no java involved.
<apeiros_>
you can use the java classes without a line of java afaik
<shevy>
hehe
<shevy>
hmm I even have java installed ...
<shevy>
java version "1.7.0_07"
<shevy>
well, I will give swing a try
<shevy>
can't be worse than tk ...
<volty>
unless a lot of calling, i prefer to build commands and call with system
Proshot has quit [Quit: Leaving]
ttt_ has joined #ruby
<shevy>
you mean system('bla')?
emsilva has quit [Quit: Computer has gone to sleep.]
<shevy>
for GUIs?
<shevy>
I think I have a few thousand commandline .rb scripts by now
<volty>
yes, for gui's too
<shevy>
would be nice to arrange them all into GUIs / Gui-like components
<shevy>
hmmm
freeayu has joined #ruby
<shevy>
how do you do that volty?
jackdanger has quit [Quit: Leaving.]
<volty>
building the command string, translating the variables and queuing into the string
bigmac has joined #ruby
dmiller has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
<volty>
possibly putting the output on /dev/shm (or equiv on windows) for faster writing & reading back
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
<shevy>
hmmmmm interesting
mrsolo has joined #ruby
<shevy>
volty you dont happen to have some simple example for that that could work?
<shevy>
or know where I could look that up
ttt_ has quit [Ping timeout: 245 seconds]
jackdanger has joined #ruby
<volty>
one of the next days i hope, big mess here
eka has joined #ruby
<shevy>
ok cool
<volty>
shevy: anyway, a wrapper arround imagemagick cannot be that different from the cli options
<volty>
(i mean you have to learn it anyway)
jrajav has quit [Quit: I tend to be neutral about apples]
eka has quit [Ping timeout: 248 seconds]
Monie has quit [Quit: Quit]
jackdanger has quit [Quit: Leaving.]
jeffreybaird has quit [Quit: jeffreybaird]
GoGoGarrett has joined #ruby
Michae___ has joined #ruby
otters has quit [Ping timeout: 246 seconds]
pu22l3r has joined #ruby
freeayu has quit [Remote host closed the connection]
jeffreybaird has joined #ruby
jackdanger has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 246 seconds]
InFlames has quit [Read error: Connection reset by peer]
igro has joined #ruby
otters has joined #ruby
<apeiros_>
it's so annoying that you have to remember passing -1 as second arg to split…
Spaceboy1 has joined #ruby
sailias has joined #ruby
ISF has quit [Ping timeout: 255 seconds]
<volty>
def full_split ˙
Spaceboy has quit [Ping timeout: 276 seconds]
xkx has quit [Quit: WeeChat 0.3.7]
lolcathost has quit [Ping timeout: 256 seconds]
havenn has joined #ruby
sailias has quit [Quit: Leaving.]
havenn has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 255 seconds]
LouisGB has joined #ruby
dorei has quit [Read error: Connection reset by peer]
<jsilver>
what is the best way to convert ruby into C so it can be run for long periods of time, with stable memory management and no zombies
<jsilver>
there's an easy crossplatform client and a macruby client "gem install globalchat" .. thats gui... for console you can just use client_console.rb in master
<swarley>
As I reach a point of desperation, I have to ask here for some opinions on the way I'm doing this https://raw.github.com/gist/4186786/c1b08668fe68886941b187b31665de9e8e51b2af/gistfile1.rb . Thoughts on how it could be done a little more elegantly? It's in raw because it's just one big YARD comment. But I'm trying to make this API better and I need some opinions
ttt_ has quit [Ping timeout: 276 seconds]
kuzushi has quit [Remote host closed the connection]
r0bby has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
Bosox20051 has joined #ruby
c0rn has joined #ruby
Russell^^ has quit [Quit: Russell^^]
slash_nick has quit [Ping timeout: 265 seconds]
slainer68 has joined #ruby
jackdanger has joined #ruby
ossareh has joined #ruby
mrsolo has quit [Quit: Leaving]
krawchyk has joined #ruby
techhelp has joined #ruby
otters has quit [Ping timeout: 265 seconds]
slainer68 has quit [Ping timeout: 245 seconds]
malkomalko has quit [Ping timeout: 264 seconds]
Kruppe has quit [Remote host closed the connection]
lenovodroid has joined #ruby
Michae___ has quit [Remote host closed the connection]
lolcathost has joined #ruby
dmiller has quit [Remote host closed the connection]
sorbo_ has quit [Quit: sorbo_]
igro has quit [Quit: Computer has gone to sleep.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cosjef has joined #ruby
cosjef has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
jekotia has quit [Ping timeout: 246 seconds]
prox|a is now known as virtualentity
ranjan is now known as Guest49392
mercwithamouth has joined #ruby
xsbeats_ has quit [Ping timeout: 248 seconds]
BoomCow has quit [Quit: This computer has gone to sleep]
jekotia has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
slash_nick has joined #ruby
h4mz1d has quit [Ping timeout: 260 seconds]
BoomCow has joined #ruby
postmodern has joined #ruby
_nitti has joined #ruby
skaczor has joined #ruby
jackdanger has quit [Quit: Leaving.]
L1 has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
kiwnix has quit [Quit: Saliendo]
jackdanger has joined #ruby
jackdanger has quit [Client Quit]
replore_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
jlwestsr has joined #ruby
tbrock has joined #ruby
mahmoudimus has joined #ruby
jarred_ has quit [Quit: jarred_]
cj3kim has joined #ruby
replore_ has quit [Remote host closed the connection]
sorbo_ has joined #ruby
Drekonus has joined #ruby
icole has quit [Remote host closed the connection]
Elico has joined #ruby
ossareh has quit [Ping timeout: 260 seconds]
krawchyk has quit [Remote host closed the connection]
Drekonus has quit [Remote host closed the connection]
sorbo_ has quit [Client Quit]
ttt has joined #ruby
ttt has quit [Ping timeout: 276 seconds]
skaczor has quit [Ping timeout: 256 seconds]
dmiller has joined #ruby
otters has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
nari has joined #ruby
Chryson has joined #ruby
phanousit has joined #ruby
phanousit is now known as siameseguy
radic has joined #ruby
wargasm has joined #ruby
ebobby has quit [Quit: Lost terminal]
radic_ has quit [Ping timeout: 252 seconds]
dmiller has quit [Remote host closed the connection]
cj3kim has joined #ruby
r0bby is now known as robbyoconnor
slainer68 has joined #ruby
Takehiro has quit [Remote host closed the connection]
zaki has quit [Read error: Operation timed out]
jeffreybaird has quit [Quit: jeffreybaird]
_alejandro has quit [Remote host closed the connection]
xsbeats has joined #ruby
c0rn has quit []
daniel_hinojosa has joined #ruby
SCommette has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
michu has joined #ruby
<michu>
hi what's a good book for a complete beginner with no programming experience ?
tbrock has quit [Quit: Computer has gone to sleep.]
lushious has quit [Ping timeout: 252 seconds]
<ozzloy>
SICP
icole has joined #ruby
<charliesome>
ozzloy: sicp is a pretty heavy text even for experienced programmers
<ozzloy>
it actually assumes no programming experience
dmiller has joined #ruby
lenovodroid has quit [Ping timeout: 265 seconds]
dmiller has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
dmiller has joined #ruby
dmiller has quit [Remote host closed the connection]
<ozzloy>
michu, why's poignant guide is good. pretty sure it'd be ok for someone without programming experience, but i haven't seen it
<ozzloy>
er... haven't seen someone with no programming experience read through it
lushious has joined #ruby
dmiller has joined #ruby
zaki has joined #ruby
<jsilver>
never recommend why's poignant guide
dmiller has quit [Read error: Connection reset by peer]
<jsilver>
waste of time
ner0x has joined #ruby
<jsilver>
don't bother
x82_nicole has joined #ruby
<charliesome>
has anyone actually read through all of the poignant guide
dmiller has joined #ruby
<ozzloy>
me
icole has quit [Remote host closed the connection]
<charliesome>
ozzloy: you're one of the rare few
<tos9>
I got about 5 lines in before the terrible sense of humor sent me packing.
<ozzloy>
i'm surprised at that response. i found it fun to read and informative
rtd has joined #ruby
<jsilver>
really
<jsilver>
i hate the drawings
<jsilver>
:)
SCommette has quit [Quit: SCommette]
<jsilver>
couldnt stand it
<charliesome>
i liked the drawings and all that, i just hated how much fluff there was
<charliesome>
it could be about a quarter of the size and still have as much relevant content
<tos9>
Yeah. That too. I kept skipping forward hoping to finally get to something useful.
<ozzloy>
how did you feel about dwemthy's array?
dmiller has quit [Ping timeout: 244 seconds]
c0rn has quit [Ping timeout: 260 seconds]
<ozzloy>
michu, do you already have ruby installed?
<michu>
ozzloy: yes
<michu>
came with slackware :-)
<ozzloy>
cool, first hurdle cleared
<ozzloy>
you're actually over what could have been a huge time-sink
<michu>
hehe
<ozzloy>
slackware, eh?
<ozzloy>
i think about trying that every once in a while. maybe in a vm.
<michu>
yup can't leave it :P
<ozzloy>
what made you choose slackware?
<michu>
yup it's good stuff , all the dev tools you need come with the dvd iso
<michu>
that's why i mainly use it
<michu>
well not all you need but i mean the basic stuff
LouisGB has quit [Ping timeout: 264 seconds]
thistle_ has joined #ruby
<ozzloy>
well if why's poignant guide isn't your style, maybe this: http://pine.fm/LearnToProgram/?Chapter=01 i haven't read it, but it seems to address the issues mentioned by jsilver and charliesome
<charliesome>
michu: ruby -v
<michu>
ozzloy: ah okay thanks
<charliesome>
if you're on 1.8, you need to get a newer ruby
techhelp has quit [Quit: This computer has gone to sleep]
mneorr has quit [Remote host closed the connection]
<jsilver>
what issues?
<michu>
charliesome: Ruby 1.9.3-p194
<michu>
:-)
<charliesome>
oh cool
<ozzloy>
the bad drawings and fluffy-not-ruby-related text
mneorr has joined #ruby
<ozzloy>
jsilver, ^
lampe2 has quit [Ping timeout: 265 seconds]
c0rn has joined #ruby
<charliesome>
that's the first distro besides arch i've seen come with a ruby that's even slightly up to date
<jsilver>
ozzloy: agreed
<michu>
charliesome: oh nice :p
<ozzloy>
michu, "all the dev tools" makes me suspect you're coming to slackware from some version of ms windows. is this the case?
lenovodroid has joined #ruby
<michu>
ozzloy: no sorry what i meant to say is that it comes with git mercurial , programming languages , compilers etc.. on the dvd iso , really like that because i don't have internet all the time :/
sailias has quit [Quit: Leaving.]
n1x has joined #ruby
<ozzloy>
if so, you might try any other distribution, like ubuntu. compared to ms windows, they all come with "all the dev tools", or have them easily available through a package manager (like an app store)
<ozzloy>
man, i'm getting tons of lag
<ozzloy>
michu, oh, i see
rjj has joined #ruby
Takehiro has joined #ruby
<michu>
ozzloy: you see i really can't install ubuntu and install stuff later because i don't have a working internet connection , but with slackware a lot of stuff is already in the iso
<ozzloy>
yeah, that makes sense
rjj has left #ruby [#ruby]
<ozzloy>
i take internet for granted.
<michu>
man hopefully i'll get my own internet connection some day *sigh*
<michu>
ozzloy: haha yeah man just get disconnected for months and you'll wish you valued your "internet" time more :p
<ozzloy>
best of fortune to you!
dzhulk has joined #ruby
<michu>
thanks !
jekotia has quit [Quit: sleep/runaway]
<michu>
grrr tons of lag here
<ozzloy>
yeah, i'm appreciating it right now. thanks for giving me contrast
<michu>
:-)
nhnate has joined #ruby
mneorr has quit [Ping timeout: 255 seconds]
roadt_ has joined #ruby
wereHamster has quit [Remote host closed the connection]
wereHamster has joined #ruby
wereHamster has quit [Changing host]
wereHamster has joined #ruby
<foucist>
michu: what sort of internet do you have?
<ozzloy>
so you're not new to unix-y OSes
<michu>
foucist: right now ? none but i'm at a family member's house we have at&t u-verse
rohit has joined #ruby
<michu>
ozzloy: nope!
<michu>
just programming
<michu>
really want to get into web dev to earn some money
arya has joined #ruby
<ozzloy>
rails is a good way to do that
<foucist>
michu: web dev wise, javascript is the bomb.. and ruby on rails too
<ozzloy>
so ruby is good
Takehiro has quit [Ping timeout: 265 seconds]
ananthakumaran has joined #ruby
<michu>
foucist: yeah awesome stuff !
<michu>
ozzloy: awesome
<ozzloy>
rails-for-zombies comes to mind. i started it. it seemed pretty gentle.
aharris6 has joined #ruby
snorkdude has joined #ruby
ttt has joined #ruby
<ozzloy>
oh
<michu>
ozzloy: is it free ?
ewag has joined #ruby
<ozzloy>
that's totally on the internets though. yeah. or it was free when i did it
<michu>
it's some sort of video tutorials right ?
<ozzloy>
yeah
<michu>
grrrrr yeah that will be a problem lol
ctwiz has joined #ruby
<foucist>
michu: just dl lots of books and videos all at once onto a usb stick or external drive perhaps?
<michu>
foucist: yeah that's what i can do for now
<michu>
ozzloy: oh nice thanks i'll do that , btw omg i can download the rails for zombies videos and slides from their site !
<ozzloy>
oh you can? awesome
jrunning_ has joined #ruby
tomsthumb has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
n1x has quit [Quit: Ex-Chat]
postmodern has quit [Quit: Leaving]
<foucist>
michu: pm
arya has quit [Ping timeout: 244 seconds]
xsbeats has quit [Ping timeout: 252 seconds]
arya has joined #ruby
jonahR has joined #ruby
jrunning_ has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
rellin has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
michu has quit [Quit: Page closed]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
jrunning_ has joined #ruby
cardoni has joined #ruby
rtd has quit [Quit: rtd]
mahmoudimus has quit [Remote host closed the connection]
fyolnish has quit [Remote host closed the connection]
icole has joined #ruby
headius has quit [Quit: headius]
icole has quit [Read error: Connection reset by peer]
Takehiro has quit [Ping timeout: 265 seconds]
jeffreybaird has joined #ruby
icole has joined #ruby
jeffreybaird has quit [Client Quit]
centipedefarmer has quit [Remote host closed the connection]
jlwestsr has quit [Quit: Ex-Chat]
coj has joined #ruby
mahmoudimus has joined #ruby
byennen has quit [Remote host closed the connection]
rohit has quit [Quit: Leaving]
Slivka has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
postmodern has joined #ruby
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
greg- has joined #ruby
swex_ has joined #ruby
Vert has joined #ruby
swex has quit [Ping timeout: 246 seconds]
cardoni has quit [Ping timeout: 265 seconds]
<coj>
for rails, can someone point me to a way to delay a job by a specific time and modify the delay as needed? so i can update the db only when the user hasn't made any change for 5min, for example.
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
tommyvyo has quit [Quit: Computer has gone to sleep.]
<heftig>
siameseguy: eww, spaghetti code, and recursive at that
fyolnish has joined #ruby
<heftig>
iamjarvo_: basically, taking one value from the sequence runs the code until the y << a (which outputs one value). then it's paused there until the next value is requested
<iamjarvo_>
heftig o ok. i will have to play with it to understand. its way faster though
nyrb has joined #ruby
ttt has quit [Ping timeout: 276 seconds]
Zta has quit [Ping timeout: 255 seconds]
caleb_io has quit [Quit: caleb_io]
Takehiro has quit [Read error: Connection reset by peer]
<heftig>
iamjarvo_: the calls of fib(x) explode as n increases, you're not reusing already-calculated values at all, and you're doing a whole new recursion for each step of the loop
pcarrier has joined #ruby
<iamjarvo_>
heftig yea
<iamjarvo_>
thank you
capaterra has joined #ruby
fyolnish has quit [Ping timeout: 256 seconds]
centipedefarmer has quit [Remote host closed the connection]
siameseguy has quit [Quit: siameseguy]
generalissimo has joined #ruby
nari has quit [Ping timeout: 265 seconds]
generalissimo has quit [Read error: Connection reset by peer]
daniel_hinojosa has quit [Quit: Leaving.]
ikaros has joined #ruby
arya has quit [Ping timeout: 244 seconds]
generalissimo has joined #ruby
h4mz1d has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
c0rn has quit []
arya has joined #ruby
baphled has quit [Read error: Connection reset by peer]
aharris6 has quit [Remote host closed the connection]
haxrbyte has joined #ruby
macabre has quit [Remote host closed the connection]
Elico has quit [Remote host closed the connection]
keyvan has quit [Remote host closed the connection]
sepp2k1 has quit [Remote host closed the connection]
bapa has quit [Read error: Connection reset by peer]
bapa has joined #ruby
bigmac has quit [Ping timeout: 256 seconds]
postmodern has quit [Ping timeout: 260 seconds]
jaygen has joined #ruby
pcarrier has quit []
love_color_text has joined #ruby
Elico has joined #ruby
dukedave has quit [Quit: Leaving.]
Bosox20051 has quit [Quit: Leaving]
_nitti has joined #ruby
iamjarvo_ has quit [Quit: Computer has gone to sleep.]
x82_nicole has joined #ruby
fir_ed has quit [Ping timeout: 256 seconds]
Elico has quit [Remote host closed the connection]
_nitti has quit [Ping timeout: 260 seconds]
ryanlecompte has quit [Read error: No route to host]
dmiller has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
mercwithamouth has joined #ruby
stylus_ has quit [Remote host closed the connection]
stylus_ has joined #ruby
bigmac has joined #ruby
guille has joined #ruby
arya has quit [Ping timeout: 244 seconds]
lolcathost has quit [Quit: lag]
postmodern has joined #ruby
lolcathost has joined #ruby
ikaros has quit [Quit: Ex-Chat]
horrror has joined #ruby
<horrror>
guys - how effective does those shazam-like apps that you can humm and it identifies your song?
fyolnish has joined #ruby
haxrbyte has quit [Ping timeout: 244 seconds]
<foucist>
horrror: so effective does they
<horrror>
huh?
arya has joined #ruby
ttt has joined #ruby
<heftig>
horrror: Has anypony really been far even as decided to use even go want to do look more like?
<horrror>
i know that = is for setting and == for comparing
<andrewhl>
== is equality
eldariof has joined #ruby
<andrewhl>
=~ is comparison
<Hanmac>
horrror than you know why "==" and not "="
jrunning_ has quit [Ping timeout: 264 seconds]
<andrewhl>
horrror: .any? evaluates the block to true or false; so it needs to be a logical operation and not an assignment
<Hanmac>
andrewhl: =~ is for regexmatching (i dont know of comparison is the right word for that)
<andrewhl>
Hanmac: sorry, was trying to fuzzy match his semantics:) I know
<andrewhl>
Hanmac: but regex is closer to a comparison than strict equality... I guess
<Hanmac>
<=> is needed for Comparison
<Hanmac>
=== is also interesing (i dont have the right word for that)
x82_nicole has quit [Quit: Computer has gone to sleep.]
<horrror>
andrewhl: comparing is an action which results in either equally or not
<andrewhl>
Hanmac: I believe the word is identity
<horrror>
correct
<Hanmac>
no
<Hanmac>
=== is used for that: Array === [] #=> true
<Hanmac>
(1..10) === 5 #=> true
rakunHo has joined #ruby
Vert has quit [Read error: Connection reset by peer]
jrunning has quit [Ping timeout: 265 seconds]
<heftig>
Hanmac: case equality
Vert has joined #ruby
slainer68 has joined #ruby
<Hanmac>
yeah i want to show them that "identity" is not the right word ... we are not #php :P
<heftig>
Hanmac: er, or more correctly, "case subsumption"
slainer68 has quit [Ping timeout: 264 seconds]
generalissimo has quit [Remote host closed the connection]
arya has quit [Ping timeout: 244 seconds]
Proshot has joined #ruby
arya has joined #ruby
slash_nick has quit [Ping timeout: 244 seconds]
aquagrunty has joined #ruby
aquagrunty is now known as nil
nil is now known as aquagrunty
jlogsdon has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
werdnativ has joined #ruby
danneu has quit [Ping timeout: 245 seconds]
<werdnativ>
I have an occurrence object that wraps a @start_time and delegates to it.
<werdnativ>
I'd like to be able to do: Time.now - Occurrence.new(Time.now - 60) # should == 60
postmodern has quit [Ping timeout: 264 seconds]
coj has quit []
ner0x has quit [Remote host closed the connection]
<werdnativ>
I can make it work the other way when my occurrence is on the left… is it possible?
jwang has joined #ruby
nomenkun_ has joined #ruby
nomenkun has quit [Ping timeout: 246 seconds]
<werdnativ>
Looking at the method source here: http://www.ruby-doc.org/core-1.9.3/Time.html#method-i-2D it looks like the receiver doesn't coerce the argument… I'm guessing I can't write a to_time method or anything to make it work.
horrror has quit [Quit: horrror]
jlogsdon has quit [Remote host closed the connection]
Neomex has joined #ruby
LBRapid has joined #ruby
LBRapid is now known as Guest97770
Guest97770 has quit [Client Quit]
arya has quit [Ping timeout: 244 seconds]
LBRapid_ has joined #ruby
arya has joined #ruby
rippa has quit [Ping timeout: 255 seconds]
<werdnativ>
Just tried redefining the minus method on Time, but it says it has no superclass method when I call super in it.
<Hanmac>
werdnativ you need to use alias
<Hanmac>
bzw alias_method
<charliesome>
werdnativ: if you redefine a method, calling super won't call the original method, it'll look in ancestors
<charliesome>
Hanmac: i like to avoid fucking with aliases. if performance isn't an absolute priority, imo it's best to keep a reference to the original Method
<werdnativ>
oh, right… thanks. or include it via module or something.
katherinem13_out is now known as katherinem13_bed
postmodern has joined #ruby
<charliesome>
werdnativ: also, it doesn't call to_time or anything, but time_add() does call to_int or to_r
oGMinor has joined #ruby
<werdnativ>
so that means there's no sane built-in way for Time to diff a non-Time object?
rellin has quit [Ping timeout: 264 seconds]
<charliesome>
it doesn't look like it
LBRapid_ has quit [Read error: Connection reset by peer]
s1n4 has joined #ruby
araujo has joined #ruby
Neomex has quit [Quit: Neomex]
postmodern has quit [Ping timeout: 248 seconds]
h4mz1d has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
LBRapid_ has joined #ruby
u89 has quit [Remote host closed the connection]
LBRapid_ has quit [Read error: Connection reset by peer]
Beoran_ has joined #ruby
icole has quit [Remote host closed the connection]
LBRapid_ has joined #ruby
Beoran__ has quit [Ping timeout: 246 seconds]
elkclone has joined #ruby
LBRapid_ has quit [Read error: Connection reset by peer]
aetcore has joined #ruby
lolcathost has quit [Ping timeout: 255 seconds]
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
ToTo has joined #ruby
jaygen has quit [Remote host closed the connection]
postmodern has joined #ruby
LBRapid_ has joined #ruby
jaygen has joined #ruby
andrewhl has quit [Remote host closed the connection]
LBRapid_ has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
lolcathost has joined #ruby
jrunning has joined #ruby
ananthakumaran1 has joined #ruby
Guest30882 has joined #ruby
hamed_r has joined #ruby
chaosis has joined #ruby
LBRapid_ has joined #ruby
love_color_text has quit [Remote host closed the connection]
arya has quit [Ping timeout: 244 seconds]
ananthakumaran has quit [Ping timeout: 265 seconds]
postmodern has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
jrunning has quit [Ping timeout: 265 seconds]
cableray has joined #ruby
LBRapid_ has quit [Read error: Connection reset by peer]
arya has joined #ruby
stylus_ is now known as rising_
rising_ has quit [Remote host closed the connection]
h4mz1d has joined #ruby
dzhulk has joined #ruby
<cj3kim>
hello
LBRapid has joined #ruby
nari has joined #ruby
browndawg has joined #ruby
Chryson has quit [Quit: Leaving]
lenovodroid has joined #ruby
jenrzzz has joined #ruby
love_color_text has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
love_color_text has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
cardoni has joined #ruby
bradhe has joined #ruby
arietis has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
icole has joined #ruby
browndawg has left #ruby [#ruby]
browndawg has joined #ruby
greg- has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 265 seconds]
apeiros_ has joined #ruby
fyolnish has joined #ruby
LBRapid has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
emsilva has joined #ruby
Proshot has quit [Quit: Leaving]
h4mz1d has quit [Ping timeout: 260 seconds]
Takehiro has joined #ruby
icole has quit [Ping timeout: 245 seconds]
pcarrier has quit []
havenn has joined #ruby
ToTo has quit [Quit: Leaving...]
hola123 has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
<Gate>
hi
browndawg has quit [Ping timeout: 244 seconds]
MissionCritical has quit [Ping timeout: 256 seconds]
_alejandro has joined #ruby
LBRapid has joined #ruby
hola123 is now known as g33k
rohit has joined #ruby
SPYGAME has joined #ruby
ttt has joined #ruby
ttt has quit [Ping timeout: 245 seconds]
arya has quit [Ping timeout: 244 seconds]
emergion has joined #ruby
Mon_Ouie has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
pcarrier has joined #ruby
arya has joined #ruby
emergion has quit [Ping timeout: 244 seconds]
LBRapid has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
LBRapid has quit [Read error: Connection reset by peer]
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
havenn has quit [Read error: Connection reset by peer]
MissionCritical has joined #ruby
Tombar has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 255 seconds]
Tombar has joined #ruby
LBRapid has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
samphippen has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
jackbrownhf has quit [Read error: Connection reset by peer]
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
adambeynon has joined #ruby
g33k has quit [Quit: Leaving]
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
LBRapid has quit [Read error: Connection reset by peer]
benoitdo_ has joined #ruby
benoitdo_ has left #ruby [#ruby]
L1 has quit [Quit: Quitter]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
LBRapid has joined #ruby
banisterfiend has joined #ruby
answer_42 has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
SPYGAME has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
catepillar has quit [Quit: I'm a little teapot short and stout...here is my handle here is my note from my shrink.... she says i'm getting better all the time....last week i thought i was a toaster oven]
LBRapid has joined #ruby
skattyadz has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
pcarrier has quit []
skattyadz has quit [Read error: Connection reset by peer]
skattyadz has joined #ruby
bradhe has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
pyx has quit [Quit: WeeChat 0.3.9.2]
skattyadz has quit [Ping timeout: 256 seconds]
icole has joined #ruby
staafl has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
LBRapid has joined #ruby
<aquagrunty>
does anyone have a good doc source?
<aquagrunty>
for ruby
robustus has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
Synthead has quit [Quit: p33 ba115]
LBRapid has quit [Read error: Connection reset by peer]
LBRapid has quit [Read error: Connection reset by peer]
Elico has quit [Ping timeout: 264 seconds]
Elico1 has quit [Client Quit]
Elico has joined #ruby
ttt has quit [Ping timeout: 245 seconds]
rohit has quit [Quit: Leaving]
s1n4 has quit [Quit: Lost terminal]
Elico1 has joined #ruby
LBRapid has joined #ruby
tk__ has joined #ruby
Elico has quit [Ping timeout: 244 seconds]
piccalingo has joined #ruby
segv- has joined #ruby
kil0byte has joined #ruby
piotr has joined #ruby
piccalingo has quit [Remote host closed the connection]
Tearan has quit [Quit: Sleepy Badger....]
LBRapid has quit [Read error: Connection reset by peer]
jimeh has quit [Quit: Computer has gone to sleep.]
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Elico1 has quit [Ping timeout: 248 seconds]
LBRapid has joined #ruby
thomas is now known as Guest84088
chaplain is now known as thomas
buscon has joined #ruby
slainer68 has joined #ruby
SPYGAME has quit [Read error: Connection reset by peer]
ebouchut_ has joined #ruby
fyolnish has quit [Remote host closed the connection]
fyolnish has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
ebouchut_ has quit [Client Quit]
Guest84088 has quit [Quit: gibberish.]
LBRapid has quit [Read error: Connection reset by peer]
emergion has joined #ruby
jsilver has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 256 seconds]
buscon_ has joined #ruby
LBRapid has joined #ruby
ebouchut_ has joined #ruby
buscon has quit [Ping timeout: 252 seconds]
buscon_ is now known as buscon
nemesit has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
LBRapid has joined #ruby
mindbender1 has joined #ruby
toto_ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
SPYGAME has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
lampe2 has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
arya has joined #ruby
ebouchut_ has quit [Quit: This computer has gone to sleep]
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
postmodern has joined #ruby
cousine has joined #ruby
wchun has quit [Quit: Leaving]
icole has joined #ruby
Takehiro has joined #ruby
igro has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
Tombar has quit [Remote host closed the connection]
LBRapid has joined #ruby
Tombar has joined #ruby
icole has quit [Ping timeout: 265 seconds]
hamed_r has quit [Ping timeout: 255 seconds]
ltsstar has joined #ruby
wchun has joined #ruby
answer_42 has joined #ruby
igro has quit [Quit: Computer has gone to sleep.]
acoyfellow has joined #ruby
brendan_ has quit [Read error: Operation timed out]
LBRapid has quit [Read error: Connection reset by peer]
jackbrownhf has quit [Ping timeout: 264 seconds]
<buscon>
is there a command line tool in ruby?
<shevy>
buscon you must define what is a command line tool
<shevy>
because the answer to your question, by default, is yes
<buscon>
an interactive command line
<buscon>
like in python
<shevy>
ah
<buscon>
eheh
<shevy>
yes, "irb"
<Mon_Ouie>
See also pry
<buscon>
ok, thx
slainer68 has joined #ruby
LBRapid has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.3.9.2]
emergion has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
emergion has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
aetcore has quit [Remote host closed the connection]
werdnativ has quit [Quit: werdnativ]
LBRapid has joined #ruby
browndawg has joined #ruby
lolcathost has quit [Ping timeout: 244 seconds]
lolcathost has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
wallerdev has quit [Quit: wallerdev]
LBRapid has quit [Read error: Connection reset by peer]
u89 has joined #ruby
<mindbender1>
what's the best way to upgrade rubygems on debian
kirun has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
lolcathost has quit [Ping timeout: 256 seconds]
LBRapid has joined #ruby
piccalingo has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
acoyfellow has quit [Ping timeout: 255 seconds]
malkomalko has joined #ruby
lolcathost has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
banisterfiend has quit [Ping timeout: 260 seconds]
lkba has joined #ruby
SPYGAME has quit [Read error: Connection reset by peer]
bier_ has quit [Ping timeout: 248 seconds]
bier has quit [Ping timeout: 264 seconds]
skattyadz has joined #ruby
Michae___ has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
piccalingo has quit [Remote host closed the connection]
<apeiros_>
mindbender1: I'd say by not using apt* and then simply `gem update --system`
Michae___ has quit [Remote host closed the connection]
LBRapid has joined #ruby
<mindbender1>
apeiros_: I got this when I treid that initially
<mindbender1>
ERROR: While executing gem ... (RuntimeError)
<mindbender1>
gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories.
<mindbender1>
If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian.
<apeiros_>
yes, that's because you used apt to install ruby/gems
<mindbender1>
so I uninstall first?
<mindbender1>
apeiros_: so what's the recommended way to install
<mindbender1>
postmodern: how do I deal with this message: Package libreadline5-dev is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or
<mindbender1>
is only available from another source. However the following packages replace it: libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev
Elico has joined #ruby
<postmodern>
mindbender1, oh, use libreadline-gplv2-dev instead
<mindbender1>
ok thanks
<postmodern>
mindbender1, debian has slightly different package names than ubuntu
LBRapid has joined #ruby
<mindbender1>
ok
<shevy>
mindbender1 you always need to decripple those packages
<mindbender1>
decripple?
<shevy>
sure. if you compile from source, you get everything. if you install packages, they split up things into subcomponents
<shevy>
and name their dev- packages differently too
<mindbender1>
shevy: I see what you mean
<shevy>
as far as I know there is no global way to say "give me everything that should be contained whenever I use apt-get etc..."
<mindbender1>
dev habits I guess
<shevy>
yup. they reason that "a server OS never needs .h files by default"
LBRapid has quit [Read error: Connection reset by peer]
ebouchut_ has joined #ruby
baphled has joined #ruby
baphled has quit [Client Quit]
cousine has quit [Remote host closed the connection]
<shevy>
readline has two "main" versions, version 5.2 and 6.2 - latest source is at http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz, in my opinion installing the header files of any readline version works just fine, i.e. it seems on debian the main package is libreadline-dev
rakunHo has quit [Remote host closed the connection]
daniel_- has quit [Ping timeout: 264 seconds]
baphled has joined #ruby
<shevy>
postmodern hmmmm
<mindbender1>
shevy: I think libreadline-gplv2-dev
<postmodern>
last i heard, debian/ubuntu were about to make the switch to ruby 1.9 as the default ruby
<postmodern>
or atleast in their testing branches
<mindbender1>
shevy: thanks
toto_ has quit [Quit: Leaving...]
<shevy>
I think ubuntu did it already
jaygen has quit [Remote host closed the connection]
<shevy>
the last 2 weeks when I tried ubuntu-based distributions, 1.9 was the ruby that came with it
<shevy>
no idea how much "main" ubuntu was lagging behind that
u89 has quit [Remote host closed the connection]
<postmodern>
i kind of like how Fedora was ahead of everyone (again)
<postmodern>
1.9.3 has been the default ruby in Fedora 17
<postmodern>
also gems are automatically installed into ~/.gem for normal users
<postmodern>
or into /usr/local/share/gem/ as root
daniel_- has joined #ruby
<shevy>
yeah
<shevy>
well, the glibc 2.16 causes some compile problems here and there
<shevy>
now I am back on linuxmint again... ldd (Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
banisterfiend has joined #ruby
<shevy>
I am almost happy with it!
Tombar has quit [Remote host closed the connection]
<mindbender1>
shevy: that guy sounds full of pain
<shevy>
mindbender1 hehehe
aetcore has joined #ruby
daniel_- has quit [Ping timeout: 256 seconds]
<mindbender1>
that's Debian for you
<shevy>
mindbender1 I have no pity for distributions. they change things in ruby, people come here asking for help, and then other people have to fix up problems caused by those distributions in the first place
<shevy>
my favourite recent example:
<shevy>
require 'mkmf'
<shevy>
it wasn't available when I tried!!!
<shevy>
they deliberately removed it
<postmodern>
yeah, it's in the ruby-dev package
<shevy>
the mental mode for this is - "You either stay in the distribution ecosystem, or you are on your own."
<postmodern>
or ruby-devel on redhat/fedora
<shevy>
haha
<mindbender1>
shevy: exactly
<shevy>
they all use different names too :)
<postmodern>
shevy, wait they removed it completely?
<mindbender1>
I think it's not a bad idea too
<shevy>
postmodern, nah, I am sure it is available, otherwise one could not compile things natively
<shevy>
and they at least must do so one, in order to provide packages
<shevy>
*once
<mindbender1>
to be top notch with your dependencies
<mindbender1>
you have to stay close
daniel_- has joined #ruby
<mindbender1>
mailing lists, I see maintainers always asking if it's ok to move or remove a package
<shevy>
uhm
<shevy>
mindbender1, they lag behind years ;)
<shevy>
if they would at least provide the most recent version within a day or two...
<postmodern>
i think more people need to help the ruby teams
<shevy>
but that would go against the philosophy of "providing stable programs only"
<postmodern>
or submit more bugs for newer ruby packages
<postmodern>
i mean, OSX still ships 1.8.7
<mindbender1>
postmodern: you're right
<mindbender1>
they are beings too
<shevy>
haha cool
<shevy>
they are even slower than debian :)
<mindbender1>
code takes a great deal of effort to maintain
<shevy>
yeah
acoyfellow has joined #ruby
<shevy>
I'd rather have my code in ruby than in shell scripts though
acoyfellow has quit [Client Quit]
arietis has joined #ruby
kirun has quit [Quit: Client exiting]
<bubu\a>
lol
<bubu\a>
am used to shell scripts and am having to learn ruby at the mo
<bubu\a>
ruby koans is cool
<bubu\a>
for practical, but not very descriptive!
<ninegrid>
a koan seldom is (descriptive)
<bubu\a>
lol
skattyadz has quit [Quit: skattyadz]
<bubu\a>
anyone know any other good resources for anyone who has never done any programming what so ever?
<ninegrid>
yes!
<bubu\a>
do alot of bash scripting, my perl and python suck.
<bubu\a>
now trying to learn ruby :)
<ninegrid>
write as much code as possible, and when you are not, model it in your head
<shevy>
bubu\a I find both ruby and python muuuuuch easier than shell scripting
<shevy>
perl not so much, perl syntax is awful to read, no real improve over shell scripts
<bubu\a>
hopefully once I 'click' with ruby it should be good
<bubu\a>
still not quite there though
<postmodern>
don't get me started on shell comparability...
<shevy>
bubu\a work through this here as fast as possible, with "irb" in your terminal - http://pine.fm/LearnToProgram/?Chapter=01 skip the "homework" however, only read the content and try if you can do the same in irb
<shevy>
I never fancied the poignant guide much :\
<shevy>
it was creative, but confusing
<bubu\a>
shevy, ta, will check it out!!!
<ninegrid>
shevy: i agree with you, it wasn't even fancy and the jokes weren't even funny
<bubu\a>
no but its about my level right now
<bubu\a>
lol
<ninegrid>
bubu\a: do you understand arithmetic?
<bubu\a>
ya - I did maths A-level but its been a while
<bubu\a>
:)
<ninegrid>
well you understand how to add, subtract, multiply, divide?
<shevy>
ninegrid yeah... I do give it that it was creative though, it's nice if there are folks in a community able to be creative. I am absolutely uncreative, and I can't draw at all, not even in photoshop or gimp :<
<ninegrid>
shevy: my wife read poignant guide and liked it... so it has a niche, but I don't think walking away from it you learn anything about programming at all
<bubu\a>
yes ninegrid
<bubu\a>
its more learning ruby syntax at the moment
<banisterfiend>
ninegrid: it's supposed to inspire you to learn more about ruby
<ninegrid>
if someone is new to semantics and syntax, it takes study to learn the balance of both, if someone has programming experience and understands oo semantics, poignant guide is potentially more useful in learning ruby syntax
<shevy>
ninegrid does your wife program?
<banisterfiend>
IMO, and it had that effect on me
arturaz_ has joined #ruby
igro has joined #ruby
LouisGB has joined #ruby
<ninegrid>
shevy: not really
<shevy>
:(
jds_ has joined #ruby
<ninegrid>
yea i know :(
<mindbender1>
postmodern: I don't remember where my old gem install came from is ok to just overwrite it by symlinking to my new gem install
<postmodern>
mindbender1, i would just re-install the gem using the new ruby
byennen has joined #ruby
<postmodern>
mindbender1, any executables will be installed into /usr/local/bin
<mindbender1>
does /usr/local/bin override /usr/bin too
<postmodern>
mindbender1, yep
<postmodern>
mindbender1, echo $PATH
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
<postmodern>
mindbender1, shows the priority of which directory your shell will search for executables
x0F_ is now known as x0F
<mindbender1>
postmodern: yeah thanks
ebouchut_ has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
<bubu\a>
meh 0 i dont even understand block arguments
<bubu\a>
lol
hotovson_ has joined #ruby
<ninegrid>
bubu\a: as i was saying, if you know arithmetic, and if you know about data types... the basics ints, floats, chars... and you know about basic datastructures, strings (in some languages aren't primitives but a special case of array), arrays, lists, maps/hashes/dictionaries, trees... you can take on any language, but then if you know a bit about OO, like the distinction between class and object, properties/accessors, constructors/in
bluOxigen has quit [Ping timeout: 252 seconds]
igro has quit [Quit: Computer has gone to sleep.]
<bubu\a>
I know none of that ninegrid, never programmed anything in my life
<bubu\a>
norm the sys admin / networking / infrastructure guy
<ninegrid>
bubu\a: it is a road map for you then
<bubu\a>
have a new job starting next week for a ruby house
bradhe has joined #ruby
<bubu\a>
who also use chef instead of puppet
<bubu\a>
so thats all ruby
<ninegrid>
bubu\a: sounds exciting will you be programming ruby professionally?
<bubu\a>
big road map ninegrid :)
u89 has joined #ruby
LBRapid has joined #ruby
<bubu\a>
perhaps yes but not until I know what I'm doing!
<ninegrid>
o that is a small roadmap, these concepts aren't something you actually grapple with your entire life ;)
<bubu\a>
dev opsy role once I understand ruby
<bubu\a>
i have a feeling I will
<bubu\a>
not that smart and I can struggle with big bash scripts some times and I class bash scripting as easy as it gets
<ninegrid>
in your sys admin, have you ever had the opportunity to parameterize some code with some other code?
<ninegrid>
like maybe, using awk
jrunning has joined #ruby
<bubu\a>
yeah I guess
<ninegrid>
that is a block
igro has joined #ruby
<bubu\a>
hmm
<ninegrid>
before i came to ruby, i would call it a higher order function
<bubu\a>
ah, think it just clicked
<ninegrid>
or if you know sql, maybe you could think of it like sending a stored procedure a string as a parameter that is used inside the stored procedure as SQL code
<bubu\a>
yeah gotcha ninegrid
daniel_- has quit [Ping timeout: 256 seconds]
<bubu\a>
:D
jlwestsr has joined #ruby
<ninegrid>
but i think the HoF analogy is better, since it is an unnamed function (called a "lambda" in other languages)
bradhe has quit [Ping timeout: 244 seconds]
Elhu has joined #ruby
<bubu\a>
ja
samphippen has quit [Quit: Computer has gone to sleep.]
<bubu\a>
a way of passing different parameters to blocks
kil0byte has quit [Ping timeout: 245 seconds]
<bubu\a>
should get it more once start using them
<ninegrid>
{ |i| doItTo i } == \i doItTo i == (fun i -> doItTo i) ... these are all similar, but ruby gives you more degrees of freedom here since ruby blocks can side effect the world and lambdas cannot
Slivka has joined #ruby
<bubu\a>
okok
<bubu\a>
confusing me now :p
dekroning has joined #ruby
Elhu has quit [Client Quit]
<dekroning>
hi
hotovson_ has quit [Remote host closed the connection]
<ninegrid>
bubu\a: maybe you should read the poignant guide's chapter on blocks
<ninegrid>
the only way to learn about them is with metaphor, and the only way to learn them is through using them on your own
roadt_ has quit [Ping timeout: 245 seconds]
Averna has quit [Quit: Leaving.]
<dekroning>
i'm a bit confused with Bundler, i'm tryint to wrap a C lib in a ruby extension. Now i'm always confused with .gemspec file, when I want to add the gem 'rake-compile' do I need to add it as gem.add_development_dependency or should I add it to the regular Gemfile ?
ToTo has joined #ruby
<postmodern>
dekroning, looks like development dependency
<postmodern>
dekroning, when installed it should run extconf.rb
<postmodern>
dekroning, also checkout FFI, no need for compiling
<dekroning>
postmodern: and it should be in the .gemspec file right? instead of Gemfile
<postmodern>
dekroning, correct
<dekroning>
even though the Gemfile is mentioning you shouldn't add gems directly to it, I still see blogs online who are doing it non the less
<dekroning>
postmodern: ok thanks
petershepley has quit [Quit: Leaving]
k610 has joined #ruby
ikaros has joined #ruby
ebouchut_ has quit [Quit: This computer has gone to sleep]
<mindbender1>
is rinari still good for development with ruby on emacs? or is there a newer dev env
Adget has quit [Quit: Adget]
<mindbender1>
Sorry but I just love my emacs
LBRapid has quit [Read error: Connection reset by peer]
banisterfiend has quit [Remote host closed the connection]
arya_ has joined #ruby
LBRapid has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Retistic has quit [Quit: Retistic]
arya has quit [Ping timeout: 244 seconds]
pu22l3r has joined #ruby
arya_ is now known as arya
Tombar has joined #ruby
Slivka has quit [Ping timeout: 252 seconds]
Proshot has joined #ruby
freeayu has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
samphippen has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
jaygen_ has joined #ruby
Elico has quit [Quit: Elico]
LBRapid has joined #ruby
JohnBat26 has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
jonahR_ has joined #ruby
chaosis has joined #ruby
Bane_ has quit [Ping timeout: 265 seconds]
browndawg has joined #ruby
jonahR has quit [Ping timeout: 245 seconds]
jonahR_ is now known as jonahR
jaygen_ has quit [Read error: Connection reset by peer]
dekroning has quit [Quit: leaving]
LBRapid has joined #ruby
<shevy>
mindbender1 hehe
<mindbender1>
shevy: :)
jaygen has joined #ruby
ewag has quit [Ping timeout: 264 seconds]
rakl has quit [Quit: sleeping]
ToTo has quit [Quit: Leaving...]
Bry8Star has quit [Ping timeout: 276 seconds]
jaygen_ has joined #ruby
jds_ has quit [Remote host closed the connection]
jaygen has quit [Read error: Connection reset by peer]
pu22l3r has quit [Remote host closed the connection]
LBRapid has quit [Read error: Connection reset by peer]
hamed_r has quit [Quit: Leaving]
jonahR has quit [Quit: jonahR]
kirun has joined #ruby
somazero has joined #ruby
cableray has quit [Ping timeout: 245 seconds]
LBRapid has joined #ruby
roadt_ has joined #ruby
jrunning has quit [Ping timeout: 260 seconds]
icole has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
AxonetBE has left #ruby [#ruby]
LBRapid has joined #ruby
icole has quit [Ping timeout: 260 seconds]
brendan_ has joined #ruby
gcds_ has joined #ruby
epitron has quit [Ping timeout: 252 seconds]
gcds has quit [Read error: Operation timed out]
gcds_ is now known as gcds
googya has quit [Quit: Leaving.]
robustus has quit [Ping timeout: 255 seconds]
jds_ has joined #ruby
freeayu has joined #ruby
<bubu\a>
damn stuggling with ruby koans :(
robustus has joined #ruby
Takehiro has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
Takehiro has joined #ruby
<bubu\a>
9/28-
<bubu\a>
280*
<bubu\a>
:/
jrunning has joined #ruby
pen has joined #ruby
niklasb has joined #ruby
kirun has quit [Ping timeout: 256 seconds]
<mindbender1>
how do I recover from a failed rails initialization
<mindbender1>
rails project
chaosis has quit [Ping timeout: 260 seconds]
<yxhuvud>
don't fail in the first place.
<mindbender1>
are we in school
<mindbender1>
we learn by failing in the first place
<mindbender1>
so?
LBRapid has joined #ruby
<mindbender1>
is the only option I have to delete the failed initialization or is there a smarter way to recover
jrunning has quit [Ping timeout: 256 seconds]
<yxhuvud>
start by figuring out why it fails.
<mindbender1>
I have fixed the reasons
<yxhuvud>
so then it works?
<mindbender1>
you don't get my question I guess
aquagrunty has quit [Remote host closed the connection]
<mindbender1>
something like apt-get -f
Banistergalaxy has joined #ruby
<mindbender1>
to continue from failure point because it waas requesting for some missing lib
somazero has quit [Quit: Leaving]
burgestrand has joined #ruby
<yxhuvud>
I'd suggest you install all required libraries.
<mindbender1>
An error occurred while installing i18n (0.6.1), and Bundler cannot continue.
<mindbender1>
Make sure that `gem install i18n -v '0.6.1'` succeeds before bundling.
<mindbender1>
which i have done
<mindbender1>
any idea
<burgestrand>
mindbender1: after creating a new rails project, rails will go into that project and install all the dependencies for you
<burgestrand>
mindbender1: that last step is completely optional; just go into your project and run "bundle install"
<burgestrand>
mindbender1: it’ll do the same thing as rails did
<burgestrand>
mindbender1: this is a command you’ll need to run after adding any kind of library to your project anyway, so it is not out of the ordinary to run this command
<mindbender1>
burgestrand: exactly what I wanted to hear
<burgestrand>
mindbender1: for future rails-specific questions you’re probably better off in #rubyonrails though
<mindbender1>
burgestrand: noted thanks
seanstickle has joined #ruby
<burgestrand>
mindbender1: here’s the website for the "bundle" command: http://gembundler.com/ (it’s not really part of rails, but a library/gem that rails uses)
Slivka has quit [Remote host closed the connection]
<mindbender1>
burgestrand: thanks
jrunning has joined #ruby
byennen has quit [Read error: Connection reset by peer]
artnez has quit [Ping timeout: 276 seconds]
byennen has joined #ruby
kil0byte has joined #ruby
bubu\a has quit [Remote host closed the connection]
<Hanmac>
burgestrand mindbender1 there is #bundler too
bubu\a has joined #ruby
<mindbender1>
Hanmac: perfect thanks
zooz has joined #ruby
<zooz>
hi
<zooz>
what does the following syntax mean: answer ||= []
faulkner has quit [Ping timeout: 246 seconds]
Virunga has joined #ruby
<zooz>
I am not sure about the two pipes before the equal sign
LBRapid has quit [Read error: Connection reset by peer]
wermel has joined #ruby
LBRapid has joined #ruby
pu22l3r has joined #ruby
vasile has joined #ruby
byennen has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
LBRapid has quit [Read error: Connection reset by peer]
freeayu has quit [Remote host closed the connection]
_nitti has joined #ruby
browndawg has quit [Quit: Leaving.]
phantasm66 has quit [Quit: *sleeeeep*]
<Hanmac>
heftig & zooz but it does a bit more magic ... when answer is not defined it does create it
LBRapid has joined #ruby
_nitti has quit [Ping timeout: 260 seconds]
nemesit has quit [Quit: Leaving...]
dweeb has joined #ruby
jds_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
jds_ has joined #ruby
chaosis has joined #ruby
braham has joined #ruby
braham has left #ruby [#ruby]
LBRapid has quit [Read error: Connection reset by peer]
jds_ has quit [Ping timeout: 265 seconds]
machty has joined #ruby
LBRapid has joined #ruby
pu22l3r has quit [Remote host closed the connection]
banisterfiend has joined #ruby
arya_ has joined #ruby
kennyvb has quit [Read error: Operation timed out]
arya has quit [Ping timeout: 244 seconds]
tk__ has quit [Quit: ばいばい]
LBRapid has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
Russell^^ has joined #ruby
aquagrunty has joined #ruby
freakazoid0223 has joined #ruby
kennyvb has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
kidoz has quit [Remote host closed the connection]
jrunning has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
kirun has joined #ruby
<kapowaz>
can anyone recommend good examples of the pattern of user registration that involves use of an activation token? i.e. user registers, gets an email containing a link with a single-use token, user follows that link and is then activated?
robotmay has joined #ruby
gyre007 has joined #ruby
dzhulk has quit [Quit: Leaving.]
LBRapid has joined #ruby
iamjarvo has joined #ruby
generalissimo has joined #ruby
Neomex has joined #ruby
tommyvyo_ has joined #ruby
_axx has quit [Read error: No route to host]
jds_ has joined #ruby
execute has joined #ruby
<heftig>
kapowaz: token could be a hash of some internal data, like username + time of registration + a (fixed) salt
<heftig>
that way you don't need to save the token server-side
slainer68 has quit [Read error: Connection reset by peer]
<kapowaz>
heftig: yeah, that sounds good. I'm just wondering if there are any other crucial details about how to do this ‘right’ — like just emailing that token as part of the link back to the site is enough?
tbrock has joined #ruby
<heftig>
I think so, but I'm no security expert.
<kapowaz>
presumably you'd need to provide both username + token
verbad has joined #ruby
<heftig>
yes.
<kapowaz>
so that you can perform the hash on the username and check if it comes to the same token
<kapowaz>
sounds good
slainer68 has joined #ruby
<heftig>
just don't make it too predictable
<kapowaz>
well it won't matter if there's a private salt too
<kapowaz>
(assuming that stays secret)
<heftig>
Yeah, I just picked time of registration, as that's commonly saved as well
<kapowaz>
also unlikely to be guessable, at least not to any reliable degree of precision.
Goles has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
LBRapid has joined #ruby
<iamjarvo>
heftig whats up
<iamjarvo>
i implemented 'caching' for the fib method and its way faster
arya_ has quit [Ping timeout: 244 seconds]
eka has joined #ruby
Slivka has joined #ruby
arya has joined #ruby
Takehiro has quit [Remote host closed the connection]
pu22l3r has joined #ruby
Takehiro has joined #ruby
bubu\a has quit [Ping timeout: 260 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
bubu\a has joined #ruby
DaZ has quit [Ping timeout: 256 seconds]
LBRapid has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
hotovson has joined #ruby
Goles has quit [Remote host closed the connection]
mikepack has joined #ruby
jrunning has quit [Ping timeout: 260 seconds]
LBRapid has joined #ruby
DaZ has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
DaZ has quit [Client Quit]
DaZ has joined #ruby
lampe2 has joined #ruby
SCommette has joined #ruby
soyapi has joined #ruby
soyapi has quit [Client Quit]
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
samphippen has joined #ruby
yacks has joined #ruby
LBRapid has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
arya has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
Nisstyre-laptop has joined #ruby
yours_truly has joined #ruby
jrunning has joined #ruby
ryanlecompte has joined #ruby
centipedefarmer has joined #ruby
arya has joined #ruby
jds_ has quit [Remote host closed the connection]
GoGoGarrett has quit [Remote host closed the connection]
robotmay has quit [Remote host closed the connection]
execute is now known as _axx
generalissimo has quit [Remote host closed the connection]
JonnieCa1he has quit [Quit: leaving]
ebouchut_ has joined #ruby
lolcathost has quit [Ping timeout: 265 seconds]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
Nykolla has joined #ruby
jackdanger has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
faoiseamh has quit [Ping timeout: 256 seconds]
byennen has joined #ruby
faoiseamh has joined #ruby
h8R has quit [Ping timeout: 244 seconds]
LBRapid has joined #ruby
yshh has joined #ruby
pu22l3r has joined #ruby
lampe21 has joined #ruby
lampe2 has quit [Ping timeout: 265 seconds]
dagnachewa has joined #ruby
dagnachewa has quit [Client Quit]
yewton has joined #ruby
TechZombie has quit [Quit: Leaving.]
mfd0 has quit [Quit: mfd0]
vlad_starkov has joined #ruby
bondar has joined #ruby
gener1c has quit [Remote host closed the connection]
bondar has quit [Excess Flood]
byennen has quit [Remote host closed the connection]
paolooo has joined #ruby
bondar has joined #ruby
bondar has quit [Excess Flood]
bondar has joined #ruby
bondar has quit [Excess Flood]
bondar has joined #ruby
bondar has quit [Excess Flood]
bondar has joined #ruby
bondar has quit [Client Quit]
Rollabunna has quit [Remote host closed the connection]
bondar has joined #ruby
bondar has quit [Excess Flood]
danneu has joined #ruby
slainer68 has joined #ruby
mahmoudimus has joined #ruby
dagnachew has joined #ruby
banister_ has joined #ruby
sepp2k has joined #ruby
<shevy>
hmm
<shevy>
I started to rewrite a project
<shevy>
and now I am again wondering why I did that...
joshman_ has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
ltsstar has joined #ruby
joshman_ has quit [Client Quit]
axl_ has joined #ruby
yewton has quit [Quit: (*´ω`*)]
banister_ has quit [Ping timeout: 256 seconds]
LBRapid has joined #ruby
ephemerian has joined #ruby
paolooo has quit [Quit: Page closed]
yewton has joined #ruby
jlwestsr has quit [Quit: Ex-Chat]
paolooo has joined #ruby
apeiros_ has quit [Remote host closed the connection]
mmercer has quit [Ping timeout: 245 seconds]
LBRapid has quit [Read error: Connection reset by peer]
slainer68 has quit [Ping timeout: 260 seconds]
Goles has joined #ruby
juanlas has joined #ruby
verbad has quit []
dmiller has joined #ruby
someguy has joined #ruby
mercwithamouth has joined #ruby
mmercer has joined #ruby
LBRapid has joined #ruby
Goles has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
hrr has quit [Quit: hrr]
mindbender1 has quit [Ping timeout: 264 seconds]
cj3kim has quit [Ping timeout: 276 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
LBRapid has quit [Read error: Connection reset by peer]
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
awarner has quit [Remote host closed the connection]
jds_ has quit [Remote host closed the connection]
lenodroid has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
lenovodroid has quit [Read error: Connection reset by peer]
yankeefan04 has joined #ruby
Slivka has joined #ruby
yankeefan04 has quit [Remote host closed the connection]
jackdanger has quit [Quit: Leaving.]
alecs has joined #ruby
alecs has left #ruby ["Leaving..."]
tommyvyo_ has joined #ruby
LBRapid has joined #ruby
x82_nicole has joined #ruby
piotr_ has joined #ruby
piotr has quit [Ping timeout: 245 seconds]
yankeefan04 has joined #ruby
jds_ has joined #ruby
jackdanger has joined #ruby
<yankeefan04>
\\I am having trouble understanding the initialize method and super keyword, does it just pull the information from the class above it?
dmiller has quit [Remote host closed the connection]
ebouchut_ has quit [Quit: This computer has gone to sleep]
<davidcelis>
yes, #super calls the superclass' method
<yankeefan04>
and then initialize is just a faster way to define variables for one object versus doing Person.age= x for each variable?
<yankeefan04>
doing multiple at once, versus one at a time*
freakazoid0223 has quit [Quit: Leaving]
aharris6 has joined #ruby
kingdias has joined #ruby
ChampS666 has joined #ruby
u89 has joined #ruby
jackdanger has quit [Quit: Leaving.]
pu22l3r has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
dagnachew has quit [Remote host closed the connection]
bradhe has joined #ruby
Bry8Star has joined #ruby
SCommette has quit [Quit: SCommette]
dangerousdave has quit [Quit: Leaving...]
jrunning has joined #ruby
TechZombie has joined #ruby
awarner has joined #ruby
_alejandro has quit [Remote host closed the connection]
bluOxigen has joined #ruby
yewton has quit [Max SendQ exceeded]
dukedave has joined #ruby
Goles has joined #ruby
robotmay has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
yewton has joined #ruby
paolooo has quit [Quit: Page closed]
LBRapid has quit [Read error: Connection reset by peer]
jrunning has quit [Ping timeout: 260 seconds]
awarner has quit [Remote host closed the connection]
someguy has quit [Ping timeout: 245 seconds]
otters has quit [Ping timeout: 265 seconds]
tbrock has quit [Quit: Computer has gone to sleep.]
elementz has joined #ruby
<elementz>
hi all.
krawchyk has joined #ruby
icooba has joined #ruby
pu22l3r has quit [Remote host closed the connection]
horrror has joined #ruby
<seanstickle>
oy
horrror has quit [Client Quit]
LBRapid has joined #ruby
cakehero has joined #ruby
<elementz>
what is the best way to test if a hash has a key that is a value in a given array? e.g. having an array ary = %w(foo bar baz) how can i test something like that `h.haskey?ary` < thats not possible i know
tbrock has joined #ruby
locriani_ has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
bondar has joined #ruby
bondar has quit [Excess Flood]
vlad_starkov has joined #ruby
bondar has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
jrajav has joined #ruby
bondar has quit [Excess Flood]
locriani has quit [Read error: Connection reset by peer]
bondar has joined #ruby
bondar has quit [Excess Flood]
bondar has joined #ruby
bondar has quit [Client Quit]
<elementz>
hm, should i rephrase my question? or is it clear what i would like to do?
rehat_ has joined #ruby
<seanstickle>
Want to see if any of the keys in a hash are in the array that you have constructed?
<seanstickle>
Yes?
eka has quit [Remote host closed the connection]
LBRapid has joined #ruby
Tombar has quit [Remote host closed the connection]
pu22l3r has joined #ruby
_nitti has joined #ruby
<seanstickle>
foo = {a:1, b:2, c:3}; bar = [:a,:b]; foo.keys & bar
pu22l3r has quit [Remote host closed the connection]
<seanstickle>
foo = {a:1, b:2, c:3}; bar = [:a,:b,:d]; foo.keys & bar
<seanstickle>
^^ probably clearer
Goles has quit [Remote host closed the connection]
pu22l3r has joined #ruby
Tombar has joined #ruby
undersc0re97 has quit [Ping timeout: 265 seconds]
chaosis has quit [Ping timeout: 260 seconds]
rellin has joined #ruby
Goles has joined #ruby
hotovson has quit [Remote host closed the connection]
eka has joined #ruby
arya_ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
_nitti has quit [Ping timeout: 260 seconds]
<elementz>
seanstickle: thx :)
jekotia has joined #ruby
dzhulk has joined #ruby
Elico has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
nemesit has joined #ruby
icole has joined #ruby
IceDragon has joined #ruby
mikepack has quit [Remote host closed the connection]
fir_ed has joined #ruby
LBRapid has joined #ruby
locriani_ has quit [Read error: Connection reset by peer]
arya_ has quit [Ping timeout: 244 seconds]
locriani has joined #ruby
icole has quit [Ping timeout: 255 seconds]
jonahR has joined #ruby
<IceDragon>
hello, I have a question
ebouchut_ has joined #ruby
<IceDragon>
what would be the C equivalent of ruby's Array#pack function. Or rather how do I pack C datatypes into a ruby string for dumping?
yankeefan04 has quit [Ping timeout: 255 seconds]
ryanlecompte has quit [Remote host closed the connection]
yankeefan04 has joined #ruby
<Hanmac>
IceDragon i dont think it is easy possible, it depends on the C-DataType, i think is the best to turn the elements into an ruby array and call Array#pack with that
<IceDragon>
its just ints
ebouchut_ has quit [Client Quit]
Elico has quit [Quit: elico]
<IceDragon>
But I guess I could use your method until I figure it out
<Hanmac>
make an array with rb_ary_new and add elements with rb_ary_push and than use rb_funcall(array,rb_intern("pack"),1,rb_str_new("packstr"))
<yankeefan04>
are object variables available in classes below original variable?
yacks has quit [Quit: Leaving]
yacks has joined #ruby
<IceDragon>
Thanks Hanmac
<Hanmac>
yankeefan04 make an pastie from what you mean
gcds has quit [Read error: Connection reset by peer]
mahmoudimus has joined #ruby
axl_ has quit [Quit: axl_]
gcds has joined #ruby
<elementz>
seanstickle: going back to your solution, what does the & actually do?
pyr0commie has joined #ruby
nateberkopec has joined #ruby
<seanstickle>
elementz: intersection
<elementz>
seanstickle: thx
LBRapid has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
arya has joined #ruby
c0rn has joined #ruby
jaygen_ has quit [Remote host closed the connection]
yankeefan04 has quit [Remote host closed the connection]
Tombar has quit [Remote host closed the connection]
LBRapid has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
jonahR_ has joined #ruby
aharris6 has quit [Read error: Connection reset by peer]
aharris6_ has joined #ruby
aharris6_ has quit [Remote host closed the connection]
atmosx has quit [Remote host closed the connection]
tbrock has quit [Quit: Computer has gone to sleep.]
aharris6 has joined #ruby
jonahR has quit [Ping timeout: 244 seconds]
jonahR_ is now known as jonahR
LBRapid has joined #ruby
atmosx has joined #ruby
baphled has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
busybox42 has quit [Ping timeout: 244 seconds]
mikepack has quit [Remote host closed the connection]
h4mz1d has joined #ruby
nobuoka has quit [Quit: Leaving...]
LBRapid has joined #ruby
queequeg1 has quit [Ping timeout: 248 seconds]
tnk1 has joined #ruby
tbrock has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 248 seconds]
chaosis has joined #ruby
LBRapid has joined #ruby
_alejandro has joined #ruby
baphled has joined #ruby
phantasm66 has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
Proshot has quit [Quit: Leaving]
Morkel has joined #ruby
lampe21 has quit [Quit: Leaving.]
h4mz1d has quit [Ping timeout: 264 seconds]
igro has joined #ruby
pratz has joined #ruby
_nitti has joined #ruby
RickSchmitty has joined #ruby
wargasm has quit [Read error: Connection reset by peer]
LBRapid has joined #ruby
nemesit has quit [Ping timeout: 260 seconds]
danneu has quit [Ping timeout: 264 seconds]
lampe2 has joined #ruby
arya has quit [Ping timeout: 244 seconds]
otters has joined #ruby
_nitti has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
cj3kim has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
_alejandro has quit [Remote host closed the connection]
LBRapid has quit [Read error: Connection reset by peer]
robotmay has quit [Remote host closed the connection]
pratz has quit [Quit: leaving]
<RickSchmitty>
Anyone good with csv? I'm having troubles converting a simple php script to ruby, the ruby parser claims to have a stray quote - which I cannot see. http://pastebin.com/pKVJyeXY Is there some other setting I'm missing on the ruby side? I'm also able to import the text into excel successfully, so I have to be missing something in the ruby settings...
BoomCow has joined #ruby
<seanstickle>
RickSchmitty: please use gist.github.com or pastie.org
<seanstickle>
RickSchmitty: pastebin is an eyesore and many people here will refuse to use it
<Hanmac>
seantickle but pastiebin has features pastie.org does not have
browndawg has left #ruby [#ruby]
arya has joined #ruby
Tombar has joined #ruby
<seanstickle>
Hanmac: true
<seanstickle>
Hanmac: for one, it has the feature of being awful
<tos9>
Like only working with JS and free ad with your pastebin.
LBRapid has joined #ruby
<seanstickle>
Perhaps other features as well :)
bluOxigen has joined #ruby
<Hanmac>
seanstickle it has expire feature that the pastie will be deleted automaticly
apeiros_ has joined #ruby
x82_nicole has quit [Ping timeout: 252 seconds]
<RickSchmitty>
seanstickle, Hanmac gist seems like the best for my question anyways, here is updated with individual snippets: https://gist.github.com/4190526
tommyvyo has quit [Quit: Computer has gone to sleep.]
lenodroid has quit [Read error: Connection reset by peer]
Z_Mass has joined #ruby
bgh has joined #ruby
<RickSchmitty>
I want to think that the problem line is "too long" but I noticed in the 1.9.3 docs field_size_limit is nil by default, as in no limit?
<seanstickle>
RickSchmitty: that's because you have a stray quote in your data
mneorr has joined #ruby
<Hanmac>
http://<iframe ... are you kidding me?
nemesit has joined #ruby
<RickSchmitty>
i get no choice, its a MLS provider, so archaic
danneu has joined #ruby
_alejandro has joined #ruby
<seanstickle>
RickSchmitty: well, that's going to be a problem then
x82_nicole has joined #ruby
swex_ has quit [Remote host closed the connection]
<RickSchmitty>
where did you spot the stray quote?
swex has joined #ruby
<Hanmac>
the tablecell with the iframe is the bad one
<seanstickle>
RickSchmitty: after the iframe thing
<seanstickle>
width=" etc etc
<RickSchmitty>
ah. ugh
<RickSchmitty>
thank you
LBRapid has quit [Read error: Connection reset by peer]
rehat_ has quit [Remote host closed the connection]
jrunning has joined #ruby
apeiros_ has quit [Remote host closed the connection]
Tombar has quit [Remote host closed the connection]
apeiros_ has joined #ruby
juanlas has quit [Quit: leaving]
rismoney1 has joined #ruby
lampe2 has joined #ruby
<rismoney1>
how can i write - if var is not a boolean or a symbol do blah
LBRapid has joined #ruby
daniel_hinojosa1 has joined #ruby
<Hanmac>
rismoney: unless [TrueClass, FalseClass,Symbol].any? {|c| c === obj}
beiter has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 256 seconds]
wargasm has joined #ruby
c0rn has quit []
xsbeats has joined #ruby
Xeago has joined #ruby
skaczor has joined #ruby
<rismoney1>
HanMac, whats the {|c| c ==obj}
twopoint718 has quit [Ping timeout: 264 seconds]
LBRapid has joined #ruby
Morkel has quit [Read error: Connection reset by peer]
<RickSchmitty>
Hanmac, seanstickle thank you for the help, I switched to reading the file line by line then using CSV.parse_line skipping the crap data for now :)
LBRapid has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
<Hanmac>
why does noone read my code? ... i used THREE =
matrixise has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 256 seconds]
tommyvyo has joined #ruby
rakl has joined #ruby
LBRapid has joined #ruby
pu22l3r_ has joined #ruby
shevy has quit [Ping timeout: 265 seconds]
pu22l3r_ has quit [Remote host closed the connection]
philips_ has quit [Excess Flood]
pac1 has quit [Quit: I got it one line of code at a time]
philips_ has joined #ruby
jrunning has quit [Ping timeout: 248 seconds]
pu22l3r has quit [Ping timeout: 250 seconds]
mindbender1 has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
<Spaceghostc2c>
apeiros_: unless [TrueClass, FalseClass,Symbol].any? {|c| c === obj} # Is htis better?
jds_ has joined #ruby
<canton7>
unless + #any? is the same as if + #none?
jds_ has quit [Read error: Connection reset by peer]
jds_ has joined #ruby
jrunning has joined #ruby
<apeiros_>
Spaceghostc2c: that one works. don't know whether you want unless or if (the last one didn't include that part)
<Spaceghostc2c>
Hm.
<Spaceghostc2c>
Hanmac: You win this time.
gyre007 has quit [Remote host closed the connection]
zigomir has joined #ruby
aetcore has joined #ruby
mikepack has joined #ruby
jds_ has quit [Ping timeout: 256 seconds]
ctwiz has joined #ruby
jsilver has joined #ruby
mikepack has quit [Remote host closed the connection]
aetcore has left #ruby [#ruby]
BoomCow has quit [Quit: Leaving]
EyesIsMine has quit [Ping timeout: 260 seconds]
TechZombie has quit [Quit: Leaving.]
queequeg1 has joined #ruby
L1 has joined #ruby
arya has quit []
mindbender2 has joined #ruby
ctwiz has left #ruby [#ruby]
aetcore has joined #ruby
malkomalko has quit [Remote host closed the connection]
arya has joined #ruby
pu22l3r has joined #ruby
xsbeats has quit [Ping timeout: 256 seconds]
mindbender1 has quit [Ping timeout: 265 seconds]
chaosis has quit [Ping timeout: 260 seconds]
ChampS666 has quit [Ping timeout: 260 seconds]
aetcore has quit [Client Quit]
Guest30882 has quit [Quit: Guest30882]
Shamgar has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 265 seconds]
aetcore has joined #ruby
aetcore has quit [Remote host closed the connection]
arya has quit [Client Quit]
adeponte has joined #ruby
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
pen has quit [Remote host closed the connection]
emergion has joined #ruby
emergion has quit [Client Quit]
v0n has joined #ruby
emergion has joined #ruby
emergion has quit [Client Quit]
ToTo has quit [Read error: Connection reset by peer]
ChampS666 has joined #ruby
ltsstar has quit [Remote host closed the connection]
bubu\a has quit [Read error: Connection reset by peer]
emergion has joined #ruby
macmartine has joined #ruby
aetcore has joined #ruby
aetcore has quit [Read error: Connection reset by peer]
arya has joined #ruby
FredLe has joined #ruby
heftig has joined #ruby
banisterfiend has joined #ruby
jrunning_ has joined #ruby
macmartine has quit [Read error: Connection reset by peer]
matrixise has joined #ruby
aetcore has joined #ruby
aetcore has quit [Remote host closed the connection]
macmartine has joined #ruby
aetcore has joined #ruby
<rismoney1>
I want to see if @resource[:name] has multiple words in it, and if it does make a new var where the items only contain the first word. Anyone know how i can achieve that?
<rismoney1>
not multiple items.
<apeiros_>
rismoney1: first you have to define "word"
<apeiros_>
but: str[/\p{Word}+/] will extract the first substring containing only word characters
<rismoney1>
I basically want to discard everything after from the first space onward.
dangerousdave has quit [Quit: Leaving...]
ebouchut_ has joined #ruby
<apeiros_>
then str[/\A\S*/]
<apeiros_>
or str[/\A[^ ]*/] (this is strictly space, above is any whitespace)
<rismoney1>
So if there are two items in @resource:name ["this is a test","hey wassup"] I want a new var = ["this","hey"]
staafl has quit [Quit: Leaving]
<rismoney1>
strictly space
kirun has quit [Read error: Operation timed out]
<apeiros_>
see Array#map for that
EyesIsMine has joined #ruby
leonardorb has quit [Remote host closed the connection]
arya has quit [Ping timeout: 244 seconds]
gcds_ has joined #ruby
jds_ has joined #ruby
staafl has joined #ruby
GoGoGarrett has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
hotovson has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9.2]
gcds has quit [Ping timeout: 264 seconds]
gcds_ is now known as gcds
<rismoney1>
actually i think the regex will do what i need, simpler is better.
Takehiro has quit [Remote host closed the connection]
<rismoney1>
tyvm
* rismoney1
sometimes overthinks
daniel_hinojosa1 has quit [Ping timeout: 256 seconds]
mindbender2 has quit [Ping timeout: 265 seconds]
adeponte has quit [Remote host closed the connection]
malkomalko has joined #ruby
jackdanger has joined #ruby
jds_ has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
sepp2k1 has joined #ruby
bradhe has joined #ruby
mindbender1 has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
Proshot has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
twinturbo has joined #ruby
punkrawkR^Home has quit [Read error: Connection reset by peer]
thoolihan has joined #ruby
ebouchut_ has quit [Quit: This computer has gone to sleep]
emergion has quit [Quit: Computer has gone to sleep.]
tPl0ch has quit [Quit: Verlassend]
jackdanger has quit [Quit: Leaving.]
L1_ has joined #ruby
[Neurotic] has joined #ruby
LBRapid has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
vasile has quit [Ping timeout: 260 seconds]
thoolihan has quit [Client Quit]
tnk1 has quit []
L1 has quit [Ping timeout: 245 seconds]
v0n has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
jrunning_ has quit [Ping timeout: 244 seconds]
rjmt___ has joined #ruby
bradhe has joined #ruby
sspiff has joined #ruby
jlogsdon has joined #ruby
nemesit|osx has joined #ruby
Russell^^ has quit [Quit: Russell^^]
nemesit has quit [Ping timeout: 245 seconds]
ssspiff has quit [Ping timeout: 260 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
FredLe has quit [Ping timeout: 248 seconds]
beiter has quit [Quit: beiter]
L1_ has quit [Quit: Quitter]
bradhe has quit [Ping timeout: 255 seconds]
L1_ has joined #ruby
L1_ has quit [Read error: Connection reset by peer]
L1 has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
rjmt___ has quit [Ping timeout: 250 seconds]
tommyvyo has joined #ruby
SPYGAME has quit [Ping timeout: 260 seconds]
s0ber_ has joined #ruby
baphled has joined #ruby
mneorr has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 260 seconds]
s0ber_ is now known as s0ber
<apeiros_>
pdtpatrick: weird code you're having there…
wargasm has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
Tearan has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
segv- has quit [Quit: segv-]
wermel has quit [Ping timeout: 265 seconds]
nemesit|osx has quit [Quit: Leaving...]
Takehiro has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
blazes816 has joined #ruby
Monie has joined #ruby
ryanf has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
gyre007 has joined #ruby
Takehiro has quit [Ping timeout: 255 seconds]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
LBRapid has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
tbrock has joined #ruby
havenn has joined #ruby
h4mz1d has joined #ruby
tbrock has quit [Client Quit]
gyre007 has quit [Ping timeout: 256 seconds]
lunks has joined #ruby
mindbender1 has quit [Ping timeout: 265 seconds]
<lunks>
Hey! I'd like to make my irb listen to anything from a UNIX socket and eval it. I couldn't find a lot of info on the interwebs. Could anyone provide me with any help?
LBRapid has joined #ruby
jlogsdon has quit [Remote host closed the connection]
hackerdude has quit [Remote host closed the connection]
jrunning_ has joined #ruby
Mon_Ouie has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
mindbender1 has joined #ruby
tommyvyo has joined #ruby
mindbender2 has joined #ruby
tommyvyo_ has joined #ruby
<pdtpatrick>
apeiros_: I know. In the actual code im making a LDAP call which returns a string and then each string wouldh ave a parent until you finally get _none. Anyway, I think I've figured how to optimize it. Thanks
statarb3 is now known as proshot
sspiff has quit [Ping timeout: 256 seconds]
jmeeuwen has quit [Ping timeout: 256 seconds]
sorbo_ has joined #ruby
TechZombie has quit [Quit: Leaving.]
bwwrd has joined #ruby
mindbender1 has quit [Ping timeout: 265 seconds]
havenn has quit [Ping timeout: 265 seconds]
jrunning_ has quit [Ping timeout: 260 seconds]
Spaceboy1 has quit [Remote host closed the connection]