havenn has quit [Remote host closed the connection]
<seanstickle>
jsilver: is that good?
gyre007 has quit [Ping timeout: 252 seconds]
swarley has joined #ruby
fyolnish has joined #ruby
grzywacz has quit [Quit: :wq]
<jsilver>
seanstickle: i believe so, yes
<jsilver>
tests coming too, since platform is stable
<seanstickle>
Well then, hurrah
<jsilver>
hurrah :D
<jsilver>
100% Ruby even tho it has native iOS and Android clients ;)
fyolnish has quit [Remote host closed the connection]
fyolnish has joined #ruby
<seanstickle>
It's an IRC client, right?
<seanstickle>
I can't quite figure it out.
ircmouser has joined #ruby
icole has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
Vert has joined #ruby
xyzodiac has joined #ruby
Bosma has joined #ruby
Michael_ has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
<jsilver>
seanstickle: it's an IRC knockoff but with some features added back that don't exist in IRC, mainly ability to say multiple lines (pastes) and persistent log-saving and scrollback (ZNC-style buffer replay built in)
<seanstickle>
Neato.
<jsilver>
seanstickle: other than that, it's mostly equivelent to a single channel, operator-less, global, one-room IRC channel
<jsilver>
thx! :D
<jsilver>
also, it's intended to be super-coder friendly, so /slash commands and emoticon:)s are not used
<jsilver>
:D
jds_ has quit [Ping timeout: 255 seconds]
Michael_ has joined #ruby
Michael_ has quit [Remote host closed the connection]
Goles has joined #ruby
tomsthumb has joined #ruby
byennen has quit [Remote host closed the connection]
byennen has joined #ruby
adeponte has joined #ruby
TheNumb has quit [Ping timeout: 276 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
tbrock_ has quit [Quit: Computer has gone to sleep.]
<matchaw__>
I am pulling the data from a json file, line 5, interface_00 is the original key name
k776 has joined #ruby
<matchaw__>
so basically i need to create a new hash like { interfaces => { interface_00 => {}, interface_01 => {} } }
<k776>
Anyone know any simple ways to speed up Ruby or Ruby on Rails? For example: Recompiling ruby with −03 optimization halved the execution time for nearly every action. Any other similar quick wins?
joofsh has quit [Remote host closed the connection]
Bosma has quit [Quit: leaving]
seich- has quit [Ping timeout: 246 seconds]
nilg has joined #ruby
phantasm66 has quit [Quit: *sleeeeep*]
burgestrand has quit [Quit: Leaving.]
Goles has joined #ruby
fantazo has quit [Remote host closed the connection]
cj3kim has joined #ruby
adeponte has joined #ruby
gridaphobe has joined #ruby
rohit has quit [Ping timeout: 240 seconds]
tbrock_ has joined #ruby
tuannat has joined #ruby
Goles_ has joined #ruby
burgestrand has joined #ruby
phantasm66 has joined #ruby
ananthakumaran has joined #ruby
byennen has quit [Remote host closed the connection]
Goles has quit [Ping timeout: 240 seconds]
byennen has joined #ruby
jwang has quit [Ping timeout: 255 seconds]
lampe2_afk has quit [Quit: Leaving.]
Goles_ has quit [Ping timeout: 264 seconds]
fir_ed has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Ping timeout: 248 seconds]
ebouchut has joined #ruby
azorac has joined #ruby
Slivka has quit [Remote host closed the connection]
seanwash has quit [Quit: Computer has gone to sleep.]
afgeneralist has joined #ruby
rohit has joined #ruby
jwang has joined #ruby
danktamagachi has quit [Ping timeout: 264 seconds]
danktamagachi has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
AlecTaylor has joined #ruby
<AlecTaylor>
hi
<azorac>
hello
love_color_text_ has joined #ruby
love_color_text_ has quit [Changing host]
love_color_text_ has joined #ruby
love_color_text_ is now known as keyvan
arya_ has joined #ruby
burgestrand has quit [Ping timeout: 264 seconds]
mosez has quit [Ping timeout: 248 seconds]
alee-_ has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
lolcathost has quit [Quit: lag]
alee- has quit [Ping timeout: 276 seconds]
slainer68 has joined #ruby
kil0byte has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 264 seconds]
Shamgar has quit [Ping timeout: 264 seconds]
Shamgar has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
Goles has joined #ruby
phantasm66 has quit [Quit: *sleeeeep*]
arya_ has joined #ruby
seich- has joined #ruby
tuannat has quit [Ping timeout: 252 seconds]
himsin has quit [Ping timeout: 256 seconds]
reset has joined #ruby
aeontech has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
b6 has joined #ruby
azorac has quit [Ping timeout: 245 seconds]
Goles has quit [Ping timeout: 240 seconds]
yeban_ is now known as yeban
ewag has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
kbeddingfield has quit [Remote host closed the connection]
<b6>
i can't get gem(1) to stop putting stuff in ~/.gem. is there some environment variable other than GEM_HOME to set?
phantasm66 has joined #ruby
phantasm66 has quit [Client Quit]
lolcathost has joined #ruby
hackerdude has quit [Remote host closed the connection]
qwerxy has joined #ruby
tuannat has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
jrunning has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
snorkdude has quit [Quit: snorkdude]
generalissimo has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
lowg has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
lowg has joined #ruby
afgeneralist has quit [Ping timeout: 265 seconds]
joeycarmello has joined #ruby
generalissimo has joined #ruby
gridaphobe has quit [Read error: Operation timed out]
lolcathost has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 244 seconds]
tjbiddle has joined #ruby
arya_ has joined #ruby
tbrock_ has quit [Quit: Computer has gone to sleep.]
generalissimo has quit [Remote host closed the connection]
areil_ has joined #ruby
tjbiddle has quit [Client Quit]
joeycarmello has quit [Ping timeout: 246 seconds]
areil has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
tuannat has quit [Ping timeout: 252 seconds]
kil0byte has joined #ruby
cj3kim has joined #ruby
chimkan has joined #ruby
Goles has joined #ruby
<b6>
seriously, i can't get gem(1) to quit crapping in ~/.gem, even with GEM_HOME and GEM_PATH and --install-dir. is this a bug?
kingsidharth_ has joined #ruby
rakl has joined #ruby
<Blaster>
hey if I define a variable in an example.rb file like varX = 123; and then inside irb type > load "example.rb" how come when I type varX it says not defined?
<rohit>
b6, Try asking in #ruby-lang
arya_ has quit [Ping timeout: 244 seconds]
Retistic has quit [Quit: Retistic]
caiges has joined #ruby
jrunning has joined #ruby
thinkdevcode has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
freezway has quit [Ping timeout: 255 seconds]
Goles has quit [Ping timeout: 240 seconds]
ewag has joined #ruby
burgestrand has joined #ruby
tuannat has joined #ruby
arya_ has joined #ruby
qwerxy has quit [Quit: offski]
tjbiddle has joined #ruby
CaptainJet has quit []
tjbiddle has quit [Client Quit]
jrunning has quit [Ping timeout: 264 seconds]
cirwin has joined #ruby
bakis has joined #ruby
u89 has joined #ruby
shtirlic has joined #ruby
tagrudev has joined #ruby
joeycarmello has joined #ruby
shtirlic_ has quit [Read error: Connection reset by peer]
uxp has quit [Read error: Connection reset by peer]
kennyvb has quit [Ping timeout: 245 seconds]
uxp has joined #ruby
kingsidharth_ has left #ruby [#ruby]
noyb has quit [Quit: Lost terminal]
kennyvb has joined #ruby
yikem has joined #ruby
bakis has quit [Quit: WeeChat 0.3.2]
<reactormonk>
Blaster, because each file has its own main
<reactormonk>
Blaster, when a file is loaded, it is executed in scope of Object.new
<reactormonk>
basically def load(path) Object.new.instance_eval File.read(path) end
JohnBat26 has joined #ruby
caiges has quit [Read error: Operation timed out]
u89 has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
mjolk has quit [Quit: returning some videotapes]
fooo has quit [Ping timeout: 255 seconds]
Goles has joined #ruby
<rohit>
I didn't know that.
<rohit>
Cool
x82_nicole has joined #ruby
Hannes3_ has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
answer_42 has joined #ruby
tuan_nat has joined #ruby
nkts has joined #ruby
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
Scriptwriter has joined #ruby
chimkan has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
nomenkun has quit [Remote host closed the connection]
tuannat has quit [Ping timeout: 255 seconds]
Goles has quit [Ping timeout: 240 seconds]
shiin has joined #ruby
_guy has joined #ruby
<Scriptwriter>
Hello, world. What's the best gem for parsing RSS feeds? I'm using the 'rss' gem but it chokes on <guid isPermalink=false> entries.
yikem has quit [Quit: Computer has gone to sleep.]
tonini has joined #ruby
maesbn has joined #ruby
siori has joined #ruby
siori has quit [Remote host closed the connection]
siori has joined #ruby
Scriptwriter has quit [Quit: Things are more like they are now than they have ever been before.]
xyzodiac has quit [Quit: Computer has gone to sleep.]
BoomCow has quit [Quit: This computer has gone to sleep]
zommi has joined #ruby
jamesaxl has joined #ruby
BoomCow has joined #ruby
machty has quit [Quit: machty]
ChampS666 has joined #ruby
piotr_ has joined #ruby
jamesaxl has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ruby
lolcathost has joined #ruby
a_a_g has joined #ruby
b6 has left #ruby ["*"]
danktamagachi has quit [Ping timeout: 245 seconds]
fooo has joined #ruby
jamesaxl has quit [Read error: Operation timed out]
Elico has quit [Quit: elico]
jamesaxl has joined #ruby
<ryanf>
reactormonk: that is so not true. otherwise you couldn't share top-level methods between files
<ryanf>
also he's talking about assigning locals, which doesn't really have anything to do with what self is
hakunin has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
rhys has quit [Quit: Leaving]
Rious has quit [Excess Flood]
kil0byte has joined #ruby
Goles has joined #ruby
Rious has joined #ruby
nkts has quit []
nkts has joined #ruby
senny has joined #ruby
<cirwin>
new binding, same slef
<shevy>
Blaster @varX = 123 would work
areil has joined #ruby
imami|afk has quit [Remote host closed the connection]
zodiak has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
cirwin has quit [Ping timeout: 240 seconds]
Goles has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
danktamagachi has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9.2]
slainer68 has quit [Ping timeout: 264 seconds]
Elhu has joined #ruby
answer_42 has joined #ruby
chimkan has quit [Quit: chimkan]
bluOxigen has joined #ruby
rohit has quit [Quit: Leaving]
danktamagachi has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
aganov has joined #ruby
jamesaxl has quit [Ping timeout: 264 seconds]
margle has joined #ruby
jamesaxl has joined #ruby
jprovazn has joined #ruby
BoomCow has quit [Ping timeout: 248 seconds]
chococrois has joined #ruby
chococrois has quit [Max SendQ exceeded]
jds_ has joined #ruby
senny has quit [Remote host closed the connection]
zigomir has joined #ruby
arya has joined #ruby
gbchaosmaster has quit [Quit: <insert witty quit message here>]
jsilver has quit [Remote host closed the connection]
BoomCow has joined #ruby
ryanf has quit [Quit: leaving]
Advocation has joined #ruby
chococrois has joined #ruby
zodiak has joined #ruby
chococrois has quit [Max SendQ exceeded]
arya_ has quit [Ping timeout: 244 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
dakine has quit [Remote host closed the connection]
chococrois has joined #ruby
chococrois has quit [Max SendQ exceeded]
mengu has quit [Remote host closed the connection]
zodiak has quit [Read error: Operation timed out]
h4mz1d has quit [Ping timeout: 240 seconds]
dakine has joined #ruby
eldariof has joined #ruby
cirwin has joined #ruby
chococrois has joined #ruby
dr_bob has joined #ruby
xsbeats_ has quit [Read error: Connection reset by peer]
chococrois has quit [Max SendQ exceeded]
xsbeats has joined #ruby
monkegjinni has joined #ruby
chococrois has joined #ruby
monkegjinni has quit [Remote host closed the connection]
chococrois has quit [Client Quit]
zodiak has joined #ruby
Advocation has quit [Ping timeout: 256 seconds]
Morkel has joined #ruby
Goles has joined #ruby
greenarrow has joined #ruby
senny has joined #ruby
Elico has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
hamed_r has joined #ruby
ChampS666 has quit [Ping timeout: 260 seconds]
mneorr has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
sn0wb1rd has joined #ruby
eb has joined #ruby
ebt has quit [Ping timeout: 248 seconds]
Retistic has joined #ruby
Xeago has quit [Remote host closed the connection]
Goles has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
Xeago has joined #ruby
punkrawkR has joined #ruby
jamesaxl has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
jslowe has joined #ruby
rippa has joined #ruby
Eplemosen has joined #ruby
nkts has quit []
matrixise has quit [Ping timeout: 256 seconds]
rippa has quit [Ping timeout: 264 seconds]
kil0byte has quit [Ping timeout: 246 seconds]
k610 has joined #ruby
kingsidharth has joined #ruby
dakine has quit [Quit: Leaving]
nemesit has joined #ruby
kil0byte has joined #ruby
atmosx has quit [Ping timeout: 276 seconds]
Beoran__ has quit [Read error: Connection reset by peer]
tPl0ch has joined #ruby
Elico has quit [Quit: elico]
Beoran__ has joined #ruby
atmosx has joined #ruby
jamesaxl has joined #ruby
u89 has joined #ruby
u89 has quit [Remote host closed the connection]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
codecaster has joined #ruby
jimeh has joined #ruby
Goles has joined #ruby
u89 has joined #ruby
fyolnish has quit [Remote host closed the connection]
fyolnish has joined #ruby
BiHi has joined #ruby
emergion has joined #ruby
mugger has quit [Ping timeout: 260 seconds]
jds_ has quit [Remote host closed the connection]
lolcathost has quit [Ping timeout: 246 seconds]
Goles has quit [Ping timeout: 260 seconds]
Elhu has joined #ruby
jgrevich has quit [Remote host closed the connection]
sk87 has joined #ruby
fyolnish has quit [Remote host closed the connection]
morf has joined #ruby
hotovson has joined #ruby
nomenkun has joined #ruby
BiHi has quit [Quit: Computer has gone to sleep]
nomenkun has quit [Read error: Connection reset by peer]
Virunga has joined #ruby
nomenkun has joined #ruby
lolcathost has joined #ruby
nomenkun_ has joined #ruby
mand_ has quit [Ping timeout: 252 seconds]
nomenkun has quit [Ping timeout: 260 seconds]
Shamgar has quit [Ping timeout: 264 seconds]
kil0byte_ has joined #ruby
<witchdoc>
hi all
freeayu has joined #ruby
TheFuzzball has quit [Quit: Leaving...]
nemesit has quit [Ping timeout: 276 seconds]
Guest92676 has joined #ruby
zeromodu_ has quit [Remote host closed the connection]
<oqa>
shevy: yea, the API is a little intricate. I wrote a replacement with less features to work around the issue I had, 76 lines vs 1600 lines in optparse.rb
kil0byte has quit [Ping timeout: 240 seconds]
BiHi has joined #ruby
Elico has joined #ruby
codecaster has quit [Read error: Connection reset by peer]
codecaster has joined #ruby
ExxKA has joined #ruby
siori has quit [Remote host closed the connection]
siori has joined #ruby
elsifaka has joined #ruby
habib has joined #ruby
six has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
ananthakumaran has joined #ruby
siori has quit [Ping timeout: 252 seconds]
tobinharris has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Goles has joined #ruby
slainer68 has joined #ruby
KevinSjoberg has joined #ruby
apeiros_ has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Excess Flood]
pcarrier has joined #ruby
pcarrier has quit [Excess Flood]
pcarrier has joined #ruby
_bart has quit [Quit: _bart]
reset has quit [Quit: Leaving...]
elaptics`away is now known as elaptics
freeayu has quit [Read error: Connection reset by peer]
bartj3 has joined #ruby
Goles has quit [Ping timeout: 259 seconds]
k610 has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
cirwin has quit [Ping timeout: 240 seconds]
eb has quit [Read error: Operation timed out]
mand_ has joined #ruby
matrixise has joined #ruby
eb has joined #ruby
nari has joined #ruby
k610 has joined #ruby
berserkr has joined #ruby
cdt has joined #ruby
shtirlic_ has joined #ruby
zz_chrismcg is now known as chrismcg
margle has joined #ruby
ephemerian has joined #ruby
adambeynon has joined #ruby
chussenot has joined #ruby
cdt has quit [Ping timeout: 241 seconds]
keymone has quit [Quit: keymone]
k611 has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
Weazy has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
matip_ has joined #ruby
Retistic has quit [Quit: Retistic]
margle has joined #ruby
matip has quit [Ping timeout: 245 seconds]
ikaros has joined #ruby
timonv has joined #ruby
nemesit has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
<shevy>
oqa hehehehe
<shevy>
in my experience with OptionParser, every time I look at its documentation and try to find anything, I go "Wtf???"
Vainoharhainen has joined #ruby
jamesaxl has quit [Read error: No route to host]
spursrails has joined #ruby
sn0wb1rd has joined #ruby
kil0byte has joined #ruby
<spursrails>
help
<spursrails>
how can i indent ruby code properly in emacs
<spursrails>
I'm learing ruby from ruby-koans, and some lines like "long_string = %{It was the best of times,It was the worst of times.}" can't be indented very well
pcarrier has quit [Read error: No buffer space available]
kil0byte_ has quit [Ping timeout: 276 seconds]
arya has quit [Ping timeout: 244 seconds]
berserkr has quit [Quit: Leaving.]
emergion has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
grzywacz has quit [Quit: :wq]
zaki has quit [Read error: Operation timed out]
arya_ has joined #ruby
pcarrier has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
beiter has joined #ruby
arya has quit [Ping timeout: 244 seconds]
nkts has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
workmad3 has joined #ruby
bartj3 has quit []
nkts has quit [Remote host closed the connection]
nkts has joined #ruby
<shevy>
spursrails by pressing the space key properl
<shevy>
y
nkts has quit [Client Quit]
<shevy>
well, this may be a problem to indent such a long string spursrails, I think the string would include the indent too
Tania has joined #ruby
<spursrails>
the longstring is multi-lines
sspiff has joined #ruby
<spursrails>
no spaces before 'It was the best of times' and the closed } is not indented
<spursrails>
rails.vim could not resolve this also
samphippen has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
emergion has quit [Quit: Computer has gone to sleep.]
fyolnish has joined #ruby
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
Goles_ has joined #ruby
Goles has quit [Read error: Connection reset by peer]
kil0byte has joined #ruby
Goles has joined #ruby
<txdv>
i have to supply a nameserveri n that one?
nari has quit [Ping timeout: 245 seconds]
kil0byte_ has quit [Ping timeout: 248 seconds]
<txdv>
yeah ok
<txdv>
works fine
<txdv>
thanks
Goles_ has quit [Ping timeout: 240 seconds]
Goles___ has joined #ruby
Goles has quit [Ping timeout: 241 seconds]
nemesit has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
Goles has joined #ruby
ExxKA has joined #ruby
Michael__ has joined #ruby
Lemonism has quit [Read error: Connection reset by peer]
Goles___ has quit [Ping timeout: 252 seconds]
senny has quit [Read error: Connection reset by peer]
samphippen has joined #ruby
wallerdev has quit [Quit: wallerdev]
kp666 has joined #ruby
gokul has joined #ruby
Goles has quit [Ping timeout: 248 seconds]
nemesit has quit [Ping timeout: 244 seconds]
spry_dave has joined #ruby
spry_dave has quit [Client Quit]
sepp2k has joined #ruby
davidrhyswhite has joined #ruby
fir_ed has joined #ruby
bartj3 has quit []
_bart has joined #ruby
allanm_ has quit [Read error: No buffer space available]
allanm_ has joined #ruby
gokul has quit [Client Quit]
shtirlic_ has quit [Remote host closed the connection]
pcarrier has quit []
sspiff has quit [Ping timeout: 256 seconds]
arturaz has joined #ruby
tuan_nat has quit [Ping timeout: 246 seconds]
caiges has joined #ruby
nemesit has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
brandon_ has joined #ruby
caiges has quit [Client Quit]
bartj3 has joined #ruby
brandon has quit [Ping timeout: 246 seconds]
brandon_ is now known as brandon
lolcathost has quit [Quit: Lost terminal]
Goles has joined #ruby
Lemtzas has joined #ruby
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
Michael__ has quit [Ping timeout: 240 seconds]
mathie has joined #ruby
Axsuul has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
Goles has quit [Ping timeout: 240 seconds]
daniel_- has quit [Ping timeout: 252 seconds]
bier_ has quit [Ping timeout: 250 seconds]
Michael__ has joined #ruby
bier has quit [Ping timeout: 252 seconds]
BiHi has quit [Read error: Connection reset by peer]
Michael__ has quit [Remote host closed the connection]
skattyadz has quit [Quit: skattyadz]
sspiff has joined #ruby
margle has joined #ruby
Goles has joined #ruby
Goles_ has joined #ruby
pcarrier has joined #ruby
Goles__ has joined #ruby
Goles has quit [Ping timeout: 240 seconds]
ksk_ is now known as ksk
hamed_r has joined #ruby
Goles_ has quit [Read error: Connection reset by peer]
heftig has quit [Quit: leaving]
pcarrier has quit [Ping timeout: 260 seconds]
Goles__ has quit [Ping timeout: 241 seconds]
bier has joined #ruby
bier_ has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Excess Flood]
skattyadz has joined #ruby
allanm_ has quit [Read error: No buffer space available]
pcarrier has joined #ruby
Goles_ has joined #ruby
[Neurotic] has quit [Ping timeout: 265 seconds]
allanm_ has joined #ruby
beiter has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
lolcathost has joined #ruby
ExxKA has joined #ruby
segv- has joined #ruby
_bart has quit [Quit: _bart]
rohit has quit [Ping timeout: 240 seconds]
<nkts>
how to specify inline if ?
<nkts>
foo? bar : boo
<nkts>
usually I get "unexpected :"
<arturaz>
foo? ? bar : boo
lkba has joined #ruby
Goles_ has quit [Remote host closed the connection]
kil0byte_ has joined #ruby
<nkts>
arturaz, dekui :)
<arturaz>
prašom ;)
dr_bob has quit [Ping timeout: 240 seconds]
dr_bob has joined #ruby
kil0byte has quit [Ping timeout: 248 seconds]
margle has quit [Quit: Computer has gone to sleep.]
chussenot has quit [Ping timeout: 240 seconds]
ttt has joined #ruby
Slivka has joined #ruby
krz has quit [Quit: krz]
Tania has quit [Read error: Connection reset by peer]
rohit has joined #ruby
carloslopes has joined #ruby
tobinharris has quit [Ping timeout: 240 seconds]
ttt has quit [Ping timeout: 276 seconds]
Averna has quit [Quit: Leaving.]
diegoviola has joined #ruby
LouisGB has joined #ruby
capaterra has quit [Quit: Leaving]
Elhu has quit [Quit: Computer has gone to sleep.]
LouisGB has quit [Client Quit]
u89 has quit [Remote host closed the connection]
topek has quit [Quit: Leaving.]
topek has joined #ruby
senny has joined #ruby
yoklov has quit [Quit: computer sleeping]
LouisGB has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
rohit has quit [Ping timeout: 245 seconds]
senny_ has joined #ruby
rdark has joined #ruby
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
senny has quit [Ping timeout: 240 seconds]
arya has joined #ruby
phelps has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
chussenot has joined #ruby
sarguru_ has joined #ruby
phelps_ has quit [Ping timeout: 240 seconds]
evelyette has quit [Ping timeout: 240 seconds]
evelyette has joined #ruby
Dreamer3 has quit [Ping timeout: 264 seconds]
codecaster has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
<sarguru_>
Hi. I need an rails help. I have been getting hostname "localhost" does not match the server certificate error on using Actionmailer. But surprisingly I use sendmail and I don't know where tls comes into play. Even I tired ActionMailer::Base.smtp_settings[:enable_starttls_auto] = false still no luck. will be helpful if any1 tells me which way tp proceed
codecaster has joined #ruby
Jasko2 has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #ruby
arya has quit [Ping timeout: 244 seconds]
rohit has joined #ruby
cakehero has joined #ruby
rohit has quit [Read error: Connection reset by peer]
Dreamer3 has quit [Max SendQ exceeded]
rohit has joined #ruby
<apeiros_>
sarguru_: if you need a rails help then you're in the wrong channel
<apeiros_>
you want #rubyonrails
andrewvos has joined #ruby
<andrewvos>
eval-in: Hi
<sarguru_>
apeiros_: I thought its related to generic ruby + action mailer issue too
<apeiros_>
charliesome: ok, it shortens the output, that's a start
elsifaka has joined #ruby
no_i_wont has quit [Ping timeout: 241 seconds]
<m4rtijn>
?gniog ti swoh
Guest34355 has joined #ruby
dr_bob has joined #ruby
sailias has joined #ruby
pcarrier has quit []
<apeiros_>
?uoy dna !doog doog
x0F has quit [Disconnected by services]
BBonifield has joined #ruby
<m4rtijn>
!tnellexe
x0F_ has joined #ruby
<m4rtijn>
:)
x0F_ is now known as x0F
rakl has quit [Ping timeout: 240 seconds]
wereHams1er is now known as wereHamster
no_i_wont has joined #ruby
<apeiros_>
?noitseuq rouy s'tahw os .ecin
<apeiros_>
oh, typo
jmccune has quit [Ping timeout: 240 seconds]
Monie has joined #ruby
piotr_ has quit [Ping timeout: 240 seconds]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
Proshot has joined #ruby
Proshot has quit [Client Quit]
jmccune has joined #ruby
rakl has joined #ruby
krawchyk has joined #ruby
<m4rtijn>
ereh eldi ot ekil tsuj, snoitseuq on
<apeiros_>
ko
<apeiros_>
nuf evah
samphippen has quit [Quit: Computer has gone to sleep.]
pcarrier has joined #ruby
verto|off is now known as verto
workmad3 has joined #ruby
verto is now known as verto|off
machty has joined #ruby
pcarrier_ has joined #ruby
chimkan has joined #ruby
D4T_ has joined #ruby
schaerli has joined #ruby
mercwith1mouth has quit [Ping timeout: 265 seconds]
mercwithamouth has quit [Ping timeout: 265 seconds]
<D4T_>
Hi all, trying to write a class to interact with a third party API. They state the following "The API is accessed by sending and receiving XML messages to an encrypted (TLS) port on our server". Any suggestions on where to start here?
mislav has joined #ruby
<D4T_>
I'm happy building the XML etc. just not sure on the best way to transport?
<Xeago>
D4T_: what is the transport layer on TLS?
<Xeago>
HTTP?
<D4T_>
yeah
niklasb has joined #ruby
<D4T_>
net/http?
<Xeago>
or any of the gems that exist
pcarrier has quit [Ping timeout: 276 seconds]
pcarrier_ is now known as pcarrier
<D4T_>
ok will give it a shot, am i right in thinking there is no https support in net/http in Ruby 1.8.7?
<D4T_>
It was added in 1.9 ?
<Xeago>
yes, you are wrong
hoelzro is now known as hoelzro|away
<D4T_>
lol ok thanks
<Xeago>
SSL support comes from libraries, most commonly OpenSSL
<Xeago>
rarely seen something else used but it's possible
<D4T_>
ok
<D4T_>
so net/http can use the openssl module presumably?
chussenot has joined #ruby
<Xeago>
not sure if net/http has ssl support, but it also depends on your ruby compilation
daniel_-_ has quit [Ping timeout: 255 seconds]
<workmad3>
net/https brings in https support :)
<D4T_>
ok not http
tvw has quit [Read error: Operation timed out]
<D4T_>
"Each request frame (sent or received) consists of the length as a network-order (big-endian) 32-bit number followed by the actual request. This is the standard EPP approach, and simplifies request handling at both ends. "
<Xeago>
ok, I doubt that is HTTP
<Xeago>
or maybe it is EPP after the 32bit number?
<Xeago>
err HTTP*
<D4T_>
hmmm, don't think so.
tomsthumb has quit [Quit: Leaving.]
<Xeago>
do you have a complete transport description like that?
<Xeago>
as then you'll have to write the protocol up in ruby aswell
<Guest34355>
hello, I call an external programm which prompts for a password, how do I wait for that stdin prompt?
<D4T_>
just looking, the documentation is poor at best
allanm_ has quit [Read error: Connection reset by peer]
* D4T_
just found an epp gem
allanm_ has joined #ruby
<Xeago>
never heard of EPP, will have a look at it
<D4T_>
me either until now
<D4T_>
:)
arya_ has joined #ruby
<Xeago>
extensible provision protocol?
<D4T_>
thats it
<D4T_>
the gem looks like it will do me
<D4T_>
seems to fit in with the bad api documentation
<Xeago>
and otherwise there's a bunch of rfc's for protocol definition
Guest92676 is now known as Jackneill
Jackneill has quit [Changing host]
Jackneill has joined #ruby
<Xeago>
the documentation probably is and looks bad because it is defined elsewhere but not commonly known
<Xeago>
everybody knows http so mentioning that is sufficient
<D4T_>
true
arya has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
<D4T_>
ok, bad = beyond me initially
<D4T_>
i'll get there :)
king313 has joined #ruby
king313 has quit [Changing host]
king313 has joined #ruby
atno|Zzz is now known as atno
sailias has quit [Quit: Leaving.]
senny_ has quit [Remote host closed the connection]
byteminister has joined #ruby
nari has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<Xeago>
D4T_: there's several gems
<D4T_>
yeah
nari has joined #ruby
<Xeago>
ultraspeed/epp blaz/epp hkairi/epp to name the top 3 on github
daniel_-_ has joined #ruby
<D4T_>
will check them out, thanks
carloslopes has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
nomenkun_ has quit [Remote host closed the connection]
jeffreybaird has quit [Quit: jeffreybaird]
nomenkun has joined #ruby
Banistergalaxy has joined #ruby
mathie has quit [Quit: Sleeping...]
jeffreybaird has joined #ruby
senny has joined #ruby
carloslopes has joined #ruby
samphippen has joined #ruby
AndChat| has quit [Ping timeout: 264 seconds]
tommyvyo_ has joined #ruby
andrewvos has left #ruby [#ruby]
ExxKA has quit [Quit: This computer has gone to sleep]
kil0byte_ has quit [Ping timeout: 255 seconds]
ExxKA has joined #ruby
Uranio has joined #ruby
chussenot has quit [Ping timeout: 240 seconds]
kil0byte has joined #ruby
carloslopes has quit [Remote host closed the connection]
chimkan has quit [Ping timeout: 248 seconds]
atno has quit [Read error: Connection timed out]
chimkan has joined #ruby
atno has joined #ruby
<Guest34355>
hello what do I have to do to write to STDIN, e.g. provide a password?
<apeiros_>
you don't write to STDIN, you read from it.
<apeiros_>
or do you mean the STDIN of another process?
<Guest34355>
i know
<Guest34355>
yes I start another process with Open3.popen3 and that process prompts for a password
busybox42 has quit [Ping timeout: 276 seconds]
_guy has quit [Remote host closed the connection]
krawchyk_ has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
_guy has joined #ruby
byteminister has quit [Remote host closed the connection]
<apeiros_>
you print on it
<apeiros_>
see IO
chimkan has quit [Client Quit]
<apeiros_>
puts, print, write…
busybox42 has joined #ruby
jipiboily has joined #ruby
jipiboily has left #ruby [#ruby]
chimkan has joined #ruby
Elhu has joined #ruby
nwertman has quit [Ping timeout: 252 seconds]
krawchy__ has joined #ruby
machty has quit [Quit: machty]
Neomex has joined #ruby
krawchyk has quit [Ping timeout: 252 seconds]
sarguru_ has left #ruby [#ruby]
jlwestsr has joined #ruby
Neomex has quit [Client Quit]
<tbrock>
is there any way to get erb to automatically include a newline
macabre has joined #ruby
tomsthumb has joined #ruby
volta has joined #ruby
schaerli has quit [Remote host closed the connection]
dr_bob has quit [Read error: No buffer space available]
dr_bob has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<Guest34355>
apeiros_, but when I call svn with ssh to get the log of a repo, then i doesnt work
mathie has joined #ruby
xyzodiac has joined #ruby
pixie79 has joined #ruby
xyzodiac has quit [Client Quit]
Jackneill has quit [Quit: Jackneill]
carlyle has joined #ruby
linoj has joined #ruby
SwooshyCueb has joined #ruby
Jackneill has joined #ruby
<apeiros_>
Guest34355: ssh does not accept input from non tty's iirc
Jackneill has quit [Read error: Connection reset by peer]
<apeiros_>
use net/ssh
<pixie79>
hi all, i have a problem with the following bit of ruby - it should be using the rackspace gem cloudfiles, and downloading a file from our cloudfiles store. However, it seems to stick the file in memory rather or during the write to the file. As the file is around 2Gb that is too big for my server to hold in RAM whilst it is downloaded. Can someone show me how to adjust it to spool straight to the file on disk. - Thanks
<Guest34355>
apeiros_, mhmh ok. I will try it. thank you!
<pixie79>
opps sorry realised i had not pasted the code i had written about
ananthakumaran has quit [Quit: Leaving.]
Slivka has joined #ruby
<apeiros_>
pixie79: a) use File.open with a block instead of manually closing, b) read and write in chunks. see File#read
habib has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
senny has quit [Remote host closed the connection]
mercwith1mouth has quit [Ping timeout: 246 seconds]
xyzodiac has joined #ruby
allanm_ has quit [Read error: Connection reset by peer]
elliottc1ble is now known as elliottcable
senny has joined #ruby
allanm_ has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
<pixie79>
ok
<apeiros_>
might be in IO#read (File < IO)
allanm_ has quit [Read error: Connection reset by peer]
allanm_ has joined #ruby
davidrhyswhite has joined #ruby
seanwash has joined #ruby
Coolhand_ has quit [Ping timeout: 265 seconds]
nanderoo has joined #ruby
nwertman has joined #ruby
<pixie79>
my issue is it is a write not a read, the data is comming from the internet as a binary stream of compressed data
Coolhand has joined #ruby
ltsstar has joined #ruby
hamed_r has quit [Quit: Leaving]
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
<apeiros_>
pixie79: then paste the real code. the code you pasted is a file.
<apeiros_>
file = open("/opt/dump/#{filename}", 'wb') # <-- or are you not talking about this?
demian`_ has joined #ruby
mislav has quit [Ping timeout: 246 seconds]
Shamgar has joined #ruby
_guy has quit [Remote host closed the connection]
<allsystemsarego>
http://pastebin.com/raw.php?i=PHLvDTm4 Hi all, I wrote this toy app in Ruby, it does what I want, but I'd like to know how an experienced Rubyist would grade it on a "clean code" scale of 1 to 10
krawchy__ has quit [Read error: Connection reset by peer]
_guy has joined #ruby
<pixie79>
apeiros_: that is the file i am opening to write the data too
krawchyk has joined #ruby
<pixie79>
object.data causes the data to be downloaded and i believe streamed out
<pixie79>
it is part of the cloudfiles gem
SwooshyCueb has quit [Read error: Connection reset by peer]
jhowarth has quit [Read error: Connection reset by peer]
oqa has quit [Ping timeout: 264 seconds]
garndt has quit [Remote host closed the connection]
oqa has joined #ruby
bbttxu has joined #ruby
dkannan has quit [Ping timeout: 260 seconds]
SoonerBourne has quit [Read error: Connection reset by peer]
pothibo has quit [Client Quit]
dkannan has joined #ruby
arya has joined #ruby
garndt has joined #ruby
devdazed has joined #ruby
jhowarth has joined #ruby
devdazed has quit [Max SendQ exceeded]
dedis has quit [Read error: Operation timed out]
codecop has quit [Remote host closed the connection]
<apeiros_>
pixie79: then you'll have to study the docs of the cloudfiles gem
devdazed has joined #ruby
pvh has joined #ruby
fyolnish has quit [Remote host closed the connection]
asobrasil has joined #ruby
fyolnish has joined #ruby
beiter has joined #ruby
margle has joined #ruby
vlad_starkov has joined #ruby
<pixie79>
yep thats what i have been doing - i have managed to get the files up - but have not found how to download
nari has joined #ruby
machty has joined #ruby
ltsstar has quit [Ping timeout: 252 seconds]
jaygen has joined #ruby
atno has quit [Quit: Leaving]
NiteRain has joined #ruby
siori has joined #ruby
siori has quit [Remote host closed the connection]
x82_nicole has joined #ruby
lampe2 has joined #ruby
Zai00 has joined #ruby
SwooshyCueb has joined #ruby
generalissimo has joined #ruby
atno has joined #ruby
atno is now known as atno|Ping
phantasm66 has joined #ruby
daniel_-_ has quit [Ping timeout: 264 seconds]
danktamagachi has joined #ruby
dmerrick has joined #ruby
berserkr has quit [Quit: Leaving.]
jbpros has quit [Ping timeout: 240 seconds]
jbpros_ has joined #ruby
jbpros_ is now known as jbpros
tobinharris has joined #ruby
ToTo has joined #ruby
stopbit has joined #ruby
reinaldob has joined #ruby
X-Jester has quit [Ping timeout: 248 seconds]
lukeholder has joined #ruby
freezway has joined #ruby
cmarques has joined #ruby
Jackneill has joined #ruby
frem has joined #ruby
Jackneill is now known as Guest24042
ryanlecompte has quit [Remote host closed the connection]
tk__ has quit [Quit: ばいばい]
yshh has quit [Remote host closed the connection]
BiHi has quit [Read error: Connection reset by peer]
ryanlecompte has joined #ruby
dkannan is now known as dkannan_
dkannan_ has quit [Excess Flood]
jeffreybaird has quit [Quit: jeffreybaird]
freeayu has quit [Remote host closed the connection]
dkannan has joined #ruby
tobinharris has quit [Quit: tobinharris]
philcrissman has joined #ruby
<rking>
Anyone know if there is such a thing as a semi-manual test framework?
ExxKA has quit [Quit: This computer has gone to sleep]
nilg` has quit [Ping timeout: 264 seconds]
<rking>
That is, I have some legacy code that I'm taking over, and it occurs to me that it would be better to script a bunch of "Hit OK once you've verified that a product can be added to the cart" prompts
<rking>
Then automate them one by one as proves profitable.
<rking>
allsystemsarego: Classic smell right off the bat is that self.move_forward_in_time should be a method of an object.
lampe2 has quit [Ping timeout: 240 seconds]
Sou|cutter has joined #ruby
<allsystemsarego>
GeekOnCoffee, it's the x-axis position
<rking>
Notice how all it really does is call methods on game_state. That's the object right there.
cheez0r_ is now known as cheez0r
<allsystemsarego>
rking, oh I see
heftig has quit [Quit: leaving]
<GeekOnCoffee>
allsystemsarego rather than doing initialize_lives_remaining you should be defining that as initialize, and then calling super
<allsystemsarego>
ok
<rking>
GeekOnCoffee: You can move the .start method there as well. Would look better as GameState#initialize
rippa has joined #ruby
lampe2 has joined #ruby
dnyy has quit [Ping timeout: 246 seconds]
<rking>
GeekOnCoffee: Sorry, bad tab. ☺
dnyy has joined #ruby
samphippen has joined #ruby
zommi has quit [Quit: Leaving.]
BigO has joined #ruby
<rking>
allsystemsarego: @countdown is confusingly-handled.
<rking>
Set it to ten. Don't set it to ten. Do decrement it by 1. == ??
<rking>
allsystemsarego: The on_clock_tick stuff should be possible to be made consistent across all game objects.
allanm_ has quit [Read error: Connection reset by peer]
rdark has quit [Ping timeout: 260 seconds]
allanm_ has joined #ruby
<allsystemsarego>
I see
<rking>
Right now it does one thing for plants, a different thing for zombies, a different one for projectiles. All 3 have different signatures
axl_ has joined #ruby
<rking>
GameState might have to pass self into it. Which is liable to couple things together tightly in a different way, but certainly GameState shouldn't be orchestrating behavior itself.
<nomenkun>
bite_countdown is even trickier for me. SnowPea doubles it but then it is reset to 5 or 10. Hit - double again.
banseljaj has joined #ruby
tobinharris has joined #ruby
allanm_ has quit [Read error: No buffer space available]
<rking>
nomenkun: You're right. I hadn't read that one, yet. ☺
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
krawchyk has quit [Remote host closed the connection]
allanm_ has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
jlast has joined #ruby
<rking>
Actually, I don't think this code would really run
<rking>
if @plant_being_devoured.lives_remaining == 0 … @plant_being_devoured = nil
<allsystemsarego>
rking, I tested it and it works for me
krawchyk has joined #ruby
<rking>
That means the next time that method is called you'll get a NoMethodError of #lives_remaining on NilClass
king313 has quit [Quit: Saliendo]
yshh has joined #ruby
<allsystemsarego>
ok, it's a little tricky to decouple that
<GeekOnCoffee>
allsystemsarego: sometimes good design is tricky ;)
BoomCow has quit [Ping timeout: 265 seconds]
<allsystemsarego>
do you guys think another layer of abstraction on top of this would help?
banseljaj is now known as imami|afk
<rking>
allsystemsarego: Which one?
imami|afk is now known as banseljaj
tagrudev has quit [Remote host closed the connection]
rdark has joined #ruby
<allsystemsarego>
something like the mediator pattern in Java
ExxKA has joined #ruby
<allsystemsarego>
don't let a zombie directly bite a plant
<allsystemsarego>
let the zombie announce his intention to the mediator
<allsystemsarego>
then the mediator does all the interaction
tonini has quit [Remote host closed the connection]
<rking>
Sounds crazy.
<allsystemsarego>
but it's the only way I can see to address the issues you've raised
_bart has joined #ruby
<allsystemsarego>
and to decouple behavior
adamholt_ is now known as adamholt
kloeri has joined #ruby
<rking>
All I said on that one is that you're assigning nil to something you later call a method on.
eldariof has quit [Read error: Operation timed out]
xyzodiac has joined #ruby
<allsystemsarego>
ok, I'll reconsider the design on this, thanks all for the very good feedback
<rking>
But actually, I think it escapes that problem
jlast has quit [Remote host closed the connection]
<rking>
Because you set @walking = true, so that branch doesn't get exercised until the next time it gets a start_devouring
mybrainis404 has joined #ruby
<rking>
But anyway that particular issue wouldn't be the first thing I'd start with on this code.
<allsystemsarego>
yes, and that means that logic that should be all in one place is all over the place :D
burgestrand has quit [Quit: Leaving.]
znake has joined #ruby
<allsystemsarego>
what would be the first thing?
kloeri has quit [Changing host]
kloeri has joined #ruby
jlast has joined #ruby
kloeri has quit [Quit: brb]
mybrainis404 has quit [Remote host closed the connection]
kloeri has joined #ruby
carloslopes has joined #ruby
mosez has joined #ruby
<rking>
That initialize_lives_remaining → initialize … super one is basically a freebie
<chiel>
basically just capturing the first letter separately
<chiel>
that way you don't have to do dodgy shit in the replace :p
<talsafran>
chiel: I like the way you think :)
Vainoharhainen has quit [Quit: Leaving...]
<shevy>
chiel and talsafran: happy wedding days to you two!
voodoofish has quit [Quit: Leaving]
fmcgeough has joined #ruby
timonv has quit [Remote host closed the connection]
ZubKonst_ has quit [Remote host closed the connection]
<talsafran>
lol
sk87 has quit [Quit: sk87]
pu22l3r has joined #ruby
chimkan_ has quit [Quit: chimkan_]
slainer68 has joined #ruby
ABK has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
ABK has joined #ruby
<chiel>
lol
<talsafran>
the {1} is unncessesary. Final answer: url.gsub(/tabs\/(.)(.*)_tabs\.htm/, '\1/\1\2')
<chiel>
err, yeah, indeed :p
heftig has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
<chiel>
talsafran: AND it looks like boobies, what more could you want?
<rking>
With a tattoo.
<chiel>
hahahaha
<chiel>
yes
<talsafran>
i try to maximize the boobies in my code
<talsafran>
although they're not the same size
<chiel>
they could be, think of it like you're looking at them from the side
<chiel>
though I guess (.(.*) would be more accurate in that case
<chiel>
but, no boobs are perfect, so, take what you can get! ;D
ewag has quit [Ping timeout: 252 seconds]
<waxjar>
a hairy armpit?
weasels is now known as otters
KindTwo has joined #ruby
ABK has quit [Read error: Connection reset by peer]
<chiel>
nah, rking established it was a tattoo!
chrismcg is now known as zz_chrismcg
c0rn has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
rismoney has left #ruby [#ruby]
chimkan has joined #ruby
slainer68 has quit [Remote host closed the connection]
matip_ has quit [Remote host closed the connection]
mathie has quit [Quit: Sleeping...]
enroxorz-work has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
ChampS666 has joined #ruby
verto|off is now known as verto
chimkan has quit [Ping timeout: 256 seconds]
verto is now known as verto|off
samphippen has joined #ruby
Lope has joined #ruby
<Lope>
could you please help me with a Ruby question? I'm having problems with http://railsforzombies.org/levels/4/challenges/4 i don't understand why there should be a before_filter to check if a zombie has no tweets, but only perform the redirect on show.
<Lope>
i would have thought the before filter would be unnecessary. I would just write something like if @zombie.tweets.size==0 redirect_to(zombie_path) else render :action => :show end
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
mengu has joined #ruby
Morkel has quit [Quit: Morkel]
<davidcelis>
We're sorry, but something went wrong
<davidcelis>
cool story Rails for Zombies
<rking>
Hehe
<rking>
Probably because we were jumping past the first screens.
xyzodiac has quit [Quit: Computer has gone to sleep.]
Morkel has joined #ruby
<davidcelis>
then maybe they should have an actual error page :(
<Lope>
ah, sorry about that, it should load :/
Morkel has quit [Client Quit]
<Lope>
i think once you've loaded the root page you can load the URL
<davidcelis>
nope
ABK has joined #ruby
<davidcelis>
lol
kerm-ekhar has joined #ruby
<davidcelis>
rails for zombies sucks anyway
Morkel has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Lope>
I don't understand the need for a before_filter
ktaz has quit [Quit: Leaving]
ninegrid has quit [Ping timeout: 248 seconds]
<Lope>
why not just check if the zombie has no tweets inside def show (an extra before filter seems superflous)
Hanmac1 is now known as Hanmac
<x82_nicole>
Can someone point me to an explanation as to why namespaces are? Every single guide I've read today says modules are for namespacing, but fails to explains what that even means. About to throw my laptop out the window at this point.
xclite has quit [Remote host closed the connection]
<rking>
Lope: What do Tweets have to do with anything?
aeontech has joined #ruby
<rking>
Oh, the task desc up top
seanstickle has joined #ruby
<Lope>
its a rails tutorial where zombies make tweets in a twitter like application.
<rking>
Lope: I'd say you could do it either way. They're probably just demo'ing the kinds of options you have with filters.
ABK has quit [Read error: Connection reset by peer]
seanstickle has quit [Client Quit]
kirun has joined #ruby
x77686d has joined #ruby
ABK has joined #ruby
ninegrid has joined #ruby
xclite has joined #ruby
<Lope>
oh lol, I passed the challenge without adding a before filter.
_guy has quit [Remote host closed the connection]
_guy has joined #ruby
<Lope>
i just changed the render into an if statement. if @zombie.tweets.size==0 redirect_to(zombies_path) else render :action => :show end
<Lope>
i just really don't see what another before_filter would achieve that would be necessary.
jackbrownhf has joined #ruby
ossareh has joined #ruby
<davidcelis>
x82_nicole: a namespace is something you can nest classes or other modules inside to avoid collision
slash_nick has joined #ruby
<davidcelis>
x82_nicole: Say you want to make your own kind of Hash class and call it Hash. but obviously you wouldn't want to overwrite the main Hash
<rking>
Lope: It's not necessary.
<rking>
Lope: But it's another way to organize the code, so it might be a nice option in some circumstances.
<slash_nick>
Why would $PM_PATH from shell return the value I set, while ENV["PM_PATH"] in console returns nil?
<davidcelis>
x82_nicole: So you could put it inside a module and it won't collide. `module Nicole; class Hash; end; end` so your Hash class can live alongside the built-in Hash class (and instead be called Nicole::Hash)
<rking>
slash_nick: Maybe it's not exported ?
<Lope>
rking: yes it is another option to do the redirect inside a before filter. but they specifically say you should only redirect "only on show"
<Lope>
so thats why it makes no sense to me.
jenrzzz has quit [Ping timeout: 265 seconds]
<alvaro_o>
is there a special meaning of having a variable with an asterisk before it? ( like *variable_name)
<rking>
Lope: Iunno, maybe they're setting you up for the next thing.
* slash_nick
slaps himself
<rking>
alvaro_o: Yes, it's splatting and unsplatting. More context is needed to say which it is
<Lope>
rking: must be something like that.
rdk has joined #ruby
jrajav has joined #ruby
ebouchut has joined #ruby
<alvaro_o>
thanks Lope, I'll read more about splatting
ABK has quit [Read error: Connection reset by peer]
mathie has joined #ruby
ABK has joined #ruby
rehat has quit [Remote host closed the connection]
<davidcelis>
*splat
sn0wb1rd has joined #ruby
<shevy>
*countersplat
sn0wb1rd has quit [Client Quit]
gridaphobe has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
gridaphobe has joined #ruby
berserkr has joined #ruby
areil has quit [Remote host closed the connection]
<shevy>
alvaro_o you can pass in variable amount of arguments to a method that way
<x82_nicole>
I thought it was a class method? That's why it is in..a…class. I need to Google more.
afgeneralist has quit [Ping timeout: 252 seconds]
wargasm has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
Pym has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
Pym has left #ruby [#ruby]
carloslopes has joined #ruby
kara_sweets has joined #ruby
<kara_sweets>
can somebody please explain why line 7 in this script throws an error Array cannot be coerced into Fixnum https://gist.github.com/4150061
<Hanmac>
x82_nicole: you need def self.price
<kara_sweets>
Hanmac: any ideas>
<apeiros_>
kara_sweets: f[0] = 0, f[1] = 1 # <-- that doesn't work how you think
<apeiros_>
in ruby, it's a,b = 1,2
<apeiros_>
not a=1,b=2
cirwin has joined #ruby
<apeiros_>
the latter is interpreted as: a = (1, (b=2)) --> a = 1,2 --> a == [1,2]
<canton7>
besides, do you really need to make that assignment explicit? f[0] is always 0 and f[1] is always 1
<canton7>
or maybe you wanted `f = []`
<kara_sweets>
apeiros_: thanks for the explanation!
<kara_sweets>
canton7: you are right
nat2610 has left #ruby [#ruby]
mrsolo has joined #ruby
hotovson has quit [Remote host closed the connection]
<canton7>
of even `f = [0, 1]`
byennen_ has quit [Remote host closed the connection]
FDj_ is now known as FDj
buscapepe has joined #ruby
mathie has joined #ruby
gyre007 has quit [Remote host closed the connection]
samphippen has joined #ruby
shevy has joined #ruby
emmanuelux has joined #ruby
hotovson has joined #ruby
<kara_sweets>
whats the best way to run a for loop in ruby similar to C or Javascript, for i = 2, i < 10, i++ ?
<Hanmac>
2.upto(10) {|i| ... }
<Hanmac>
or 2.upto(9)
mathie has quit [Ping timeout: 260 seconds]
a_a_g has quit [Quit: Leaving.]
banisterfiend has quit [Read error: Connection reset by peer]
kara_sweets has quit [Quit: kara_sweets]
nemonic has quit [Quit: WeeChat 0.3.7]
nignaztic has quit [Quit: Lost terminal]
hotovson has quit [Ping timeout: 246 seconds]
swarley has joined #ruby
tomsthumb has joined #ruby
matrixise has joined #ruby
spacebug has joined #ruby
norm_ has joined #ruby
chimkan__ has joined #ruby
s0ber_ has joined #ruby
GoGoGarr_ has joined #ruby
Slivka has quit [Remote host closed the connection]
estan_ has joined #ruby
nazty has quit [Read error: Connection reset by peer]
volta has quit [Remote host closed the connection]
Morkel_ has joined #ruby
byennen has joined #ruby
zurich_ has joined #ruby
schwap_ has joined #ruby
flagg0204 has joined #ruby
jrabbit_ has joined #ruby
maxmande1s has joined #ruby
shadewin1 has joined #ruby
Morkel has quit [Ping timeout: 250 seconds]
Morkel_ is now known as Morkel
Roa_ has joined #ruby
elspeth_ has joined #ruby
rotor` has joined #ruby
shaman42_ has joined #ruby
thinkdevcode has joined #ruby
stigmux_ has joined #ruby
ozzloy_ has joined #ruby
Seventoes has joined #ruby
Spaceboy has joined #ruby
dpk_ has joined #ruby
dpk has quit [Disconnected by services]
dpk_ is now known as dpk
arturaz has joined #ruby
segv-_ has joined #ruby
tectonic_ has joined #ruby
bastl has joined #ruby
voodoofish430 has joined #ruby
arya__ has joined #ruby
buscapepe has quit [Ping timeout: 246 seconds]
_main_ has joined #ruby
spike|spiegel has quit [Quit: WeeChat 0.3.9.2]
aeontech has quit [Remote host closed the connection]
JohnBat26 has quit [*.net *.split]
GoGoGarrett has quit [*.net *.split]
chimkan has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
Seventoe1 has quit [*.net *.split]
bastl_ has quit [*.net *.split]
stigmux has quit [*.net *.split]
lkba has quit [*.net *.split]
segv- has quit [*.net *.split]
flagg0205 has quit [*.net *.split]
maxmanders has quit [*.net *.split]
__main__ has quit [*.net *.split]
ozzloy has quit [*.net *.split]
s0ber has quit [*.net *.split]
shaman42 has quit [*.net *.split]
tectonic has quit [*.net *.split]
schwap has quit [*.net *.split]
estan has quit [*.net *.split]
sonne has quit [*.net *.split]
zurich has quit [*.net *.split]
nricciar has quit [*.net *.split]
Balthek has quit [*.net *.split]
Roa has quit [*.net *.split]
spacebug_ has quit [*.net *.split]
rotor has quit [*.net *.split]
norm has quit [*.net *.split]
jrabbit has quit [*.net *.split]
elspeth has quit [*.net *.split]
shadewind has quit [*.net *.split]
segv-_ is now known as segv-
norm_ is now known as norm
chimkan__ is now known as chimkan
s0ber_ is now known as s0ber
aeontech has joined #ruby
xyzodiac has joined #ruby
sonne_ has joined #ruby
allanm_ has quit [Read error: No buffer space available]
arya_ has quit [Ping timeout: 245 seconds]
allanm_ has joined #ruby
tenmilestereo has joined #ruby
arya__ is now known as arya_
_main_ is now known as __main__
buscapepe has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
pu22l3r has joined #ruby
nemesit has quit [Read error: Connection reset by peer]
nemesit has joined #ruby
Balthek has joined #ruby
Sou|cutter has joined #ruby
JohnBat26 has joined #ruby
daniel_-_ has quit [Quit: WeeChat 0.3.9.2]
_nitti has quit [Remote host closed the connection]
davidcelis has quit [Quit: K-Lined.]
rippa has quit [Ping timeout: 255 seconds]
nricciar has joined #ruby
mand_ has joined #ruby
futilegames has joined #ruby
h4mz1d has joined #ruby
_nitti has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
applesarefruits has joined #ruby
chendo has joined #ruby
mpereira has joined #ruby
Elhu has joined #ruby
lenovodroid has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
TheFuzzball has joined #ruby
kara_sweets has joined #ruby
h4mz1d has quit [Ping timeout: 240 seconds]
nkts has joined #ruby
mkillebrew2 has quit [Quit: leaving]
Guest24042 has quit [Quit: Guest24042]
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
frem has quit [Ping timeout: 264 seconds]
clocKwize has quit [Ping timeout: 246 seconds]
h4mz1d has joined #ruby
xclite has quit [Remote host closed the connection]
Sou|cutter has quit [Changing host]
Sou|cutter has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9.2]
BigO has quit [Read error: Connection reset by peer]
arya_ has quit []
the_jeebster1 has joined #ruby
BigO has joined #ruby
tvw has joined #ruby
arya_ has joined #ruby
frem has joined #ruby
nkts has quit []
<the_jeebster1>
is ruby's Comparable::between? the best method to check whether an integer falls inbetween a range of integers?
pu22l3r has quit [Remote host closed the connection]
talsafran has joined #ruby
talsafran has left #ruby [#ruby]
sn0wb1rd has quit [Quit: sn0wb1rd]
piotr_ has joined #ruby
sn0wb1rd has joined #ruby
jrist-afk is now known as jrist
mneorr has quit [Remote host closed the connection]
<reactormonk>
the_jeebster1, the other way would be range.include? int
ozzloy_ is now known as ozzloy
ozzloy has quit [Changing host]
ozzloy has joined #ruby
<the_jeebster1>
that's Enumerable:include?
<the_jeebster1>
?
diegoviola has joined #ruby
cek has joined #ruby
xclite has joined #ruby
kbeddingfield has quit [Ping timeout: 252 seconds]
h4mz1d has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 246 seconds]
<Hanmac>
the_jeebster1 yes and no, Range overwrite it to be faster
<cek>
-> {}
mathie has joined #ruby
afgeneralist has joined #ruby
<Hanmac>
cek you are looking for proc & lambda
odyssey4me has joined #ruby
Bidness has joined #ruby
diegovio1a has joined #ruby
<cek>
i'd rather not at this time or year
diegoviola is now known as Guest14386
senj has joined #ruby
diegovio1a is now known as diegoviola
Elhu has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
ABK has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
ABK has quit [Read error: Connection reset by peer]
Guest14386 has quit [Ping timeout: 260 seconds]
the_jeebster1 has quit [Quit: Leaving.]
sn0wb1rd has quit [Quit: sn0wb1rd]
ABK has joined #ruby
the_jeebster has joined #ruby
ABK has quit [Read error: Connection reset by peer]
weeb1e has joined #ruby
ABK has joined #ruby
Bidness has quit [Read error: Connection reset by peer]
Bidness has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ephemerian has joined #ruby
ABK has joined #ruby
monkegjinni has joined #ruby
emergion has joined #ruby
lenovodroid has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
carloslopes has quit [Remote host closed the connection]
w400z has quit []
kbeddingfield has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
<Eiam>
if i want to see if an object has changed compared to another object (and it has many properties) is the easiest way to just md5 both objects and compare them?
sepp2k1 has joined #ruby
jgarvey has joined #ruby
chimkan has quit [Quit: chimkan]
<Eiam>
oh haha there is a between? doh. i just use if (item > place and item < place)
sepp2k has quit [Ping timeout: 264 seconds]
<Eiam>
well, place & place 2
ABK has quit [Read error: Connection reset by peer]
_nitti has quit [Remote host closed the connection]
ABK has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
kbeddingfield has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
arya_ has quit []
ABK has quit [Read error: Connection reset by peer]
buscapepe has quit [Ping timeout: 246 seconds]
ABK has joined #ruby
x77686d has quit [Ping timeout: 246 seconds]
x77686d_ is now known as x77686d
mengu has quit [Read error: Connection reset by peer]
mengu_ has joined #ruby
mengu_ has joined #ruby
mengu_ has quit [Changing host]
daniel_- has quit [Ping timeout: 246 seconds]
Nisstyre has quit [Ping timeout: 246 seconds]
JuanMiguel has joined #ruby
Nisstyre has joined #ruby
pcarrier has quit []
arya_ has joined #ruby
applesarefruits has quit [Ping timeout: 246 seconds]
Synthead has joined #ruby
ABK has quit [Read error: Connection reset by peer]
wallmani has quit [Quit: WeeChat 0.3.9.2]
lenovodroid has quit [Read error: Connection reset by peer]
ABK has joined #ruby
bapa has quit [Read error: Connection reset by peer]
arya_ has quit [Client Quit]
bapa has joined #ruby
flip_digits has joined #ruby
Rym has joined #ruby
ABK has quit [Read error: Connection reset by peer]
tyfighter has joined #ruby
JuanMiguel has quit [Ping timeout: 252 seconds]
<flip_digits>
anyone use ruby monk?
moted has quit [Ping timeout: 240 seconds]
ABK has joined #ruby
_nitti has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
jsilver has quit [Remote host closed the connection]
jackbrownhf has quit [Quit: Sto andando via]
pu22l3r has joined #ruby
chimkan_ has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
postmodern has joined #ruby
futilegames has quit [Remote host closed the connection]
futilegames has joined #ruby
odyssey4me has quit []
dgethings has joined #ruby
futilegames has quit [Client Quit]
Synthead has quit [Ping timeout: 260 seconds]
schaerli has quit [Remote host closed the connection]
mpereira has quit [Ping timeout: 264 seconds]
<dgethings>
hey, I'm having problems with a ruby script that requires nokogiri. As far as I can tell the gem is installed correctly however the script complains it cannot locate the gem
<dgethings>
I have details of the installation, script and error message at the following gist: https://gist.github.com/4150665
<eka>
dgethings: how you tell that it's installed?
nomenkun has quit [Remote host closed the connection]
<dgethings>
eka: gem list | grep nokogiri
<eka>
dgethings: did you try from irb or pry?
mpereira has joined #ruby
<dgethings>
also I'm the one who installed it ;)
<dgethings>
eka: I'll give that a try
<txdv_>
he did a gem list | grep nokogiri
<txdv_>
are you using rvm?
<txdv_>
doesnt seem like that
<dgethings>
I'm not using rvm on this server. I am seeing the same error on another server where I am using rvm
s0ber_ has joined #ruby
<dgethings>
rib cannot find the gem either
<eka>
dgethings: what irb says?
schaerli has joined #ruby
schaerli has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
<eka>
dgethings: you using ruby 1.8.7?
<dgethings>
I've updated gist with the output of irb
kebomix has joined #ruby
lkba has joined #ruby
<eka>
dgethings: I think you need require 'rubygems' before require 'nokogiri'
<dgethings>
eka: yes. that's the version debian squeeze uses
<dgethings>
seeing the same error on another server that is running 1.9
<eka>
dgethings: try that
s0ber has quit [Ping timeout: 246 seconds]
s0ber_ is now known as s0ber
jlwestsr has quit [Quit: Ex-Chat]
<dgethings>
eka: yep that's done the trick! thanks very much
<eka>
dgethings: yes.. you should put require 'rubygems' before all
<kebomix>
hi i'm learning rails and have an error when executing "bundle exec rake db:migrate" after generating scaffold code http://fpaste.org/STsM/
<eka>
dgethings: rubygems is included in 1.9.3 I think... not sure... for the rest you need to require 'rubygems' before any other require
Rym has quit [Quit: Rym]
<dgethings>
ahhh! I see
banisterfiend has joined #ruby
<dgethings>
I missed that dependency
<eka>
kebomix: see the error.. you are having a permission denied
<kapowaz>
anyone know how you can debug whether Pony is definitely sending emails through local postfix?
workmad3 has joined #ruby
Synthead has joined #ruby
<kebomix>
eka: thanks didn't notice it :)
nemesit has quit [Quit: Leaving...]
xcvd`` has joined #ruby
<eka>
np
kbeddingfield has joined #ruby
moted has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
jslowe has quit [Ping timeout: 245 seconds]
mathie has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
Russell^^ has quit [Quit: Russell^^]
danneu has joined #ruby
lushious has quit [Remote host closed the connection]
Slivka has joined #ruby
nomenkun has joined #ruby
lushious has joined #ruby
nkts_ has quit [Remote host closed the connection]
cobragoat has joined #ruby
musl has quit [Quit: WeeChat 0.3.9.2]
geekbri has quit [Remote host closed the connection]
bricker has joined #ruby
lindenle has joined #ruby
dr_bob has joined #ruby
mpereira has quit [Read error: Operation timed out]
<mikekelly>
Is it normal for an instance of a SubClass of SimpleDelegator to represent itself as the class of the object being delegated to when you call #to_s on it ?
jackbrownhf has quit [Ping timeout: 250 seconds]
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
s0ber_ has joined #ruby
statarb3 has quit [Quit: Leaving]
<apeiros_>
mikekelly: #to_s I'd say it doesn't matter, but #inspect should not
<Silowyi>
So I'm using the Mail gem on ruby 1.8.7, and it seems that a random space (or spaces) is being inserted in outbound e-mail messages. I suspect it to be some sort of encoding issue going on with the whole 1.8.7 string encoding mess. Anyone encountered this before?
slainer68 has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
buibex has left #ruby [#ruby]
snorkdude has quit [Quit: snorkdude]
tjbiddle has joined #ruby
moted has quit [Ping timeout: 246 seconds]
dr_bob has quit [Quit: Leaving.]
awarner_ has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
<apeiros_>
Silowyi: I think the mail gem does not support 1.8?
<apeiros_>
iirc, you're supposed to use tmail for 1.8 and mail for 1.9
<apeiros_>
(been a while since 1.8, and I'd strongly recommend upgrading to 1.9)
Bootstrapper has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
kbeddingfield has joined #ruby
awarner has joined #ruby
syamajala has quit [Remote host closed the connection]
jrajav has quit [Quit: I tend to be neutral about apples]
macabre has quit [Remote host closed the connection]
alanp has joined #ruby
pyr0commie has quit [Remote host closed the connection]
v0n has quit [Quit: Leaving]
telling has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 252 seconds]
iaj_ has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
<lectrick>
Has anyone built ruby using gcc 4.7.x?
<lectrick>
i'm bleeding edge. getting this error: /usr/local/Cellar/gcc/4.7.2/gcc/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." Is that soooo? :O
<lectrick>
(I installed gcc with homebrew)
mathie has quit [Ping timeout: 260 seconds]
<swarley>
Oh, is it just builtin?
moted has joined #ruby
jds_ has joined #ruby
danneu has quit [Ping timeout: 250 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
hsbt is now known as hsbt_away
alex__c2022 has quit [Quit: alex__c2022]
randym has joined #ruby
awarner has quit [Remote host closed the connection]
chendo has quit [Ping timeout: 250 seconds]
<swarley>
I don't see anything about varargs on google, let me check the source file
moshee has quit []
krisfremen has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
chendo has joined #ruby
stkowski has quit [Quit: stkowski]
sputnick has quit [Quit: bip...bip...bip...bip..KRSHHHHHHHH...beep...beep]
syamajala has joined #ruby
Michael_ has joined #ruby
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
feju has joined #ruby
<lectrick>
I mean, if I just can't compile ruby-1.9.3-p327 with gcc 4.7.x I'll just stop trying
<lectrick>
swarley: but thank you for looking... ^
jeffreybaird has quit [Quit: jeffreybaird]
<lectrick>
I googled myself, but couldn't seem to determine.
<swarley>
I can probably tell you in just a minute, i'm curious myself now
ChampS666 has quit [Ping timeout: 252 seconds]
krisfremen has joined #ruby
ahuman has quit [Quit: No Ping reply in 180 seconds.]
<lectrick>
nice. thanks in advance
ahuman has joined #ruby
afgeneralist has quit [Ping timeout: 256 seconds]
stopbit has quit [Quit: Leaving]
<swarley>
lectrick; #error "Revise your code to use <stdarg.h>."
<Silowyi>
apeiros_ I'd love to upgrade to 1.9, but we don't have the resources to do so. The upgrade from 1.8.5 to 1.8.7 nearly killed us off as it was, so many bugs were introduced.
<lectrick>
swarley: Can't just use a simple search/replace for that tho (I tried :O)
nateberkopec has quit [Quit: Leaving...]
<apeiros_>
Silowyi: hu? …ok
<swarley>
You probably could with the right tools, but the easiest thing i could think to do would be
<lectrick>
Silowyi: You're going to be in trouble soon, or at least completely an isolated island, as most new and updated things are being written to work with 1.9.x
<swarley>
lectrick; make a file called vararg.h and put #include <stdarg.h> and then add -iquote<path to where vararg.h you made is>
<Beoran__>
1.8 is end of life... it son't even get bugfixes anymore
invisime has quit [Quit: Leaving.]
<Silowyi>
lectrick: all of our new code is in 1.9.3, this is legacy code.
lowg has quit [Quit: Leaving]
<lectrick>
Silowyi: ah, yeah :/
sn0wb1rd has joined #ruby
<swarley>
err, actually just use -I not -iquote
<Beoran__>
is it an old rails app?
<swarley>
eh...
<Silowyi>
It might actually be easier to switch to tmail than 1.9.3, Mail is only used in about 3 separate places in the entirety of the legacy app
<swarley>
Actually you would have to use -I- -I<path>
<Silowyi>
Beoran__: lol rails... no, this app actually began development before rails was released >.>
<swarley>
But that's not a bad fix really
chimkan has quit [Quit: chimkan]
<swarley>
and it should solve your problem
<Beoran__>
I see :)
<swarley>
lectrick; long story short, it can be done with a little tricking of the build chain
<Beoran__>
hmmm, you'll have to upgrade that app eventually though, but for now a quick fix will buy you some time
<lectrick>
swarley: where do I add the -iquote option agin?
<Silowyi>
we started this in 2001, with I think Ruby 1.4 or 1.5... :P To give you an idea of the kind of baggae the code has
kil0byte has quit [Ping timeout: 252 seconds]
carlyle has quit [Remote host closed the connection]
<Silowyi>
baggage*
<Beoran__>
well, you guys were pioneers then. :)
Bidness has quit [Remote host closed the connection]
<lectrick>
ah i read later swarley nvm
<swarley>
lectrick; in your Makefile add this to the end of CFLAGS = ..., "-I- -I<path to the dir with varargs.h>" without quotes
statarb3 has quit [Quit: Leaving]
FDj has joined #ruby
<Silowyi>
Beoran__: we had no idea what we were doing. Case in point, our CGI library which I replaced two years ago was a port of CGI.pl
BigO has quit [Remote host closed the connection]
<Beoran__>
heh, no intention to put Rack under it?
<Beoran__>
I also wrote my own web framework in ruby, but I went for rzaick bacuase itw was just out then and seemed promising
<Beoran__>
Rack
<Silowyi>
new 1.9.3 code uses sinatra/rack
<Beoran__>
yeah
<Beoran__>
so do I now, and Datamapper (I wrote my own datamapper-like API too°
<Silowyi>
We weren't ready to commit to rails primarily because of ActiveRecord nightmares with legacy databases... of course Rails doesn't REQUIRE ActiveRecord as an ORM...
<Beoran__>
yeah, I'm using dataapper now and it's quite good
_alejandro has quit [Remote host closed the connection]
<swarley>
lectrick; yeah, it should still compile though shouldn't it?
rasbonics has quit [Quit: rasbonics]
<Silowyi>
we've been playing around with Sequel ORM... but I've been looking at datamapper.
<Beoran__>
I believe in "code supremacy". The code should decide what is in the database
<Silowyi>
oh, hello, it's 5:30pm
<Silowyi>
I don't have to care anymore until tomorrow
<Silowyi>
have fun everyone!
<Beoran__>
ah good evening :)
<Silowyi>
time to finish my nanowrimo
<swarley>
if not, just use -I instead of both -I- and -I
<Silowyi>
thanks for the input Apeiros_, Beoran__
Silowyi has quit []
<lectrick>
swarley: you would think so
nateberkopec has joined #ruby
dankest has joined #ruby
chimkan_ has joined #ruby
piotr_ has quit [Ping timeout: 248 seconds]
jimeh has quit [Quit: Computer has gone to sleep.]
feju has left #ruby ["WeeChat 0.3.9.1"]
shiin has quit [Quit: Computer has gone to sleep.]
<RubyPanther>
"ActiveRecord nightmares with legacy databases" sounds so 2006! I use AR outside of rails precisely _because_ I have legacy monsters I have to support.
<lectrick>
AR has pretty good support for legacy crap, if you know how to set up the models correctly
<apeiros_>
meh
<apeiros_>
well, maybe I didn't try hard enough :)
moshee has quit [Remote host closed the connection]
<lectrick>
wow i am running without a working ruby and it sucks
* apeiros_
will try now hard to get some sleep - n8!
apeiros_ has quit [Remote host closed the connection]
cakehero has quit [Quit: Computer has gone to sleep.]
jjang has joined #ruby
Ordinaryus has joined #ruby
Ordinaryus has left #ruby [#ruby]
generalissimo has quit [Remote host closed the connection]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
byennen_ has quit [Remote host closed the connection]
h4mz1d has quit [Ping timeout: 260 seconds]
snorkdude has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ephemerian has quit [Quit: Leaving.]
jimeh has joined #ruby
syamajala has quit [Remote host closed the connection]
xclite has quit [Remote host closed the connection]