fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
dmnd_ has joined #ruby
havenn has quit [Remote host closed the connection]
davidcelis has quit [Quit: K-Lined.]
chrishunt has quit [Ping timeout: 246 seconds]
headius has quit [Quit: headius]
lggr has joined #ruby
dmnd has quit [Ping timeout: 246 seconds]
dmnd_ is now known as dmnd
dpk has quit [Quit: Asleep at the keyboard.]
lggr has quit [Ping timeout: 248 seconds]
kiyoura has joined #ruby
lggr has joined #ruby
Forevernade has quit [Remote host closed the connection]
eikko has joined #ruby
nateberkopec has quit [Quit: Leaving...]
nateberkopec has joined #ruby
apok has quit [Quit: apok]
nateberkopec has quit [Client Quit]
jasonkuhrt has joined #ruby
sneakyness_wk has quit [Quit: bro]
notVert has quit [Read error: Connection reset by peer]
GoHuyGo has quit [Quit: Leaving]
ewag has joined #ruby
chakal_ has joined #ruby
mmitchell has quit [Ping timeout: 264 seconds]
lggr has quit [Ping timeout: 264 seconds]
chakal_ has quit [Client Quit]
jasonkuhrt has quit [Ping timeout: 246 seconds]
shuriken has quit [Quit: shuriken has no reason]
forced_request has quit [Read error: Connection reset by peer]
axl_ has quit [Quit: axl_]
snearch has quit [Quit: Verlassend]
ncr100_ has quit [Ping timeout: 246 seconds]
nga4 has quit []
tyfighter has quit [Quit: tyfighter]
lggr has joined #ruby
seanstickle has joined #ruby
aantix has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 245 seconds]
adeponte has quit [Remote host closed the connection]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
ghanima has joined #ruby
SCommette has quit [Quit: SCommette]
Guest29702 has quit [Ping timeout: 256 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
TomRone has quit [Ping timeout: 272 seconds]
davidcelis has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
adeponte has joined #ruby
ghanima has quit [Ping timeout: 268 seconds]
adeponte has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
lggr has joined #ruby
ghanima has joined #ruby
Solnse has joined #ruby
moshee has quit [Remote host closed the connection]
horofox has joined #ruby
blazes816 has quit [Quit: blazes816]
lggr has quit [Ping timeout: 248 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
adeponte has joined #ruby
sorbo_ has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
jarred has quit [Quit: jarred]
artOfWar has quit [Ping timeout: 246 seconds]
Averna has quit [Quit: Leaving.]
hbpoison has joined #ruby
Virunga has quit [Remote host closed the connection]
justinmcp has joined #ruby
lggr has joined #ruby
wargasm has joined #ruby
ghanima has quit [Ping timeout: 246 seconds]
LouisGB has quit [Ping timeout: 246 seconds]
yoklov has quit [Quit: computer sleeping]
chrishunt has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
rubious has quit [Quit: Leaving...]
seoaqua has joined #ruby
adeponte has quit [Remote host closed the connection]
davidcelis has quit [Quit: K-Lined.]
eikko has quit [Ping timeout: 246 seconds]
mucker has joined #ruby
kuzushi has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
c0rn_ has quit [Quit: Computer has gone to sleep.]
wpaulson has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
ianbrandt has quit [Quit: ianbrandt]
chrishunt has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 264 seconds]
vitoravelino is now known as vitoravelino`afk
TomRone has joined #ruby
cburyta has joined #ruby
20WABA5T1 has joined #ruby
jenrzzz has joined #ruby
lggr has joined #ruby
`brendan has joined #ruby
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
yoklov has joined #ruby
Hanmac1 has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
Hanmac has quit [Ping timeout: 244 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
dmnd has quit [Quit: dmnd]
shadoi has quit [Quit: Leaving.]
lggr has joined #ruby
shadoi has joined #ruby
shadoi has quit [Client Quit]
hbpoison has quit [Ping timeout: 245 seconds]
kemet has joined #ruby
kemet has quit [Client Quit]
dmnd has joined #ruby
dmnd has quit [Changing host]
dmnd has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
Nisstyre-laptop has quit [Quit: Leaving]
lggr has quit [Ping timeout: 264 seconds]
sorbo_ has quit [Quit: sorbo_]
CodeFriar has joined #ruby
dmnd has quit [Quit: dmnd]
cburyta has quit [Remote host closed the connection]
justinmcp has quit [Remote host closed the connection]
Forevernade has joined #ruby
cburyta has joined #ruby
lggr has joined #ruby
Banistergalaxy has joined #ruby
bradhe has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
bradyl0ve has joined #ruby
lewis1711 has joined #ruby
bradhe_ has joined #ruby
tds has quit [Quit: tds]
bradhe has quit [Read error: Connection reset by peer]
blazed has quit [Read error: Connection reset by peer]
lggr has joined #ruby
blazed has joined #ruby
teriyaki has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
kuzushi has joined #ruby
bradhe_ has quit [Remote host closed the connection]
LouisGB has joined #ruby
Aristata has left #ruby [#ruby]
ZachBeta has joined #ruby
blazed has quit [Read error: Connection reset by peer]
blazed has joined #ruby
Nisstyre-laptop has joined #ruby
blazed has quit [Read error: Connection reset by peer]
vitoravelino`afk is now known as vitoravelino
arubin has quit [Quit: arubin]
lggr has quit [Ping timeout: 260 seconds]
20WABA5T1 has quit [Quit: 20WABA5T1]
voodoofish430 has quit [Quit: Leaving.]
chimkan has joined #ruby
quest88 has joined #ruby
CodeFriar has quit [Read error: Connection reset by peer]
CodeFriar has joined #ruby
lggr has joined #ruby
sn0wb1rd has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
wpaulson has joined #ruby
verto|off is now known as verto
cburyta has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
tk___ has joined #ruby
pipopopo has quit [Ping timeout: 260 seconds]
asshopo_ has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
ken_barber has quit [Read error: Operation timed out]
asshopo has quit [Ping timeout: 268 seconds]
cburyta has joined #ruby
lggr has joined #ruby
ken_barber has joined #ruby
jenrzzz has joined #ruby
wuzzzzaah has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
chimkan has quit [Quit: chimkan]
lggr has quit [Ping timeout: 268 seconds]
Trex has joined #ruby
ken_barber has quit [Read error: Operation timed out]
seanstickle has quit [Quit: seanstickle]
rubious has joined #ruby
ken_barber has joined #ruby
Solnse has quit [Ping timeout: 265 seconds]
kay-z has joined #ruby
CodeFriar has quit [Read error: Connection reset by peer]
kay-z has quit [Read error: Connection reset by peer]
CodeFriar has joined #ruby
lggr has joined #ruby
quest88 has quit [Quit: quest88]
friskd has quit [Read error: Operation timed out]
jarred has joined #ruby
ken_barber1 has joined #ruby
ken_barber has quit [Ping timeout: 244 seconds]
Solnse has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
kuzushi has quit [Ping timeout: 256 seconds]
g00se has joined #ruby
g00se has quit [Client Quit]
lggr has joined #ruby
Jellyg00se has joined #ruby
allyraza has quit [Ping timeout: 246 seconds]
ffranz has joined #ruby
adeponte has joined #ruby
adeponte has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
raul782 has joined #ruby
ken_barber has joined #ruby
asklov has quit [Quit: leaving]
ffranz has quit [Quit: Leaving]
ken_barber1 has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
xyzodiac has joined #ruby
Cache_Money has joined #ruby
CaptainJet has quit []
friskd has joined #ruby
ryanf has quit [Quit: leaving]
lggr has quit [Ping timeout: 268 seconds]
ken_barber1 has joined #ruby
ken_barber has quit [Ping timeout: 248 seconds]
freeayu has quit [Quit: This computer has gone to sleep]
xnm has quit [Ping timeout: 264 seconds]
teriyaki has quit [Ping timeout: 260 seconds]
nari has joined #ruby
lggr has joined #ruby
cburyta has quit [Remote host closed the connection]
cburyta has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
Spooner has quit [Ping timeout: 268 seconds]
Aristata has joined #ruby
<Aristata> Can anyone help me out with this question?: http://pastie.org/private/2wp4sp4rutpvqfr8bosy8g
jenrzzz has quit [Ping timeout: 246 seconds]
Goles has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
cburyta has quit [Remote host closed the connection]
cakehero has joined #ruby
davidcelis has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
cburyta has joined #ruby
<Aristata> I want to create a new time in the central time zone, and have it be for 1:00pm, then convert it to utc. How would I go about doing that?
zeromodulus has quit [Remote host closed the connection]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
`brendan has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
horofox_ has joined #ruby
cburyta has quit [Remote host closed the connection]
<swarley> Aristata, well, i know that Time#utc is how you get the UTC, but you might have to look into Time#at
<swarley> to get the time at 1:00pm
cburyta has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
lggr has quit [Ping timeout: 256 seconds]
horofox has quit [Ping timeout: 256 seconds]
horofox_ is now known as horofox
macmartine has joined #ruby
kiyoura has quit [Quit: Leaving]
sepp2k has joined #ruby
niklasb has quit [Ping timeout: 260 seconds]
LouisGB has quit [Ping timeout: 246 seconds]
<swarley> so i'm working on a C extension
<swarley> and i was wondering how to get the VALUE of a module
<swarley> external module*
ken_barber has joined #ruby
lggr has joined #ruby
<swarley> do you just define the module?
cburyta has quit [Remote host closed the connection]
ken_barber1 has quit [Ping timeout: 246 seconds]
bradyl0ve has quit [Quit: Leaving...]
jarred has quit [Quit: jarred]
ken_barber1 has joined #ruby
teriyaki has joined #ruby
mxweas has joined #ruby
yshh has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
ken_barber has quit [Ping timeout: 264 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
justinmcp has joined #ruby
renderiza has joined #ruby
mucker has quit [Read error: Operation timed out]
CodeFriar has quit [Read error: Connection reset by peer]
lggr has joined #ruby
<renderiza> I have made my first game with Gosu and want to make an ".exe" so I can share it with people who don't have ruby installed but I need help to figure out how.
AndChat| has joined #ruby
<renderiza> Can anyone help me?
kay-z has joined #ruby
robbyoconnor has joined #ruby
<renderiza> Hello?
Banistergalaxy has quit [Ping timeout: 248 seconds]
pingfloyd has joined #ruby
ken_barber has joined #ruby
snorkdude has joined #ruby
seich is now known as Seich
lggr has quit [Ping timeout: 256 seconds]
<renderiza> Thanks I'll check it now
ken_barber1 has quit [Ping timeout: 246 seconds]
<wmoxam> Renderiza: how do you like Gosu? I've been working with Slick + jruby
robbyoconnor has quit [Ping timeout: 246 seconds]
cpruitt has quit [Quit: cpruitt]
<renderiza> Well I am new to ruby so I am learning by watching http://ruby4kids.com/ruby4kids videos and so far I love it
mxweas has quit [Quit: Computer has gone to sleep.]
A124 has joined #ruby
Cache_Money has quit [Quit: Leaving]
tbbach has joined #ruby
lggr has joined #ruby
Drewch has quit [Excess Flood]
<renderiza> How can I see other peoples messeges? I can't figure irc out
<renderiza> All I see are poeple being loged in and out
<renderiza> do I need to type something to see everyone is chat?
<wmoxam> Renderiza: there isn't much activity at this time. It's Friday night!
uris has quit [Quit: leaving]
<renderiza> hahaha I see....thanks
<renderiza> I thought I was doing something wrong
Drewch has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
<renderiza> Your link is a tutorial for ocra and I have realeasy ....
dakine has joined #ruby
<wmoxam> I got the link from the Gosu website :p
<renderiza> I have Here is a link https://github.com/Spooner/releasy
horofox has quit [Quit: horofox]
<wmoxam> ok, well consult those docs. I skimmed them a couple of minutes ago, seems like it's just a rake task
<renderiza> I already have this ready in my game require 'rubygems' require 'bundler/setup' require 'releasy'
<renderiza> I get an erro when I try to write Releasy::Project.new do
Goles has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<renderiza> And I don't know what this means... files "lib/**/*.rb", "config/**/*.yml", "media/**/*.*"
<wmoxam> Renderiza: where are you putting that code?
<renderiza> On top
sebastorama has joined #ruby
<wmoxam> You need to put it in a Rake file (which is literally named 'Rakefile'
lggr has joined #ruby
<renderiza> 'Rakefile' ....? I have no files named like that
<wmoxam> exactly
<wmoxam> you need to make one
<renderiza> And this 'Rakefile' ... what extension it is? A .rb?
<wmoxam> no extension
<wmoxam> 'Rakefile'
<swarley> its a play on words of a GNU Makefile
<renderiza> I see and sjold I write it like Rakefile or 'Rakefile'
<swarley> no quotes
<swarley> Rakefile
<renderiza> ok give me a sec
<renderiza> Now I type..... require 'rubygems' require 'bundler/setup' require 'releasy' inside Rakefile ?
Juul has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<renderiza> Someone needs to make a video tutorial for this proccess
xbayrockx has quit []
AndChat| has quit [Ping timeout: 256 seconds]
tbbach_ has joined #ruby
tbbach_ has quit [Client Quit]
ZachBeta has joined #ruby
tbbach has quit [Read error: Connection reset by peer]
mrflip has joined #ruby
mikepack has joined #ruby
lggr has joined #ruby
xbayrockx has joined #ruby
jearvondharrie has joined #ruby
<renderiza> Well I will find more about this 'Rakefile' online....thanks for the help wmoxam
Banistergalaxy has joined #ruby
ryanf has joined #ruby
DrShoggoth has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
cody has joined #ruby
snorkdude has quit [Remote host closed the connection]
kay-z has quit [Quit: Leaving...]
lggr has joined #ruby
ryanf has quit [Quit: broken pipes |||]
SCommette has joined #ruby
renderiza has quit [Quit: Page closed]
lggr has quit [Ping timeout: 256 seconds]
tds has joined #ruby
ananthakumaran has joined #ruby
lggr has joined #ruby
ghanima has joined #ruby
deo__ has joined #ruby
mxweas has joined #ruby
seoaqua has quit [Ping timeout: 248 seconds]
ryanf has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
derpops has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
moshee has quit [Ping timeout: 264 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
lggr has joined #ruby
cody has quit [Quit: node-irc says goodbye]
cody has joined #ruby
null- has left #ruby [#ruby]
deo__ has quit [Quit: Leaving]
lggr has quit [Ping timeout: 268 seconds]
SCommette has quit [Quit: SCommette]
deo__ has joined #ruby
dakine has quit [Ping timeout: 245 seconds]
CodeFriar has joined #ruby
bradyl0ve has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
deo__ has quit [Ping timeout: 246 seconds]
jearvondharrie has quit [Ping timeout: 246 seconds]
dmiller_ has joined #ruby
lggr has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
dmiller has quit [Ping timeout: 256 seconds]
dakine has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
bradyl0ve has quit [Read error: Connection reset by peer]
bradyl0ve has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby
Bosma has joined #ruby
AndChat| has joined #ruby
lggr has joined #ruby
mikepack has quit [Remote host closed the connection]
rohit has joined #ruby
khakimov has joined #ruby
derpops has quit []
lggr has quit [Ping timeout: 240 seconds]
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 256 seconds]
jgrevich_ is now known as jgrevich
lggr has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
jearvondharrie has joined #ruby
rohit has quit [Ping timeout: 248 seconds]
dmiller_ has quit [Remote host closed the connection]
cirwin has joined #ruby
ken_barber has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
ken_barber has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
Guest64548 has joined #ruby
Erfankam has joined #ruby
CodeFriar has quit [Quit: Leaving...]
dmnd has joined #ruby
dmnd has quit [Changing host]
dmnd has joined #ruby
CodeFriar has joined #ruby
banannagram has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
ghanima has quit [Ping timeout: 264 seconds]
Rydefalk has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mxweas has joined #ruby
macmartine has joined #ruby
rohit has joined #ruby
bradyl0ve has quit [Quit: Linkinus - http://linkinus.com]
Nisstyre-laptop has quit [Read error: Connection reset by peer]
xyzodiac has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
mrdodo has joined #ruby
tds has quit [Quit: tds]
fyoln____ has joined #ruby
fyolnish has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
raul782 has quit [Remote host closed the connection]
lggr has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
cody has quit [Quit: node-irc says goodbye]
cody has joined #ruby
mahmoudimus has joined #ruby
m3pow has quit [Remote host closed the connection]
a_a_g has joined #ruby
cody has quit [Remote host closed the connection]
cody has joined #ruby
raul782 has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
m3pow has joined #ruby
a_a_g1 has joined #ruby
Solnse2 has joined #ruby
cody has quit [Remote host closed the connection]
teriyaki_ has joined #ruby
a_a_g has quit [Ping timeout: 268 seconds]
teriyaki has quit [Read error: Connection reset by peer]
Rydefalk has quit [Remote host closed the connection]
Solnse has quit [Ping timeout: 244 seconds]
Rydefalk has joined #ruby
lggr has joined #ruby
rohit has quit [Quit: Leaving]
m3pow has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby
jokar has joined #ruby
m3pow has joined #ruby
Solnse has joined #ruby
lggr has joined #ruby
nahhh has quit [Read error: Operation timed out]
matrixise has joined #ruby
Solnse2 has quit [Ping timeout: 260 seconds]
nahhh has joined #ruby
Solnse2 has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
ajsharp has joined #ruby
Solnse has quit [Ping timeout: 260 seconds]
<ajsharp> anyone know of a ruby 1.9 ruby parser? Are people still using ruby_parser?
<ryanf> ripper
<ryanf> comes with the stdlib
<ryanf> ruby_parser isn't 1.9-compatible afaik
<ajsharp> ryanf: awesome, thanks
dhruvasagar has joined #ruby
<banisterfiend> ajsharp redparse is also meant to be pretty cool
CodeFriar has quit [Quit: Leaving...]
<banisterfiend> but i havent used it
<banisterfiend> (or know anyone who has :)
lggr has joined #ruby
<ajsharp> a
<ajsharp> ha
libryder_ has quit [Remote host closed the connection]
libryder has joined #ruby
faen has joined #ruby
spopescu has joined #ruby
tewecske has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
yoklov has quit [Quit: computer sleeping]
mrdodo has quit [Remote host closed the connection]
mrdodo has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
mrdodo has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
Chryson has quit [Quit: Leaving]
banisterfiend has quit [Ping timeout: 252 seconds]
justinmcp has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
Mon_Ouie has joined #ruby
xbayrockx has quit []
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
lewis1711 has left #ruby [#ruby]
Morkel has joined #ruby
neosimago has joined #ruby
spopescu has left #ruby ["Leaving"]
mahmoudimus has joined #ruby
SegFaultAX has quit [Quit: Lost terminal]
arya_ has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
ajsharp is now known as ajsharp_zz
arya_ has quit [Client Quit]
bradhe has quit [Ping timeout: 256 seconds]
AndChat| has quit [Ping timeout: 264 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has joined #ruby
lggr has joined #ruby
raul782 has quit [Remote host closed the connection]
khakimov has quit [Quit: Textual IRC Client: www.textualapp.com]
ztirf has joined #ruby
ztirf has quit [Client Quit]
Neil_ has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
arya_ has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
justinmcp has joined #ruby
Neil_ has quit [Remote host closed the connection]
lkba has joined #ruby
nari has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
mattp_ has quit [Ping timeout: 268 seconds]
swarley has quit [Ping timeout: 246 seconds]
havenn has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
mattp_ has joined #ruby
raul782 has joined #ruby
ajsharp_zz is now known as ajsharp
Neil_ has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
friskd has quit [Quit: friskd]
lggr has joined #ruby
jamjam has quit [Ping timeout: 256 seconds]
matrixise has quit [Ping timeout: 256 seconds]
lggr has quit [Ping timeout: 246 seconds]
justinmcp has quit [Remote host closed the connection]
loves_color_text has quit [Remote host closed the connection]
lggr has joined #ruby
loves_color_text has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
Solnse2 has quit [Ping timeout: 248 seconds]
arya_ has quit [Ping timeout: 264 seconds]
allyraza has joined #ruby
a_a_g1 has quit [Quit: Leaving.]
Neil_ has quit [Remote host closed the connection]
arya_ has joined #ruby
qos has joined #ruby
raul782 has quit [Remote host closed the connection]
lggr has joined #ruby
AlbireoX has quit [Ping timeout: 246 seconds]
answer_42 has joined #ruby
havenn has quit [Remote host closed the connection]
ndrei has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
justinmcp has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
nilved has joined #ruby
lggr has joined #ruby
nilved has quit [Client Quit]
rippa has joined #ruby
arya_ has joined #ruby
Russell^^ has joined #ruby
arya__ has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
toastie has quit [Read error: Connection reset by peer]
und3f has joined #ruby
ananthakumaran has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
arya_ has quit [Ping timeout: 246 seconds]
robustus has joined #ruby
Aristata has quit [Quit: Leaving.]
AndChat| has joined #ruby
jearvondharrie has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
Banistergalaxy has joined #ruby
AndChat- has joined #ruby
arya__ has quit [Ping timeout: 246 seconds]
banisterfiend has joined #ruby
AndChat| has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 240 seconds]
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
erlnoob has joined #ruby
erlnoob has left #ruby [#ruby]
arya_ has joined #ruby
freeayu has joined #ruby
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
lggr has joined #ruby
matrixise has joined #ruby
freeayu has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
neku has joined #ruby
Banistergalaxy has joined #ruby
AndChat| has joined #ruby
s1n4 has joined #ruby
lggr has joined #ruby
AndChat- has quit [Ping timeout: 240 seconds]
iocor has joined #ruby
Banistergalaxy has quit [Ping timeout: 248 seconds]
JarJar has joined #ruby
neku has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 264 seconds]
scitick has joined #ruby
tewecske has quit [Quit: Leaving.]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
Asher has quit [Quit: Leaving.]
idletom has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
havenn has joined #ruby
havenn has quit [Read error: Connection reset by peer]
havenn has joined #ruby
lggr has joined #ruby
rubious has quit [Quit: Leaving...]
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
bradhe has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
ltsstar has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
jgrevich has quit [Quit: jgrevich]
cirwin has quit [Quit: sleep....ping!]
lggr has joined #ruby
dbck has joined #ruby
neosimago has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
jamjam has joined #ruby
vlad_starkov has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
ZachBeta has joined #ruby
havenn has quit [Remote host closed the connection]
timonv has joined #ruby
bryanray has quit []
arya_ has quit [Ping timeout: 268 seconds]
Nisstyre-laptop has quit [Remote host closed the connection]
lggr has joined #ruby
justinmcp has quit [Remote host closed the connection]
workmad3 has joined #ruby
Hanmac1 is now known as Hanmac
lggr has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
iocor has quit [Quit: Computer has gone to sleep.]
arya_ has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
arya_ has joined #ruby
Forevernade has quit [Ping timeout: 246 seconds]
skogis has joined #ruby
msuszczy has joined #ruby
pdelgallego has joined #ruby
und3f has quit [Ping timeout: 246 seconds]
lkba has quit [Quit: Bye]
lggr has quit [Ping timeout: 248 seconds]
arya_ has quit [Ping timeout: 260 seconds]
c0rn_ has joined #ruby
lggr has joined #ruby
Asher has joined #ruby
sagax has joined #ruby
banisterfiend has quit [Ping timeout: 272 seconds]
ajsharp is now known as ajsharp_zz
chussenot has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
msuszczy has quit [Quit: msuszczy]
Guest66119 has quit [Read error: Connection reset by peer]
ryanf has quit [Quit: leaving]
doomMonkey has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
dbck has quit [Quit: Be back later]
fantazo has quit [Remote host closed the connection]
msuszczy has joined #ruby
<A124> Hey. I have a simple but speciffic issue, google did not helped. I would like to access a variable in an instance of class at an instance of it's superclass. Complete simplified example code: http://pastebin.com/e85Btcuy
perun_ has joined #ruby
<A124> How should that be done? :
lggr has joined #ruby
und3f has joined #ruby
pskosinski has quit [Quit: Some alternative (not-controlled-by-fu*up-people) Red Eclipse servers: http://altred.tk/lmaster]
lggr has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
timonv has quit [Remote host closed the connection]
teriyaki_ has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 246 seconds]
msuszczy has quit [Ping timeout: 260 seconds]
<shevy> hmm whatcha trying
<shevy> a class in a class?
<A124> Yup.
lggr has joined #ruby
<A124> I would like to have the "puts @text" working
<shevy> hmmm
<shevy> I need to wrap my head over your code first ;)
<A124> Of course no problem with 'super' or other means but I have not found anything.
<shevy> A124, one hint
<shevy> I would recommend you to always use this:
<shevy> require 'pp'
<A124> heh
workmad3 has quit [Ping timeout: 246 seconds]
<shevy> then pp, so that you know what is going on internally in your classes (or rather, the objects)
<shevy> look what pp tells me
<shevy> #<Test:0x000000017825e8 @i=#<Test::Intest:0x000000017825c0>, @text="Test string.">
workmad3 has joined #ruby
<shevy> so it seems to work, no?
rippa has quit [Ping timeout: 246 seconds]
<shevy> ah
<shevy> now I see what you wanna do
Solnse has joined #ruby
<shevy> you want to output something residing in a thread
<A124> I want to have access to variable in superclass
<shevy> ok well I just tested
vlad_starkov has quit [Remote host closed the connection]
<shevy> the thread works
<A124> I know that all
<shevy> heheh
<A124> That's only example
<shevy> yeah but it's a complicated!
<shevy> I thought you need threads!
<shevy> superclass
<shevy> what superclass
<shevy> you use 2 separate classes A124
<shevy> what syntax does ruby use for subclassing A124
<A124> ok, so separate class
<shevy> you have to sleep soon, so hurry up ;)
lggr has quit [Ping timeout: 264 seconds]
<shevy> you use @text variable, but class Intest does not know this variable
<A124> Man. That's why made that example
<shevy> class Test knows the variable @text, when someone uses the method settext()
<A124> I know that all and I don't know how to solve it except global variable.
<shevy> it depends what you want to do
<shevy> - Do you want to subclass?
<A124> No
ltsstar has quit [Quit: ltsstar]
<shevy> good. then HOW shall class Intest know that other variable then? it can not magically leak knowledge from it
<shevy> let me try something
dhruvasagar has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby
<A124> I'm like "OMG". Because I made complete example to have it clear.
lggr has joined #ruby
<A124> And you feed me with spoon :-/ .. I made multithreaded library, database, compressor, queing, data processing, parallelization, etc etc. I would like to increase the effectivness and for that I need to access the variable. I would like to let the lowerclass report to the other instead of scanning array.
<shevy> I dont think you can easily leak around @instance_variables of other classes irrelevant of where they are
<A124> There must be a way for sure
<shevy> you could pass the information through initialize of course
<A124> If not, the whole Ruby sucks. And I don't think that's the case xD
<A124> bidirectional communication that's what I would like to achieve
<shevy> well see
<shevy> is it possible for you to make use of initialize?
lggr has quit [Ping timeout: 246 seconds]
burgestrand1 has quit [Ping timeout: 268 seconds]
<A124> If it will enable the communication, then yes.
<shevy> if you can use initialize then this is simple
<shevy> if you cant change initialize, then you need to store it some other way
wallerdev has quit [Quit: wallerdev]
timonv has joined #ruby
<A124> Yes, thank you. You got the same idea as I did, except I was faster I guess. The only flaw is that I need accessor and should not be accessed from outside.
<shevy> well if you look at http://pastebin.com/e85Btcuy
<shevy> you use @text twice, but instance variables are always specific to the class
dhruvasagar has joined #ruby
Virunga has joined #ruby
<A124> Shh.. of course. That was intentional mistake that I needed to get working
Neomex has joined #ruby
<Mon_Ouie> Specific to the current object (self), no to its class
lggr has joined #ruby
imami|afk is now known as banseljaj
<A124> Mon_Ouie: I don't know what you read or not. I need access to a variable in the creator class. I'm aware of the workings, so this really annoys me being told what all is not working, except not meant that way. But Shevy made me realized that it's not superclass, which was my wrong late night pressumtion.
havenn has joined #ruby
<shevy> yeah Mon_Ouie, tell him how to use variables without passing info through initialize ;P
lggr has quit [Ping timeout: 260 seconds]
<A124> shevy: Could be through initialize, just I don't like accessor for some. ^^ But I may have found "authentication" to give the data. But neverlethess, you helped me reaize one thing and come with the other, so Thank you a ot ;)
<A124> *lot
ttt has joined #ruby
<shevy> authentication?
emmanuelux has joined #ruby
<shevy> there is mutex too but I dont like it http://www.ruby-doc.org/core-1.9.3/Mutex.html
<A124> Yeah. A shared secret that both classes know. others don't xD
<A124> Mutex is nice. But I don't see the use here.
Banistergalaxy has joined #ruby
pingfloyd has quit [Ping timeout: 244 seconds]
AndChat- has joined #ruby
<shevy> man that docu sucks... that's like 3 full sentences for official documentation on a core thing in ruby! :(
havenn has quit [Ping timeout: 256 seconds]
<A124> Put that aside. On the other note: Do you know any good means for passing data (any means, not only pure objects) from Ruby to Ruby across network?
thunderstrike has joined #ruby
<A124> Documentation is fine. I'm a source code learner. So in most cases not a problem for me.
monkegji_ has joined #ruby
<shevy> I once used drb, but it is awful... http://segment7.net/projects/ruby/drb/introduction.html "DRb allows Ruby programs to communicate with each other on the same machine or over a network."
monkegjinni has quit [Read error: Connection reset by peer]
AndChat| has quit [Ping timeout: 248 seconds]
<A124> Yes, awful, and that's why I asked exactly xD
<shevy> it really is horrible :( I used it only once, then never again... things worked, but 4 weeks later, I had no idea what it was really doing
<shevy> DRbObject.new <--- ugly!
<shevy> I have to leave here for ~2 hours, A124 when you find another way and the example works, could you show me how you solved this?
doomMonkey has joined #ruby
<A124> shevy: For you, of course. I thought think I may stick with accessor for a while :)
Banistergalaxy has quit [Ping timeout: 260 seconds]
ph^_ has joined #ruby
<A124> shevy: The authentication idea was just to use a method to faciliate the operations and a simple shared secret to grant access, like rand()
lggr has joined #ruby
<shevy> yeah but I think there could be other ways... global variables, but they suck. how about a constant? an array constant that holds the data... FOO = [], then use that, at least it is specific to the namespace... I have to go now though, will be back later
<A124> shevy: I want to be not gobal variable bound. See you.
heftig has quit [Ping timeout: 260 seconds]
ph^ has quit [Ping timeout: 240 seconds]
xjiujiu_ has joined #ruby
ph^_ has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 264 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ph^ has joined #ruby
hukl has joined #ruby
banseljaj is now known as imami|afk
thomas is now known as tdubellz
lggr has joined #ruby
Banistergalaxy has joined #ruby
AndChat| has joined #ruby
AndChat- has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
heftig has joined #ruby
\13k has joined #ruby
ananthakumaran has quit [Ping timeout: 268 seconds]
matthewrobbins has joined #ruby
matthewrobbins has quit [Client Quit]
cantonic_ has joined #ruby
lggr has joined #ruby
c0rn_ has quit []
cantonic has quit [Ping timeout: 245 seconds]
cantonic_ is now known as cantonic
matthewrobbins has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
matthewrobbins has quit [Client Quit]
matthewrobbins has joined #ruby
matthewrobbins has quit [Client Quit]
Trex has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
matthewrobbins has joined #ruby
lggr has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
matthewrobbins has quit [Quit: matthewrobbins]
jimeh2 has joined #ruby
<avalarion> Hey, I need this expression in ruby. My example is php^^. if( !is_dir($dir) ) mkdir($dir);
zz_chrismcg is now known as chrismcg
<Mon_Ouie> See Dir.exists? and Dir.mkdir
heftig has quit [Quit: leaving]
hukl has quit [Quit: Leaving...]
<Mon_Ouie> Also don't forget edge cases: what if it exists but isn't a directory? What if there are race conditions?
hukl has joined #ruby
<avalarion> Oh, I won't get this far ;)
<avalarion> Thank you Mon_Ouie =). Are my first ruby lines, I am trying to upate my redmine plugin to a newer version^^.
Xeago has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
Paradox has quit [Quit: derpderp]
answer_42 has quit [Ping timeout: 276 seconds]
answer_42 has joined #ruby
lggr has joined #ruby
Tuxi has joined #ruby
hukl has quit [Quit: Leaving...]
hukl has joined #ruby
justinmcp has joined #ruby
dv_ has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
arietis has quit [Read error: Connection reset by peer]
<Hanmac> avalarion: FileUtils.mkdir & FileUtils.mkdir_p are cool too
arietis has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
dv_ has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
<avalarion> Hanmac, are they even better?
s1n4 has quit [Ping timeout: 264 seconds]
heftig has joined #ruby
<Hanmac> maybe :P
hukl has quit [Quit: Leaving...]
My_Hearing has joined #ruby
hukl has joined #ruby
s1n4 has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
lggr has joined #ruby
LouisGB has joined #ruby
hukl has quit [Quit: Leaving...]
hukl has joined #ruby
chussenot has quit [Quit: chussenot]
My_Hearing is now known as Mon_Ouie
lggr has quit [Ping timeout: 245 seconds]
hukl has quit [Quit: Leaving...]
hukl has joined #ruby
frogprince_mac has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
\13k has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
jimeh2 has quit [Quit: bye]
bradhe has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 264 seconds]
Solnse2 has joined #ruby
Solnse has quit [Ping timeout: 260 seconds]
Norrin has quit [Ping timeout: 260 seconds]
hsbt has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
scitick has quit [Ping timeout: 246 seconds]
freeayu has joined #ruby
Norrin has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Remote host closed the connection]
s1n4 has quit [Quit: leaving]
examancer has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby
Tuxi has quit [Remote host closed the connection]
lggr has joined #ruby
hukl has quit [Quit: Linkinus - http://linkinus.com]
timonv has quit [Remote host closed the connection]
examancer has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
gmdeux has joined #ruby
hsbt has joined #ruby
gmdeux_ has joined #ruby
Norrin has quit [Ping timeout: 260 seconds]
examancer has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 246 seconds]
gmdeux_ has quit [Remote host closed the connection]
Black-Heaven has joined #ruby
<Black-Heaven> Hi all
examancer has joined #ruby
kirun has joined #ruby
bluenemo has quit [Remote host closed the connection]
lggr has joined #ruby
chimay has joined #ruby
<Black-Heaven> I'm trying to use rack but I have a problem :I want to use Rack::Auth::Basic, but I need the request uri, so Rack::Request, I trying to make an inheritance un /contrib but Rack doesn't find it, is there an other thing to do? for your help, in advance, thanks.
saschagehlich has joined #ruby
vlad_starkov has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
Norrin has joined #ruby
Tuxist has joined #ruby
hsbt has quit [Ping timeout: 268 seconds]
examancer has quit [Ping timeout: 264 seconds]
Norrin has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
Jake232 has joined #ruby
examancer has joined #ruby
hsbt has joined #ruby
hbpoison has joined #ruby
Guedes0 has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 248 seconds]
Norrin has joined #ruby
bradhe has joined #ruby
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby
lggr has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
rippa has joined #ruby
arturaz has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
tongmo has joined #ruby
<shevy> avalarion FileUtils.mkdir_p is best because it tries to create even subdirectories like FileUtils.mkdir_p 'tmp/lala/foo'
xzy has quit [Ping timeout: 264 seconds]
<m3pow> shevy ..you're a genius mate !
xjiujiu__ has joined #ruby
<shevy> wat! why!
<m3pow> helping everybody out ....good for you !
<shevy> ah that
<m3pow> :)
xjiujiu_ has quit [Ping timeout: 246 seconds]
<shevy> when it comes to specialized knowledge, I can't help much. Like the Rack::Auth::Basic question, I never dived into rack enough to have used that myself
<shevy> or ActiveRecord questions
<m3pow> well you know lots of things , so does Hanmac...good blokes
<shevy> yeah Hanmac also knows C++, my hope is he also adds documentation to his ruby-ogre bindings, then I could use pure ruby to create 3D things!
<Hanmac> i will add documentation ... later :P
<shevy> my local pen and paper roleplaying group, a bunch of friends, have been playing since almost 20 years. that's a lot of data that could be turned into a virtual world
<shevy> yeah yeah yeah :P
<shevy> we know how that goes
<shevy> :(
<shevy> documentation is boring and tedious
<shevy> I am trying to find ways to make it more fun to write
<m3pow> you can do 3d stuff in ruby ?
<shevy> like, for my larger projects I try to "teach" newcomers how to use the project, and also explain design decision sometimes
<shevy> m3pow, yeah
Black-Heaven has left #ruby ["You just loose THE GAME"]
<shevy> http://antargis.berlios.de/ <-- used ruby as scripting language
<shevy> Hanmac, the guy from antargis is also from germany and uses C++
<m3pow> that's great...i got to the "defining and using classes" lesson in ruby
<m3pow> i'm a n00bie
<shevy> sadly, he got a kid and a fulltime job ~3 years ago so he had no more time
<shevy> m3pow, you'll learn that quickly
dhruvasagar has quit [Ping timeout: 245 seconds]
<shevy> when you define and use methods, you have a basic structure
<shevy> and then, you bundle methods into module or classes, which is the second structure you will use
<Hanmac> with the right bindings you could do everything in ruby
<m3pow> to be honest to learn by yourself is a bit more tricky than to have a professor
<shevy> yeah
<shevy> I dont know any professors teaching ruby though
<shevy> here, they prefer Java, C++, then C
<shevy> that's about it :(
<m3pow> neither do I
<m3pow> yeah most of them like those stuff
lggr has joined #ruby
<m3pow> i dream to have my own website in time
vitor-br has joined #ruby
<m3pow> you know....start easy and grow in time
<m3pow> i can;t wait to get to RoR, but as Hanmac said "you better of learning ruby first"
<shevy> hmm
<shevy> be careful
<shevy> I tried to get into RoR after knowing Ruby but it was much harder
<shevy> it just didn't seem as fun as ruby alone :(
<shevy> m3pow, perhaps learn RoR first
hbpoison has quit [Ping timeout: 245 seconds]
<m3pow> now i'm a bit confused
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
<shevy> hehe
<shevy> well, Hanmac is right - it is better to first get solid with ruby, then get into specialized RoR
<shevy> but, for me, RoR just wasn't any fun anymore, it felt somehow tedious, all the tedious things (when I tried a year ago, bundler install didn't work)
<shevy> and I just followed the instructions from the official homepage
lggr has quit [Ping timeout: 245 seconds]
Companion is now known as CompanionCube
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
CompanionCube is now known as Companion
<m3pow> do you have any personal recommendations that you can share ?
wuzzzzaah has quit [Read error: Connection reset by peer]
<m3pow> and sorry for these silly questions, but to start alone is a bit difficult
lggr has joined #ruby
<shevy> m3pow, it's a bit hard to say because basically I think you need to find your own "style" first
<shevy> the one you can feel most comfortable with
<shevy> it can change over the years too
<shevy> m3pow, what I think is always useful, which also is in my local knowledge, is to collect useful snippets and small solutions in ruby
chussenot has joined #ruby
<shevy> things like
<shevy> "How do I find all elements greater than 2?"
<shevy> {"foo"=> 5, "bar" => 1, "ble" => 11 }.select {|key, value| value > 2}
<shevy> (Provided they are in such a hash that is)
<shevy> m3pow, and you should start to write small scripts as soon as possible. for me, I stopped using shell scripts, and did all shell-like actions in ruby scripts
<shevy> after you wrote a bunch of small ruby scripts, start to make .gem files
<shevy> (when the scripts are useful)
timonv has joined #ruby
hbpoison has joined #ruby
<m3pow> thank you !
<m3pow> very much
wuzzzzaah has joined #ruby
chussenot has quit [Read error: Connection reset by peer]
wpaulson has joined #ruby
wuzzzzaah has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 268 seconds]
timonv has quit [Ping timeout: 246 seconds]
xzy has joined #ruby
ken_barber1 has joined #ruby
ken_barber has quit [Ping timeout: 245 seconds]
xzy has quit [Client Quit]
wuzzzzaah has joined #ruby
lggr has joined #ruby
`brendan has joined #ruby
wuzzzzaah has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 244 seconds]
ttt has quit [Remote host closed the connection]
Jake232 has quit [Quit: Computer has gone to sleep.]
Neomex has quit [Quit: Neomex]
<shevy> yeah I think that's the most important thing in ruby... to find the style that works for you
Banistergalaxy has joined #ruby
<shevy> it's like you solve a problem. first time it is hard, second time you often understand it much better, even irrelevant of the programming language
<shevy> but it's better to solve a problem with the better programming language too
<shevy> or the better strategy
<shevy> I found Ruby much better than PHP. there always seemed less lines and less characters required in ruby to solve something that PHP can solve
raul782 has joined #ruby
<A124> PHP? *puke*
AndChat| has quit [Ping timeout: 260 seconds]
<m3pow> php is not an OO language right like Ruby so it can't do thing as good, but it has it's good parts
lggr has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 268 seconds]
<Mon_Ouie> It not being OO isn't where the problem lies
<m3pow> i don't argue, it's just a thought
<Mon_Ouie> It's more about it being inconsistent, and using weird techniques (e.g. arrays are actually hash tables)
hbpoison_ has joined #ruby
<shevy> m3pow php OOP model is very clumsy
<shevy> I think they copied it from perl more or less, and mixed in some C# into it
<shevy> they do have something like traits though... if I remember correctly. I will google
workmad3 has joined #ruby
<shevy> oh yeah. their traits are a bit like ruby mixins - http://php.net/manual/en/language.oop5.traits.php
hbpoison has quit [Read error: Connection reset by peer]
<shevy> "Traits is a mechanism for code reuse in single inheritance languages such as PHP."
<shevy> "Enabling a developer to reuse sets of methods freely in several independent classes living in different class hierarchies."
<shevy> hmm yeah, sounds a bit like a module in ruby
lggr has joined #ruby
<A124> shevy: Hey, do you remember the Ruby learning pages? One had step by steb, second was with example and test, and third not sure.
<A124> *?
vlad_starkov has quit [Ping timeout: 268 seconds]
bradhe has joined #ruby
wuzzzzaah has joined #ruby
hbpoison_ has quit [Ping timeout: 244 seconds]
hbpoison has joined #ruby
<shevy> A124 ruby learning pages?
wuzzzzaah has quit [Read error: Connection reset by peer]
<A124> Yup
<shevy> you don't mean "learn ruby the hard way" or?
jearvondharrie has joined #ruby
<shevy> no, eleven
<shevy> :)
wpaulson_ has joined #ruby
<shevy> oh actually twelve... he starts at 0 ...
<shevy> lol
<shevy> I once wanted to update it
<shevy> it's one big .rb file
<A124> Hm. Nope that was not that. I have many instances of browser and don't have bookmarks here now.. I have about 500MB or so only bookmarks
<shevy> hehe
rippa has joined #ruby
ttt has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
wpaulson has quit [Ping timeout: 268 seconds]
wpaulson_ is now known as wpaulson
ttt has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 264 seconds]
wuzzzzaah has joined #ruby
deadghost has quit [Ping timeout: 260 seconds]
wuzzzzaah has quit [Read error: Connection reset by peer]
TomJ has quit [Quit: TomJ]
lggr has joined #ruby
cakehero has quit [Quit: Leaving...]
ZachBeta has quit [Read error: Connection reset by peer]
uris has joined #ruby
Hamed-R has joined #ruby
wuzzzzaah has joined #ruby
ZachBeta has joined #ruby
Erfankam has quit [Quit: Leaving.]
Axsuul has quit [Ping timeout: 244 seconds]
Ruun has joined #ruby
cakehero has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby
niklasb has joined #ruby
Tuxist has quit [Remote host closed the connection]
lggr has joined #ruby
Tuxist has joined #ruby
wuzzzzaah has quit [Read error: Connection reset by peer]
hippyphysicist has joined #ruby
hippyphysicist has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 245 seconds]
thone has joined #ruby
arturaz has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
thone_ has quit [Ping timeout: 244 seconds]
jeffreybaird has joined #ruby
hbpoison has joined #ruby
thunderstrike has quit [Remote host closed the connection]
wpaulson has quit [Ping timeout: 240 seconds]
iocor has joined #ruby
xyzodiac has joined #ruby
wuzzzzaah has joined #ruby
shiki has quit [Remote host closed the connection]
lggr has joined #ruby
jbw has quit [Ping timeout: 268 seconds]
ttt has joined #ruby
Tuxist has quit [Read error: Operation timed out]
shiki has joined #ruby
Tuxist has joined #ruby
<workmad3> shevy: hey, just found a new language that I think you'll love :D
wuzzzzaah has quit [Read error: Connection reset by peer]
blubber_ has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
<blubber_> Hi, could someone tell me how to parse german date strings like "23. Mai 2011", "12. Januar 2012", ... Time.parse only work with english strings for me.
love_color_text has joined #ruby
<Mon_Ouie> AFAIK the built-in time-formatting related functions are locale independent since 1.9
ewag has quit [Ping timeout: 246 seconds]
<blubber_> Is it possible to change this in a ruby script?
<Mon_Ouie> Well, yes, you can reimplement all that if you are courageous enough for that
monkegji_ has quit [Read error: Connection reset by peer]
ttt has quit [Ping timeout: 260 seconds]
<blubber_> I thought more about something like Time.set_locale('de')
monkegjinni has joined #ruby
<blubber_> Is there anything like that?
<Mon_Ouie> By "locale independent", I mean really independent.
<shevy> workmad3, this makes me very angry
<shevy> (console.log "2 + 2 = %d" (+ 2 2))
<shevy> ALL THE ()()()()
<shevy> (h1 "Welcome to LispyScript")))
<shevy> no
<shevy> they use method names for html tags, but one needs to use ()
<shevy> :(
<shevy> <h1 "Welcome to LispyScript"))>
<shevy> h1 "Welcome to LispyScript"
wuzzzzaah has joined #ruby
lggr has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.3.8]
rippa has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<m3pow> LispyScript ...sounds like breakfast Cereals
wuzzzzaah has quit [Client Quit]
<blubber_> ok, sorry. Thanks for your help Mon_Ouie
<Hanmac> "now with more Lispy-Flakes"
statarb3 has quit [Ping timeout: 268 seconds]
lggr has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
hbpoison has quit [Read error: Connection reset by peer]
Hamed-R has quit [Quit: Leaving]
bradhe has joined #ruby
notVert has joined #ruby
hbpoison has joined #ruby
mucker has joined #ruby
jamjam has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 248 seconds]
lggr has joined #ruby
budha has joined #ruby
ninp0 has quit [Quit: Leaving]
hbpoison_ has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
hbpoison has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
blubber_ has quit [Quit: Page closed]
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby
hbpoison has joined #ruby
hbpoison_ has quit [Ping timeout: 248 seconds]
sailias has quit [Read error: Connection reset by peer]
jamjam has joined #ruby
sailias has joined #ruby
diegoviola has joined #ruby
lggr has joined #ruby
zeromodulus has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
arturaz has joined #ruby
iMe has joined #ruby
freeayu has quit [Remote host closed the connection]
justinmcp has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 256 seconds]
answer_42 has quit [Ping timeout: 276 seconds]
lggr has joined #ruby
answer_42 has joined #ruby
Spooner has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
<diegoviola> i have an application (rails) and from a controller i'm moving some code to a separate process (background job), i'd like to notificate the parent process when the child process exits, is there a way to do this?
Spaceghostc2c has joined #ruby
<Hanmac> diegoviola did you try #rubyonrails ?
emmanuelux has quit [Ping timeout: 246 seconds]
<diegoviola> trying now, ty
triptec has quit [Quit: triptec]
lggr has joined #ruby
RegEchse has joined #ruby
paissad has joined #ruby
Tuxi has joined #ruby
<shevy> those warnings in ruby 1.9.3 are quite verbose
Tuxist has quit [Ping timeout: 240 seconds]
Tuxi has quit [Remote host closed the connection]
ztirf has joined #ruby
ztirf has quit [Client Quit]
jbw has joined #ruby
Tuxist has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
ph^ has quit [Remote host closed the connection]
mneorr has joined #ruby
shiki has quit [Remote host closed the connection]
shiki has joined #ruby
nohonor_alt has joined #ruby
Solnse2 has quit [Ping timeout: 240 seconds]
iocor has quit [Quit: Computer has gone to sleep.]
xjiujiu__ has quit [Read error: Connection reset by peer]
20WABBBPK has joined #ruby
nohonor has quit [Quit: Leaving]
Spooner has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
shiki has quit [Ping timeout: 268 seconds]
Khol has quit [Ping timeout: 245 seconds]
notVert has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 244 seconds]
ttt has joined #ruby
sailias has quit [Quit: Leaving.]
mneorr has quit [Remote host closed the connection]
cakehero has quit [Quit: Computer has gone to sleep.]
jeffreybaird has quit [Quit: jeffreybaird]
iMe has quit [Quit: iMe has left the building….]
20WABBBPK has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
ph^ has joined #ruby
mneorr has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
Guedes0 has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
mneorr has left #ruby [#ruby]
iocor has joined #ruby
iocor has quit [Client Quit]
xyzodiac has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
virgul has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
iocor has joined #ruby
CaptainJet has joined #ruby
nari has joined #ruby
flingbob has joined #ruby
love_color_text has quit [Remote host closed the connection]
flingbob has quit [Client Quit]
shiki has joined #ruby
lggr has joined #ruby
matthewrobbins has joined #ruby
jearvondharrie has quit [Ping timeout: 256 seconds]
jearvondharrie has joined #ruby
Tuxist has quit [Remote host closed the connection]
robustus has left #ruby [#ruby]
robustus has joined #ruby
kiyoura has joined #ruby
kiyoura` has joined #ruby
kiyoura` has quit [Client Quit]
lggr has quit [Ping timeout: 246 seconds]
kiyoura has quit [Client Quit]
kiyoura has joined #ruby
<kiyoura> woprs
<kiyoura> wops*
Tuxist has joined #ruby
gab0_ has joined #ruby
lggr has joined #ruby
wataken44 has quit [Remote host closed the connection]
triptec has joined #ruby
frogstarr78 has quit [Remote host closed the connection]
Tuxist has quit [Read error: Connection reset by peer]
fyolnish has joined #ruby
Tuxist has joined #ruby
arturaz has quit [Ping timeout: 264 seconds]
fyoln____ has quit [Ping timeout: 268 seconds]
lggr has quit [Ping timeout: 246 seconds]
nimred has quit [Ping timeout: 244 seconds]
fyolnish has quit [Read error: Connection reset by peer]
Drewch has quit [Excess Flood]
fyolnish has joined #ruby
Drewch has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
frogstarr78 has joined #ruby
Tuxist has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
<mikekelly> anyone done much with braintree's Curator gem ?
gmdeux has quit [Ping timeout: 264 seconds]
Tuxist has joined #ruby
bananagram has joined #ruby
Tuxist has quit [Remote host closed the connection]
gmdeux has joined #ruby
<jokar> hello all,how can download all ruby gem?
lggr has quit [Ping timeout: 245 seconds]
raul782 has quit [Remote host closed the connection]
<jokar> i want download all package for offline use
<shevy> jokar hmmm
<shevy> jokar you would need to find all names for all gems
<jokar> shevy :hi,I hope you feel good
<shevy> gem q -r
<shevy> try this command first
<shevy> it lists 43865 packages
<jokar> shevy :ok
raul782_ has joined #ruby
<shevy> you should download this somewhere, there you can get the name (split at '(')
<jokar> shevy: i install ruby 1.9,but when i enter ruby command,not show any output
<jokar> ok
<shevy> that is normal behaviour
<shevy> perl has the same behaviour
<shevy> the standard way to invoke ruby is:
<jokar> but python not
<shevy> ruby name_of_script.rb
<shevy> yes
<shevy> python enters interactive python
<jokar> aha
<jokar> yes
mucker has quit [Quit: Lost terminal]
<shevy> ruby has irb instead, run "irb" if you need interactive python
<jokar> ruby have it but in windows os
<shevy> are you on windows again :(
<jokar> i download apata
<jokar> no
<jokar> i hate microsoft
<shevy> apata?
mucker has joined #ruby
<jokar> aptana
<shevy> ah the editor
<shevy> I don't use it, you need only your brain for ruby
<Spaceghostc2c> My brain is sadding.
<jokar> yeah
<jokar> i run gem q -r
<shevy> jokar, you can look at the gem commands... look at "gem help", there you can see what you need to run (Hint: look at "commands" part)
<jokar> shevy : sure,i will see
<shevy> yes. q for query... gem q -> gem query and I think -r is for remote
<jokar> yes
<shevy> that will be a lot of MB I guess :)
<shevy> I have only about 300 different .gem files that I keep, after ~5 years of ruby
<shevy> total 33 MB
<jokar> shevy : can i send a pm,it is a personal message really
<Spaceghostc2c> Having all the gems doesn't sound like a genius idea.
<shevy> nono
<shevy> jokar, I need to click on the PRIVMSG
<shevy> then I must click back
hsbt has quit [Ping timeout: 245 seconds]
Tuxist has joined #ruby
<Spaceghostc2c> shevy: Click? You use a graphical IRC client? I thought we were friends.
<jokar> it is a persoanl question
lggr has joined #ruby
<shevy> yeah Spaceghostc2c
<shevy> jokar I am naked here, you can ask :)
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
<shevy> Spaceghostc2c, I tried with irssi but I always mispaste
<jokar> shevy : but it personal
<shevy> my brain is kind of used so much to old habits
<shevy> jokar I don't exist!
<Spaceghostc2c> jokar: we're all fiends here.
<shevy> did you forget a r ...
<jokar> thank you
<Spaceghostc2c> shevy: Nope. :)
hsbt has joined #ruby
mmitchell has joined #ruby
<jokar> shevy : my military service is started and i'm not here for two month i want tell you,if possible not forget me,i need your help really for learning ruby
<kiyoura> i like "The Ruby Programming Language" co-authored by matz
<Spaceghostc2c> jokar: Getting every version of every gem to date might not be a great idea.
<Spaceghostc2c> kiyoura: It was alright for sure.
<shevy> jokar two months? that's quite long
gener1c has joined #ruby
gener1c has quit [Changing host]
gener1c has joined #ruby
<shevy> two months without any ruby... you are going to forget things :-)
<gener1c> how do i find out if a lib is maintaind deprecated or what not?
<Spaceghostc2c> gener1c: github.
<gener1c> look at the source tree for the last update?
kirun_ has joined #ruby
<shevy> 2 years ago, I had no internect connection for 5 months... I felt like an old man coming back to the internet...
<jokar> shevy : it is mandatory :(
<gener1c> k
<shevy> jokar ewww
<Spaceghostc2c> jokar: Jewish?
<shevy> korean military is 3 years I think
gab0_ has quit [Quit: Konversation terminated!]
<jokar> shevy : not i'm not jewish
<shevy> a korean guy had an old taekwondo injury and didn't have to service
<kiyoura> shevy, Backtrack does have one neat purpose.. Cracking wifi <_< >_>
<jokar> shevy : my military service is two years
<shevy> jokar, Spaceghostc2c asked this, not me. I only remarked about korean military :)
<shevy> whoa
<jokar> oh sorry
<shevy> 2 years is damn long too
<gener1c> jokar: mine was 3
<shevy> whoaaaaaaa 3 fucking years
<jokar> yes but i'm not here only for two month
<gener1c> compulsary :)
<shevy> ah ok
<jokar> shevy : can i have your email address ?
lggr has quit [Ping timeout: 244 seconds]
afat has joined #ruby
ttt has joined #ruby
<gener1c> korean mill , do they abuse you like they do in the chinise army?
<Spaceghostc2c> shevy: He wants to steal your email address!
<jokar> shevy : if possible please send it via private message
<shevy> jokar can you see the email? https://rubygems.org/profiles/58718 hmm wonder if you can see it, I dont seem to be able to see it
bradhe has joined #ruby
kirun has quit [Ping timeout: 252 seconds]
und3f has quit [Quit: Leaving.]
<gener1c> shevegen
<shevy> gener1c I dunno... but the people who go there change
<gener1c> yeah well they change in my army as well
<shevy> koreans who used to be great at bboying, kind of sucked afterwards
<gener1c> i lost all my hair at the war :)
<shevy> as long as it grows back
<shevy> hehe
<gener1c> it doesnt lol
<afat> Hi someone sent a script to me but when I run it it doesn't work, I think I have copy pasted it wrongly, maybe the indents didn't go well, how can I properly save this script to disk? https://github.com/kernelsmith/metasploit-framework/blob/fix_screenspy/modules/post/windows/gather/screen_spy.rb
<shevy> lol
kirun_ has quit [Client Quit]
<Vinz_> shevy: I am able to see your email :)
<shevy> Vinz_ ok
<jokar> shevy: i sent an email for you,if possible please reply me,i want add your in my contacts
tongmo has quit [Ping timeout: 268 seconds]
<gener1c> shevy: you are heavy on the rb
<shevy> jokar did you send it
<jokar> yes
<shevy> gener1c, haha... I used to hate gems ~2 years ago
<jokar> please check
<shevy> and I was on 1.8.7 too
jameshyde_ has joined #ruby
tongmo has joined #ruby
<shevy> until I finally switched... it was painful :( but now I am on 1.9.3 and am using gems
<shevy> (but the documentation stuff still confuses me... hence why my gems lack proper documentation)
<gener1c> gems == hot stuff
<Spaceghostc2c> He was growing up. <3
lggr has joined #ruby
tongmo has quit [Read error: Connection reset by peer]
<shevy> yeah gems are quite ok
<gener1c> im using htmlentities right now and i am looking for an epub gem
ttt has quit [Ping timeout: 260 seconds]
<gener1c> too maby deprecated epub gems :P
<shevy> I used to complain about it, but other languages, newer languages like nimrod, do not have an equivalent to gems yet. so you have to manage things on your own a bit, which is not so convenient
<afat> hello?
<jokar> shevy : thank you,i got it
chimkan_ has joined #ruby
<shevy> afat, indent wrong?
bradhe has quit [Ping timeout: 264 seconds]
<shevy> I dont understand this obsession with metasploit
<afat> thanks
tds has joined #ruby
<afat> I dont have to explain it either.
<shevy> hehe
lggr has quit [Ping timeout: 240 seconds]
ken_barber has joined #ruby
zeromodulus has joined #ruby
<gener1c> ok gepub it is
<gener1c> kojima satoshi
<shevy> japanese names sound so cool
<shevy> it's always either a ninja or a samurai
<shevy> is matz more a ninja or more a samurai?
<gener1c> i guess he would be a ninja
ken_barber1 has quit [Ping timeout: 268 seconds]
<gener1c> matzumoto sounds samurai though
<shevy> yeah good point
<shevy> I think he prefers more the ninja way, there is more than one way to infiltrate the castle
<gener1c> yeah, python is for samurais :)
<shevy> whereas the samurai goes in directly from the front with katana raised and in open field, never wanting to hide anywhere
wen_wen has joined #ruby
<Hanmac> shevy maybe he is a ninja-samurai (in space) :D
ken_barber1 has joined #ruby
Tuxist has quit [Remote host closed the connection]
<gener1c> maybe he is a ninja assasin samurai
<shevy> hehe
<gener1c> with lazer shooting eyes
iocor has quit [Quit: Computer has gone to sleep.]
Tuxist has joined #ruby
ken_barber has quit [Ping timeout: 268 seconds]
wen_wen has left #ruby [#ruby]
<gener1c> wait shevy are you south korean?
lggr has joined #ruby
<shevy> gener1c nah, only trained taekwondo for 7 years and was in south korea twice. and my cousin is married to a south korean
<gener1c> so tell her to explain this: https://www.youtube.com/watch?v=9bZkp7q19f0
<shevy> hehehe
<gener1c> :)
arturaz has joined #ruby
<shevy> one of the funniest korean
<gener1c> this stuff is so addictive and rediculous
Tuxist has quit [Read error: Connection reset by peer]
<shevy> yeah, some koreans are absolutely hilariously crazy. he said gangnam should be compared to beverly hills, but beverly hills will never be as hilarious
<Hanmac> korean has VERY funny letters ... but japanise sounds better
<shevy> the korean alphabet (or whatever the proper word is) is quite easy compared to chinese and japanese letters
lggr has quit [Ping timeout: 268 seconds]
rubious has joined #ruby
<shevy> I still think latin beats them with its eyes closed
virgul has quit [Remote host closed the connection]
Spooner has joined #ruby
<shevy> Hanmac!
<shevy> I have 2324 yaml files for programs
maletor has joined #ruby
<shevy> glibc has one, gcc has one... zsh has one ...
mmitchell has quit [Remote host closed the connection]
frogprince has quit [Ping timeout: 264 seconds]
neku has joined #ruby
jgrevich has joined #ruby
<Hanmac> shevy and what d you want with this yaml files?
dyxgej has joined #ruby
<shevy> it serves as starter to compile or install it, and to create archives for distributions too
<Hanmac> "여보세요" "你好" "もしもし" ... shevy what letters looks more cool? the koreans have some alien-like touch :D
<shevy> I dont see them :(
<Hanmac> use a better irc client
bluenemo has quit [Remote host closed the connection]
<shevy> my system is broken since 2 months but I am too lazy to update
lggr has joined #ruby
<shevy> xchat can display it! I just dont use UTF hehehe
<A124> lol
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
neku has quit [Ping timeout: 256 seconds]
xyzodiac has joined #ruby
ZachBeta has joined #ruby
iocor has joined #ruby
ZachBeta has quit [Client Quit]
nohonor_alt has quit [Quit: Leaving]
cody has joined #ruby
jearvondharrie has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 256 seconds]
Tuxist has joined #ruby
uniiiii has joined #ruby
justinmcp has joined #ruby
uniiiii has left #ruby [#ruby]
enriclluelles has joined #ruby
frogprince has joined #ruby
ken_barber1 has quit [Remote host closed the connection]
ainame has joined #ruby
sailias has joined #ruby
lggr has joined #ruby
jearvondharrie has joined #ruby
Vainoharhainen has joined #ruby
DavidBCN38 has joined #ruby
td123 has joined #ruby
chrishunt has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
chimay has quit [Quit: WeeChat 0.3.9-rc1]
td123 has quit [Ping timeout: 268 seconds]
chimay has joined #ruby
love_color_text has joined #ruby
lggr has joined #ruby
td123 has joined #ruby
rubious has quit [Quit: Leaving...]
jblack has joined #ruby
JetAway has joined #ruby
CaptainJet has quit [Disconnected by services]
Tuxist has quit [Remote host closed the connection]
statarb3 has quit [Ping timeout: 246 seconds]
JetAway is now known as CaptainJet
lggr has quit [Ping timeout: 256 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<m3pow> 요" that's a penis
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
ainame has quit [Quit: Leaving...]
ken_barber has joined #ruby
GordonFreeman has joined #ruby
ttt has joined #ruby
matthewrobbins has quit [Quit: matthewrobbins]
mazemult has joined #ruby
ttt has quit [Remote host closed the connection]
pskosinski has quit [Remote host closed the connection]
td123 has quit [Ping timeout: 268 seconds]
ScottNYC has joined #ruby
mucker has quit [Quit: leaving]
mahmoudimus has joined #ruby
pskosinski has joined #ruby
lggr has joined #ruby
ryanf has joined #ruby
sailias has quit [Quit: Leaving.]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
td123 has joined #ruby
ltsstar has joined #ruby
havenn has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
GordonFreeman has quit [Ping timeout: 245 seconds]
redpanda has joined #ruby
mneorr has joined #ruby
mneorr has left #ruby [#ruby]
redpanda has quit [Remote host closed the connection]
<chiel> in an erb template, can I somehow check the rack environment? (or sinatra, whichever)
lggr has joined #ruby
<chiel> like if I want to differentiate between dev/prod
awarner has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
lggr has quit [Ping timeout: 244 seconds]
imami|afk is now known as banseljaj
bradhe has joined #ruby
<ryanf> chiel: ENV['RACK_ENV'] ?
AlbireoX has joined #ruby
bradhe has quit [Remote host closed the connection]
<chiel> ryanf: hmm yeah, tried that, doesn't seem to be set by pow. apparently settings.environment is set though, in sinatra
bradhe has joined #ruby
awarner has quit [Remote host closed the connection]
lggr has joined #ruby
AlbireoX`Laptop has joined #ruby
AlbireoX has quit [Read error: Connection reset by peer]
cakehero has joined #ruby
frogprince has quit [Ping timeout: 268 seconds]
lggr has quit [Ping timeout: 264 seconds]
shiki has quit [Remote host closed the connection]
pfaff has quit [Ping timeout: 245 seconds]
awarner has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
ttt has joined #ruby
cburyta has joined #ruby
frogprince has joined #ruby
Morkel has joined #ruby
lggr has joined #ruby
fasta has quit [Quit: Quit]
mneorr1 has joined #ruby
mneorr1 has left #ruby [#ruby]
ph^ has quit [Remote host closed the connection]
sterNiX has joined #ruby
sterNiX has quit [Changing host]
sterNiX has joined #ruby
jjbohn has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 245 seconds]
carlfurrow has joined #ruby
shevy has joined #ruby
cburyta has quit [Ping timeout: 256 seconds]
felipe has quit [Ping timeout: 265 seconds]
Vainoharhainen has quit [Ping timeout: 264 seconds]
pdelgallego has quit [Quit: pdelgallego]
jjbohn has quit [Quit: Linkinus - http://linkinus.com]
Solnse has joined #ruby
lggr has joined #ruby
ghanima has joined #ruby
eldariof has joined #ruby
gmdeux has quit [Remote host closed the connection]
snorkdude has joined #ruby
zigidias has quit [Ping timeout: 260 seconds]
<ScottNYC> to anyone using rbenv, whats the best way to install ruby gems when using rbenv? use sudo gem install? do I have to reinstall gems when using different versions of ruby or does every version of ruby has access to installed gems? whats best practices
snorkdude has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 240 seconds]
philcrissman has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
DrShoggoth has quit [Quit: Leaving]
zigidias has joined #ruby
knirhs has joined #ruby
vitor-br has quit [Ping timeout: 246 seconds]
pfaff has joined #ruby
ajsharp_zz is now known as ajsharp
chimkan___ has joined #ruby
vitor-br has joined #ruby
cool has joined #ruby
awarner has quit [Remote host closed the connection]
ewag has joined #ruby
ScottNYC has quit [Quit: ScottNYC]
chimkan_ has quit [Read error: Operation timed out]
lggr has joined #ruby
Shrink has quit [Ping timeout: 252 seconds]
cool has left #ruby [#ruby]
cj3kim has quit [Quit: This computer has gone to sleep]
Vainoharhainen has joined #ruby
Aristata has joined #ruby
jearvondharrie has quit [Ping timeout: 246 seconds]
love_color_text has quit [Remote host closed the connection]
doomMonkey has quit [Quit: Leaving]
lggr has quit [Ping timeout: 260 seconds]
sgupta has joined #ruby
knirhs has quit [Ping timeout: 246 seconds]
love_color_text has joined #ruby
<ajsharp> Are there any tools for the ruby 1.9 vm to generate a rich AST like you can with rubinius? http://rubini.us/doc/en/bytecode-compiler/ast/
awarner has joined #ruby
ph^ has joined #ruby
jearvondharrie has joined #ruby
enriclluelles has quit [Remote host closed the connection]
ken_barber has quit [Ping timeout: 246 seconds]
ken_barber has joined #ruby
swistak35 has joined #ruby
Nisstyre-laptop has joined #ruby
Solnse has quit [Ping timeout: 240 seconds]
ananthakumaran has quit [Quit: Leaving.]
lggr has joined #ruby
cody has quit [Remote host closed the connection]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
sgupta has quit [Read error: Connection reset by peer]
vitor-br has quit [Ping timeout: 246 seconds]
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
td123 has quit [Ping timeout: 250 seconds]
ph^ has quit [Ping timeout: 264 seconds]
vaclavt has joined #ruby
headius has joined #ruby
gab0 has joined #ruby
Shrink has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 244 seconds]
awarner has quit [Remote host closed the connection]
mazemult has left #ruby ["Leaving"]
jearvondharrie has quit [Ping timeout: 256 seconds]
Shrink has joined #ruby
havenn has quit [Remote host closed the connection]
ttt has joined #ruby
td123 has joined #ruby
Guedes0 has joined #ruby
<Aristata> I want to create a new time in the central time zone, and have it be for 1:00pm, then convert it to utc. How would I go about doing that?
lggr has joined #ruby
ajsharp is now known as ajsharp_zz
<Aristata> Can anyone help me out with this question?: http://pastie.org/private/2wp4sp4rutpvqfr8bosy8g
bananagram has quit [Ping timeout: 268 seconds]
quest88 has joined #ruby
sepp2k1 has joined #ruby
bobbbo has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
awarner has joined #ruby
hbpoison has quit [Ping timeout: 244 seconds]
jearvondharrie has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
awarner has quit [Remote host closed the connection]
knirhs has joined #ruby
ttt has quit [Remote host closed the connection]
headius has quit [Quit: headius]
Shrink has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
yakitori has joined #ruby
bobbbo has quit [Quit: bobbbo]
ajsharp_zz is now known as ajsharp
<ajsharp> Aristata: it's not
<ajsharp> oh
blazed has joined #ruby
<ajsharp> you mean when you initially create the time object
knirhs has quit [Ping timeout: 260 seconds]
al-ol has quit [Ping timeout: 264 seconds]
b6fan has joined #ruby
knirhs has joined #ruby
al-ol has joined #ruby
cburyta has joined #ruby
ph^ has joined #ruby
havenn has joined #ruby
td123 has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 244 seconds]
<Spooner> aristata ajsharp : Central should be GMT-6 (east -5 and west -7), but daylight saving can make them different at different times of the year. That is, there is a difference between which timezone you are in and what your current offset is. I'm in GMT+0, but my time is one hour ahead of GMT currently, due to daylight saving time.
Drewch has quit [Excess Flood]
hbpoison has joined #ruby
Drewch has joined #ruby
uris has quit [Quit: leaving]
cburyta has quit [Ping timeout: 246 seconds]
<Spooner> UTC is at true GMT, not affected by DST.
Solnse has joined #ruby
<Hanmac> http://xkcd.com/673/ << DST :D
* Spooner hopes he isn't talking out of his arse here ;)
<Hanmac> Spooner as far as i know you are right
<Spooner> Oh good.
<Spooner> And I didn't realise that by setting my clocks back and forward I was actually saving the sun. Thanks for that, Hanmac!
lggr has joined #ruby
yakitori has quit [Remote host closed the connection]
tk___ has quit [Quit: ばいばい]
bananagram has joined #ruby
pskosinski has left #ruby ["Some alternative (not-controlled-by-fu*up-developers/moderators) Red Eclipse servers: http://altred.tk/master"]
Guest58188 has joined #ruby
Guest58188 has quit [Client Quit]
<Hanmac> Spooner as far as i knew, because of electric Lights, DST cost more than it saves ...
cody has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
ph^ has quit [Ping timeout: 246 seconds]
rubious has joined #ruby
JarJar has quit [Quit: Leaving]
snorkdude has joined #ruby
<Spooner> It is a tradition.
<Hanmac> yeah thats the right word
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<Spooner> It bears little relation to the modern world.
<Spooner> It is mainly of benefit for hoes, apparently.
<CaptainJet> Wasn't DST originally devised during the industrial revolution so in the later months, workers could still work in the light for a longer amount of hours?
<Hanmac> Spooner its the same with USA and "miles"
jearvondharrie has quit [Ping timeout: 256 seconds]
<havenn> "Get Your Hoe Ready!" is still applicable, just doesn't mean what it used to!
yakitori has joined #ruby
reuf has joined #ruby
snorkdude has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
yakitori has quit [Client Quit]
<Spooner> We in the UK are still half-and-half. We have to mark goods in kilos because we are all Frenchified, but they still have pounds and ounces underneath for us to _actually_ use :D
cody has quit [Remote host closed the connection]
GoHuyGo has joined #ruby
ryanlecompte has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
pskosinski has joined #ruby
GraemeLion has joined #ruby
yakitori has joined #ruby
<Spooner> Next is a 10 hour day and a 10 day week.
yoklov has joined #ruby
Chryson has joined #ruby
<GoHuyGo> Sup Spooner
idletom has joined #ruby
<Spooner> Planning to unilaterally regress from DST because it makes using Date objects more complex.
kstephens has quit [Read error: Connection reset by peer]
<GraemeLion> So I have PickAxe, are there any other good recommended books for Ruby? The books on the site seem outdated and I have concerns about that
QKO has quit [Ping timeout: 244 seconds]
kstephens has joined #ruby
kirun has joined #ruby
<Spooner> People recommend Learning to Program (Chris Pine) for complete newbies and Well-Rounded Rubyist for less newbies. Pickaxe is fine though - depends what else you need to know.
lggr has joined #ruby
QKO has joined #ruby
arturaz has quit [Remote host closed the connection]
putra has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
putra has left #ruby [#ruby]
Spaceghost|cloud has joined #ruby
carlfurrow_ has joined #ruby
<GraemeLion> Spooner: Okay, there seems to be a lot of inherited convention from the community too.. best practices and what not.. does Pickaxe go into that?
vlad_starkov has quit [Remote host closed the connection]
ttt has joined #ruby
c0rn_ has joined #ruby
<Spooner> GraemeLion : Not sure it does. It is also quite old (though updated). It is also the only one of the three I've read :)
<GraemeLion> Ah :D
lggr has quit [Ping timeout: 246 seconds]
carlfurrow has quit [Ping timeout: 246 seconds]
carlfurrow_ is now known as carlfurrow
knirhs has quit [Ping timeout: 246 seconds]
zeromodulus has quit [Remote host closed the connection]
ken_barber1 has joined #ruby
knirhs has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
<Spooner> I've also only read the 1.8 version (and only cover-to-cover about 8 years ago), so I am, perhaps, the worst person to comment about anything on any level.
ken_barber has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
lggr has joined #ruby
arkiver has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
beneggett has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
ph^ has joined #ruby
LouisGB has quit []
jrajav has joined #ruby
arkiver has quit [Quit: Leaving]
<GraemeLion> Spooner: Fair enough :)
pskosinski has quit [Remote host closed the connection]
frogprince_mac has quit [Quit: Leaving...]
<GraemeLion> I'm just learning the language because it seems fun, and I also do python dev.. both are quite fun :D
ghanima has quit [Ping timeout: 256 seconds]
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
b6fan has left #ruby [#ruby]
DrShoggoth has joined #ruby
cody has joined #ruby
carlfurrow has left #ruby [#ruby]
lggr has joined #ruby
pskosinski has joined #ruby
carlfurrow has joined #ruby
LouisGB has joined #ruby
wallerdev has quit [Quit: wallerdev]
null- has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
vaclavt has quit [Quit: vaclavt]
lggr has quit [Ping timeout: 240 seconds]
mmitchell has joined #ruby
ttt has joined #ruby
<Spooner> GraemeLion : We have less parrots and more chunky bacon.
<Spooner> All you need to know.
ajsharp is now known as ajsharp_zz
<GraemeLion> Spooner: Heh.
<GraemeLion> Not in enough with the terminology there, I'm afraid :D
ttt_ has joined #ruby
<Spooner> http://en.wikipedia.org/wiki/Why's_(poignant)_Guide_to_Ruby
lggr has joined #ruby
deryl has quit [Quit: Leaving.]
eldariof has quit []
ttt_ has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 264 seconds]
wpaulson has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
<GraemeLion> Spooner: Yeah.. :) I've glanced through why's stuff. Probably should read it.
cody has quit [Remote host closed the connection]
cody has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
<cody> anyone there?
<GraemeLion> I am.. but don't know how much help I'd be :)
fantazo has joined #ruby
lggr has joined #ruby
<voodoofish> how can I look at the contents of an arbitrary object?
ttt has joined #ruby
vlad_starkov has joined #ruby
nible has joined #ruby
AlbireoX`Laptop has quit [Remote host closed the connection]
AlbireoX has joined #ruby
gab0 has quit [Quit: Konversation terminated!]
allyraza has quit [Ping timeout: 246 seconds]
gab0 has joined #ruby
cburyta has joined #ruby
AlbireoX`Laptop has joined #ruby
AlbireoX has quit [Write error: Connection reset by peer]
lggr has quit [Ping timeout: 264 seconds]
ttt has quit [Ping timeout: 240 seconds]
chimay has quit [Quit: WeeChat 0.3.9-rc1]
kstephens has quit [Ping timeout: 264 seconds]
fearoffish has quit [Ping timeout: 264 seconds]
felipe has joined #ruby
<Spooner> voodoofish : Which particular contents? instance variables? methods?
kstephens has joined #ruby
<Spooner> cody : Lots here; just ask your question.
GoGoGarrett has joined #ruby
deryl has joined #ruby
cburyta has quit [Ping timeout: 244 seconds]
tchebb has quit [Read error: Connection reset by peer]
tchebb has joined #ruby
fearoffish has joined #ruby
Jamone has joined #ruby
Jamone has joined #ruby
Jamone has quit [Changing host]
tchebb has quit [Read error: Connection reset by peer]
<Spooner> GraemeLion : Sadly, not worth reading if you want to learn Ruby, unless you have a huge amount of time on your hands for digressions :D
tchebb has joined #ruby
<GraemeLion> Spooner: Yeah, that's also what I've heard ;)
<GraemeLion> That he was influential, but gone
nible has quit []
allyraza has joined #ruby
Monie has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
<Spooner> That too.
<null-> who?
verto is now known as verto|off
<Spooner> _why
<null-> why?
<Spooner> No, _why :D
<null-> where?
<Spooner> No, _why's on third base!
ph^ has joined #ruby
jamjam has quit [Ping timeout: 260 seconds]
jrajav has quit []
_md has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
vaclavt has joined #ruby
cody has quit [Remote host closed the connection]
zeromodulus has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<null-> the public accessor methods of one object can be used on a object from another class?
aaaaaple has joined #ruby
cody has joined #ruby
carlfurrow has left #ruby [#ruby]
carlfurrow has joined #ruby
<Spooner> null- : Huh? I'd say no, but I'm not 100% sure what you are asking.
aaaaaple has quit [Client Quit]
<null-> Spooner: let me paste some code
<Spooner> OK
carlfurrow has left #ruby [#ruby]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
carlfurrow has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
lggr has joined #ruby
snorkdude has joined #ruby
cj3kim has quit [Client Quit]
wallerdev has joined #ruby
<null-> my indent is getting garbled :/
<Spooner> Can be hard to know what to ask if you don't know the answer.
yakitori has quit [Ping timeout: 244 seconds]
xyzodiac has quit [Ping timeout: 246 seconds]
<Hanmac> ruby is not python, i can parse bad-indent code too :D
SegFaultAX has joined #ruby
<Spooner> I can't. It hurts my brain, especially with hard tabs in it :D
ScottNYC has joined #ruby
<Hanmac> ... i prefer hardtabs (\t) in my code :/
lggr has quit [Ping timeout: 268 seconds]
knirhs has quit [Read error: Connection reset by peer]
enriclluelles has joined #ruby
sgupta has joined #ruby
ttt has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
<null-> the balance accessor methons from the Account class is being used in the Transaction class
<null-> s/methons/method/
<Spooner> Oh, I see. Yes, of course they can because they are accessors. The other class only doesn't have access to instance variables that don't have accessors.
budha has quit []
<Spooner> I misunderstood your "used on an object", since I'd expect it to be said "used by an object"
snickerss has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
<Spooner> Since you wrote the code however, you could have just run it to see if it worked.
xyzodiac has joined #ruby
<Spooner> Personally, I'd have put the debit and credit methods on Account, rather than had an accessor.
rippa has joined #ruby
<null-> Spooner: this is from the Pickaxe book, what does account.balance do there?
lggr has quit [Ping timeout: 245 seconds]
<Spooner> Oh, is it? Fair enough. attr_accessor basically just adds methods: def balance; @balance; end; def balance=(value); @balance = value; end
<null-> Spooner: yeah, but what kind of object is account the debit method ?
c3mdigital has joined #ruby
c0rn_ has quit []
<null-> he's applying the balance method to account (account.balance)
<Spooner> Yes.
Jamone has quit [Read error: Connection reset by peer]
<null-> Spooner: so in this case the expression account.balance just creates the value @balance ?
bobbbo has joined #ruby
c3mdigital has left #ruby ["["signed off..."]"]
<Spooner> Yes, because Account has #balance and #balance=, which wrap @balance.
vlad_starkov has quit [Remote host closed the connection]
Jamone has joined #ruby
<Spooner> It doesn't create @balance. The value of @balance is set in Account#initialize, when it is created.
<null-> is sets account to the value of balance?
<Spooner> Yes, for example you'd do account = Account.new(200) which would set @balance to 200 and so account.balance would be 200
<null-> first time using OO here, I'll reread the classes and objects chapter
<null-> :)
lggr has joined #ruby
<null-> Spooner: ok, thanks
<Spooner> Yeah, it is hard to get your head around it at first.
lushious has quit [Remote host closed the connection]
<Spooner> The idea is that ivars (like @balance) are private to the class and you only expose them indirectly accessors or other methods.
<Spooner> For example, a simple refactor simplifies the code (and makes more sensible use of encapsulation, I think): http://codepad.org/duXUAdL4
ph^ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
_md has quit [Quit: Linkinus - http://linkinus.com]
<Spooner> null- : Though that might not make any more sense to you. Mmm.
<Hanmac> i dont like codepad ... because the ruby engine is too old :'(
vaclavt has quit [Quit: vaclavt]
chimkan___ has quit [Quit: chimkan___]
sgupta has quit [Read error: Connection reset by peer]
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
swarley has joined #ruby
<Spooner> And don't point out that I don't ensure that amount > 0, Hanmac :D
<null-> Spooner: I think your version looks more cleaner code wise but I guess from the logical side is better to put the transactions in the Transaction class
<Spooner> null- : Debit and credit are not transactions per se and only affect a single account. transfer is a transaction though, so that should be in Transaction.
lggr has quit [Ping timeout: 240 seconds]
<gener1c> maybe transaction should be a mixin
<gener1c> :P
* gener1c runs away
mmitchell has quit [Ping timeout: 244 seconds]
|Monie| has joined #ruby
deadghost has joined #ruby
enriclluelles has quit [Remote host closed the connection]
richwestcoast has joined #ruby
<null-> Spooner: good point
<Hanmac> Spooner: http://codepad.org/7ODkvOpF XD
<Spooner> Kind of moot in such a simple example of course, without a specification :D
c0rn_ has joined #ruby
<null-> yeah, in this case it doesn't matter much
snickerss has quit [Quit: Page closed]
<Spooner> Hanmac : Not how things work, Hanmac - if I have $99 in my account and pay someone $100, then nothing gets paid and I get fined $50 for being somehow evil :D
<gener1c> initializeing the Transaction class might be an overkill
<gener1c> you can make it a static method
<gener1c> imagine it working on tons of accounts
<Spooner> gener1c : Again, depends on the transaction. If it is something that will be stored, it does have state.
swarley has quit [Ping timeout: 260 seconds]
<gener1c> the state is kept by the accounts no?
<Hanmac> Spooner: but if you are an republican, you get $200 FOR being evil :P
ph^ has quit [Ping timeout: 256 seconds]
<gener1c> a transaction is an action that changes the state of the accounts
Jamone has quit [Ping timeout: 244 seconds]
skogis has quit [Ping timeout: 246 seconds]
<Spooner> No, say I want to see my transactions over the last 3 months, I need to know about the transactions, which accounts they affected and how much was moved. Just knowing my current balance isn't too helpful.
<gener1c> maybe if the initialization variables would be , amount that would be appropriate no?
<gener1c> ah i get you now
<gener1c> like payments
lggr has joined #ruby
ken_barber has joined #ruby
<Spooner> Also, for example, the transfer could take place at a different time than the transaction was created.
<gener1c> is it common place to do that?
ScottNYC has quit [Quit: ScottNYC]
<Spooner> Yes, for example for a standing order/direct debit. You create the connection once and it gets paid once a month.
Monie has joined #ruby
<gener1c> yea but why not simply have db entries for that?
<Spooner> And generally transfers aren't instant.
ken_barber1 has quit [Ping timeout: 245 seconds]
<gener1c> a serialized object would be harder to check and maintain
<gener1c> and i assume no one would let it float in the heap for months
<Spooner> Because the book is teaching OO, not db (Account and Transaction would be ORM objects, not regular objects, in the "real world")/.
<Spooner> It is just an example for a system we all understand :D
Shrink has quit [Read error: Connection reset by peer]
<gener1c> ah kz
vlad_starkov has joined #ruby
<null-> gener1c: this is just a simple example to ilustrate access control (public, private, protected)
<Spooner> But it doesn't seem as straightforward as it could be, now we are discussing it :D
Shrink has joined #ruby
|Monie| has quit [Ping timeout: 244 seconds]
<gener1c> what book is it?
<gener1c> pickaxe?
<null-> yes
<gener1c> ok cool
<gener1c> great name btw \0
cburyta has joined #ruby
mengu has joined #ruby
snorkdude has quit [Remote host closed the connection]
<null-> copy it from learning C (NULL) ;)
<Spooner> null- : I hope you learned something, even if it wasn't what you wanted to learn!
<gener1c> lol
<null-> '\0' would be the null character in C
lggr has quit [Ping timeout: 256 seconds]
<gener1c> asking stuff about visibility , getting a lesson in soft eng
<null-> Spooner: yes, it gave me a new perspective
beneggett has quit [Quit: Computer has gone to sleep.]
adambeynon has joined #ruby
<Spooner> null- : You have come to us from the heady world of C then?
<null-> coming from learing C, this dynamic typing, everything is an object and OOP can be confusing ;)
<null-> s/learing/learning/
Shrink has quit [Read error: Connection reset by peer]
<null-> Spooner: yes
Shrink has joined #ruby
<gener1c> <3 c & ruby
stan_man_can has joined #ruby
<Spooner> http://pine.fm/LearnToProgram/?Chapter=00 is a good intro, but is aimed more at non-programmers; some things might be useful for you. Lighter than the Pickaxe, of course.
<Hanmac> null- Ruby likes C ... you could use C to make your ruby programms faster :P
cburyta has quit [Ping timeout: 260 seconds]
<Spooner> You could use C to make your Ruby programs slower too, but that would be harder work :D
<null-> Spooner: Pickaxe is great, is that I just should slow down a bit
emmanuelux has joined #ruby
<null-> Hanmac: Yes, they are a good combo
<null-> I do love how ruby blocks are much powerful that C function pointers
<gener1c> ruby is c at its core
<gener1c> so basically u can do anything ruby does in c
<gener1c> only it would be way harder
<null-> and I should probably stop comparing them since that is what is confusing the hell out of me some times ;)
<gener1c> yeah , learning them both at the same time is not a smart idea
snorkdude has joined #ruby
<Mon_Ouie> Saying "Ruby is C as its core" doesn't mean much; you can say "X is machine code at its core" about any programming language.
dyxgej has quit [Remote host closed the connection]
lggr has joined #ruby
<gener1c> yeah thats true
rakl has joined #ruby
* Hanmac writes extensions for ruby ... so he knows to comine the best of ruby and c(++)
<gener1c> ill get to that one day :P
<gener1c> Hanmac: gems?
bbttxu has joined #ruby
<Hanmac> my exts ar not gem'ed yet but yes
<gener1c> oh cool
bbttxu has quit [Client Quit]
ken_barber1 has joined #ruby
<null-> Hanmac: is it easy to integrated C extensions in ruby?
<null-> or painful?
ken_barber has quit [Ping timeout: 240 seconds]
<Hanmac> hm not SO much ...
lggr has quit [Ping timeout: 240 seconds]
alienvenom has quit [Read error: Operation timed out]
<null-> C is a pain anyway :)
chrismcg is now known as zz_chrismcg
<gener1c> no c++ is a pain
<gener1c> c is pretty
<gener1c> for its own uses
GoHuyGo has quit [Quit: Leaving]
<Hanmac> you normaly put an method around a method call ... like changing the input types (form ruby's VALUE to something else like size_t) call the orginal method, and than return the output again in a ruby type (from bool to VALUE) ... its the same for c or C++ methods
<null-> C is great but is staill a pain :)
lggr has joined #ruby
<GraemeLion> C is fine, C++ is generally evil and hinders about as much as it helps :P
gener1c has quit [Quit: Lost terminal]
ajsharp_zz is now known as ajsharp
Morkel has quit [Quit: Morkel]
lggr has quit [Ping timeout: 245 seconds]
ph^ has joined #ruby
<Hanmac> C,C++, and Ruby in my hands ... THIS is evil :D
GraemeLion has quit [Ping timeout: 246 seconds]
chrishunt has quit [Quit: WeeChat 0.3.8]
s0ber has quit [Read error: Connection reset by peer]
<null-> C++ alone is evil enough :)
ajsharp has quit [Quit: be peacin out...]
ajsharp has joined #ruby
ajsharp has left #ruby [#ruby]
s0ber has joined #ruby
TomJ has quit [Read error: Connection reset by peer]
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
sterNiX has quit [Quit: Lagging Off]
ttt has joined #ruby
lggr has joined #ruby
ScottNYC has joined #ruby
specialGuest has joined #ruby
specialGuest has quit [Changing host]
specialGuest has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
chendo has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
chendo has joined #ruby
DrShoggoth has quit [Quit: Leaving]
pingfloyd has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
swarley has joined #ruby
snorkdude has quit [Remote host closed the connection]
lggr has joined #ruby
sagax has quit [Quit: Ухожу я от вас]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
derpops has joined #ruby
swarley has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 256 seconds]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
ewag_ has joined #ruby
c0rn_ has quit []
mengu has quit [Quit: Konversation terminated!]
ewag has quit [Ping timeout: 246 seconds]
msuszczy has joined #ruby
cody has quit [Remote host closed the connection]
Axsuul has joined #ruby
guns has joined #ruby
vaclavt has joined #ruby
mmitchell has joined #ruby
swarley has joined #ruby
bobbbo has quit [Quit: bobbbo]
lggr has joined #ruby
vaclavt has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
mmitchell has quit [Ping timeout: 244 seconds]
idletom has quit [Ping timeout: 246 seconds]
rippa has quit [Ping timeout: 256 seconds]
wpaulson has joined #ruby
wpaulson has quit [Client Quit]
wallerdev has joined #ruby
Kudos has quit [Ping timeout: 264 seconds]
kstephens has quit [Ping timeout: 264 seconds]
kstephens has joined #ruby
lggr has quit [Ping timeout: 268 seconds]
ph^ has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
banseljaj has quit [Excess Flood]
banseljaj has joined #ruby
Kudos has joined #ruby
CaptainJet has quit []
lggr has joined #ruby
linoj has quit [Quit: linoj]
cburyta has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
A124 has quit [Quit: Leaving.]
msuszczy has quit [Remote host closed the connection]
Mchl has quit [Ping timeout: 246 seconds]
jameshyde_ has quit [Remote host closed the connection]
thunderstrike has joined #ruby
ph^ has quit [Ping timeout: 256 seconds]
CaptainJet has joined #ruby
cburyta has quit [Ping timeout: 248 seconds]
baphled has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
A124 has joined #ruby
A124 has left #ruby [#ruby]
ltsstar has quit [Quit: ltsstar]
ken_barber1 has quit [Ping timeout: 246 seconds]
pricees has joined #ruby
jarred has joined #ruby
workmad3 has joined #ruby
lggr has joined #ruby
snorkdude has joined #ruby
derpops has left #ruby [#ruby]
ken_barber has joined #ruby
carlfurrow has quit [Remote host closed the connection]
carlfurrow has joined #ruby
Aristata has quit [Quit: Leaving.]
mahmoudimus has joined #ruby
idletom has joined #ruby
timonv has joined #ruby
deryl has quit [Quit: Leaving.]
rakl has quit [Quit: sleeping]
lggr has quit [Ping timeout: 256 seconds]
tchebb1 has joined #ruby
tchebb has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
joofsh has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
c0rn_ has joined #ruby
lggr has joined #ruby
ken_barber1 has joined #ruby
robustus has quit [Quit: ZNC - http://znc.in]
xyzodiac has quit [Quit: Computer has gone to sleep.]
ken_barber has quit [Ping timeout: 256 seconds]
swarley has quit [Ping timeout: 244 seconds]
timonv has quit [Remote host closed the connection]
ttt has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
xyzodiac has joined #ruby
ph^ has joined #ruby
crodas has quit [Read error: Connection reset by peer]
slyv has joined #ruby
ttt has quit [Ping timeout: 260 seconds]
snorkdude has quit [Remote host closed the connection]
arubin has joined #ruby
LouisGB has quit [Ping timeout: 246 seconds]
banseljaj is now known as imami|afk
rakl has joined #ruby
lggr has joined #ruby
raul782_ has quit [Remote host closed the connection]
c0rn_ has quit [Ping timeout: 246 seconds]
crodas has joined #ruby
c0rn_ has joined #ruby
carlfurrow_ has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
ph^ has quit [Ping timeout: 264 seconds]
baphled has quit [Ping timeout: 240 seconds]
GoHuyGo has joined #ruby
jamjam has joined #ruby
carlfurrow has quit [Ping timeout: 256 seconds]
carlfurrow_ is now known as carlfurrow
c0rn_ has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
pricees has quit [Remote host closed the connection]
lyaunzbe has joined #ruby
<lyaunzbe> Hey guys, would it possible for me to write a firewall using a ruby script? Basically disallow access to certain sites from my network conncetion.
c0rn_ has joined #ruby
lggr has joined #ruby
gurps has quit [*.net *.split]
karstensrage has quit [Read error: Operation timed out]
mmitchell has joined #ruby
deryl has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
hiroyuki has joined #ruby
zeromodulus has quit [Remote host closed the connection]
c0rn_ has quit [Client Quit]
<TTilus> possible? certainly, hard? most definitely! sensible? not at all!
gurps has joined #ruby
mikekelly has quit [Ping timeout: 252 seconds]
shiki has joined #ruby
<TTilus> lyaunzbe: just configure your os fw with the tools it has for the task
<TTilus> lyaunzbe: if the os does not have fw, do not use it
mmitchell has quit [Ping timeout: 264 seconds]
lggr has quit [Ping timeout: 268 seconds]
arubin has quit [Quit: arubin]
fasta has joined #ruby
mikekelly has joined #ruby
lggr has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.8]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 256 seconds]
VegetableSpoon has joined #ruby
cburyta has joined #ruby
tomzx_ has joined #ruby
Guest64548 has quit [Ping timeout: 240 seconds]
LouisGB has joined #ruby
cburyta has quit [Ping timeout: 246 seconds]
ph^ has joined #ruby
dmiller has joined #ruby
lggr has joined #ruby
jarred has quit [Quit: jarred]
deryl has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
havenn has joined #ruby
sebastorama has quit [Quit: Computer has gone to sleep.]
Mchl has joined #ruby
ayawaska has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 246 seconds]
c0rn_ has joined #ruby
joeycarmello has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
specialGuest has quit [Ping timeout: 256 seconds]
lyaunzbe has quit [Read error: Connection reset by peer]
lyaunzbe has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
lggr has joined #ruby
ltsstar has joined #ruby
deryl has joined #ruby
Gadgetoid_ has joined #ruby
ltsstar has quit [Client Quit]
c0rn_ has quit [Ping timeout: 260 seconds]
slyv has quit [Quit: Cya]
tommyvyo has quit [Quit: Computer has gone to sleep.]
emmanuelux has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 256 seconds]
c0rn_ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
ttt has joined #ruby
sent-hil has joined #ruby
lggr has joined #ruby
deryl has quit [Quit: Leaving.]
tomzx_ has quit [Ping timeout: 246 seconds]
dmiller has quit [Remote host closed the connection]
chimkan has joined #ruby
ttt has quit [Ping timeout: 240 seconds]
c0rn_ has quit [Ping timeout: 246 seconds]
joeycarmello has joined #ruby
bigmcq77 has joined #ruby
GoHuyGo has quit [Quit: Leaving]
lggr has quit [Ping timeout: 256 seconds]
bradhe has joined #ruby
c0rn_ has joined #ruby
<stan_man_can> Anyone have a solid way to parse through XML? I'm using Nokogiri right now but I feel like I'm "doing it wrong"
<stan_man_can> (Warning: I'm new to ruby!)
<stan_man_can> Essentially I would like to grab http://apps.cbp.gov/bwt/bwt.xml and grab some data about each port
<stan_man_can> so far using nokogiri I'm ports = doc.xpath("/border_wait_time/port[contains(border, 'Canadian Border')]") and then looping through each port but it's feeling messy
<stan_man_can> since each port i would need to do another path to grab data from the child nodes
emmanuelux has joined #ruby
alienvenom has joined #ruby
lledet has joined #ruby
havenn has quit [Remote host closed the connection]
Guedes0 has quit [Remote host closed the connection]
ghanima has joined #ruby
Criztian has joined #ruby
cj3kim has quit [Quit: Leaving]
ph^ has joined #ruby
ayawaska has joined #ruby
lggr has joined #ruby
chimkan has left #ruby [#ruby]
tds has quit [Quit: tds]
c0rn_ has quit [Ping timeout: 240 seconds]
alienvenom has quit [Ping timeout: 244 seconds]
gfontenot has joined #ruby
<VegetableSpoon> doesn't look that messy to me
<VegetableSpoon> you'd like to filter the ports AND extract data at once
<VegetableSpoon> is that right?
Ruun has quit [Quit: Verlassend]
c0rn_ has joined #ruby
specialGuest has joined #ruby
alienvenom has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
specialGuest has quit [Changing host]
specialGuest has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
Solnse has quit [Ping timeout: 240 seconds]
rubious has quit [Quit: Leaving...]
xyzodiac has quit [Quit: Computer has gone to sleep.]
VegetableSpoon has left #ruby ["Leaving"]
c0rn_ has quit [Ping timeout: 246 seconds]
<saschagehlich> hey, why does my sass / compass add these weird compact() thingies into my css? https://gist.github.com/fdcb2f51b96ac39a3b0e
GoHuyGo has joined #ruby
tds has joined #ruby
gfontenot has quit []
uris has joined #ruby
lggr has joined #ruby
zeromodulus has joined #ruby
deryl has joined #ruby
seanstickle has joined #ruby
ScottNYC has quit [Quit: ScottNYC]
c0rn_ has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Criztian has quit [Read error: Connection reset by peer]
adac has joined #ruby
lledet has quit [Quit: lledet]
<adac> Hi. How can I transform a sting into a method. ie method = "my_method" call.method
bier has quit [Ping timeout: 256 seconds]
notVert has joined #ruby
gfontenot has joined #ruby
cburyta has joined #ruby
c0rn_ has quit [Ping timeout: 248 seconds]
cburyta has quit [Ping timeout: 244 seconds]
<tds> adac: obj.send("my_method".to_sym)
lggr has joined #ruby
<tds> or obj.send(:"my_method")
c0rn_ has joined #ruby
xyzodiac has joined #ruby
kiyoura has quit [Quit: Leaving]
mrflip has quit [Quit: mrflip]
mrflip has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
carlfurrow has quit [Quit: carlfurrow]
xyzodiac has quit [Quit: Computer has gone to sleep.]
bier has joined #ruby
bluenemo has quit [Remote host closed the connection]
ph^ has joined #ruby
gfontenot has quit []
moshee has quit [Ping timeout: 245 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
lggr has joined #ruby
zodiak has quit [Read error: Connection reset by peer]
zodiak has joined #ruby
tds has quit [Quit: tds]
ghanima has quit [Ping timeout: 246 seconds]
zodiak has quit [Read error: Connection reset by peer]
c0rn_ has quit [Ping timeout: 244 seconds]
xyzodiac has joined #ruby
havenn has joined #ruby
c0rn_ has joined #ruby
robie13__ has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
Russell^^ has quit [Quit: Russell^^]
gfontenot has joined #ruby
ph^ has quit [Ping timeout: 256 seconds]
havenn has quit [Ping timeout: 256 seconds]
c0rn_ has quit [Ping timeout: 246 seconds]
ken_barber1 has quit [Ping timeout: 264 seconds]
ttt has joined #ruby
c0rn_ has joined #ruby
BrokenCog has quit [Quit: leaving]
zodiak has joined #ruby
lggr has joined #ruby
timonv has joined #ruby
pdelgallego has joined #ruby
gfontenot has quit []
ttt has quit [Ping timeout: 240 seconds]
chazu has joined #ruby
specialGuest has quit [Ping timeout: 256 seconds]
lggr has quit [Ping timeout: 240 seconds]
seanstickle has quit [Read error: Connection reset by peer]
seanstickle has joined #ruby
raul782 has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
iocor has quit [Quit: Computer has gone to sleep.]
Kudos has quit [Ping timeout: 264 seconds]
dakine has quit [Remote host closed the connection]
c0rn_ has quit [Ping timeout: 246 seconds]
kstephens has quit [Quit: PredictTheFuture]
specialGuest has joined #ruby
c0rn_ has joined #ruby
Kudos has joined #ruby
Kudos has quit [Changing host]
Kudos has joined #ruby
kstephens has joined #ruby
LouisGB has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
raul782 has quit [Ping timeout: 246 seconds]
jamjam has quit [Ping timeout: 240 seconds]
TomJ has quit [Quit: TomJ]
GoHuyGo has quit [Quit: Leaving]
<davidcelis> send works with a string...
<davidcelis> you can just send("my_method") and not do the conversion.
maletor has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 256 seconds]
<chazu> whats the canonical way of adding an instance variable to an instance using a mixin?
gfontenot has joined #ruby
c0rn_ has quit [Ping timeout: 240 seconds]
guns has quit [Quit: guns]
kirun has quit [Quit: Client exiting]
ThePeach_ has joined #ruby
c0rn_ has joined #ruby
lyaunzbe has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
ewag_ has quit [Read error: Operation timed out]
xyzodiac has joined #ruby
Guest29702 has joined #ruby
sent-hil has quit [Remote host closed the connection]
ph^ has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
mxweas has joined #ruby
ewag_ has joined #ruby
c0rn_ has quit [Ping timeout: 248 seconds]
dakine has joined #ruby
niklasb has quit [Ping timeout: 246 seconds]
c0rn_ has joined #ruby
emmanuelux has quit [Quit: emmanuelux]
RegEchse has joined #ruby
lggr has joined #ruby
workmad3 has joined #ruby
<Vinz_> It seems that most of this channel activity is joins/quits/parts
sent-hil has joined #ruby
reset has joined #ruby
mxweas has quit [Ping timeout: 268 seconds]
cburyta has joined #ruby
<Gate> Vinz_: yep.
<Vinz_> :D
lggr has quit [Ping timeout: 244 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
mxweas has joined #ruby
ph^ has quit [Ping timeout: 264 seconds]
raul782 has joined #ruby
allyraza has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
cburyta has quit [Ping timeout: 240 seconds]
<ThePeach_> hi all I've installed rvm, but can't get it to work on other terminals. moreover I can't get gem to work on other terminals, nor with passenger
gab0 has quit [Quit: Konversation terminated!]
<ThePeach_> first timer here with rvm btw, I feel I've made some basic mistake, can anyone point me to the right direction
<ThePeach_> ?