apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste >3 lines of text on gist.github.com || Rails is in #rubyonrails || Log: http://irclog.whitequark.org/ruby
banisterfiend has quit [Remote host closed the connection]
theAlexPoon has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
banisterfiend has joined #ruby
Aaton is now known as Aaton_off
maxmmurphy has quit [Quit: maxmmurphy]
Stalkr_ has quit [Quit: Leaving...]
awarner has quit [Remote host closed the connection]
btanaka has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 248 seconds]
luckyruby has quit [Remote host closed the connection]
monkegjinni has joined #ruby
adeponte has quit [Remote host closed the connection]
c0rn_ has quit [Quit: Computer has gone to sleep.]
yoklov has joined #ruby
c0rn_ has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
DukeDave1 has joined #ruby
DukeDave1 is now known as DukeDave
mdpatrick has joined #ruby
<DukeDave> Hi all, I'm trying to return early, in a do block, in a map; but when I do it returns from the whole map, not just the element. Wha?
<bperry> you are trying to continue?
<bperry> or "next"
<bperry> sorry, continue is a C#-ism
<davidcelis> indeed, next
<DukeDave> bperry: I want to return nil for the current element, but carry on
akem has quit [Ping timeout: 248 seconds]
<ged> DukeDave: 'next(nil)'
davidcelis has quit [Quit: K-Lined.]
<bperry> neat, didn't know you could do that
davidcelis has joined #ruby
<ged> E.g., [1] pry(main)> (0..9).map {|i| next(nil) }
<ged> => [nil, nil, nil, nil, nil, nil, nil, nil, nil, nil]
Criztian has joined #ruby
<DukeDave> ged: Awesome
benson has quit [Remote host closed the connection]
beilabs has joined #ruby
bricker88 has quit [Quit: Leaving.]
<DukeDave> Thanks
<ged> Yeah!
dinkytoy has quit [Ping timeout: 245 seconds]
lledet has left #ruby [#ruby]
<ctor> I feel like this is really stupid, but I'll ask anyways. Do I need to use 'self.' when calling a method into another method in the same class?
dinkytoy has joined #ruby
<sepp2k> ctor: No, you never need to use self. except when calling setter-methods.
<ctor> Thanks
vandemar has joined #ruby
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
iamjarvo has joined #ruby
kah_ has joined #ruby
davidcelis has quit [Ping timeout: 250 seconds]
kenichi has quit [Remote host closed the connection]
nateberkopec has joined #ruby
winkwinknudge has quit [Quit: Leaving]
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
akem has joined #ruby
deco has joined #ruby
mdickens has joined #ruby
mdszy_ has joined #ruby
<deco> is the pickaxe okay to learn from if you're a complete beginner ?
<deco> s/pickaxe/pickaxe book
<ctor> {"value":{"value2":"value3"}} .. how do I point to value3?
uk4life has joined #ruby
<shadoi> deco: complete beginner to programming, or just ruby?
dinkytoy has quit [Ping timeout: 245 seconds]
mdszy has quit [Disconnected by services]
subbyyy has joined #ruby
mdszy_ is now known as mdszy
<shadoi> ctor: hsh["value"]["value2"]
Criztian has quit [Remote host closed the connection]
<shadoi> that returns value3, and technically value and value2 are keys, not values.
<deco> shadoi: programming
<ctor> I think I tried that. I'll try it again.
<shadoi> deco: http://ruby.learncodethehardway.org/ Something like this would be better to start with.
<deco> shadoi: ah okay thanks and then i should start reading pickaxe right ?
wpaulson has joined #ruby
<shadoi> deco: it's better as a reference.
wpaulson has quit [Read error: Connection reset by peer]
wpaulson has joined #ruby
keymone_ has joined #ruby
banisterfiend has joined #ruby
<ctor> Yeah. I tried that. I get a return from a curb request and when I use puts I get:
<ctor> { "meta": { "status":"fail", "code":401, "message":"401" } } => nil
<deco> shadoi: oh so the book from your look should be enough then ?
<deco> your link*
<ctor> so I tried to puts hsh["meta"]["status"] and it returns nil
<shadoi> ctor: oh, sorry I glossed over the fact that that is JSON data, not a ruby hash yet. You need to use JSON.parse on that string, that will give you a ruby hash.
<ctor> Ah
<ctor> shadoi: thank you!
<shadoi> yw
keymone has quit [Ping timeout: 248 seconds]
keymone_ is now known as keymone
<shadoi> deco: there are a lot of books to check out once you've finished that one, but you'll be in great shape if you finish all the exercises in that.
liluo has quit [Remote host closed the connection]
<deco> shadoi: thank you!
<shadoi> welcome
pk1001100011 has quit [Quit: I've got a feeling there's a fish in the floor; I'd better squish it or he'll swim out the door; Sometimes they take me for a walk in the sun; I see my fish and I have to run]
Chryson has joined #ruby
strife25 has joined #ruby
syamajala has joined #ruby
sebastorama has quit [Quit: Computer has gone to sleep.]
randomautomator has quit [Remote host closed the connection]
Araxia has quit [Quit: Araxia]
wallerdev has joined #ruby
DukeDave has left #ruby [#ruby]
mdpatrick has quit [Ping timeout: 265 seconds]
bradhe has quit [Remote host closed the connection]
withnale has quit [Ping timeout: 244 seconds]
Asher has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
withnale has joined #ruby
JeramyRR_ has joined #ruby
deco has left #ruby [#ruby]
<JeramyRR_> please forgive my ignorance, but I have some noobie questions to ask about ruby and Im not sure what room I should be in
<JeramyRR_> either this one or rubyonrails
stkowski has quit [Quit: stkowski]
c0rn_ has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
<JeramyRR_> I'm looking into starting up web development and I'm not sure which way to go, ruby, php, or python
<JeramyRR_> is this the correct room to be in for ruby web dev?
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
tompson has joined #ruby
bti has joined #ruby
<seanstickle> JeramyRR_: for a Ruby dev, in general
<tompson> otters
<tompson> there
<seanstickle> JeramyRR_: there are multiple Ruby web frameworks, of which Rails is but one
<JeramyRR_> so rails is probably the most popular?
<seanstickle> I don't have numbers, but I should suspect so.
freeayu has joined #ruby
asdasdasda has joined #ruby
ianbrandt has quit [Quit: ianbrandt]
krusty_ar_ has joined #ruby
apok has quit [Quit: apok]
krusty_ar has quit [Ping timeout: 265 seconds]
<asdasdasda> .
shadoi has quit [Quit: Leaving.]
withnale has quit [Ping timeout: 265 seconds]
shadoi has joined #ruby
shadoi has quit [Client Quit]
tompson has quit [Disconnected by services]
nopoliti1a has joined #ruby
asdasdasda is now known as tompson
LalTopi has quit [Ping timeout: 248 seconds]
ReTFEF has joined #ruby
liluo has joined #ruby
uk4life has quit [Read error: Connection reset by peer]
liluo has quit [Remote host closed the connection]
<bti> what would you guys suggest for managing my rubies and gems on my production server, rvm or rbenv?
krusty_ar_ has quit [Remote host closed the connection]
LalTopi has joined #ruby
liluo has joined #ruby
withnale has joined #ruby
gry is now known as gryllida
freeayu has quit [Ping timeout: 252 seconds]
TheTFEF has quit [Ping timeout: 244 seconds]
uk4life has joined #ruby
tompson has quit [Ping timeout: 265 seconds]
verto|off is now known as verto
Etherael has joined #ruby
ReTFEF is now known as TheTFEF
TheTFEF has quit [Changing host]
TheTFEF has joined #ruby
verto is now known as verto|off
manizzle_ has quit [Ping timeout: 240 seconds]
freeayu has joined #ruby
crates has left #ruby ["Jehovah Mizrach Ruach Chassan, Elohim Darom Eash Aral, El Marab Maim Talihad, Adonai Tzaphon Aretz Forlock ~ ateh malkuth ve-Geburah ve-Gedulah le-Olahm amen."]
verto|off is now known as verto
manizzle has quit [Ping timeout: 265 seconds]
brianpWins has joined #ruby
bti has quit [Quit: leaving]
ringotwo has quit [Remote host closed the connection]
marknyc has joined #ruby
oxyxian has joined #ruby
bti has joined #ruby
JeramyRR_ has left #ruby [#ruby]
<aces1up> can you use DIR module methods on an http server that will drop a directory listing?
justsee has joined #ruby
thecreators has joined #ruby
nari has joined #ruby
`brendan has joined #ruby
mpereira has joined #ruby
mikepack has joined #ruby
Ryan_ has quit [Quit: Ryan_]
linoj has joined #ruby
<bti> c
bti has left #ruby [#ruby]
justsee has quit [Quit: Leaving...]
IceDragon has quit [Read error: Connection reset by peer]
withnale has quit [*.net *.split]
akem has quit [*.net *.split]
jjang has quit [*.net *.split]
stat1x has quit [*.net *.split]
khakimov has quit [*.net *.split]
Spaceghostc2c has quit [*.net *.split]
banghouse has quit [*.net *.split]
ePirat has quit [*.net *.split]
busybox42 has quit [*.net *.split]
alindeman_ has quit [*.net *.split]
idoru has quit [*.net *.split]
eywu has quit [*.net *.split]
emptiness has quit [*.net *.split]
pkondzior has quit [*.net *.split]
SeanTAllen has quit [*.net *.split]
\13k has quit [*.net *.split]
hemanth has quit [*.net *.split]
stewart_ has quit [*.net *.split]
thatRD has quit [*.net *.split]
sei has quit [*.net *.split]
ashp has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
zaiste has quit [*.net *.split]
Weems has quit [*.net *.split]
mahlon has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
UNIXgod has quit [*.net *.split]
jord has quit [*.net *.split]
ahuman has quit [*.net *.split]
thorncp has quit [*.net *.split]
tightwork has quit [*.net *.split]
rudle has quit [*.net *.split]
faulkner has quit [*.net *.split]
offby1 has quit [*.net *.split]
bnagy has quit [*.net *.split]
verto has quit [*.net *.split]
c0rn has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
affix has quit [*.net *.split]
saispo has quit [*.net *.split]
lepht has quit [*.net *.split]
dagobah_ has quit [*.net *.split]
Gonzih has quit [*.net *.split]
aetaric has quit [*.net *.split]
rotor has quit [*.net *.split]
Veejay has quit [*.net *.split]
raz has quit [*.net *.split]
nahhh has quit [*.net *.split]
pradeepto has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
pipopopo has quit [*.net *.split]
G has quit [*.net *.split]
cantonic has quit [*.net *.split]
ssspiff has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Icoin has quit [*.net *.split]
ctevie has quit [*.net *.split]
dnyy has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
randym has quit [*.net *.split]
mroth has quit [*.net *.split]
aquaranto has quit [*.net *.split]
[diecast] has quit [*.net *.split]
relix has quit [*.net *.split]
Occult has quit [*.net *.split]
chson has quit [*.net *.split]
mikeycgto has quit [*.net *.split]
Azure has quit [*.net *.split]
zeromodulus has quit [*.net *.split]
yonggu has quit [*.net *.split]
babinho has quit [*.net *.split]
s0ber has quit [*.net *.split]
Liothen has quit [*.net *.split]
tewecske has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
strnx has quit [*.net *.split]
croz has quit [*.net *.split]
boredomist has quit [*.net *.split]
Guest93229 has quit [*.net *.split]
lolmaus has quit [*.net *.split]
wataken44 has quit [*.net *.split]
icy` has quit [*.net *.split]
etank has quit [*.net *.split]
CodeVision has quit [*.net *.split]
whitequark has quit [*.net *.split]
ohcibi has quit [*.net *.split]
ij has quit [*.net *.split]
Nisstyre has quit [*.net *.split]
Bonkers has quit [*.net *.split]
angelixd has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
crodas has quit [*.net *.split]
derrida has quit [*.net *.split]
Guest87823 has quit [*.net *.split]
gentz has quit [*.net *.split]
werdnativ has quit [*.net *.split]
hakunin has quit [*.net *.split]
fugit has quit [*.net *.split]
tfitts has quit [*.net *.split]
bburton has quit [*.net *.split]
TheHypnotist- has quit [*.net *.split]
alta has quit [*.net *.split]
_br_ has quit [*.net *.split]
BeLucid has quit [*.net *.split]
stroem has quit [*.net *.split]
dominikh has quit [*.net *.split]
mattp_ has quit [*.net *.split]
imami|afk has quit [*.net *.split]
ggreer has quit [*.net *.split]
tessi has quit [*.net *.split]
Luceo has quit [*.net *.split]
davedevelopment has quit [*.net *.split]
ksk has quit [*.net *.split]
tha_dok has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
ub|k has quit [*.net *.split]
kiela has quit [*.net *.split]
`brendan has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
Paradox has quit [*.net *.split]
Tearan has quit [*.net *.split]
jhchabran has quit [*.net *.split]
Cork has quit [*.net *.split]
piggybox has quit [*.net *.split]
klipeto has quit [*.net *.split]
noganex has quit [*.net *.split]
moos3 has quit [*.net *.split]
moeSeth has quit [*.net *.split]
dekz has quit [*.net *.split]
undert has quit [*.net *.split]
hoelzro|away has quit [*.net *.split]
Hanmac has quit [*.net *.split]
elliottcable has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
rails has quit [*.net *.split]
gryllida has quit [*.net *.split]
sapht has quit [*.net *.split]
fowl has quit [*.net *.split]
eko has quit [*.net *.split]
zigidias has quit [*.net *.split]
gogiel has quit [*.net *.split]
linduxed has quit [*.net *.split]
Gate has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
sonkei has quit [*.net *.split]
Taranis has quit [*.net *.split]
ypk has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
stockholm has quit [*.net *.split]
mpereira has quit [*.net *.split]
thecreators has quit [*.net *.split]
marknyc has quit [*.net *.split]
mwilson_ has quit [*.net *.split]
beilabs has quit [*.net *.split]
ccooke has quit [*.net *.split]
seanstickle has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
pting has quit [*.net *.split]
Axsuul has quit [*.net *.split]
Guest54658 has quit [*.net *.split]
xbayrockx1 has quit [*.net *.split]
Bosma has quit [*.net *.split]
cirwin has quit [*.net *.split]
fcoury has quit [*.net *.split]
denysonique has quit [*.net *.split]
jhowarth has quit [*.net *.split]
notbrent has quit [*.net *.split]
lectrick has quit [*.net *.split]
brjannc has quit [*.net *.split]
Shahor has quit [*.net *.split]
Doc_X has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
alup has quit [*.net *.split]
harcher has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
wunz has quit [*.net *.split]
axiak has quit [*.net *.split]
joelio has quit [*.net *.split]
xybre has quit [*.net *.split]
mockillo has quit [*.net *.split]
kuranai|off has quit [*.net *.split]
sj26 has quit [*.net *.split]
drizz has quit [*.net *.split]
__class__ has quit [*.net *.split]
yy has quit [*.net *.split]
Scub has quit [*.net *.split]
r126l has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
kalleth has quit [*.net *.split]
jarednorman has quit [*.net *.split]
conceal_rs_ has quit [*.net *.split]
`heliar has quit [*.net *.split]
Aaton_off has quit [*.net *.split]
epitron has quit [*.net *.split]
srnty has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
rlomax has quit [*.net *.split]
any-key has quit [*.net *.split]
nw has quit [*.net *.split]
cid404 has quit [*.net *.split]
ctor has quit [*.net *.split]
malcolmva has quit [*.net *.split]
jodell has quit [*.net *.split]
{^_^} has quit [*.net *.split]
froy has quit [*.net *.split]
libertyprime has quit [*.net *.split]
robacarp has quit [*.net *.split]
neersighted has quit [*.net *.split]
itz has quit [*.net *.split]
xorspark has quit [*.net *.split]
fumbe has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
johnduhart has quit [*.net *.split]
Eiam has quit [*.net *.split]
altivec has quit [*.net *.split]
tomku has quit [*.net *.split]
jmcphers has quit [*.net *.split]
welterde has quit [*.net *.split]
nuba has quit [*.net *.split]
nick_h has quit [*.net *.split]
taec has quit [*.net *.split]
nari has quit [*.net *.split]
ddv has quit [*.net *.split]
perryh_away has quit [*.net *.split]
heftig has quit [*.net *.split]
grillo has quit [*.net *.split]
v0n has quit [*.net *.split]
SirFunk has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
xclite has quit [*.net *.split]
kartouch has quit [*.net *.split]
drPoggs has quit [*.net *.split]
ttilley_off has quit [*.net *.split]
Illiux has quit [*.net *.split]
ekaleido has quit [*.net *.split]
monokrome has quit [*.net *.split]
tekacs has quit [*.net *.split]
ezra has quit [*.net *.split]
theoros has quit [*.net *.split]
vaicine has quit [*.net *.split]
alexhanh has quit [*.net *.split]
dju has quit [*.net *.split]
cynosure has quit [*.net *.split]
Speed has quit [*.net *.split]
Caius has quit [*.net *.split]
zrail has quit [*.net *.split]
yeltzooo7 has quit [*.net *.split]
Jelco has quit [*.net *.split]
vertroa has quit [*.net *.split]
vjt has quit [*.net *.split]
DefV has quit [*.net *.split]
kedare has quit [*.net *.split]
ElderFain has quit [*.net *.split]
Kiall has quit [*.net *.split]
gianlucadv has quit [*.net *.split]
Koshian has quit [*.net *.split]
marienz has quit [*.net *.split]
elspeth has quit [*.net *.split]
klaas has quit [*.net *.split]
uxp has quit [*.net *.split]
cout has quit [*.net *.split]
Quadlex has quit [*.net *.split]
xargoon has quit [*.net *.split]
Drakevr has quit [*.net *.split]
joschi has quit [*.net *.split]
pavelz_ has quit [*.net *.split]
phreax has quit [*.net *.split]
keymone has quit [*.net *.split]
wallerdev has quit [*.net *.split]
Chryson has quit [*.net *.split]
mdszy has quit [*.net *.split]
itnomad has quit [*.net *.split]
cbuxton1 has quit [*.net *.split]
ackz has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
MoMo has quit [*.net *.split]
octarine has quit [*.net *.split]
iaj_ has quit [*.net *.split]
cpruitt has quit [*.net *.split]
gregorg has quit [*.net *.split]
sepp2k has quit [*.net *.split]
dsa has quit [*.net *.split]
dankest has quit [*.net *.split]
TheShadowFog has quit [*.net *.split]
CaptainKnots has quit [*.net *.split]
kstephens has quit [*.net *.split]
Whoop has quit [*.net *.split]
Bofu has quit [*.net *.split]
chriskk has quit [*.net *.split]
beakerman has quit [*.net *.split]
tris has quit [*.net *.split]
otters has quit [*.net *.split]
niklasb has quit [*.net *.split]
Tasser has quit [*.net *.split]
Tomasso has quit [*.net *.split]
pygospa has quit [*.net *.split]
radic has quit [*.net *.split]
Etherael has quit [*.net *.split]
rmc3 has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
classix has quit [*.net *.split]
Mchl has quit [*.net *.split]
wagle has quit [*.net *.split]
hackeron has quit [*.net *.split]
RudyValencia has quit [*.net *.split]
psino has quit [*.net *.split]
RichGuk has quit [*.net *.split]
oddraisin has quit [*.net *.split]
preller has quit [*.net *.split]
pdtpatrick has quit [*.net *.split]
jdunham has quit [*.net *.split]
swistak35 has quit [*.net *.split]
vDubG has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
snapcase has quit [*.net *.split]
BRMatt has quit [*.net *.split]
companion has quit [*.net *.split]
TomRone has quit [*.net *.split]
jrbing has quit [*.net *.split]
naquad has quit [*.net *.split]
emdub has quit [*.net *.split]
zagabar has quit [*.net *.split]
Jb_ has quit [*.net *.split]
jbpros has quit [*.net *.split]
Zespre has quit [*.net *.split]
dkr has quit [*.net *.split]
tomaw has quit [*.net *.split]
Bish has quit [*.net *.split]
asuka_ has quit [*.net *.split]
telling has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
KillerFox has quit [*.net *.split]
kloeri has quit [*.net *.split]
jasond has quit [*.net *.split]
xsdg has quit [*.net *.split]
shaman42_ has quit [*.net *.split]
wang has quit [*.net *.split]
mikalv has quit [*.net *.split]
ixx has quit [*.net *.split]
AwesomeGarethMan has quit [*.net *.split]
er1c_ has quit [*.net *.split]
benwoody has quit [*.net *.split]
iosctr has quit [*.net *.split]
parus has quit [*.net *.split]
fred has quit [*.net *.split]
madhatter has quit [*.net *.split]
Shamgar has quit [*.net *.split]
AnswerGuy has quit [*.net *.split]
felipe has quit [*.net *.split]
liluo has quit [*.net *.split]
linoj has quit [*.net *.split]
LalTopi has quit [*.net *.split]
Asher has quit [*.net *.split]
strife25 has quit [*.net *.split]
iamjarvo has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
rakm has quit [*.net *.split]
kevinbond has quit [*.net *.split]
darkc0met has quit [*.net *.split]
aef has quit [*.net *.split]
spanx has quit [*.net *.split]
wvms has quit [*.net *.split]
Poapfel has quit [*.net *.split]
Freijo has quit [*.net *.split]
baphled has quit [*.net *.split]
matled has quit [*.net *.split]
patient has quit [*.net *.split]
shevy has quit [*.net *.split]
d3vic3 has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
dkannan has quit [*.net *.split]
davidboy has quit [*.net *.split]
xrl has quit [*.net *.split]
patricksroberts has quit [*.net *.split]
joma has quit [*.net *.split]
drmegahertz has quit [*.net *.split]
gmci has quit [*.net *.split]
soulcake has quit [*.net *.split]
jshsu has quit [*.net *.split]
beandip has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
FlyingFoX has quit [*.net *.split]
lantins has quit [*.net *.split]
__main__ has quit [*.net *.split]
phrame has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
Kwpolska has quit [*.net *.split]
eighty4 has quit [*.net *.split]
joukokar has quit [*.net *.split]
ByteCrunch has quit [*.net *.split]
groundnuty has quit [*.net *.split]
end3r- has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
freeayu has quit [*.net *.split]
uk4life has quit [*.net *.split]
kah_ has quit [*.net *.split]
sdwrage has quit [*.net *.split]
hadees has quit [*.net *.split]
jamesaxl has quit [*.net *.split]
franckverrot has quit [*.net *.split]
bburhans has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
mxweas_ has quit [*.net *.split]
lobak has quit [*.net *.split]
philips_ has quit [*.net *.split]
dotemacs has quit [*.net *.split]
Drakx_ has quit [*.net *.split]
anekos has quit [*.net *.split]
ryanf has quit [*.net *.split]
Ontolog has quit [*.net *.split]
bier has quit [*.net *.split]
anildigital_work has quit [*.net *.split]
tomb_ has quit [*.net *.split]
Dr4g has quit [*.net *.split]
kapowaz has quit [*.net *.split]
goraxe has quit [*.net *.split]
jhunter has quit [*.net *.split]
alek_b has quit [*.net *.split]
AlbireoX_ has quit [*.net *.split]
skryking has quit [*.net *.split]
S1kx has quit [*.net *.split]
mvangala has quit [*.net *.split]
blast_hardcheese has quit [*.net *.split]
Rizzle has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
ewag has quit [*.net *.split]
Schmidt has quit [*.net *.split]
TheNumb has quit [*.net *.split]
Rious has quit [*.net *.split]
qko_ has quit [*.net *.split]
laen_ has quit [*.net *.split]
pzol has quit [*.net *.split]
m_3 has quit [*.net *.split]
jason^ has quit [*.net *.split]
aces1up has quit [*.net *.split]
epochwolf has quit [*.net *.split]
_axx has quit [*.net *.split]
kichawa has quit [*.net *.split]
Boohbah has quit [*.net *.split]
sejo has quit [*.net *.split]
_alb has quit [*.net *.split]
oc has quit [*.net *.split]
regedarek has quit [*.net *.split]
Zol has quit [*.net *.split]
nullsign has quit [*.net *.split]
irk3z has quit [*.net *.split]
rtl has quit [*.net *.split]
barefoot has quit [*.net *.split]
politoed has quit [*.net *.split]
CrazyGir has quit [*.net *.split]
zaargy has quit [*.net *.split]
abra has quit [*.net *.split]
wrapids has quit [*.net *.split]
jayne has quit [*.net *.split]
Kabaka has quit [*.net *.split]
keyvan has quit [*.net *.split]
lahwran has quit [*.net *.split]
lorn has quit [*.net *.split]
LtHummus has quit [*.net *.split]
Jck_true has quit [*.net *.split]
rachet has quit [*.net *.split]
Derander_ has quit [*.net *.split]
elektronaut has quit [*.net *.split]
David_Miller has quit [*.net *.split]
mephux has quit [*.net *.split]
maddog_ has quit [*.net *.split]
undyingrage has quit [*.net *.split]
oxyxian has quit [*.net *.split]
methoddk has quit [*.net *.split]
tectonic has quit [*.net *.split]
flexd has quit [*.net *.split]
ereslibre has quit [*.net *.split]
willb has quit [*.net *.split]
nopper` has quit [*.net *.split]
Elfix has quit [*.net *.split]
koivula has quit [*.net *.split]
TheTFEF has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
yoklov has quit [*.net *.split]
hunglin has quit [*.net *.split]
nopolitica has quit [*.net *.split]
SegFaultAX|work2 has quit [*.net *.split]
andoriyu has quit [*.net *.split]
mahmoudi_ has quit [*.net *.split]
amacgregor_osx has quit [*.net *.split]
jgrevich has quit [*.net *.split]
cakehero has quit [*.net *.split]
Jay_Levitt has quit [*.net *.split]
akl has quit [*.net *.split]
thedonvaughn has quit [*.net *.split]
Corey has quit [*.net *.split]
undersc0re has quit [*.net *.split]
Xethron has quit [*.net *.split]
joast has quit [*.net *.split]
axl_ has quit [*.net *.split]
Fretta has quit [*.net *.split]
chiel has quit [*.net *.split]
thone has quit [*.net *.split]
jeremy_carroll has quit [*.net *.split]
oscardelben has quit [*.net *.split]
ping-pong has quit [*.net *.split]
x0F has quit [*.net *.split]
williamcotton has quit [*.net *.split]
devdazed has quit [*.net *.split]
johnernaut has quit [*.net *.split]
j01 has quit [*.net *.split]
Sweet-P has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
Nowaker has quit [*.net *.split]
hibariya_ has quit [*.net *.split]
TheFuzzball has quit [*.net *.split]
wereHamster has quit [*.net *.split]
Gm4n has quit [*.net *.split]
dubios has quit [*.net *.split]
y2k has quit [*.net *.split]
richardcreme has quit [*.net *.split]
JStoker has quit [*.net *.split]
bgupta has quit [*.net *.split]
sirecote has quit [*.net *.split]
spathi has quit [*.net *.split]
vitoravelino has quit [*.net *.split]
mafs has quit [*.net *.split]
patronus has quit [*.net *.split]
fartofagony has quit [*.net *.split]
kaktus has quit [*.net *.split]
daemoen has quit [*.net *.split]
lae has quit [*.net *.split]
bfrog has quit [*.net *.split]
jeedey has quit [*.net *.split]
rcs has quit [*.net *.split]
norm has quit [*.net *.split]
JoeTheGuest has quit [*.net *.split]
MrWGW has quit [*.net *.split]
ada2358 has quit [*.net *.split]
mikepack has quit [*.net *.split]
brianpWins has quit [*.net *.split]
nopoliti1a has quit [*.net *.split]
syamajala has quit [*.net *.split]
subbyyy has quit [*.net *.split]
mdickens has quit [*.net *.split]
vandemar has quit [*.net *.split]
KindOne has quit [*.net *.split]
Gavilan has quit [*.net *.split]
alanp_ has quit [*.net *.split]
balki_ has quit [*.net *.split]
burgestrand has quit [*.net *.split]
ged has quit [*.net *.split]
musl has quit [*.net *.split]
mfridh has quit [*.net *.split]
jimeh2 has quit [*.net *.split]
shikamaru has quit [*.net *.split]
Freddie has quit [*.net *.split]
Guerrero has quit [*.net *.split]
Draco___ has quit [*.net *.split]
blazes816 has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
mrdodo has quit [*.net *.split]
savage- has quit [*.net *.split]
Shrink has quit [*.net *.split]
mikekelly has quit [*.net *.split]
timonv has quit [*.net *.split]
araujo has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
schwap has quit [*.net *.split]
ben_alman has quit [*.net *.split]
SeySayux has quit [*.net *.split]
sernin has quit [*.net *.split]
tama has quit [*.net *.split]
locriani has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
omry has quit [*.net *.split]
rizzy has quit [*.net *.split]
groupcat has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
socomm has quit [*.net *.split]
stepnem has quit [*.net *.split]
dv_ has quit [*.net *.split]
Synthead has quit [*.net *.split]
rking has quit [*.net *.split]
JonnieCache has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
superjoe has quit [*.net *.split]
oz has quit [*.net *.split]
denstark has quit [*.net *.split]
dross has quit [*.net *.split]
skyjumper has quit [*.net *.split]
nacengineer has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
_root_ has quit [*.net *.split]
moted has quit [*.net *.split]
Musfuut has quit [*.net *.split]
Adran has quit [*.net *.split]
mksm has quit [*.net *.split]
jjp has quit [*.net *.split]
eregon has quit [*.net *.split]
UdontKnow has quit [*.net *.split]
danheberden has quit [*.net *.split]
BadAtom has quit [*.net *.split]
oddmunds has quit [*.net *.split]
deavid has quit [*.net *.split]
alienvenom has quit [*.net *.split]
bperry has quit [*.net *.split]
mtkd_ has quit [*.net *.split]
strcrzy has quit [*.net *.split]
joni has quit [*.net *.split]
mattrae has quit [Ping timeout: 245 seconds]
dizzdiamonds has joined #ruby
bti has joined #ruby
nopolitica has joined #ruby
daemoen has joined #ruby
dubios has joined #ruby
bnagy has joined #ruby
RubyPanther has joined #ruby
c0rn has joined #ruby
lae has joined #ruby
y2k has joined #ruby
TheTFEF has joined #ruby
emptiness has joined #ruby
stat1x has joined #ruby
wereHamster has joined #ruby
TheFuzzball has joined #ruby
hemanth has joined #ruby
mattrae_ has joined #ruby
x0F has joined #ruby
Sweet_P has joined #ruby
UNIXgod has joined #ruby
maxmmurphy has joined #ruby
Corey has joined #ruby
banghouse has joined #ruby
faulkner has joined #ruby
khakimov has joined #ruby
ePirat has joined #ruby
devdazed has joined #ruby
rudle has joined #ruby
joast has joined #ruby
thatRD has joined #ruby
Hanmac1 has joined #ruby
norm has joined #ruby
cakehero has joined #ruby
user__ has joined #ruby
IceDragon has joined #ruby
linoj has joined #ruby
eywu has joined #ruby
Etherael has joined #ruby
marknyc has joined #ruby
thecreators has joined #ruby
patronus_ has joined #ruby
oxyxian has joined #ruby
GoGoGarrett has joined #ruby
nari has joined #ruby
brianpWins has joined #ruby
Y_Ichiro has joined #ruby
uk4life has joined #ruby
freeayu has joined #ruby
`brendan has joined #ruby
mikepack has joined #ruby
mpereira has joined #ruby
LalTopi has joined #ruby
liluo has joined #ruby
nopoliti1a has joined #ruby
mwilson_ has joined #ruby
Asher has joined #ruby
wallerdev has joined #ruby
syamajala has joined #ruby
strife25 has joined #ruby
Chryson has joined #ruby
banisterfiend has joined #ruby
keymone has joined #ruby
subbyyy has joined #ruby
mdszy has joined #ruby
mdickens has joined #ruby
nateberkopec has joined #ruby
iamjarvo has joined #ruby
kah_ has joined #ruby
vandemar has joined #ruby
yoklov has joined #ruby
beilabs has joined #ruby
hunglin has joined #ruby
itnomad has joined #ruby
ccooke has joined #ruby
cbuxton1 has joined #ruby
GarethAdams has joined #ruby
kevinbond has joined #ruby
ackz has joined #ruby
sdwrage has joined #ruby
jjang has joined #ruby
jamesaxl has joined #ruby
hadees has joined #ruby
KindOne has joined #ruby
rakm has joined #ruby
SegFaultAX|work2 has joined #ruby
darkc0met has joined #ruby
jonathanwallace has joined #ruby
Gavilan has joined #ruby
tommyvyo has joined #ruby
Paradox has joined #ruby
andoriyu has joined #ruby
franckverrot has joined #ruby
bburhans has joined #ruby
MoMo has joined #ruby
iaj_ has joined #ruby
octarine has joined #ruby
aef has joined #ruby
spanx has joined #ruby
[Neurotic] has joined #ruby
jmeeuwen has joined #ruby
alanp_ has joined #ruby
balki_ has joined #ruby
mahmoudi_ has joined #ruby
amacgregor_osx has joined #ruby
wookiehangover has joined #ruby
mxweas_ has joined #ruby
wvms has joined #ruby
cpruitt has joined #ruby
jgrevich has joined #ruby
gregorg has joined #ruby
lobak has joined #ruby
Jay_Levitt has joined #ruby
sepp2k has joined #ruby
dsa has joined #ruby
burgestrand has joined #ruby
dankest has joined #ruby
philips_ has joined #ruby
Poapfel has joined #ruby
dhruvasagar has joined #ruby
TheShadowFog has joined #ruby
nahhh has joined #ruby
CaptainKnots has joined #ruby
kstephens has joined #ruby
ged has joined #ruby
dotemacs has joined #ruby
mfridh has joined #ruby
musl has joined #ruby
Spaceghostc2c has joined #ruby
Tearan has joined #ruby
pting has joined #ruby
jimeh2 has joined #ruby
akl has joined #ruby
Axsuul has joined #ruby
thedonvaughn has joined #ruby
jhchabran has joined #ruby
shikamaru has joined #ruby
Guest54658 has joined #ruby
Cork has joined #ruby
Whoop has joined #ruby
Freddie has joined #ruby
piggybox has joined #ruby
Drakx_ has joined #ruby
klipeto has joined #ruby
Freijo has joined #ruby
chiel has joined #ruby
xbayrockx1 has joined #ruby
matled has joined #ruby
Bofu has joined #ruby
ben_alman has joined #ruby
cynosure has joined #ruby
vertroa has joined #ruby
Bosma has joined #ruby
anekos has joined #ruby
Guerrero has joined #ruby
dkr has joined #ruby
chriskk has joined #ruby
ddv has joined #ruby
Draco___ has joined #ruby
ryanf has joined #ruby
beakerman has joined #ruby
blazes816 has joined #ruby
voodoofish430 has joined #ruby
mrdodo has joined #ruby
cirwin has joined #ruby
tris has joined #ruby
busybox42 has joined #ruby
Xethron has joined #ruby
alindeman_ has joined #ruby
otters has joined #ruby
offby1 has joined #ruby
tightwork has joined #ruby
ahuman has joined #ruby
verto has joined #ruby
mahlon has joined #ruby
thorncp has joined #ruby
jord has joined #ruby
ashp has joined #ruby
SeanTAllen has joined #ruby
zaiste has joined #ruby
sei has joined #ruby
\13k has joined #ruby
noganex has joined #ruby
idoru has joined #ruby
stewart_ has joined #ruby
niklasb has joined #ruby
Tasser has joined #ruby
perryh_away has joined #ruby
axl_ has joined #ruby
savage- has joined #ruby
Fretta has joined #ruby
thone has joined #ruby
shevy has joined #ruby
harcher has joined #ruby
patient has joined #ruby
cantonic has joined #ruby
moos3 has joined #ruby
bier has joined #ruby
whitequark has joined #ruby
oscardelben has joined #ruby
Tomasso has joined #ruby
erichmenge has joined #ruby
ssspiff has joined #ruby
Icoin has joined #ruby
d3vic3 has joined #ruby
Shrink has joined #ruby
anildigital_work has joined #ruby
denysonique has joined #ruby
fcoury has joined #ruby
ctevie has joined #ruby
jhowarth has joined #ruby
nyuszika7h has joined #ruby
dnyy has joined #ruby
heftig has joined #ruby
notbrent has joined #ruby
MetaCosm has joined #ruby
abra has joined #ruby
dkannan has joined #ruby
lectrick has joined #ruby
moeSeth has joined #ruby
Dr4g has joined #ruby
kapowaz has joined #ruby
randym has joined #ruby
mroth has joined #ruby
davidboy has joined #ruby
patricksroberts has joined #ruby
xrl has joined #ruby
dekz has joined #ruby
aquaranto has joined #ruby
[diecast] has joined #ruby
relix has joined #ruby
goraxe has joined #ruby
ping-pong has joined #ruby
Speed has joined #ruby
mikekelly has joined #ruby
undert has joined #ruby
pygospa has joined #ruby
hoelzro|away has joined #ruby
Occult has joined #ruby
radic has joined #ruby
chson has joined #ruby
werdnativ has joined #ruby
araujo has joined #ruby
mikeycgto has joined #ruby
timonv has joined #ruby
Azure has joined #ruby
yonggu has joined #ruby
grillo has joined #ruby
zrail has joined #ruby
jhunter has joined #ruby
zeromodulus has joined #ruby
joma has joined #ruby
raz has joined #ruby
williamcotton has joined #ruby
alek_b has joined #ruby
AlbireoX_ has joined #ruby
elliottcable has joined #ruby
babinho has joined #ruby
s0ber has joined #ruby
rmc3 has joined #ruby
skyjumper has joined #ruby
Liothen has joined #ruby
skryking has joined #ruby
jayne has joined #ruby
tewecske has joined #ruby
ctor has joined #ruby
GeekOnCoffee has joined #ruby
S1kx has joined #ruby
Beoran__ has joined #ruby
wrapids has joined #ruby
v0n has joined #ruby
LiquidInsect has joined #ruby
johnernaut has joined #ruby
strnx has joined #ruby
schwap has joined #ruby
mvangala has joined #ruby
brjannc has joined #ruby
Doc_X has joined #ruby
jrbing has joined #ruby
croz has joined #ruby
kedare has joined #ruby
j01 has joined #ruby
Mon_Ouie has joined #ruby
vjt has joined #ruby
boredomist has joined #ruby
rails has joined #ruby
DefV has joined #ruby
gryllida has joined #ruby
SeySayux has joined #ruby
blast_hardcheese has joined #ruby
classix has joined #ruby
sapht has joined #ruby
Mchl has joined #ruby
sernin has joined #ruby
alup has joined #ruby
locriani has joined #ruby
Guest93229 has joined #ruby
wagle has joined #ruby
lolmaus has joined #ruby
Shahor has joined #ruby
tama has joined #ruby
bigkevmcd has joined #ruby
wataken44 has joined #ruby
icy` has joined #ruby
etank has joined #ruby
CodeVision has joined #ruby
xiphiasx_ has joined #ruby
rlomax has joined #ruby
fowl has joined #ruby
ElderFain has joined #ruby
Dreamer3 has joined #ruby
hackeron has joined #ruby
ConstantineXVI has joined #ruby
Rizzle has joined #ruby
RudyValencia has joined #ruby
ohcibi has joined #ruby
omry has joined #ruby
ij has joined #ruby
drmegahertz has joined #ruby
Nisstyre has joined #ruby
Kabaka has joined #ruby
Bonkers has joined #ruby
eko has joined #ruby
psino has joined #ruby
crodas has joined #ruby
angelixd has joined #ruby
TheMoonMaster has joined #ruby
derrida has joined #ruby
zigidias has joined #ruby
rizzy has joined #ruby
gmci has joined #ruby
gogiel has joined #ruby
Emmanuel_Chanel has joined #ruby
soulcake has joined #ruby
Nowaker has joined #ruby
bburton has joined #ruby
Guest87823 has joined #ruby
SirFunk has joined #ruby
gentz has joined #ruby
hakunin has joined #ruby
fugit has joined #ruby
tfitts has joined #ruby
ewag has joined #ruby
linduxed has joined #ruby
Schmidt has joined #ruby
superjoe has joined #ruby
tha_dok has joined #ruby
aces1up has joined #ruby
TheHypnotist- has joined #ruby
alta has joined #ruby
RichGuk has joined #ruby
TheNumb has joined #ruby
beandip has joined #ruby
groupcat has joined #ruby
oddraisin has joined #ruby
jshsu has joined #ruby
DarkFoxDK has joined #ruby
pradeepto has joined #ruby
Gate has joined #ruby
KarlHungus has joined #ruby
FlyingFoX has joined #ruby
MissionCritical has joined #ruby
socomm has joined #ruby
stepnem has joined #ruby
_br_ has joined #ruby
Taranis has joined #ruby
preller has joined #ruby
hibariya_ has joined #ruby
BeLucid has joined #ruby
samuelkadolph has joined #ruby
__main__ has joined #ruby
Rious has joined #ruby
wunz has joined #ruby
stroem has joined #ruby
lantins has joined #ruby
pdtpatrick has joined #ruby
qko_ has joined #ruby
axiak has joined #ruby
jdunham has joined #ruby
Synthead has joined #ruby
dominikh has joined #ruby
mattp_ has joined #ruby
rking has joined #ruby
imami|afk has joined #ruby
ggreer has joined #ruby
swistak35 has joined #ruby
Kiall has joined #ruby
tessi has joined #ruby
vDubG has joined #ruby
sonkei has joined #ruby
dv_ has joined #ruby
JonnieCache has joined #ruby
DarthGandalf has joined #ruby
kuranai|off has joined #ruby
joelio has joined #ruby
xybre has joined #ruby
phrame has joined #ruby
Luceo has joined #ruby
laen_ has joined #ruby
pzol has joined #ruby
m_3 has joined #ruby
cjk101010 has joined #ruby
flagg0204 has joined #ruby
lupine_85 has joined #ruby
malcolmva has joined #ruby
oz has joined #ruby
{^_^} has joined #ruby
denstark has joined #ruby
zz_chrismcg has joined #ruby
Caius has joined #ruby
mockillo has joined #ruby
jodell has joined #ruby
Quadlex has joined #ruby
Gm4n has joined #ruby
snapcase has joined #ruby
froy has joined #ruby
Kwpolska has joined #ruby
libertyprime has joined #ruby
sj26 has joined #ruby
dross has joined #ruby
robacarp has joined #ruby
neersighted has joined #ruby
xclite has joined #ruby
Musfuut has joined #ruby
BRMatt has joined #ruby
groundnuty has joined #ruby
drizz has joined #ruby
jason^ has joined #ruby
__class__ has joined #ruby
itz has joined #ruby
xorspark has joined #ruby
fumbe has joined #ruby
yy has joined #ruby
keyvan has joined #ruby
thomasfedb has joined #ruby
companion has joined #ruby
yosafbridge has joined #ruby
TomRone has joined #ruby
johnduhart has joined #ruby
eighty4 has joined #ruby
Scub has joined #ruby
ypk has joined #ruby
richardcreme has joined #ruby
davedevelopment has joined #ruby
nacengineer has joined #ruby
Eiam has joined #ruby
benwoody has joined #ruby
joukokar has joined #ruby
r126l has joined #ruby
Gadgetoid has joined #ruby
altivec has joined #ruby
zagabar has joined #ruby
ksk has joined #ruby
tomku has joined #ruby
oddmunds has joined #ruby
JStoker has joined #ruby
_root_ has joined #ruby
rotor has joined #ruby
Veejay has joined #ruby
aetaric has joined #ruby
Gonzih has joined #ruby
dagobah_ has joined #ruby
lepht has joined #ruby
saispo has joined #ruby
affix has joined #ruby
jmcphers has joined #ruby
gianlucadv has joined #ruby
naquad has joined #ruby
koivula has joined #ruby
bgupta has joined #ruby
welterde has joined #ruby
moted has joined #ruby
Zespre has joined #ruby
sirecote has joined #ruby
pipopopo has joined #ruby
SecretAgent has joined #ruby
nuba has joined #ruby
vitoravelino has joined #ruby
spathi has joined #ruby
epochwolf has joined #ruby
ttilley_off has joined #ruby
Adran has joined #ruby
mafs has joined #ruby
fartofagony has joined #ruby
ByteCrunch has joined #ruby
_axx has joined #ruby
emdub has joined #ruby
Jb_ has joined #ruby
ub|k has joined #ruby
jbpros has joined #ruby
kichawa has joined #ruby
Sigma00 has joined #ruby
Boohbah has joined #ruby
mksm has joined #ruby
kalleth has joined #ruby
taec has joined #ruby
jjp has joined #ruby
kartouch has joined #ruby
nick_h has joined #ruby
sejo has joined #ruby
kiela has joined #ruby
eregon has joined #ruby
regedarek has joined #ruby
UdontKnow has joined #ruby
_alb has joined #ruby
CrazyGir has joined #ruby
jarednorman has joined #ruby
conceal_rs_ has joined #ruby
tomaw has joined #ruby
Bish has joined #ruby
kaktus has joined #ruby
Koshian has joined #ruby
`heliar has joined #ruby
marienz has joined #ruby
asuka_ has joined #ruby
elspeth has joined #ruby
Aaton has joined #ruby
danheberden has joined #ruby
oc has joined #ruby
klaas has joined #ruby
BadAtom has joined #ruby
epitron has joined #ruby
telling has joined #ruby
G has joined #ruby
drPoggs has joined #ruby
uxp has joined #ruby
Zol has joined #ruby
yugui_zzz has joined #ruby
iosctr has joined #ruby
cout has joined #ruby
lahwran has joined #ruby
bfrog has joined #ruby
lorn has joined #ruby
methoddk has joined #ruby
LtHummus has joined #ruby
tekacs has joined #ruby
deavid has joined #ruby
jeedey has joined #ruby
JoeTheGuest has joined #ruby
MrWGW has joined #ruby
srnty has joined #ruby
Apocalypse has joined #ruby
rcs has joined #ruby
WanderingGlitch has joined #ruby
jasond has joined #ruby
Jck_true has joined #ruby
KillerFox has joined #ruby
kloeri has joined #ruby
irk3z has joined #ruby
tectonic has joined #ruby
stockholm has joined #ruby
end3r- has joined #ruby
nullsign has joined #ruby
rtl has joined #ruby
any-key has joined #ruby
xsdg has joined #ruby
flexd has joined #ruby
rachet has joined #ruby
wang has joined #ruby
shaman42_ has joined #ruby
ixx has joined #ruby
mikalv has joined #ruby
AwesomeGarethMan has joined #ruby
barefoot has joined #ruby
er1c_ has joined #ruby
nw has joined #ruby
Illiux has joined #ruby
alienvenom has joined #ruby
ereslibre has joined #ruby
xargoon has joined #ruby
willb has joined #ruby
nopper` has joined #ruby
politoed has joined #ruby
parus has joined #ruby
ekaleido has joined #ruby
monokrome has joined #ruby
zaargy has joined #ruby
fred has joined #ruby
Elfix has joined #ruby
bperry has joined #ruby
madhatter has joined #ruby
ada2358 has joined #ruby
vaicine has joined #ruby
Shamgar has joined #ruby
cid404 has joined #ruby
AnswerGuy has joined #ruby
felipe has joined #ruby
Sp4rKy has joined #ruby
pavelz_ has joined #ruby
dju has joined #ruby
joschi has joined #ruby
alexhanh has joined #ruby
phreax has joined #ruby
Jelco has joined #ruby
Drakevr has joined #ruby
yeltzooo7 has joined #ruby
theoros has joined #ruby
ezra has joined #ruby
mtkd_ has joined #ruby
strcrzy has joined #ruby
undyingrage has joined #ruby
Derander_ has joined #ruby
elektronaut has joined #ruby
mephux has joined #ruby
maddog_ has joined #ruby
David_Miller has joined #ruby
joni has joined #ruby
ctor has quit [Excess Flood]
emmanuelux has joined #ruby
nimred has quit [Max SendQ exceeded]
niklasb has quit [Ping timeout: 265 seconds]
mdszy has quit [Changing host]
mdszy has joined #ruby
nimred has joined #ruby
nimred has quit [Changing host]
nimred has joined #ruby
ctor has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
blazes816 has quit [Quit: Leaving]
adeponte has joined #ruby
uris has joined #ruby
jeremy_carroll has joined #ruby
teej_m has joined #ruby
pkondzior has joined #ruby
xscc has joined #ruby
godfrey999 has joined #ruby
xscc has quit [Client Quit]
bti has quit [Quit: leaving]
<teej_m> I'm using ruby, ubuntu, and mysql2 on EC2. I'm trying to figure out why my mysql queries are taking so long. I'm running identical test code on the DB server itself and an app server. The query is 5x slower on the app server. I tested the network connection speed at 500mbps with iperf. I testing just sending the pure data to netcat on the DB server and it runs hella fast. Anything else I can do to debug this?
shadoi has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
banghouse is now known as banghouseAFK
mrdodo has quit [Remote host closed the connection]
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
Icoin has quit [Quit: Icoin]
nopolitica has quit [Remote host closed the connection]
voodoofish430 has quit [Quit: Leaving.]
kstephens has quit [Ping timeout: 265 seconds]
kstephens has joined #ruby
oxyxian has quit [Quit: oxyxian]
rowanu has joined #ruby
yugui_zzz is now known as yugui
cuppsy has joined #ruby
ctor has quit [Quit: irc2go]
strife25 has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Quit: Leaving]
Ontolog has joined #ruby
noganex has quit [Ping timeout: 248 seconds]
jgrevich_ has joined #ruby
noganex has joined #ruby
jgrevich has quit [Ping timeout: 244 seconds]
jgrevich_ is now known as jgrevich
rowanu has quit [Remote host closed the connection]
perryh_away is now known as perryh
jgrevich_ has joined #ruby
emmanuelux has quit [Remote host closed the connection]
greasegum has joined #ruby
jgrevich has quit [Ping timeout: 265 seconds]
jgrevich_ is now known as jgrevich
Norrin has joined #ruby
dioms has joined #ruby
Aaton is now known as Aaton_off
darren has joined #ruby
patient has quit [Quit: leaving]
perryh is now known as perry
kah_ has quit [Ping timeout: 246 seconds]
mxweas_ has quit [Quit: Computer has gone to sleep.]
andrewhl has joined #ruby
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
michael2572 has joined #ruby
vitor-br has joined #ruby
straind has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
freeayu has quit [Ping timeout: 246 seconds]
EzeQL has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
dsa has quit [Ping timeout: 265 seconds]
freeayu has joined #ruby
luckman212 has joined #ruby
hemanth has joined #ruby
quest88 has joined #ruby
sdwrage has quit [Quit: geekli.st/programmer]
oxyxian has joined #ruby
iamjarvo has joined #ruby
greasegum has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
dankest has joined #ruby
tekknolagi has joined #ruby
<tekknolagi> Hi there! Just have what should be an easy fix
benwoody has left #ruby [#ruby]
<tekknolagi> Can't load any ruby gems
benwoody has joined #ruby
<tekknolagi> They look to be installed with gem list, but fail to load with require
<tekknolagi> any thoughts?
teej_m has quit [Quit: teej_m]
luckyruby has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
nopolitica has joined #ruby
nopoliti1a has quit [Read error: Connection reset by peer]
verto is now known as verto|off
hemanth has joined #ruby
mrdodo has joined #ruby
linoj has quit [Quit: linoj]
<benwoody> i have a question about extending modules. I think my head is backwards on how i'm implementing it.
<benwoody> maybe Module#forwardable ?
villainous has joined #ruby
<benwoody> trying to get away from using constants
marknyc has quit []
<cirwin> benwoody: @vars inside modules like that add them to the module itself
pu22l3r has joined #ruby
mahmoudimus has joined #ruby
<cirwin> so, @my_hash in info.rb belongs to Source
<cirwin> but @my_hash in output.rb belongs to Source::Output
<cirwin> you probably want to put those things into methods
<benwoody> i was thinking that
<cirwin> and "include Source" into class Output
<benwoody> gotcha. exactly what i needed to hear. thanks cirwin
<cirwin> (just nesting doesn't automatically include)
<benwoody> that's what was getting me. thought i was missing some magic :)
<benwoody> so, is there a 'best practice' for this? would it be ok to just store that hash in a constant?
<benwoody> it'll probably get used in other classes as well
<cirwin> yeah
hemanth has quit [Read error: Connection reset by peer]
<cirwin> or are you planning to change the values in it?
<benwoody> no
<benwoody> …..they're constant
<benwoody> ha
<cirwin> sounds like a constant is what you want then :)
hemanth has joined #ruby
<benwoody> hah, deep. thanks
<benwoody> derp
dankest has quit [Quit: Leaving...]
tekknolagi has left #ruby [#ruby]
<Paradox> testing got you down?
brandoncordell has joined #ruby
IceDragon has quit [Quit: ~ヾ(^∇^)]
bricker88 has joined #ruby
<cirwin> Paradox: :)
sdwrage has joined #ruby
<Paradox> i snuck that into our gemfiles at work
mikeycgto has quit [Read error: Connection reset by peer]
<Paradox> everyone lold when we ran rake
hemanth has quit [Read error: Operation timed out]
williamcotton_ has joined #ruby
<brandoncordell> Would Ruby be a decent choice of server side language if I need to run system commands and verify the commands were successful via their output, initiated by user actions on a website?
<cirwin> brandoncordell: of course!
eywu has quit [Quit: Leaving.]
<brandoncordell> cirwin: Which way would be best? ``, system(), IO, Open3, Open4?
<Quadlex> brandoncordell: I believe so, here's a guide to shell commands in Ruby: http://tech.natemurray.com/2007/03/ruby-shell-commands.html
<Quadlex> brandoncordell: Open4 IMO, then you get all the relevant streams
williamcotton has quit [Ping timeout: 244 seconds]
williamcotton_ is now known as williamcotton
<Quadlex> For instance, backticks don't give stderr
<cirwin> but if you don't need them all, just use an easier-to-use thingy
wallerdev has quit [Quit: wallerdev]
<Quadlex> system only gives you exit status
<brandoncordell> Is it possible to automate an interactive workflow? for example, a command takes user input as args, then prompts "Is this correct Y/N?"
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
<brandoncordell> so ruby would run the command and automatically say Y when that comes up
<Quadlex> Ooo, interesting question
<cirwin> brandoncordell: it's possible — it might be not very much fun to do though
<Quadlex> I imagine... yes?
<Quadlex> You could take stdin and stdout from the process
<Quadlex> Pass stdout to the user and their input to stdin
<brandoncordell> I really love Ruby and I really want this project to work, but I'm just not sure if my life would be easier using NodeJS
<Quadlex> I know not the deep magics of NodeJS
<Quadlex> I would suggest a spike
<brandoncordell> I don't know Node libraries nearly as well as I do Ruby's but... Node's child_process looks good
<brandoncordell> spike?
<Quadlex> Sorry, Scrum term for a timeboxed exploration of something
<brandoncordell> ohh
<brandoncordell> yeah duh, sorry
<brandoncordell> I thought you were talking about a framework
<brandoncordell> it just dawned on me as you said it
<brandoncordell> lol
michael2572 has quit [Quit: This computer has gone to sleep]
<brandoncordell> :(
<Quadlex> So play for an hour or so with both:P
ringotwo has joined #ruby
ringotwo has quit [Remote host closed the connection]
<Quadlex> Then let me know 'cause I'm curious
<brandoncordell> Just implemented scrum at my work 2 sprints ago (1 month)
<Quadlex> W00t!
<brandoncordell> I dig it, except now I can't slack off :(
<Quadlex> I enjoyed scrum far more then anything else I've tried
ringotwo has joined #ruby
<brandoncordell> We're only a 2, technically 3 man team, with a product owner
<brandoncordell> it's not a fantastic ORG to try it in, but whatever
<brandoncordell> we're making it work
<brandoncordell> it's worked well so far
<Quadlex> I'm a one man team with a PO who isn't very involved
<brandoncordell> nice
<brandoncordell> Do you skip the sprint planning meetings and reflection meetings? or is it just you and the PO
<Quadlex> I try to do them myself
<Quadlex> The PO isn't committed that much
<Quadlex> It's quite difficult but I think having a retro is valuable
oxyxian has left #ruby [#ruby]
<brandoncordell> for sure
<brandoncordell> if you ever need another team member, hit me up haha
<brandoncordell> I'm stuck at a PHP shop and I hate it
<brandoncordell> I believe in the software we write though
<Quadlex> Sadness
<Quadlex> They won't hire me any minions
<brandoncordell> I've pushed them to git, then capistrano when I first started
<Quadlex> I used to be the SM
<Quadlex> I miss it
<Quadlex> I liked having a team
<brandoncordell> damn must get lonely as a sole developer
<Quadlex> I'm the only true IT person in the company
<brandoncordell> Damn man
<Quadlex> The other 4, there's one radio engineer
<brandoncordell> radio engineer, what do you guys do?
<Quadlex> One "Dispatch Administrator" who does the data entry and manipulation for the dispatch system
<Quadlex> One manager
<Quadlex> And one desktop support guy who was promoted from call taker
<Quadlex> They're all good at their jobs but none of them care about IT
<Quadlex> It's just what pays them
<Quadlex> We;re a taxi company
<brandoncordell> ahhh ok
<brandoncordell> makes sense
<Quadlex> I'm writing a custom web booking client because their existing one sucks and the one they'll be installing from their new dispatch system will be identical to every other companies
<brandoncordell> oh nice
<brandoncordell> writing it rails?
<Quadlex> Why would I do something stupi... Yeah :P
<brandoncordell> :D
<brandoncordell> I know I suck, I
<Quadlex> Rails, RabbitMQ
<brandoncordell> 'm on the rails bandwagon
<Quadlex> Rails is great
<Quadlex> IT's not the be all end all
<Quadlex> But nothing ever is
<brandoncordell> for sure, I push rails pretty hard to my clients
<brandoncordell> mostly because my side work is always simple web apps
<Quadlex> I mean, I'm a dirty filthy pox-carrier: I'm using JRuby on Windows
<Quadlex> And I code in RubyMine
undersc0re has joined #ruby
<brandoncordell> DEMON!
<brandoncordell> lol
<Quadlex> Because I wants my IDE and none of y'all fuckers can take it away form me
<fowl> snore
<Quadlex> I'm even dualbooting a MBP
<brandoncordell> ouch that makes it hurt more
<brandoncordell> you can pry Vim from my cold dead hands
<Quadlex> I need to put the time into learning Vim
Tomasso has quit [Ping timeout: 265 seconds]
<brandoncordell> you seriously do
<Quadlex> But I'm much happier with windowing
Corey has quit [Disconnected by services]
<fowl> zzz
<brandoncordell> vim can window
<brandoncordell> and tab
<brandoncordell> and pane
<Quadlex> nonsense
<Quadlex> lies
<Quadlex> slander
<brandoncordell> well I guess just tab and pane, but still
<brandoncordell> tabs are like windows!
<Quadlex> windows are like onions
<brandoncordell> vim has boosted my productivity ten-fold
<brandoncordell> I run vim inside tmux in iTerm2
<brandoncordell> so I have my tmux session for work
<brandoncordell> I get to work boot iTerm2 and type tmux attach -t work
<brandoncordell> and all my work pops up
<brandoncordell> vim client in the first window, zsh command line in the second, server and logs in the third, and irc in the fourth
<fowl> *yawn*
<Quadlex> OK. I use screen, but I'm not fancy with it
<brandoncordell> sorry we're boring you fowl
<fowl> talk about sports!
fbernier has joined #ruby
<Paradox> telnet miku.acm.uiuc.edu
<Quadlex> You are? I'm not. He's got an internet connection:P
<Quadlex> S/he
<Quadlex> Paradox: password?
<Paradox> dont has one
<brandoncordell> Quadlex: easiest way to start learning; go to your terminal and type vimtutor
<Quadlex> Incorrect Password
<brandoncordell> in osx obviously
<Paradox> works4me
<fowl> me2
GoGoGarrett has joined #ruby
<Quadlex> Or on my Gentoo box:P
<Quadlex> I'm not totally POSIX retarded
<Quadlex> Just mostly
<fowl> thank you Paradox this is way less boring than their conversation
igotnolegs has joined #ruby
mdszy has quit [Quit: nini]
<brandoncordell> back to my spike, if I need to interact should I still be trying Open3/4
wmoxam has joined #ruby
<brandoncordell> or would that requirement be best suited for dropping back down IO or system
ananthakumaran has joined #ruby
<brandoncordell> shit I probably shouldn't be drinking iced coffee at midnight
abra has quit [Ping timeout: 276 seconds]
<Quadlex> brandoncordell: You want to know success right?
<Quadlex> Well, can you garuntee success from a response in a gien amount of time for all cases?
<Quadlex> Otherwise I'd also return STDERR
<Paradox> im lookin at the man in the mirror
<Quadlex> So Open3
<brandoncordell> Quadlex: success yes, but I also need to tell it 'Y' when it prompts me
<Quadlex> That's just STDIN yeah?
<brandoncordell> yeah
<brandoncordell> I assume
<Quadlex> Me too
<brandoncordell> Does Open3 allow me to work with the process while it's running?
<brandoncordell> or is it synchronous so I can't interact until the process exits?
<shadoi> you should also check out Shell
hemanth has joined #ruby
zodiac1111 has joined #ruby
<brandoncordell> shadoi: is that a built-in Ruby class?
<shadoi> yes
<shadoi> stdlib anyway
<brandoncordell> shadoi: thanks
leoncamel has joined #ruby
davidcelis has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
Guest54658 is now known as dawtcawm
cakehero has quit [Quit: Computer has gone to sleep.]
dawtcawm has quit [Changing host]
dawtcawm has joined #ruby
LBRapid has joined #ruby
nateberkopec has quit [Quit: Leaving...]
villainous has quit [Quit: villainous]
Beoran_ has joined #ruby
CannedCorn has joined #ruby
<CannedCorn> hey guys, running a test unit test where i assert_raise an error
<brandoncordell> Quadlex: If I get this running the way I like, what's your opinion on doing all this via rails? I'm thinking doing it all in the background via Resque, then just using websockets or something similar to push the status back to the user. But the actual processing, I'm thinking it almost fits as a non-active record model
<CannedCorn> and i'm getting <> expected but was <>, diff: nil
<CannedCorn> and the test is failing
<CannedCorn> why would that be the case
GoGoGarrett has quit [Remote host closed the connection]
Beoran__ has quit [Ping timeout: 248 seconds]
davidpk has joined #ruby
crankycoder has joined #ruby
<Quadlex> CannedCorn: I'm not sure, but perhaps the exception isn't being raised?
<CannedCorn> it would say that though
<CannedCorn> at least it usually does
<Quadlex> And the status message is missing that detail?
<Quadlex> When did you last update?
crankycoder has quit [Remote host closed the connection]
uris has quit [Quit: leaving]
<Quadlex> brandoncordell: I'd need more details about what the "Actual Processing" is?
<brandoncordell> Quadlex: basically running /scripts/wwwacct (creating a cpanel account/user via command line), the copying a few files from another directory to the current one, then possibly running some commands for wp-cli (wordpress command line client)
<Quadlex> blog hosting?
<Quadlex> I'd say either is about the same
<Quadlex> If you want to add additional value to the interface over time perhaps rails
<Quadlex> But I'm lazy
<hemanth> anyone working with typhoeus?
<brandoncordell> Quadlex: basically client has some huge pie in the sky idea, but for now it involves duplicating wordpress over and over with slight differences, having to create the user/account and other cpanel settings at the same time it's duplicated
<brandoncordell> so tempted just to use system() for the first iteration and just hoping it's successful each time
<brandoncordell> although that still leaves me with the whole 'is this ok: Y/N' bullshit
<Quadlex> brandoncordell: What does your story say?
carlyle has joined #ruby
typicalRunt has joined #ruby
typicalRunt has left #ruby [#ruby]
<brandoncordell> Quadlex: my user story?
carlyle has quit [Remote host closed the connection]
crankycoder has joined #ruby
<Quadlex> brandoncordell: Yeah
typicalRunt has joined #ruby
<brandoncordell> don't have one yet, but I will probably have:
yy is now known as awayy
<brandoncordell> 'As an administrator I want to be able to create wordpress installations with the press of a button'
awayy is now known as yy
<brandoncordell> and
dhruvasagar has quit [Ping timeout: 252 seconds]
<brandoncordell> 'As an administrator I want to be able to duplicate wordpress installations with the press of a button'
<brandoncordell> I kind of suck at writing user stories so far haha
<Quadlex> Seems like a good story
<brandoncordell> Cool story, bro?
<brandoncordell> lol
<Quadlex> But, totally duplicated? Inc. url?
<brandoncordell> well no, new url (meaning new user/acct in cpanel), but the theme, plugins, plugin activations, etc will be duplicated
<fowl> brandoncordell, swap out 'with the press of a button' with 'with great moxie and sexual appeal'
<brandoncordell> no other data should migrate
<brandoncordell> fowl: fantastic! I like it
fbernier has quit [Remote host closed the connection]
havenn has joined #ruby
dhruvasagar has joined #ruby
<Quadlex> brandoncordell: Is success crucial?
nari has quit [Ping timeout: 245 seconds]
<brandoncordell> Quadlex: well, in the long run yes.
<Quadlex> IE what happens if the user hits the button and it doesn't work
<brandoncordell> Quadlex: I'd like to let the user know something went wrong
<brandoncordell> I don't like writing apps that will have stuff like "click the button, and if it doesn't show up after a few minutes... just click it again"
<brandoncordell> My client will fully expect it to work each time
<Quadlex> OK, well, I guess you should got for a user-feedback model
<Quadlex> If you deliver an iteration where it may NOT succeed and NOT tel them, have you delivered anything of value?
LBRapid has quit [Quit: Computer has gone to sleep.]
stewart_ has left #ruby [#ruby]
<brandoncordell> Quadlex: an early iteration... yes I think it would have something of value, since it should work, at least most of the time
<brandoncordell> the command is super simple
<Quadlex> Then you can skip the failure condition
<Quadlex> As long as you deliver something worthwhile having
ttilley_off is now known as ttilley
<brandoncordell> the only issues I foresee are duplicate usernames (which will throw an error on the command line), too short/long passwords, et
<brandoncordell> c
<brandoncordell> do you think I can just take stdout and run a regex against it?
<brandoncordell> looking for typical errors?
<brandoncordell> it should have a typical pattern for errors
<brandoncordell> something like "something went wrong: error message"
<brandoncordell> where something went wrong is constant and the error changes
<brandoncordell> or whatever it is for this app
ABK has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
vitor-br has quit [Quit: Saindo]
nari has joined #ruby
<brandoncordell> Ugh.. no standard error so far
<brandoncordell> they're all different
ananthakumaran has joined #ruby
<brandoncordell> this time I just got: This ok? Y
<brandoncordell> Checking input data...Sorry, that username is reserved.
a_a_g has joined #ruby
<Quadlex> I'd return the error
<Quadlex> As is
<Quadlex> And let the user figure it out
<Quadlex> Then if you have time later you can add error parsing
<brandoncordell> right
<brandoncordell> I guess it still comes back to: This ok? Y/N and figuring out the line that has the error on it
andrewhl has quit [Remote host closed the connection]
LBRapid has joined #ruby
<brandoncordell> I probably just need to read more about Open3
<brandoncordell> I'm still stuck on nit
<brandoncordell> it8
<brandoncordell> it*
yoklov has quit [Quit: bye!]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
rrradical has joined #ruby
<brandoncordell> Quadlex: would have more luck with popen2e than popen3?
mikepack has quit [Remote host closed the connection]
Gavilan is now known as SpamMan
TPFC-SYSTEM has joined #ruby
<Quadlex> I'm not sure
<brandoncordell> Quadlex: Probably a noob question, but I'm exhausted. How do I get the contents of stdout using popen3? puts/inspect just give me the object signature (#<IO:0x007fe74494b730>)
<brandoncordell> Quadlex: nvm
<brandoncordell> got it
<brandoncordell> wow... I am tired
<Quadlex> ^_^
gtuckerkellogg has joined #ruby
<Axsuul> What do you guys use to package a ruby script into an exe?
<davidcelis> noooooo
<davidcelis> Axsuul: nnooooooooo
joma has quit [Remote host closed the connection]
ananthakumaran1 has joined #ruby
<Axsuul> davidcelis: i dont want my friend to install ruby on his computer to run my script =p
<Axsuul> an exe is much easier to distribute
<Axsuul> rather than install ruby, then having to bundle
Ontolog has quit [Quit: Ontolog]
maletor has joined #ruby
ananthakumaran has quit [Ping timeout: 265 seconds]
mockra has joined #ruby
cuppsy has quit [Ping timeout: 248 seconds]
Ontolog has joined #ruby
hunglin has quit [Quit: Leaving.]
cantonic_ has joined #ruby
balki_ is now known as balki
cantonic has quit [Ping timeout: 246 seconds]
cantonic_ is now known as cantonic
savage- has quit [Remote host closed the connection]
LBRapid has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Ping timeout: 246 seconds]
\13k has quit [Quit: Leaving]
ryanf has joined #ruby
gtuckerkellogg has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cirwin has quit [Ping timeout: 252 seconds]
nilg has joined #ruby
<hemanth> response.body.include?('[String]') does a false positive? :(
pu22l3r has quit [Remote host closed the connection]
<fowl> Axsuul, ocra
ryanf has quit [Quit: leaving]
itnomad has quit [Quit: Leaving]
iamjarvo has joined #ruby
d3vic3 has quit [Ping timeout: 248 seconds]
dsa has joined #ruby
typicalRunt has left #ruby [#ruby]
d3vic3 has joined #ruby
EzeQL has quit [Ping timeout: 252 seconds]
chson has quit [Ping timeout: 246 seconds]
Chryson has quit [Quit: Leaving]
noyb has joined #ruby
mockra has quit [Remote host closed the connection]
dsa has quit []
EzeQL has joined #ruby
<Quadlex> ...
<Quadlex> Apparently two identical objects are totally different
<Quadlex> But asert_equal isn't giving me a diff
<Quadlex> Just aying they're not equal
Aaton_off is now known as Aaton
dhruvasagar has quit [Ping timeout: 248 seconds]
a_a_g has quit [Quit: Leaving.]
ananthakumaran1 has quit [Ping timeout: 246 seconds]
<Axsuul> fowl: thanks
Nanuq has quit [Ping timeout: 245 seconds]
havenn has quit [Remote host closed the connection]
a_a_g has joined #ruby
tonini has joined #ruby
dizzdiamonds has quit [Quit: dizzdiamonds]
maxmmurphy has quit [Quit: maxmmurphy]
Hanmac1 is now known as Hanmac
kevinbond has quit [Quit: kevinbond]
noyb has quit [Quit: Leaving.]
davidpk has quit [Quit: Computer has gone to sleep.]
noyb has joined #ruby
maxmmurphy has joined #ruby
<iamjarvo> Quadlex there object_ids are dif?
<iamjarvo> their*
<Quadlex> Nope
davidpk has joined #ruby
Nanuq has joined #ruby
maxmmurphy has quit [Client Quit]
<iamjarvo> gist the code
<iamjarvo> and output
Helius has joined #ruby
gryllida has quit [Quit: gone]
cirwin has joined #ruby
andoriyu has quit [Quit: This computer has gone to sleep]
ABK has quit [Ping timeout: 244 seconds]
savage- has joined #ruby
piotr has joined #ruby
a_a_g has quit [Quit: Leaving.]
febo has joined #ruby
mxweas_ has joined #ruby
Helius has quit [Read error: Connection reset by peer]
Bosma has quit [Quit: leaving]
noyb has quit [Quit: Leaving.]
noyb has joined #ruby
ananthakumaran has joined #ruby
bgupta_ has joined #ruby
bgupta has quit [Ping timeout: 244 seconds]
bgupta_ is now known as bgupta
yxhuvud has joined #ruby
djdb has joined #ruby
maxmmurphy has joined #ruby
cloud|droid has joined #ruby
mockra has joined #ruby
bradhe has joined #ruby
gtuckerkellogg has joined #ruby
noyb has quit [Quit: Leaving.]
noyb has joined #ruby
mockra has quit [Remote host closed the connection]
irk3z has quit [Remote host closed the connection]
febo has quit [Ping timeout: 244 seconds]
syamajala has quit [Remote host closed the connection]
tagrudev has joined #ruby
CannedCorn has quit [Quit: Computer has gone to sleep.]
fartofagony has quit [Read error: Connection reset by peer]
fridim_ has joined #ruby
greyEAX has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
Luceo has quit [Ping timeout: 246 seconds]
eywu has joined #ruby
ABK has joined #ruby
manizzle has joined #ruby
piotr has quit [Ping timeout: 265 seconds]
havenn has joined #ruby
EzeQL has quit [Ping timeout: 260 seconds]
GoGoGarrett has joined #ruby
EzeQL has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
andoriyu has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
Icoin has joined #ruby
havenn has quit [Ping timeout: 265 seconds]
deobald_ has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
bricker88 has quit [Quit: Leaving.]
twinturbo has joined #ruby
Draco___ has quit [Remote host closed the connection]
abionic has joined #ruby
savage- has quit [Remote host closed the connection]
whitedawg has joined #ruby
noyb has left #ruby [#ruby]
noyb has joined #ruby
Draco_ has joined #ruby
ABK has quit [Ping timeout: 244 seconds]
JohnBat26 has joined #ruby
Severance has joined #ruby
Morkel has joined #ruby
Draco_ has quit [Remote host closed the connection]
manizzle has quit [Remote host closed the connection]
davidpk has joined #ruby
mrsolo has joined #ruby
<mrsolo> came across syntax how does this work? ?h
<mrsolo> in irb that is "h"
maesbn has joined #ruby
noyb has quit [Quit: Leaving.]
Draco_ has joined #ruby
<cirwin> mrsolo: it's just syntax ?<char> == "<char>" (in ruby1.9)
workmad3 has joined #ruby
<cirwin> in ruby1.8 ?<char> == "<char>".ord
<mrsolo> got it
<mrsolo> thx
<mrsolo> nice
<mrsolo> too doesn't break between 1.8/1.9
<fowl> screw 1.8
noyb has joined #ruby
Severance has quit [Quit: 전 이만 갑니다.]
Severance has joined #ruby
<mrsolo> well it is eol soon so
<fowl> you dont have to wait for it to be officially discontinued to stop using it
<fowl> they are only doing bugfixes for it now
maxmmurphy has quit [Quit: maxmmurphy]
<mrsolo> well need to move scripts overs etc
<mrsolo> and we have plenty...
<fowl> yeah get on that
<Hanmac> mrsolo fowl: its for "string"[idx] == ?<char> this is true on both rubies
<mrsolo> exactly
nari has quit [Remote host closed the connection]
<mrsolo> if i know about this before
<mrsolo> too bad..
<mrsolo> fowl, working on it
nari has joined #ruby
fridim_ has quit [Ping timeout: 246 seconds]
nahhh has quit [Read error: Operation timed out]
Aaton is now known as Aaton_off
Severance has quit [Client Quit]
arkiver has joined #ruby
subbyyy has quit [Quit: Leaving.]
nahhh has joined #ruby
<aces1up> if i have /startup/mysql/data/mysql/ in a string how can i just match the last directory ex "mysql/" via a regex?
<mrsolo> File.split('whatever/foo')[-1]
robbyoconnor has joined #ruby
a_a_g has joined #ruby
<fowl> rubular.com
rrradical has quit [Remote host closed the connection]
pting has quit [Quit: Ex-Chat]
<fowl> str[/\/([^\/]+)\/$/]
zommi has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
<Mon_Ouie> split is still better. There's also File.basename.
mxweas__ has joined #ruby
Aaton_off is now known as Aaton
<mrsolo> better still
Norrin has quit [Quit: Zzz]
perry is now known as perryh_away
maxmmurphy has joined #ruby
oscardelben has quit [Quit: oscardelben]
brandoncordell has quit [Ping timeout: 244 seconds]
jeff_sebring has joined #ruby
hoelzro|away is now known as hoelzro
aganov has joined #ruby
L-----D has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
und3f has joined #ruby
und3f has quit [Remote host closed the connection]
Axsuul has quit [Ping timeout: 252 seconds]
und3f has joined #ruby
GarethAdams has quit [Quit: Leaving...]
L-----D has quit [Client Quit]
SpamMan has left #ruby [#ruby]
maxmmurphy has quit [Quit: maxmmurphy]
nemesit has joined #ruby
chson has joined #ruby
deobald_ has quit [Ping timeout: 246 seconds]
manizzle has joined #ruby
manizzle has quit [Client Quit]
manizzle has joined #ruby
mrsolo has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
Axsuul has joined #ruby
johnernaut has quit [Ping timeout: 244 seconds]
quest88 has quit [Quit: quest88]
Rochefort has joined #ruby
johnernaut has joined #ruby
Freddie has quit [Read error: Connection reset by peer]
havenn has joined #ruby
tomb_ has joined #ruby
npn47 has joined #ruby
Eldariof57-ru has joined #ruby
lukea has joined #ruby
lukea has left #ruby [#ruby]
tdubz has joined #ruby
tdubz is now known as Guest83915
verto|off is now known as verto
cirwin has quit [Ping timeout: 246 seconds]
Guest83915 is now known as thomas
fearoffish has joined #ruby
nopolitica has quit [Quit: Leaving.]
abionic has quit [Ping timeout: 248 seconds]
havenn has quit [Remote host closed the connection]
_tca has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
fromhet has joined #ruby
verto is now known as verto|off
justsee has joined #ruby
mathie has joined #ruby
hashar has joined #ruby
sdwrage has quit [Quit: geekli.st/programmer]
npn47 has quit [Ping timeout: 245 seconds]
saschagehlich has joined #ruby
afd__ has joined #ruby
mxweas__ has quit [Quit: Computer has gone to sleep.]
imami|afk is now known as banseljaj
elhu has joined #ruby
umttumt has joined #ruby
gilead has joined #ruby
Fretta has quit [Quit: Fretta]
a_a_g has quit [Read error: Connection reset by peer]
tiripamwe has joined #ruby
a_a_g has joined #ruby
etehtsea has joined #ruby
Guest87823 has quit [Remote host closed the connection]
darren has quit [Remote host closed the connection]
kevinfagan has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
hashar_ has joined #ruby
hashar has quit [Ping timeout: 245 seconds]
hashar_ is now known as hashar
igotnolegs has quit [Quit: Computer has gone to sleep.]
ackz has quit [Quit: Leaving...]
elhu has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Remote host closed the connection]
elhu has joined #ruby
xbayrockx1 has quit []
saschagehlich has quit [Quit: saschagehlich]
hatoishi has joined #ruby
Jackneill has joined #ruby
matti has joined #ruby
mengu has joined #ruby
Jackneill is now known as Guest33712
xbayrockx has joined #ruby
mneorr has joined #ruby
xbayrockx has quit [Client Quit]
blacktulip has joined #ruby
banisterfiend has joined #ruby
GoGoGarrett has quit [Ping timeout: 244 seconds]
baphled has joined #ruby
fixl has joined #ruby
mxweas_ is now known as mxweas
mxweas_ has joined #ruby
arkiver has quit [Remote host closed the connection]
eywu has quit [Quit: Leaving.]
justsee has quit [Quit: Leaving...]
jgrevich has quit [Quit: jgrevich]
LiquidInsect has quit [Ping timeout: 246 seconds]
davidw has joined #ruby
davidw is now known as Guest42080
nopolitica has joined #ruby
Luceo has joined #ruby
nopolitica has left #ruby [#ruby]
Draco_ has quit [Ping timeout: 265 seconds]
zodiac1111 has quit [Remote host closed the connection]
nopolitica has joined #ruby
nopolitica1 has joined #ruby
nopolitica has quit [Read error: Connection reset by peer]
LiquidInsect has joined #ruby
Aaton is now known as Aaton_off
workmad3 has joined #ruby
zz_chrismcg is now known as chrismcg
Aaton_off is now known as Aaton
undersc0re is now known as WindowsME4UnMe
WindowsME4UnMe is now known as Ethan
[Neurotic] has quit [Quit: Leaving]
Criztian has joined #ruby
berserkr has joined #ruby
tatsuya_o has joined #ruby
zodiac1111 has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
tomask has joined #ruby
tomask has quit [Changing host]
tomask has joined #ruby
luckyruby has quit [Remote host closed the connection]
rb2k has joined #ruby
<rb2k> any of you tried installing nokogiri on mountain lion?
<rb2k> I run into problems with it claiming that libxml2 isn't there
<rb2k> which is most certainly is
thone has quit [Ping timeout: 244 seconds]
<Tasser> rb2k, you might need to mention it to rubygems
suraj_ has joined #ruby
<rb2k> I don't think it's a gem problem per se
thone has joined #ruby
<rb2k> it's mostly a nokogiri and c extension problem I'd guess
<Mon_Ouie> You do have both the headers and the lib files?
whitedawg has quit [Ping timeout: 246 seconds]
rb2k_ has joined #ruby
rb2k has quit [Read error: Connection reset by peer]
rb2k_ is now known as rb2k
suraj_ has quit [Client Quit]
hmans has joined #ruby
arturas_ has joined #ruby
Rochefortes has joined #ruby
saschagehlich has joined #ruby
<workmad3> rb2k: have you installed command line tools for xcode?
tomask has quit [Quit: Quit]
<rb2k> yes
<workmad3> :)
<rb2k> it's mountain lion, so I could see how that isn't 100% stable at the moment
Rochefort has quit [Ping timeout: 248 seconds]
cbetta has joined #ruby
havenn has joined #ruby
tvw has joined #ruby
Aaton is now known as Aaton_off
hbs_ has joined #ruby
keymone has left #ruby [#ruby]
havenn has quit [Ping timeout: 244 seconds]
hbs_ has left #ruby [#ruby]
codespectator has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
tonini has quit [Remote host closed the connection]
mrdodo has quit [Remote host closed the connection]
comctrl6 has joined #ruby
baphled has quit [Ping timeout: 265 seconds]
comctrl6 has left #ruby [#ruby]
stefanp has joined #ruby
stefanp has quit [Changing host]
stefanp has joined #ruby
Criztian has quit [Ping timeout: 248 seconds]
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
reuf has joined #ruby
Rochefort has joined #ruby
arkiver has joined #ruby
Rochefor_ has joined #ruby
Rochefortes has quit [Read error: Connection reset by peer]
banseljaj is now known as imami|afk
monkegjinni has joined #ruby
Criztian has joined #ruby
Progster has joined #ruby
andoriyu has quit [Quit: Leaving]
Rochefort has quit [Ping timeout: 265 seconds]
Drakx_ has quit [Changing host]
Drakx_ has joined #ruby
tomb_ has quit [Quit: Computer has gone to sleep.]
Guest42080 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
Rochefort has joined #ruby
Rochefort has quit [Remote host closed the connection]
Rochefor_ has quit [Ping timeout: 265 seconds]
ephemerian has joined #ruby
mneorr has quit [Quit: Leaving.]
emptiness has quit [Read error: Connection reset by peer]
ramblex has joined #ruby
npn47 has joined #ruby
rb2k has quit [Quit: rb2k]
hatoishi has quit [Ping timeout: 248 seconds]
zastaph has joined #ruby
emptiness has joined #ruby
a_a_g1 has joined #ruby
mneorr has joined #ruby
a_a_g has quit [Ping timeout: 248 seconds]
NimeshNeema has joined #ruby
davedevelopment has left #ruby [#ruby]
freeayu has quit [Ping timeout: 246 seconds]
fermion has joined #ruby
bluOxigen has joined #ruby
ramblex has quit [Quit: ramblex]
hashar has left #ruby [#ruby]
nari has quit [Ping timeout: 245 seconds]
matti has quit [Quit: 8-X]
freeayu has joined #ruby
mxweas has quit [Quit: Leaving...]
mxweas_ is now known as mxweas
fixl has quit [Remote host closed the connection]
nopolitica1 has quit [Quit: Leaving.]
mxweas_ has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
Shrink has quit [Ping timeout: 250 seconds]
x0F_ is now known as x0F
fixl has joined #ruby
hmans has quit [Quit: Leaving...]
pk1001100011 has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
jamesaxl has joined #ruby
nemesit has quit [Quit: Leaving...]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
Foxandxss has joined #ruby
monkegjinni has quit [Remote host closed the connection]
afd__ has quit [Quit: No Ping reply in 180 seconds.]
undeclaredx has joined #ruby
<undeclaredx> Is there any reliable (besides RBX) ways of compilign ruby to code?
afd__ has joined #ruby
<Mon_Ouie> Ruby 1.9 generates bytecode too, it just doesn't save it on disk
<undeclaredx> k
<undeclaredx> it's just I have a product I'm building for a company and Ruby seems the best way to build it, but one big requirement is that the clients don't have the source in front of them
<undeclaredx> don't think obfustication would be enough hehe
<Mon_Ouie> IMO that's a silly requirement. If they really want to, editing bytecode isn't impossible either and reading it is even easier (not to mention security by secret isn't security at all)
brianpWins has quit [Quit: brianpWins]
<undeclaredx> that I know
<shevy> undeclaredx: then you have to use C or something like that to make it harder for them
<undeclaredx> yeah ;(
<undeclaredx> It's just.. you guys know PhantomJS? it's what we're using
<undeclaredx> that's javascript lol
<undeclaredx> you can do it in ruby with capybara
<shevy> sounds only like obfuscation?
<undeclaredx> yeah... hmm
<shevy> if it is still plain text, you can do this in ruby source code just as well. :P
<undeclaredx> I suppose I'll have to go with obfustication
<undeclaredx> it's not the end of the world though, it's not gonna be easy to read
<hoelzro> can you use a custom module loader object in Ruby?
<undeclaredx> hmm?
<undeclaredx> and that's in C?
<undeclaredx> err
<undeclaredx> you may be asking #ruby not talking to me lol
<hoelzro> I mean, can you hook into require?
<undeclaredx> you are asking #ruby or suggesting it to me?
<hoelzro> undeclaredx: both
<undeclaredx> no idea heh
<hoelzro> is there a way to say "hey require, if this lookup fails, try this object"
<Mon_Ouie> You can redefine require if you want it
<hoelzro> obviously you could replace Kernel#require
ramblex has joined #ruby
<hoelzro> undeclaredx: you could redefine require to load the ruby sources from an encrypted file or something
jamesaxl has quit [Ping timeout: 248 seconds]
<hoelzro> the source would be in memory, but it's better than nothing, right?
<bnagy> and where are you going to store the key?
<hoelzro> probably in a C extension
jamesaxl has joined #ruby
<hoelzro> so running strings on it will reveal the key
<hoelzro> but like I said, better than nothing, right?
dwt has joined #ruby
<dwt> Hi there, could one of you direct me to the right channel to ask rake related questions?
<undeclaredx> hoelzro: that's kind of the idea I was thinking
<dwt> Both #rake and #ruby-rake don't seem to exist
<undeclaredx> it's imperfect but it can work
<Mon_Ouie> Anyway no matter how he tries to distribute the code, he will need to provide a way to run it
<hoelzro> so distribute the Ruby interpreter
<hoelzro> and have a C extension called "secure_require" or something
<hoelzro> and make sure the first thing the program does is "require 'secure_require'"
<undeclaredx> ah
<undeclaredx> and the C extension would decrypt it
<hoelzro> mhmm
<undeclaredx> as opposed to say.. it being in cleartext ruby it decrypting it
<undeclaredx> this is a reasonably good solution, I will see what I can do.. thanks
<hoelzro> undeclaredx: I think this will screw with gems, though
<hoelzro> just a heads-up
<undeclaredx> how so?
<undeclaredx> I'm rusty on my C, but I think I could get this done in reasonable time hm
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<undeclaredx> ah this is simpler than I thought
<hoelzro> undeclaredx: because I think that rubygems overrides Kernel#require
<undeclaredx> ah
<undeclaredx> wait so basicly..
<hoelzro> but you could do something like alias :gems_require :require def require(name) ... end
<undeclaredx> ruby code is obfusticated in lets say blah.rbsecure
<Mon_Ouie> You just need to make sure you override require after rubygems
riethmayer has joined #ruby
<undeclaredx> k
<hoelzro> Mon_Ouie: right
Rochefort has joined #ruby
<undeclaredx> secure_require will decrypt it, then pop it in memory
<undeclaredx> hm
jjang has quit [Ping timeout: 240 seconds]
<undeclaredx> how will I get ruby to read ruby code from memory?
Stalkr_ has joined #ruby
<Mon_Ouie> eval
<undeclaredx> oh ok
<undeclaredx> that works.
* hoelzro likes the way Lua handles require
zhomart has joined #ruby
<hoelzro> makes stuff like this a little easier
<undeclaredx> yeah
riethmayer has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
joma has joined #ruby
Morkel has quit [Quit: Morkel]
zhomart has quit [Client Quit]
arkiver has quit [Quit: Leaving]
cloud|droid has quit [Remote host closed the connection]
Rochefortes has joined #ruby
<undeclaredx> this seems fairly straight forward
<undeclaredx> cool.. thanks guys
<dwt> No other place? Then maybe here: How do I define a rake task to create a file where it's content depends on the arguments of the rake task?
vladyn has joined #ruby
<dwt> I mean, it's easy to write that down, but depencency resolution doesn't seem to take the arguments into account when deciding if that task needs to be rerun or not.
<anildigital_work> What would be the regex for
<anildigital_work> rescue without =>
<anildigital_work> so find out all the lines having 'rescue' but no => in it
Rochefort has quit [Ping timeout: 276 seconds]
<anildigital_work> (.*)rescue\s^(\=\>) didn't work
<undeclaredx> you know what though
<undeclaredx> I'll write my entire app, then worry about this shit after
fromhet has quit [Quit: fromhet]
baphled has joined #ruby
<undeclaredx> It seems there is decent enough options that it will prevent the layman from reading the source.. the smart people can get to it
<undeclaredx> obfustication + some kind of encryption seems fine
mathie has quit [Quit: Sleeping...]
<joma> Hello, how to write to #rubyonrails channel? When I write, error appears: #RubyOnRails :Cannot send to channel
<TTilus> joma: you did google for that, didn't you?
<joma> But I can write here. I googled, I thought it is specifical rubyonrails channel problem
fridim_ has joined #ruby
<shevy> joma: join it via /join #rubyonrails
baphled has quit [Ping timeout: 252 seconds]
<shevy> and if you have to register first, google for "register IRC freenode"
mneorr has quit [Quit: Leaving.]
godfrey999 has quit [Quit: godfrey999]
vlad_starkov has joined #ruby
Shrink has joined #ruby
Lachryma has joined #ruby
baphled has joined #ruby
bluenemo has joined #ruby
ramblex has quit [Quit: ramblex]
ramblex has joined #ruby
werdnativ has quit [Quit: werdnativ]
<joma> <TTilus>, <shevy> thank you for answers. I joined and could write there. thanks a lot
<anildigital_work> Is it good practice to use one line rescue statements?
liluo has quit [Remote host closed the connection]
<anildigital_work> a = my_object.some_method rescue nil
nopolitica has joined #ruby
Icoin has quit [Quit: Icoin]
yugui is now known as yugui_zzz
<shevy> anildigital_work: I dont like it
nopolitica has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
cbetta has quit [Quit: Computer has gone to sleep.]
lxsameer has quit [Max SendQ exceeded]
lxsameer has joined #ruby
withnale has joined #ruby
<shevy> dwt: I dunno, I never felt happy with rake. All i know is that a Rakefile contains valid ruby code. And there I wondered, for my local use, I can call methods in .rb files from the commandline already, so why would I really need a rakefile
lxsameer has quit [Max SendQ exceeded]
<banisterfiend> shevy: you should read a Rake tutorial to find out ;)
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
TheRealPygo is now known as pygospa
Spooner has joined #ruby
fridim_ has quit [Ping timeout: 246 seconds]
<JonnieCache> oh no banisterfiend is missing his @!!!
<JonnieCache> did you go mad with power?
<JonnieCache> did the IRC united nations have to step in?
<shevy> banisterfiend yeah dunno tutorials are so boring :(
<JonnieCache> heh
mpereira has quit [Ping timeout: 252 seconds]
<workmad3> anildigital_work: no, it's not good practice
<shevy> \o/
<workmad3> anildigital_work: you get no control over what exceptions you're actually swallowing
jonathanwallace has joined #ruby
lxsameer has quit [Quit: Leaving]
<workmad3> anildigital_work: basically, if you're not going to actually handle an exception, you shouldn't rescue from it
niklasb has joined #ruby
<kalleth> workmad3: and i was actually meaning to reply in this channel, rather than #ror
<shevy> lol
godfrey999 has joined #ruby
vertroa has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
vertroa has joined #ruby
<workmad3> kalleth: heh
<workmad3> kalleth: btw, my twitter account isn't interesting... I never use it
<kalleth> yeah i just noticed that
<workmad3> :)
<kalleth> OH WELL IT MAKES ME LOOK MORE IMPORTANT
Criztian has quit [Remote host closed the connection]
<shevy> hey
<shevy> you guys talk here as if you are talking on another channel :(
<workmad3> shevy: nah, we're actually in telepathic communication
Berglund has joined #ruby
<workmad3> shevy: but it's a bit patchy, so we sometimes need to drop into IRC to keep up the conversation
Berglund has quit [Client Quit]
geekbri has joined #ruby
<kalleth> does that mean i'm going to get better at ruby dev by osmosis?
saschagehlich has quit [Read error: Connection reset by peer]
saschagehlich has joined #ruby
umttumt has quit [Remote host closed the connection]
strife25 has joined #ruby
<shevy> hmmm
<shevy> that would be cool... learning by integration into hive mind
saschagehlich has quit [Read error: Connection reset by peer]
dizzdiamonds has joined #ruby
dizzdiamonds has quit [Client Quit]
Rochefort has joined #ruby
saschagehlich has joined #ruby
<workmad3> kalleth: you're assuming I'm actually any good at ruby dev...
Rochefortes has quit [Ping timeout: 276 seconds]
ePirat_ has joined #ruby
<workmad3> shevy: just imagine though... all those PHP devs in the hive mind drowning out everything else
<shevy> well
Berglund has joined #ruby
<shevy> we would need a filter for sure
<workmad3> :)
mxweas_ has quit [Quit: Computer has gone to sleep.]
<shevy> but I mean, just imagine if you'd have the instant knowledge of matz and every other ruby hacker available (I refer only to ruby coding skills)
<shevy> I could be so lazy to never have to learn anything new anymore!
<ij> How do I get the gem to make a .so?
<Tasser> ij, you compile it?
kpshek has joined #ruby
<ij> I'm making a gem with native extensions, but it's producint only o when installed.
<Mon_Ouie> Add an s.extensions = ["…"] in your gemspec
<Mon_Ouie> Where … is the path to your extconf.rb
<ij> Myeah, I have that already, but still there's no so in ~/.rvm/**/mygem/ext/mygem
mucker has joined #ruby
<ij> Only .o.
neku has joined #ruby
<shevy> then some step is missing I suppose. there isn't a .a file either?
tiripamwe has quit [Ping timeout: 248 seconds]
<shevy> dunno what gcc command to have to use to turn .o into .so or .a files
krusty_ar has joined #ruby
ppawel has joined #ruby
ePirat_ has quit [Quit: Palaver http://palaverapp.com/]
<ppawel> hey
<ij> This is how the gemspecs look: http://sprunge.us/FiRK
<ij> There must be something wrong..
<ppawel> why doesn't ActiveRecord::Base.connection.select_all convert postgresql boolean into ruby boolean? instead I get 't' and 'f' strings
kylemcgill has joined #ruby
mpereira has joined #ruby
<Tasser> ppawel, #rubyonrails
<ppawel> oh ok
ppawel has left #ruby ["Leaving"]
iamjarvo has joined #ruby
fbernier has joined #ruby
<workmad3> ij: what OS are you on?
BRMatt has quit [Quit: ZNC - http://znc.sourceforge.net]
sailias has joined #ruby
mathie has joined #ruby
BRMatt has joined #ruby
cbetta has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
BiHi has joined #ruby
Rochefort has quit [Ping timeout: 276 seconds]
dross has quit [Ping timeout: 250 seconds]
kaneda has joined #ruby
<ij> workmad3: OSX
<workmad3> ij: have you considered looking for a .bundle instead of a .so then?
kaneda is now known as Guest19851
Arabus has joined #ruby
<Arabus> hey i am trying to write a small mangement script for our ldap server in ruby and am currerly a little stuck on choosing which rubygem to use. I would like to use a local soccket conenction to the ldap server (the ldapi:/// variant of the ldap URIs). someone have a hint where to turn or lok?
Berglund has quit [Quit: Computer died.]
<Arabus> *look
<JonnieCache> yeah you'll never see a .so on os x
<JonnieCache> unless youve put it there yourself by hand?
apeiros_ has joined #ruby
Rochefort has joined #ruby
jonathanwallace has joined #ruby
<geekbri> Is anybody here using some sort of extension for VIM to do begin/end matching for ruby ?
erichmenge has joined #ruby
Criztian has joined #ruby
<workmad3> geekbri: yes
<geekbri> workmad3: which one, and does it work well :)
cascalheira has joined #ruby
<ij> workmad3: Hmm, so when I require my gem, it loads the native extensions, thus bundle, as well, right?
`brendan has joined #ruby
jrajav has joined #ruby
noyb has quit [Quit: Leaving.]
<workmad3> ij: not automatically... you need to require the native extension lib in the appropriate file
baphled has quit [Ping timeout: 246 seconds]
fantazo has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
mahmoudimus has joined #ruby
_bart has joined #ruby
zommi_ has joined #ruby
zommi has quit [Ping timeout: 248 seconds]
<Mon_Ouie> Also you need to change your require_paths to include the path where the extension is found
<ij> Hooray!
<geekbri> workmad3: ?
liluo has joined #ruby
Guest19851 has quit [Remote host closed the connection]
<workmad3> geekbri: sorry, trying to work out which extension it is :)
<geekbri> workmad3: oh sorry, I thought maybe you missed my inquiry :). Super thanks in advance.
enroxorz has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
binaryplease has joined #ruby
fl0w has joined #ruby
<geekbri> workmad3: awesome! i will install and give this a whirl!
lkba has joined #ruby
<geekbri> ah yes, another tpope must have. What else is new.
Lachryma has quit [Ping timeout: 248 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<workmad3> :)
fl0w has left #ruby [#ruby]
brandoncordell has joined #ruby
cascalheira has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
dross has joined #ruby
mongag has joined #ruby
Rochefortes has joined #ruby
Rochefort has quit [Read error: Connection reset by peer]
verto|off is now known as verto
<_bart> hi all
<_bart> :)
tommyvyo has joined #ruby
mdickens has quit [Ping timeout: 250 seconds]
mdszy has joined #ruby
mdszy has joined #ruby
mdszy has quit [Client Quit]
mdszy has joined #ruby
mdszy has quit [Changing host]
mdszy has joined #ruby
mdszy has quit [Client Quit]
tomb_ has joined #ruby
mdszy has joined #ruby
mdszy has quit [Changing host]
mdszy has joined #ruby
chrismdp has joined #ruby
abra has joined #ruby
<chrismdp> Hey: if you're the sort of person who journals each day (a la http://750words.com), you might want to check out a gem I just wrote: `morning-pages`
<chrismdp> looking for feedback
<Muz> Is that like morning wood?
wangr has joined #ruby
dv310p3r has joined #ruby
LBRapid has joined #ruby
sailias has quit [Ping timeout: 276 seconds]
subbyyy has joined #ruby
neku is now known as neku|away
robozahn has joined #ruby
subbyyy has quit [Client Quit]
iamjarvo has quit [Quit: Computer has gone to sleep.]
rbanffy has joined #ruby
<jrajav> Exactly, but for your creative impulse rather than your erectile
a_a_g1 has quit [Quit: Leaving.]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 265 seconds]
jgarvey has joined #ruby
<JonnieCache> reflexively writing 750 words first thing in the morning might not be the best idea for some of us
<JonnieCache> especially if its published
mucker has quit [Quit: leaving]
<JonnieCache> :)
mucker has joined #ruby
<JonnieCache> oh i see that its not published. thats actually a really good idea
<JonnieCache> that guy who runs that site must have an absolutely great time reading peoples entries though
nanderoo has joined #ruby
saschagehlich has quit [Read error: Connection reset by peer]
choffstein has joined #ruby
saschagehlich has joined #ruby
fixl has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
hynkle has joined #ruby
saschagehlich_ has joined #ruby
tzvi has joined #ruby
Axsuul has quit [Ping timeout: 250 seconds]
GoGoGarrett has joined #ruby
<shevy> dumdedum
saschagehlich has quit [Ping timeout: 245 seconds]
saschagehlich_ is now known as saschagehlich
sepp2k1 has quit [Read error: Connection reset by peer]
etehtsea has quit [Ping timeout: 244 seconds]
Lachryma has joined #ruby
jrist has joined #ruby
umttumt has joined #ruby
umttumt has quit [Remote host closed the connection]
andrewhl has joined #ruby
choffstein has quit [Remote host closed the connection]
verto is now known as verto|off
kpshek has quit []
Dreamer3 has quit [Quit: Leaving...]
Dreamer3 has joined #ruby
npn47 has quit [Ping timeout: 245 seconds]
rowanu has joined #ruby
pygospa has quit [Quit: "Just testing something"]
pygospa has joined #ruby
crates has joined #ruby
Lachryma has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
<moos3> how does one debug There was a issue undefined method `[]' for nil:NilClass
tk_ has joined #ruby
<Hanmac> moos3 without a pastie of your code, no one could help you
<Muz> Is there not a file name and line number for where this error was triggered from?
<moos3> Muz nothing
Lachryma has joined #ruby
linoj has joined #ruby
Tomasso has joined #ruby
<moos3> theres the code
joeroots has joined #ruby
<apeiros_> moos3: um, you'd fix that exception handling in the last 2 lines
<apeiros_> of course there's not more information if you intercept the exception and dumb the output down…
<apeiros_> (last 3 lines actually)
* Hanmac thinks the error lies down in .process!
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<joeroots> Hi guys, I'm trying to figure out what VALUE does mean in ruby source code, someone know?
<Muz> shib = ShibAumator.new(optiosn[:debug],options[:verbose])
<Muz> You spelt options wrong.
<apeiros_> joeroots: it represents a single ruby object
<Muz> moos3: ^^
<apeiros_> in most cases by containing the object id
<apeiros_> in some cases (google 'ruby immediates') it contains the value of the object too
<Muz> But yes, if you'regoing to rescue all errors and give a useless error message, of course you're going to have fun finding the real issue. ;)
<moos3> k
sk87 has joined #ruby
arkiver has joined #ruby
verto|off is now known as verto
<moos3> ./shibautomator.rb:26:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
<joeroots> apeiros_: Interesting... It's like a struct, or something like this? Because I find it's VALUE in libgda from tender's love gda code ( https://github.com/tenderlove/gda/blob/master/ext/gda/gda.c#L7 ), but I couldn't find form where it's come from
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<moos3> hrm i wonder why i'm getting that
<moos3> its def there in the class
phosphorus has joined #ruby
lorandi has joined #ruby
uris has joined #ruby
Rochefort has joined #ruby
nu7hatch has joined #ruby
lxsameer has quit [Client Quit]
Rochefortes has quit [Ping timeout: 276 seconds]
mdszy is now known as mdszy_
mdszy_ is now known as mdszy
<moos3> Muz deas why i'm getting that method issue even tho its in the class
mahmoudimus has joined #ruby
Morkel has joined #ruby
Morkel has quit [Client Quit]
Morkel has joined #ruby
robert_ has joined #ruby
<zodiac1111> 转:偷听到两个印度人在嘲笑日本人的英语发音…“Jabonese agcent is vedy, vedy hard to undershdand.”然后神吐槽有木有…"Indeian ekusento ishi belly belly haudo tsu andasudando"
<robert_> shevy :D
<Muz> moos3: there's another typo for @output_file, you spelt :template incorrectly.
bbttxu has joined #ruby
<JonnieCache> "andasudando" hahahaha
Jay_Levitt has quit [Quit: Leaving...]
joeroots has left #ruby [#ruby]
<shevy> hey robert_
<robert_> sup?
<lectrick> Call me crazy, but I am starting to think there needs to be a way to formally monkeypatch Ruby
verto is now known as verto|off
verto|off is now known as verto
<JonnieCache> that is one of the ideas for ruby 2.0
<kalleth> in what fucked up world is "install ruby" for a guy interviewing for a developer position "ambiguous and might prevent us seeing good people"
<JonnieCache> there was some concept floating around about scoping the patches somehow
<robert_> lectrick: in what way?
<kalleth> we have a tech test, which we dont care what language its provided in, and we have as part of that a sample app
<kalleth> to use th sample app requires ruby and sinatra to run it
<kalleth> and apparenntly in our instructions "install ruby" is not good enough
<JonnieCache> kalleth: no world. surely interview questions are meant to be ambiguous. thats the point isnt it
<kalleth> its not even interview
bbttxu has quit [Client Quit]
<kalleth> its the pre-screening tech test
<kalleth> they do this at fucking home
zastaph has quit []
<JonnieCache> lol
rowanu has left #ruby [#ruby]
strife25 has joined #ruby
<Muz> kalleth: what version of ruby, on what platform?!
<kalleth> ITS A FIVE LINE SINATRA JSON API
<Muz> For a simple trivial screening test, this REALLY MATTERS.
<JonnieCache> what so a manager decided to disallow that or something?
<kalleth> yes
<Muz> How else can one code golf if they don't know if they're writing for jRuby or MRI.
<kalleth> because apparently "we shouldn't be evaluating candidates based on if they can install ruby or not to run our tech test"
<kalleth> GOOGLE FOR 'INSTALL RUBY'
<kalleth> ITS LIKE THE FIRST SIX RESULTS
<kalleth> just because they might have no prior ruby experience
<kalleth> which is fine, btw
<Muz> Tbh, if the candidate can't install ruby, I'd suspect they have bigger problems yet.
<kalleth> they should still be able to install ruby
<kalleth> HURR DURR RUN INSTALLER
<JonnieCache> lol if youre recruiting ruby devs then surely its a pretty good way to evaluate them
<kalleth> we're recruitign either senior devs who already know ruby
<kalleth> or juniors who are willing to learn
<kalleth> and have prior webdev exp in other languages
<JonnieCache> so either way installing ruby is a decent first test
<kalleth> precisely
<JonnieCache> because lets face it, it aint always simple
<Muz> Sounds like you work for a douchebag. Remind me to never interview wherever it is you work.
<JonnieCache> so its a perfect tesrt
<kalleth> Muz: dw, i'd advise not to either
<Muz> :D
<kalleth> i handed in my notice last week
<lectrick> robert_: Well, I started writing a Patch class, which takes a hash which is a list of monkeypatches pointing to blocks. If calling the block yields "false", the patch is applied; the block is called again and if it returns true it goes to the next patch. The key is that each patch has a test to determine whether it still needs to be applied or not.
<kalleth> helping interview my replacement is really a good way of making me feel like an awesome developer
<kalleth> honestly
sailias has joined #ruby
<Arabus> hmm am currently trying to develop some ruby thins with vim and wonder about autocompletion features. I have basic autocompletion but whenever I require a gem I do not get the autocomp features for this gem :-/
<JonnieCache> kalleth: haha yeah ive heard thats good fun
<Arabus> nyone know a vim plugin that does this?
<lectrick> robert_: You also get documentation of all your monkeypatches "for free" as part of putting them in that mechanism
<kalleth> i just can't understand how people who go for programming jobs can be THIS DUMB
<robert_> nice. :D
<lectrick> robert_: I am worried about long-term unintended side effects of unnoticed monkeypatches.
<robert_> aha.
<kalleth> this is all prompted by a guy who went back to the agency and said 'i cannot install ruby'
<JonnieCache> kalleth: fizzbuzz kinda situation? where they come in with CS degrees and 5 years java experience, but cant assign a variable?
<robert_> lectrick: Well, I'm worried about the long-term effects of repeatedly listening to Mortal Kombat (Genesis) music. :p
<lectrick> kalleth: Isn't that a paraphrase of "I cannot use Google"? :)
<robert_> haha
<JonnieCache> wtf kind of recruitment is that, where if you fail the test you phone up and complain that its too hard, AND THEY CHANGE IT TO ACCOMMODATE YOU?
<JonnieCache> that is not like any job interview ive ever heard iof
<lectrick> robert_: Oh, don't worry about that, have you heard the Skrillex interpretation of the Reptile character? http://www.youtube.com/watch?v=DpS7nCweYZI /me goes waaaay off topic
<JonnieCache> i mean i know people complain about "milleneals" having this sense of entitlement, having had their parents solve all their problems, but thats crazy
<lectrick> robert_: He had me at the "whoopie!" sample.
kevinbond has joined #ruby
<JonnieCache> dude, skrillex?
<JonnieCache> really?
<robert_> lectrick: Mottob fo eht tip. :D
<lectrick> JonnieCache: Dude. Don't even start.
mockra has joined #ruby
<JonnieCache> lol are you used to being mocked on the internet for liking skrillex then?
<aces1up> can someone help me with my code block here?
frogstarr78 has joined #ruby
<lectrick> JonnieCache: Yes, I am used to listening to hater sheep who only hate what the sheep tell them to thate
<lectrick> hate*
tomb_ has quit [Quit: Computer has gone to sleep.]
<hoelzro> aces1up: it's probably because you're using @dir
<lectrick> I liked the guy before anyone heard of him, so fuck everyone
<hoelzro> and not just dir
<hoelzro> dir is the parameter of the block
<aces1up> hrmm.
<hoelzro> @dir is an instance variable
<robert_> Ohh. :D
<kalleth> lectrick: oh my god
<JonnieCache> sorry man, you can like whatever you want, you have my permission.
<kalleth> the agency just f/wed an email
<kalleth> he's a python coder
<hoelzro> aces1up: also, you're yielding in a block
<lectrick> kalleth: lol
<kalleth> and wait
<kalleth> no
<kalleth> wait for it
<kalleth> 'bundler is not installing'
<hoelzro> usually you yield in a method that's been given a block
<kalleth> C:\Ruby193\bin>bundle install
<kalleth> Could not locate Gemfile
<kalleth> but as you can see the relevant Gemfile could not be found.
<kalleth> I have not used Ruby before so it is quite possible that the required file is located elsewhere.
<aces1up> hoelzro let me drop all the code.
<kalleth> THE INSTRUCTIONS SAY
<hoelzro> aces1up: what are you trying to do, exactly?
internet_user has joined #ruby
<kalleth> 'RUN THIS FROM THE DIRECTORY..'
<kalleth> actually
<aces1up> hoelzro I will drop all code so you can see.
<kalleth> i should probably not talk too obviously about this in here
<kalleth> he might be in here
<lectrick> JonnieCache: It's cool to hate on the guy, I get it. I also liked programming back in the late 80's when it was quite possibly the least cool thing you could be into at the time, so fortunately I have experience in this area lol.
<JonnieCache> ive been involved in the UK rave scene for years, I watched dubstep evolve out of grime back in 2003/4/5 and it kind of kills me to see it taken over by stadium rock thats all
<lectrick> JonnieCache: I just wish the Jersey Shore had not taken up "dubstep" as its anthem music. Electronica is supposed to be by, and for, nerds, in my opinion /lol
savage- has joined #ruby
<lectrick> JonnieCache: Yeah, I get it. it's too popular now.
<JonnieCache> its more that its now built around hero worship, ie. the rock model
ananthakumaran has quit [Quit: Leaving.]
phosphorus has left #ruby ["Leaving"]
<JonnieCache> which is totally counter to the ideals
ananthakumaran has joined #ruby
<lectrick> JonnieCache: I get that. And I'm not even saying anything about the philosophy around it. I just know that a few times a week, it feels good to crank in the car on the way to work :)
<hoelzro> aces1up: ok, what's the error you get again?
<aces1up> yield called out of block
<aces1up> line 9 on that listing.
ananthakumaran has quit [Client Quit]
fearoffish has quit [Ping timeout: 246 seconds]
kylemcgill has quit [Remote host closed the connection]
<hoelzro> hmm
<hoelzro> tricksy
<JonnieCache> also have a look at this if you want to understand why people get so upset over it: http://en.wikipedia.org/wiki/Temporary_Autonomous_Zone ultra festival is a long way from those ideas :(
<aces1up> hoelzro just need a way to return the dir and files for processing as it recursively loops.
peterhellberg has joined #ruby
<hoelzro> right
<hoelzro> the simple example I tried with the same idea worked on my machine
<hoelzro> aces1up: what version of Ruby are you on?
<aces1up> old 1.8.7 and sorry cannot upgrade dude to code base issues.
ackz has joined #ruby
sk87 has left #ruby [#ruby]
<hoelzro> ah
<hoelzro> I don't even know if I can install 1.8.7...
<kalleth> JonnieCache: omg you must be a fan of skrillex rite and like SHIT THAT MORD FUSTANG AND LIKE MT EDEN IS AWESOME YEEEAH
<hoelzro> nvm
<hoelzro> aces1up: my simple example works on 1.8.7 as well; maybe someone else here can help you
<lectrick> JonnieCache: Whoa, that looks seriously interesting
<kalleth> excuse me while i find some way to kill myself after writing that
<lectrick> JonnieCache: It's not surprising that the spaces that temporarily elude formal control is where much of the (musical, romantic, career, friendship) happens :)
<aces1up> hoelzro actuall whole error is LocalJumpError - yield called out of block
<JonnieCache> definitely
<lectrick> Much of the magic I mean
aganov has quit [Remote host closed the connection]
ken_barber has joined #ruby
<aces1up> hoelzro I think it has something to do with the recursive call
aganov has joined #ruby
<moos3> ideas on why it can't initizale the class
<aces1up> hoelzro directories inside directories cause i'm not passing a block there.
<aces1up> hoelzro how can i pass the current block?
Tomasso has quit [Ping timeout: 252 seconds]
zodiac1111 has quit [Ping timeout: 250 seconds]
baphled has joined #ruby
xaq has joined #ruby
mockra has quit [Remote host closed the connection]
joshman_ has joined #ruby
skryking has quit [Ping timeout: 246 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
minijupe has joined #ruby
Arabus has left #ruby [#ruby]
<hoelzro> aces1up: ah, yes!
<Mon_Ouie> Use &block to capture it in a variable
<hoelzro> aces1up: slurp it in as a proc
<hoelzro> what Mon_Ouie said.
<aces1up> i did that now I do this
<hoelzro> also:
<hoelzro> Mon_Ouie += 1
<aces1up> directories(block)
<hoelzro> aces1up: directories(&block)
<aces1up> ahh ok
bier has quit [Ping timeout: 246 seconds]
<aces1up> neato works :)
<aces1up> thanks.
cakehero has joined #ruby
Criztian has quit [Remote host closed the connection]
zastaph has joined #ruby
<apeiros_> hoelzro: Mone_Ouif?
<apeiros_> -e
LalTopi has quit [Ping timeout: 248 seconds]
ssspiff has quit [Remote host closed the connection]
<Mon_Ouie> Is there a pun with that?
Lachryma has quit [Ping timeout: 248 seconds]
crates has quit [Ping timeout: 276 seconds]
<Mon_Ouie> hoelzro: Btw, you shouldn't change the value of a constant
savage- has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
<hoelzro> ah, haha
* hoelzro didn't get that at first
blazes816 has joined #ruby
_bart has quit [Quit: _bart]
headius has joined #ruby
b26 has joined #ruby
BiHi has quit [Ping timeout: 240 seconds]
gmci has quit [Read error: No route to host]
bier has joined #ruby
`brendan has quit [Ping timeout: 260 seconds]
b26 is now known as `brendan
BiHi has joined #ruby
andrewhl has quit [Remote host closed the connection]
<lectrick> i am secretly laughing that the office music mix randomly stumbled across a basshunter track lol
neku|away has quit [Ping timeout: 244 seconds]
gilead has quit [Quit: This computer has gone to sleep]
<JonnieCache> at my new job im not going to be able to monopolize the music any more
<JonnieCache> its going to suck
gokul has joined #ruby
<JonnieCache> the music they listen to is good though so its not so bad
<kalleth> offices i work in have never had global music
<kalleth> have to use headphones
gmci has joined #ruby
bowlowni has joined #ruby
dioms has quit [Read error: Operation timed out]
leoncamel has quit [Ping timeout: 240 seconds]
mongag has quit [Quit: Leaving]
shevy has quit [Ping timeout: 248 seconds]
gmci has quit [Read error: Connection reset by peer]
<sernin> I have an array of arrays, e.g. [[1,2], [3,4], [5,6]] -- is there a Ruby-ish way to create an array of only the first elements? e.g. [[1,2],[3,4]] -> [1,3]
<hoelzro> sernin: array.select { |a| a[0] }
<apeiros_> sernin: you mean [1,3,5]?
Aaton_off is now known as Aaton
<JonnieCache> there is some fancy FP method which does that
<apeiros_> ah, your first example data and your second don't match. that confused me.
<JonnieCache> cant remember which one though
liluo has quit [Remote host closed the connection]
<apeiros_> what hoelzro said.
<apeiros_> or: array.select(&:first)
<sernin> apeiros_: Ah, sorry
<peterhellberg> sernin: [[1,2],[3,4]].map(&:first)
<apeiros_> gah
zodiac1111 has joined #ruby
<hoelzro> apeiros_: oh, nice call
<apeiros_> map, of course, map, not select… -.-
<apeiros_> alternatively: ary.transpose.first
<hoelzro> oh, my bad
<hoelzro> I meant collect/map
gift has joined #ruby
BiHi_ has joined #ruby
ringotwo has quit [Ping timeout: 248 seconds]
<JonnieCache> I swear I remember seeing an even simpler method for doing that
mikepack has joined #ruby
rippa has joined #ruby
baphled has quit [Ping timeout: 248 seconds]
<peterhellberg> [[1,2],[3,4]].at(0)
gmci has joined #ruby
<sernin> JonnieCache: Your handle makes me think of the taxi driver in Total Recall.
<apeiros_> peterhellberg: no, that's equivalent to ary[0]
<peterhellberg> apeiros_: oops :)
BiHi has quit [Ping timeout: 276 seconds]
<JonnieCache> i just found out that my nick is also used by the author of some of the Hacking Exposed books
<JonnieCache> which is annoying. at least he spells it differently
doktrin has joined #ruby
<JonnieCache> there is also Jon E Cash who wrote this http://www.youtube.com/watch?v=OwClsz6hxGE
<JonnieCache> tbh i think when i reach 10,000 hacker news points i might disappear and form a new identity
<JonnieCache> like _why but without all the talent and personal distinction
arkiver has quit [Quit: Leaving]
skryking has joined #ruby
awarner has joined #ruby
TPFC-SYSTEM has quit [Quit: TPFC-SYSTEM]
gmci has quit [Ping timeout: 260 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
wvms has quit [Read error: Connection reset by peer]
ackz has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
ackz has joined #ruby
wvms has joined #ruby
peterhellberg has quit [Remote host closed the connection]
gmci has joined #ruby
shevy has joined #ruby
dioms has joined #ruby
mikepack has quit []
mikepack has joined #ruby
mneorr has quit [Quit: Leaving.]
apok has joined #ruby
choffstein has joined #ruby
ryannielson has joined #ruby
leoncamel has joined #ruby
binaryplease has quit [Quit: WeeChat 0.3.8]
binaryplease has joined #ruby
<v0n> hi
dankest has joined #ruby
<v0n> why `require "foo" rescue nil` still raises a LoadError?
mohits has quit [Read error: Connection reset by peer]
zommi_ has quit [Read error: Connection reset by peer]
weasels has joined #ruby
weasels has quit [Client Quit]
<Mon_Ouie> Because LoadError isn't a StandardError
<Mon_Ouie> Anyway inline rescue is a great way to shadow bugs
<Mon_Ouie> use rescue LoadError explicitly
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
LBRapid has quit [Quit: Farewell.]
Hanmac has joined #ruby
<v0n> Mon_Ouie, I tried `require "foo" rescue LoadError nil` but it does the same thing
Bosma has joined #ruby
<Mon_Ouie> Because you can't specify a class when using inline rescue
dhruvasagar has quit [Ping timeout: 246 seconds]
crates has joined #ruby
leoncamel has quit [Ping timeout: 245 seconds]
jsime has joined #ruby
yugui_zzz is now known as yugui
ringotwo has joined #ruby
davidcelis has quit [Ping timeout: 248 seconds]
wvms has quit [Quit: wvms]
dkr has left #ruby ["Leaving"]
axl_ has quit [Read error: Connection reset by peer]
ckrailo has joined #ruby
<v0n> Mon_Ouie, ok thanks
berkes has joined #ruby
axl_ has joined #ruby
aganov has quit [Remote host closed the connection]
dioms has quit [Ping timeout: 248 seconds]
itnomad has joined #ruby
mneorr has joined #ruby
thecreators has quit [Quit: thecreators]
tcopp has joined #ruby
tk_ has quit [Quit: ばいばい]
und3f has quit [Read error: Connection reset by peer]
Criztian has joined #ruby
und3f has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ionas has joined #ruby
<ionas> I have got a string and a hash and want to see if parts of the string match any of the hash elements
kvirani has joined #ruby
<JonnieCache> define "parts"
<JonnieCache> actually forget that
<ionas> see if "/Services/Design" exists in the Hash:
<ionas> {6=>"/Services/Design/Print", 5=>"/Services/Design", 3=>"/Services"}
<ionas> if the string does not exist as a hash value then it should return the most equal hash element
<ionas> oh I love how colloguy adds multilines :(
gokul has quit [Ping timeout: 252 seconds]
<ionas> I can also turn around the hash so that it is value => id
<Mon_Ouie> To find the "most equal" element, you'd need an algorithm to get string distance that suits your needs
<Mon_Ouie> Levenshtein is a common one for instance
<JonnieCache> hash.values.any? {|v| Regex.new(v) =~ string}
<Mon_Ouie> Regexp.new Regexp.quote(v)
<ionas> do you think regexp is required. What I mean is if /Service/Something is requested it should return hash element 3 cause /Service exists while /Service/Something does not
<ionas> e.g. it should return any partial matching parent path if the given path does not match 100%
eywu has joined #ruby
<Hanmac> JonnieCache hash.any? {|k,v| string.match(v)}
tehdekan has joined #ruby
<Hanmac> or something
stat1x has quit [Remote host closed the connection]
eywu1 has joined #ruby
<ionas> don't hit me but in PHP world I'd use explode and a for loop to build up an array that holds "/Foo" "/Foo/Bar" "/Foo/Bar/Quux" and then start with the most explicit/exact path and see if it exists as a value in the hash, if not, see if one less explicit matches etc
eywu has quit [Remote host closed the connection]
stat1x has joined #ruby
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<ionas> not very elegant :( sry.
<workmad3> ionas: heh :) that's pretty much what I was about to suggest
mohits has quit [Quit: Leaving]
<workmad3> ionas: seeing as you don't want to fuzzy match, you want to look up a hierarchy really
<ionas> yes :)
<Mon_Ouie> hash.sort_by { |k, v| Regexp.new(Regexp.quote(v)) =~ s ? v.length : 0 }.last
<ionas> I just wanna fetch a layout with 404 error of the most matching parent
JohnBat26 has quit [Ping timeout: 248 seconds]
xaq has quit [Read error: Connection reset by peer]
<workmad3> ionas: and as you're only working with strings and hashes, rather than more useful objects, you're stuck with a less elegant solution
Icoin has joined #ruby
xaq has joined #ruby
dioms has joined #ruby
<ionas> workmad3: well I have this initially http://pastie.org/4278360
<workmad3> ionas: that said, what I'd probably do is this - look for exact match, if one doesn't exist pull off the end of the path, then look for exact match, repeat until you bottom out
<ionas> but I cannot get my head around nested collections yet
<JonnieCache> workmad3: nooooo! data is data!
<JonnieCache> leave it alone!
<JonnieCache> if the hash does the job, leave it like that
* JonnieCache watched that talk the other day and is now going to espouse those views blindly until he forgets about them
<ionas> hum… I really want to get into ruby by solving pracical issues
<workmad3> JonnieCache: I didn't say he should introduce extra objects... just that you could get a more elegant solution potentially :)
<ionas> I read a few hundred pages of well grounder rubyist… but I still feel like in completely unknown waters
<ionas> :(
<ionas> workmad3: I have supplied the initial objects, If I got it right it is a a collection of active record objects
Ontolog has quit [Quit: Ontolog]
<JonnieCache> he makes a pursuasive argument that data should remain data, and that objects are evil
mengu has quit [Quit: Konversation terminated!]
<ionas> JonnieCache: maybe but I have objects already
vladyn has quit [Quit: vladyn]
wvms has joined #ruby
<workmad3> JonnieCache: I've heard persuasive arguments in both directions
yugui is now known as yugui_zzz
<workmad3> JonnieCache: I'm come to the conclusion that you can make a persuasive argument about any bullshit idea if you want to
Aaton is now known as Aaton_off
<ionas> this is my current approach: http://pastie.org/4278360
billiam has joined #ruby
<workmad3> JonnieCache: and I reserve judgment as to which side is the bullshit idea (or if both are) :)
<ionas> workmad3: I agree from a science of science point of view but I am still a bad rubyist ;p
<workmad3> JonnieCache: I also agree that 'things should be as simple as possible, and no simpler'...
Tomasso has joined #ruby
<workmad3> ionas: this line may help you... it's a bit messy, but not bad ;) match = match.split("/")[0...-1].join("/")
<mikepack> What does the yield keyword do under the hood? Convert the block to a proc and then call #call on it?
<workmad3> ionas: where 'match' would be your line like '/Foo/Bar/Baz'
<ionas> workmad3: did you take a look at my paste, maybe I am just doing it wrong
apeiros_ has joined #ruby
thecreators has joined #ruby
<JonnieCache> workmad3: that guy invented clojure so i have some respect for him :)
<workmad3> JonnieCache: ah, FP guys have been saying for decades that objects are evil
ephemerian has quit [Quit: Leaving.]
<workmad3> JonnieCache: I prefer to view it as a different approach to problem solving :)
<JonnieCache> you should watch that talk though when you have time, its very good
adeponte has quit [Remote host closed the connection]
wvms has quit [Ping timeout: 276 seconds]
<workmad3> yeah, you're the second person today to link me to it, so I'll get around to it at some point soon :)
hadees has quit [Quit: hadees]
<JonnieCache> he did a shorter version at railsconf 2012 which is more tailored towards ruby
apok has quit [Quit: apok]
<JonnieCache> but most of the best stuff is in the longer one
gregorg has quit [Quit: Quitte]
<workmad3> getting around to a video takes time for me though... I kinda wish conferences could make more video transcripts available
<workmad3> the content of a 1hr video would take me about 10-15 minutes to read
davidcelis has joined #ruby
<ionas> workmad3: ok I got that, split is like php's explode, 0…-1 returns an array minus its last element and then join back the array into a string
beneggett has joined #ruby
<ionas> but right now as you said I have data but i might have objects, I am thinking of solving it one step before
<Mon_Ouie> What workmad3 wrote is just File.dirname
khakimov has joined #ruby
Aaton_off is now known as Aaton
sailias has quit [Ping timeout: 244 seconds]
<ionas> oh my god awesome :)
axl_ has quit [Read error: Connection reset by peer]
vitoravelino is now known as vitoravelino`afk
axl_ has joined #ruby
hoelzro is now known as hoelzro|away
Prova has joined #ruby
<workmad3> Mon_Ouie: d'oh, I forgot about that :)
maxmmurphy has joined #ruby
Prova has left #ruby [#ruby]
nateberkopec has joined #ruby
iamjarvo has joined #ruby
benson has joined #ruby
btanaka has joined #ruby
Eldariof57-ru has quit [Ping timeout: 252 seconds]
ananthakumaran has joined #ruby
Nies has joined #ruby
baroquebobcat has joined #ruby
maesbn has quit [Remote host closed the connection]
cirwin has joined #ruby
<ionas> what method to look into to filter strings (e.g. only keep a-Z 0-9 _- / and remove the rest)
hynkle has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> String#delete
<Mon_Ouie> "^a-zA-Z0-9_/\\-"
jrajav has quit [Quit: The best darkness is strange and surprising]
* apeiros_ wonders whether String#delete is parallelized :)
binaryplease has quit [Quit: WeeChat 0.3.8]
kaneda has joined #ruby
Fretta has joined #ruby
TheNumb has quit [Ping timeout: 246 seconds]
kaneda is now known as Guest21335
the_jeebster has joined #ruby
Rochefort has quit [Remote host closed the connection]
<the_jeebster> are there any methods for changing specific time values after a Time object is created? Say I want to change the hour; I can't set the hour equal to anything, I can only request the hour of that object
<apeiros_> the_jeebster: Time is immutable
<apeiros_> you have to create a new object with the values set as needed
<the_jeebster> apeiros: fark
<the_jeebster> thanks
<apeiros_> see Time::mktime
bluenemo has quit [Remote host closed the connection]
htroyack has joined #ruby
\13k has joined #ruby
wrapids has quit [Read error: Connection reset by peer]
htroyack has quit [Excess Flood]
htroyack has joined #ruby
savage- has joined #ruby
<ionas> thx Mon_Ouie
dwt has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 252 seconds]
davidw has quit [Ping timeout: 244 seconds]
Fretta has quit [Quit: Fretta]
bradhe has quit [Remote host closed the connection]
Lachryma has joined #ruby
hadees has joined #ruby
oscardelben has joined #ruby
kevinbond has quit [Quit: kevinbond]
maletor has joined #ruby
Aaton is now known as Aaton_off
dankest has quit [Quit: Leaving...]
jmcphers has quit [Ping timeout: 264 seconds]
heftig has quit [Ping timeout: 245 seconds]
banghouseAFK is now known as banghouse
heftig has joined #ruby
quest88 has joined #ruby
cbetta has quit [Quit: Computer has gone to sleep.]
stkowski has joined #ruby
apok has joined #ruby
Spooner has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: Computer has gone to sleep.]
Aaton_off is now known as Aaton
stefanp_ has joined #ruby
stefanp has quit [Read error: Connection reset by peer]
stefanp has joined #ruby
stefanp_ has quit [Read error: Connection reset by peer]
stefanp has quit [Changing host]
stefanp has joined #ruby
atmosx has joined #ruby
carloslopes has joined #ruby
<Mon_Ouie> For the sake of nitpicking: Time objects aren't completely immutable, you can change their timezone
Jakee` has joined #ruby
<atmosx> helo
Aaton is now known as Aaton_off
yonggu_ has joined #ruby
stefanp_ has joined #ruby
stefanp has quit [Read error: Connection reset by peer]
berserkr has quit [Quit: Leaving.]
binaryplease has joined #ruby
cirwin has quit [Quit: commut...ting!]
mobilegamelabs has joined #ruby
BiHi_ has quit [Read error: Connection reset by peer]
<apeiros_> Mon_Ouie: yeah, quite annoying
yonggu has quit [Ping timeout: 246 seconds]
<fowl> rubeh
jlwestsr has joined #ruby
Ontolog has joined #ruby
Ontolog has quit [Remote host closed the connection]
Ontolog has joined #ruby
dwt has joined #ruby
dwt has left #ruby [#ruby]
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
iamjarvo has joined #ruby
bradhe has joined #ruby
BiHi has joined #ruby
alcar has joined #ruby
Ontolog has left #ruby [#ruby]
<alcar> can anyone help me understand why doesn't my "gem server" work properly?
godfrey999 has quit [Quit: godfrey999]
choffstein has quit [Remote host closed the connection]
brianpWins has joined #ruby
<Mon_Ouie> Not without you telling us how it doesn't work properly
hynkle has joined #ruby
codespectator has quit [Ping timeout: 244 seconds]
<alcar> oh, well, just tired of typing it all out and getting ignored on the other room, lol
<alcar> well, I've tried setting it up with random ports, like 1000 or 45, but I can't get it to work
<alcar> I've open the port on my router, and allowed it on my firewall, but still can't access it from outside my network
kenichi has joined #ruby
<Mon_Ouie> So it does work locally at least?
<alcar> yup, on localhost:port it does
<alcar> it takes me to the docs
<Mon_Ouie> Looks like it opens the server at 0.0.0.0 by default so there shouldn't be any problem
krusty_ar_ has joined #ruby
<zaargy> did you setup destination nat?
Guest21335 has quit [Remote host closed the connection]
<zaargy> or have a software firewall?
krusty_ar has quit [Ping timeout: 246 seconds]
<alcar> I guess not
Ontolog has joined #ruby
<alcar> sorry, still learning :/
kaneda_ has joined #ruby
<alcar> I thought opening the port on my router and allowing it on my firewall was enough
kaneda_ has quit [Remote host closed the connection]
saschagehlich has quit [Quit: saschagehlich]
bricker88 has joined #ruby
<alcar> could you help me through the necessary steps to run it?
mahmoudimus has joined #ruby
TPFC-SYSTEM has joined #ruby
ianbrandt has joined #ruby
alcar has quit [Quit: Page closed]
schaerli has joined #ruby
tomb_ has joined #ruby
sailias has joined #ruby
TPFC-SYSTEM has left #ruby [#ruby]
TPFC-SYSTEM has joined #ruby
adeponte has joined #ruby
tommyvyo has joined #ruby
cirwin has joined #ruby
codespectator has joined #ruby
jmcphers has joined #ruby
DrShoggoth has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
zeromodulus has quit [Ping timeout: 246 seconds]
krusty_ar_ is now known as krusty_ar
quest88 has quit [Quit: quest88]
chrismcg is now known as zz_chrismcg
bluOxigen has joined #ruby
zodiac1111 has quit [Remote host closed the connection]
codespectator has quit [Client Quit]
roadt has joined #ruby
chrisja has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
robozahn has quit [Ping timeout: 265 seconds]
hadees has quit [Quit: hadees]
mrsolo has joined #ruby
adamkittelson has joined #ruby
cout is now known as DrZeus
kevinfagan has quit [Quit: Leaving...]
_alb has quit [Quit: Changing server]
i has joined #ruby
i is now known as Guest52264
workmad3 has quit [Ping timeout: 252 seconds]
elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Guest52264 has quit [Remote host closed the connection]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
macmartine has joined #ruby
shadoi has quit [Quit: Leaving.]
hukl has joined #ruby
AlbireoX has joined #ruby
verto is now known as verto|off
iamjarvo has quit [Quit: Computer has gone to sleep.]
htroyack has quit [Excess Flood]
jgrevich has joined #ruby
apok has quit [Remote host closed the connection]
apok has joined #ruby
bamorim has joined #ruby
<shevy> banisterfiend really likes his @ ;)
<banisterfiend> shevy: you have no idea how many nubile women msg me now in privae
<banisterfiend> vate*
bluenemo has joined #ruby
straind has quit [Ping timeout: 265 seconds]
khakimov has quit [Quit: Computer has gone to sleep.]
manizzle has quit [Remote host closed the connection]
weasels has joined #ruby
manizzle has joined #ruby
wookiehangover has left #ruby [#ruby]
weasels has quit [Client Quit]
darren_ has joined #ruby
kaen has joined #ruby
jgrevich has quit [Quit: jgrevich]
darren_ has quit [Remote host closed the connection]
fermion has quit [Quit: P]
bluenemo has quit [Remote host closed the connection]
ilyam has joined #ruby
jgrevich has joined #ruby
iamjarvo has joined #ruby
bamorim has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
ElderFain has quit [Ping timeout: 272 seconds]
berserkr has joined #ruby
ringotwo has quit [Remote host closed the connection]
tatsuya_o has quit [Remote host closed the connection]
ringotwo has joined #ruby
<skyjumper> why might the same code work in irb, but cause a segfault when run under 'ruby'?
<yxhuvud> segfault? What are you doing?
<yxhuvud> paste your code
ackz has quit [Quit: Leaving...]
bamorim has joined #ruby
mathie has quit [Quit: Sleeping...]
<skyjumper> figured it out... left some things open in the session
schaerli has quit [Remote host closed the connection]
ringotwo has quit [Ping timeout: 246 seconds]
weasels has joined #ruby
mrdodo has joined #ruby
BiHi has quit [Quit: Computer has gone to sleep]
weasels has quit [Client Quit]
ackz has joined #ruby
otters has quit [Quit: WeeChat 0.3.8]
<skyjumper> reading a berkeley db with ruby-bdb
williamcotton_ has joined #ruby
blazes816 has quit [Quit: Leaving]
gokul has joined #ruby
uk4life has quit [Ping timeout: 246 seconds]
<Muz> You poor person.
artOfWar has joined #ruby
ringotwo has joined #ruby
otters has joined #ruby
williamcotton has quit [Ping timeout: 240 seconds]
williamcotton_ is now known as williamcotton
itnomad has quit [Quit: Leaving]
luckman212 has quit [Remote host closed the connection]
shadoi has joined #ruby
Berglund has joined #ruby
Eldariof-ru has joined #ruby
otters has quit [Quit: WeeChat 0.3.8]
darren_ has joined #ruby
gokulnath has joined #ruby
gokul has quit [Ping timeout: 248 seconds]
otters has joined #ruby
Draco_ has joined #ruby
mobilegamelabs has quit [Quit: #1 Download Mac Game! http://itunes.apple.com/app/angry-polygon-hd/id536799429?mt=12 http://youtu.be/Tu-mSpFmx7g http://www.MGGGGG.com/ap Angry Polygon - my first Android/iOS/Mac game!]
havenn has joined #ruby
mucker has quit [Remote host closed the connection]
etehtsea has joined #ruby
dhruvasagar has joined #ruby
arturas_ has quit [Ping timeout: 265 seconds]
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
Fretta has joined #ruby
maxmmurphy has quit [Quit: maxmmurphy]
<vlad_starkov> Hello everybody! Give me an advice please. If I have a model UserDevice, how better to name an attribute which is the name of that device: just "name" or "device_name"?
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<swistak35> hi
<Hanmac> vlad_starkov: look at #rubyonrails
maxmmurphy has joined #ruby
<swistak35> does GC deletes an objects after deleting them from array: `array.delete(obj)`
<vlad_starkov> Hanmac: thank you, I'm looking for an advice in several channels
<swistak35> I mean, it shouldn't, but I don't know why GC isn't doing that, I'm pretty sure that there aren't any other references to this object, because I am putting them by `array << MyObject.new()` and accessing them from array
<swistak35> It should*
sebastorama has joined #ruby
werdnativ has joined #ruby
voodoofish430 has joined #ruby
<Hanmac> swistak35: GC only deletes objects when its running ... (there is an minimun ram usage where GC is not active) ...
beneggett has quit [Quit: Computer has gone to sleep.]
<swistak35> Hanmac, may I start GC manually?
<Hanmac> you can
<swistak35> GC.start? I should run this only once, or always after cleaning methods?
<Mon_Ouie> A garbage collect is always nondeterministic though — if you need something to be done right when your done and the order may matter, relying on the GC is doing it wronge
<Mon_Ouie> wrong*
Berglund has quit [Quit: Computer died.]
<Mon_Ouie> e.g. That's why we have File#close
<apeiros_> and File.open with block
* Hanmac never used File#close ... i prefer the block form of #open
beneggett has joined #ruby
jrist is now known as jrist-afk
<Hanmac> i store some of my objects in an hash from the C side, so i prefend the ruby side from deleting my objects
<Mon_Ouie> Yes, one should use the block form whenever possible, but that's not always the case — you can't if you need to wrap them as ivars in another object for instance
<Mon_Ouie> Hanmac: How about using ivars for that?
flagg0204 has quit [Quit: leaving]
choffstein has joined #ruby
tcopp has quit [Ping timeout: 240 seconds]
tcopp has joined #ruby
EzeQL has quit [Read error: Connection reset by peer]
<shevy> hmm didn't this question crop up before just a moment ago
<shevy> oops sorry
<shevy> was looking at the wrong buffer
<shevy> damn weechat :(
havenn has quit [Remote host closed the connection]
<Mon_Ouie> You meant #ruby-lang? Yes it did… on #ruby
kirun has joined #ruby
williamcotton_ has joined #ruby
flagg0204 has joined #ruby
<shevy> anyone can recommend a better IRC client than weechat?
williamcotton has quit [Ping timeout: 246 seconds]
williamcotton_ is now known as williamcotton
<Hanmac> Mon_Ouie: some of my objects (Ogre::Node as sample) are stored by my kindess ... so node[childname] returns a childnode, and the next time the same
jbw has joined #ruby
<shevy> oh cool
<shevy> you work with Ogre?
<Hanmac> yeah :P its a binding :P but not finish yet
<Hanmac> some of the c++ objects, force the ruby objects to stay alive as long the c++ object is alive
ramblex has quit [Ping timeout: 244 seconds]
user__ has quit [Read error: Connection reset by peer]
roadt has quit [Ping timeout: 276 seconds]
user__ has joined #ruby
<shevy> I remember there was an older ruby binding to ogre in like 2005
<shevy> but it seemed to have died one day
<Hanmac> yeah, that why i make a new one
<Hanmac> are you interested in browsing the code?
<shevy> my old pen and paper RPG group created a fantasy world almost 20 years ago. it still kinda exists semi-active, I always wanted to turn all the data that is in it, into something tangible like... old style text MUD... but also a 3D world or representation of it
<shevy> Hanmac: sure!
<shevy> but I am a C++ noob
fridim_ has joined #ruby
fridim_ has quit [Read error: Connection reset by peer]
bamorim has quit [Ping timeout: 260 seconds]
binaryplease has quit [Quit: WeeChat 0.3.8]
PaciFisT has joined #ruby
benjammin891 has joined #ruby
JohnBat26 has joined #ruby
Draco_ has quit [Remote host closed the connection]
<shevy> whoa
<shevy> that's a lot of #includes
<shevy> :)
<ionas> its hacketycrap, but it works a little and I learned a little
<ionas> thanks again for those who helped me out
ionas has quit [Quit: ionas]
<Hanmac> yeah its the main init function, that need the names of all other init functions (which are defined in the headers)
wangr_ has joined #ruby
saschagehlich has joined #ruby
Draco_ has joined #ruby
wangr__ has joined #ruby
blazes816 has joined #ruby
hadees has joined #ruby
snearch has joined #ruby
MatthewGA has joined #ruby
hadees has quit [Remote host closed the connection]
workmad3 has joined #ruby
wangr___ has joined #ruby
wangr has quit [Ping timeout: 246 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
fantazo has quit [Remote host closed the connection]
philips_ has quit [Excess Flood]
wangr_ has quit [Ping timeout: 276 seconds]
wangr has joined #ruby
GoGoGarrett has joined #ruby
wangr__ has quit [Ping timeout: 276 seconds]
philips_ has joined #ruby
wangr___ has quit [Ping timeout: 240 seconds]
MatthewGA has quit [Quit: Leaving]
Draco_ has quit [Remote host closed the connection]
<lectrick> Is there any way to hook into when a class is REopened?
<cirwin> lectrick: not exactly — you could try listening on the method_defined hook
Draco_ has joined #ruby
bbttxu has joined #ruby
mneorr has quit [Quit: Leaving.]
MatthewGA has joined #ruby
<Mon_Ouie> There's a way to do it with set_trace_func — not that it's a good idea
cbetta has joined #ruby
tvw has quit [Remote host closed the connection]
mneorr has joined #ruby
<shevy> hmm
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
mneorr1 has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
<lectrick> Mon_Ouie: Ah.
tayy has joined #ruby
luckyruby has joined #ruby
kevinfagan has joined #ruby
Johnny5544 has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
<Hanmac> lectrick PS: its possible to add methods without using the class keyword
<lectrick> Mon_Ouie: Wow, set_trace_func is... detailed lol
<lectrick> Hanmac: I know. Which is why I want to somehow introspect when a class changes
<Johnny5544> Just a quick basic question. Say I have: {'string', 'string1'...} and I want to map it to {{id:0, text:'string'},{id:1,text:'string1'}...} Any recommended way of doing that? I'm still getting used to Ruby's pile of Array methods ha ha
DrShoggoth has quit [Quit: Leaving]
<shevy> Johnny5544: this is odd syntax you have here
<Johnny5544> Obviously there's tons of way you could do it, I just couldn't find any particularly elegant way
nopolitica has joined #ruby
<shevy> {"string"=>"string1"}
<Johnny5544> Sorry, just meant an array of strings to an array of hashes with an id and text property
<shevy> but an array of strings would be ['string', 'string1']
<Johnny5544> Both of those should be arrays on the outside not hashes
<shevy> or %w( string string1 )
<shevy> ok
<Hanmac> array.each_with_index.map {|str,idx| {id: idx,text: str}
<Hanmac> sorry +}
<Mon_Ouie> array.map.with_index is still the same
<shevy> ['string', 'string1',"string3","string4"].each_with_index.map {|str,idx| { :id => idx, :text => str} } # => [{:text=>"string", :id=>0}, {:text=>"string1", :id=>1}, {:text=>"string3", :id=>2}, {:text=>"string4", :id=>3}]
<shevy> hmm
<shevy> I kinda lost the overview now...
nopolitica has left #ruby [#ruby]
<Johnny5544> Ah that's good - I had been searching for an object and index iterator
<Johnny5544> Forgot to look under enumerable ha ha
johnny5544_ has joined #ruby
<Hanmac> Mon_Ouie yeah but what when you want to chain id with an adional with_ function?
<Hanmac> array.map.with_object(5).with_index {|(str,o),idx| {id: idx,text: str}} does not work :P
hynkle has quit [Quit: Computer has gone to sleep.]
<shevy> hey
<shevy> let Hanmac work on ogre!!!
<Hanmac> :P
<shevy> god, .with_object() looks odd
<shevy> with_or_without_youuuuu
mwilson_ has quit [Excess Flood]
<shevy> .tap.with_object(2)
mwilson_ has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
<Hanmac> shevy: ["00","01","10","11"].each_with_object(2).map(&:to_i) #=> [0, 1, 2, 3] :P
<Mon_Ouie> Hanmac: Well yeah, but the reason to call with_object is to make the expression return that object and the point of having map is to make it return an array collecting the results
<Mon_Ouie> You can't have both, that's like saying you're unable to chain map and inject
Johnny5544 has quit [Ping timeout: 245 seconds]
gokulnath has quit [Ping timeout: 244 seconds]
johnny5544_ has left #ruby [#ruby]
johnny5544_ has joined #ruby
<johnny5544_> Hmm, I think I'll go with map.with_index - Thanks to everyone for the suggestions
<Mon_Ouie> (maybe chain isn't the right word though; I meant calling inject on the enumerator returned by map or the other way around)
tcopp has quit [Ping timeout: 252 seconds]
Bosma has quit [Quit: leaving]
jcf has joined #ruby
jcf has quit [Client Quit]
jcf has joined #ruby
cbuxton1 has quit [Quit: Leaving.]
ryker has joined #ruby
rosscooperman has joined #ruby
cbuxton has joined #ruby
<shevy> gah they changed youtube...
kpshek has joined #ruby
jcf has quit [Client Quit]
jcf has joined #ruby
jcf has quit [Client Quit]
ctp has joined #ruby
jcf has joined #ruby
bbttxu has quit [Quit: bbttxu]
<ryker> hi all. i'm not sure if this is the right place to ask for help with this, but I wasn't sure where else to ask. I have a question about chronic usage. I notice that Chronic.parse("<wednesday at 22:00|this wednesday at 22:00>") all show the date of next wednesday. I'm trying to get it to tell me today's date, since today is a wednesday. is there some other way to get today's date if it's the day of the week i'm asking about?
jcf has left #ruby [#ruby]
bbttxu has joined #ruby
tcopp has joined #ruby
kirun_ has joined #ruby
jcf has joined #ruby
andrewhl has joined #ruby
kirun has quit [Ping timeout: 252 seconds]
gokulnath has joined #ruby
mrFrog has joined #ruby
EzeQL has joined #ruby
fermion has joined #ruby
snearch has quit [Quit: Verlassend]
jcf has left #ruby [#ruby]
TheNumb has joined #ruby
jackhammer2022 has joined #ruby
qko has joined #ruby
baroquebobcat_ has joined #ruby
blownapart has joined #ruby
S2kx has joined #ruby
danishman has joined #ruby
ReTFEF has joined #ruby
savage-_ has joined #ruby
mneorr1 has quit [Quit: Leaving.]
ctp_ has joined #ruby
brianpWins_ has joined #ruby
kenichi_ has joined #ruby
emptiness has quit [Quit: Lost terminal]
alek_b_ has joined #ruby
mvangala_ has joined #ruby
mneorr has joined #ruby
TheTFEF has quit [Disconnected by services]
laen__ has joined #ruby
ReTFEF is now known as TheTFEF
codespectator has joined #ruby
TheTFEF has quit [Changing host]
TheTFEF has joined #ruby
jmeeuwen_ has joined #ruby
ViperMaul has joined #ruby
xaq_ has joined #ruby
aces23up has joined #ruby
Axsuul has joined #ruby
lobak_ has joined #ruby
AlbireoX__ has joined #ruby
wrapids has joined #ruby
Eldariof59-ru has joined #ruby
dhruvasa1ar has joined #ruby
<Mon_Ouie> ryker: The Chronic maintainer hangs out in #ruby-lang
<ryker> Mon_Ouie: thx
csamuelson has joined #ruby
<wrapids> Where can I find the ruby interpreter in Ubuntu?
mneorr has quit [Client Quit]
pzol_ has joined #ruby
zaargy_ has joined #ruby
bnagy_ has joined #ruby
<Mon_Ouie> wrapids: You mean in what package? Or in what directory?
kichawa_ has joined #ruby
snearch has joined #ruby
Boohbah_ has joined #ruby
bburhans_ has joined #ruby
<wrapids> directory
rtl_ has joined #ruby
m_3_ has joined #ruby
vlad_sta_ has joined #ruby
<Mon_Ouie> /usr/bin I'd guess
regedare1 has joined #ruby
barefoot_ has joined #ruby
Boohbah_ is now known as Guest1780
ananthakumaran has quit [Quit: Leaving.]
Drakx has joined #ruby
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nullsign_ has joined #ruby
_axx_ has joined #ruby
CrazyGir_ has joined #ruby
oc_ has joined #ruby
politoed_ has joined #ruby
_tca_ has joined #ruby
jhunter_ has joined #ruby
ewag_ has joined #ruby
CrazyGir_ is now known as Guest66045
TPFC-SYSTEM has quit [Quit: TPFC-SYSTEM]
stat1x has quit []
nanderoo1 has joined #ruby
Eldariof59-ru has quit [Client Quit]
Guest33712 has quit [Quit: Guest33712]
Tearan has quit [Remote host closed the connection]
beneggett has quit [Ping timeout: 244 seconds]
<wrapids> Mon_Ouie: Correct. $which ruby will give the directory
barefoot has quit [Disconnected by services]
barefoot_ is now known as barefoot
DrZeus is now known as cout
kenichi_ is now known as kencihi
kencihi is now known as kenichi_
ctp has quit [*.net *.split]
theRoUS has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
Eldariof-ru has quit [*.net *.split]
kenichi has quit [*.net *.split]
brianpWins has quit [*.net *.split]
savage- has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
Tomasso has quit [*.net *.split]
btanaka has quit [*.net *.split]
xaq has quit [*.net *.split]
Hanmac has quit [*.net *.split]
tehdekan has quit [*.net *.split]
zastaph has quit [*.net *.split]
frogstarr78 has quit [*.net *.split]
nanderoo has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
Luceo has quit [*.net *.split]
bnagy has quit [*.net *.split]
franckverrot has quit [*.net *.split]
bburhans has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
lobak has quit [*.net *.split]
dotemacs has quit [*.net *.split]
Drakx_ has quit [*.net *.split]
anekos has quit [*.net *.split]
anildigital_work has quit [*.net *.split]
Dr4g has quit [*.net *.split]
kapowaz has quit [*.net *.split]
goraxe has quit [*.net *.split]
jhunter has quit [*.net *.split]
alek_b has quit [*.net *.split]
AlbireoX_ has quit [*.net *.split]
S1kx has quit [*.net *.split]
mvangala has quit [*.net *.split]
blast_hardcheese has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
Rizzle has quit [*.net *.split]
ewag has quit [*.net *.split]
Schmidt has quit [*.net *.split]
Rious has quit [*.net *.split]
qko_ has quit [*.net *.split]
laen_ has quit [*.net *.split]
pzol has quit [*.net *.split]
m_3 has quit [*.net *.split]
jason^ has quit [*.net *.split]
_tca has quit [*.net *.split]
aces1up has quit [*.net *.split]
epochwolf has quit [*.net *.split]
_axx has quit [*.net *.split]
kichawa has quit [*.net *.split]
Boohbah has quit [*.net *.split]
sejo has quit [*.net *.split]
regedarek has quit [*.net *.split]
oc has quit [*.net *.split]
Zol has quit [*.net *.split]
rtl has quit [*.net *.split]
nullsign has quit [*.net *.split]
politoed has quit [*.net *.split]
CrazyGir has quit [*.net *.split]
zaargy has quit [*.net *.split]
csamuelson is now known as Rious
brianpWins_ is now known as brianpWins
baroquebobcat_ is now known as baroquebobcat
kenichi_ is now known as kenichi
pzol_ is now known as pzol
jmeeuwen_ is now known as jmeeuwen
epochwolf has joined #ruby
tcopp has quit [Ping timeout: 276 seconds]
beneggett has joined #ruby
Guest1780 has left #ruby [#ruby]
Eldariof-ru has joined #ruby
jcf has joined #ruby
sejo has joined #ruby
kichawa_ is now known as kichawa
Schmidt has joined #ruby
nopolitica has joined #ruby
frogstarr78 has joined #ruby
Tomasso has joined #ruby
blast_hardcheese has joined #ruby
goraxe has joined #ruby
theRoUS has joined #ruby
Luceo has joined #ruby
Zol has joined #ruby
jason^ has joined #ruby
tcopp has joined #ruby
banghouse is now known as banghouseAFK
Hanmac has joined #ruby
anekos has joined #ruby
ConstantineXVI has joined #ruby
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
jrist-afk is now known as jrist
<shevy> this is the FHS default. usually debian based distributions have a symlink like ruby1.9 -> ruby
<shevy> FHS default to /usr as --prefix option for "system wide installations"
MasterIdler has joined #ruby
beneggett has quit [Ping timeout: 260 seconds]
freeayu has quit [Quit: This computer has gone to sleep]
jcf has quit [Quit: leaving]
jcf has joined #ruby
<Tasser> shevy, rather ruby -> ruby1.9 ?
manizzle has quit [Ping timeout: 248 seconds]
kapowaz has joined #ruby
erichmenge has joined #ruby
johnny5544_ has quit [Quit: Page closed]
manizzle has joined #ruby
<shevy> yeah something like that hehehe
<Hanmac> shevy its /usr/bin/ruby -> /etc/alternatives/ruby -> /usr/bin/ruby1.9.1
vlad_sta_ has quit [Remote host closed the connection]
rbanffy has quit [Quit: Ex-Chat]
imami|afk is now known as banseljaj
vlad_starkov has joined #ruby
danhunter has joined #ruby
rupali has joined #ruby
nanderoo1 has quit [Quit: Leaving.]
Dr4g has joined #ruby
franckverrot has joined #ruby
jcf has quit [Client Quit]
iamjarvo has joined #ruby
dotemacs has joined #ruby
jcf has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
jcf has quit [Client Quit]
snearch has quit [Quit: Verlassend]
banghouseAFK is now known as banghouse
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
Ethan has quit [Read error: Connection reset by peer]
alindeman_ is now known as alindeman
<shevy> yeah man
twinturbo has quit [Quit: twinturbo]
<shevy> this boggles my mind
ktilcu has joined #ruby
<rupali> HI i am a beginner in ruby . I am trying to get the datetime before 7 days from today's datetime . i am using Time.now.days_since(7) but its not working..
<rupali> any anthr way for tht?
<shevy> this seems rails addon method
<shevy> probably some funky activerecord god patch
<shevy> Time.now - (7 * 60 * 60 * 24) # => Wed Jul 11 22:02:49 0200 2012
chrisbolton has joined #ruby
robacarp has quit [Quit: Lost terminal]
mengu has joined #ruby
krz has joined #ruby
<rupali> @shevy : great !!! it works.. thanks
bluenemo has quit [Remote host closed the connection]
ramblex has joined #ruby
<shevy> plain ruby :)
<yxhuvud> rupali: Time.now.days_since doesn't make sense anyhow. Those are made to read well, and the way you use it doesn't. 7.days_since(Time.now) would read better
bglusman has joined #ruby
blownapart has quit [Remote host closed the connection]
<rupali> yxhuvud: ohk.. thanks for the info. i got it over internet , i thought it was d way to use that method.
rupali is now known as rty
ryannielson has left #ruby [#ruby]
_bart has joined #ruby
JohnBat26 has quit [Ping timeout: 248 seconds]
JustinCampbell has joined #ruby
ukd1 has joined #ruby
<Hanmac> rty you could look at Date.next_day(7)
<ukd1> hi guys - is there a standard practice to differentiate between class methods and variables?
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
PaciFisT has left #ruby [#ruby]
beneggett has joined #ruby
<Mon_Ouie> The most common argument is that if you have so many variables that you can't tell what's a method call right away, you have another problem
<lectrick> How do I get a list of instance methods on an object that do NOT come from ancestor objects?
<ukd1> Mon_Ouie, but if it's someone elses code, how do you tell without reading it? It's 'correct' to call class.method() rather than just class.method
cmaujean has joined #ruby
<Mon_Ouie> ukd1: In that case either syntax can't possibly be a variable read
<Mon_Ouie> methods(false) restricts to the object's singleton class, see also Module#instance_methods(false)
zastaph has joined #ruby
<ukd1> Mon_Ouie, yep - but it seems the 'standard' practice that I've seen is instance.xxx - which xxx could be a mehtod or a variable?
timonv has quit [Remote host closed the connection]
<ukd1> or am I wrong? I'm relitively new to ruby.
<lectrick> Mon_Ouie: Ooooh. You get a cookie. Thank you.
<Hanmac> ukd1 in ruby variables are not accessable from the outside ... so xxx in your sample is allways a method
yoklov has joined #ruby
Eldariof-ru has quit []
williamcotton_ has joined #ruby
<ukd1> :-) thanks
williamcotton has quit [Ping timeout: 248 seconds]
williamcotton_ is now known as williamcotton
banseljaj is now known as imami|afk
scriabin has joined #ruby
kevinbond has joined #ruby
mrFrog has left #ruby [#ruby]
gokulnath has quit [Ping timeout: 245 seconds]
berkes has quit [Ping timeout: 260 seconds]
robert_ has quit [Read error: No route to host]
weasels has joined #ruby
Ethan has joined #ruby
otters has quit [Ping timeout: 276 seconds]
fermion has quit [Quit: P]
neonlex has joined #ruby
mfridh has quit [Quit: ZNC - http://znc.in]
alek_b_ is now known as alek_b
tayy has quit [Remote host closed the connection]
<shevy> yeah
<shevy> def xxx; return @xxx; end
<shevy> foo.xxx
<shevy> call method xxx, that returns instance variable @xxx
mrFrog has joined #ruby
davidw has joined #ruby
laen__ is now known as laen_
ilyam_ has joined #ruby
davidw is now known as Guest98808
weasels has quit [Quit: WeeChat 0.3.8]
otters has joined #ruby
ilyam has quit [Ping timeout: 272 seconds]
ilyam_ is now known as ilyam
_bart has quit [Quit: _bart]
Hanmac has quit [Remote host closed the connection]
wilmoore has joined #ruby
Hanmac has joined #ruby
baphled has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
nopolitica has left #ruby [#ruby]
morsik has joined #ruby
<morsik> hi... anybody knows what "An invalid interpreter was specified." means?
<morsik> i'm getting this after RAILS_ENV=production bundle exec rake db:setup
<Hanmac> ;P you are in the wrong channel
fbernier has quit [Ping timeout: 276 seconds]
carloslopes has quit [Quit: Leaving.]
<Hanmac> look at #rubyonrails
<morsik> k.
danishman has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<lectrick> So I wrote kind of an ObjectSpace change detector for modules/classes/instance methods/class methods... https://gist.github.com/3138743
mpereira has quit [Ping timeout: 245 seconds]
<lectrick> Mon_Ouie: ^
c0rn_ has joined #ruby
yxhuvud has quit [Ping timeout: 240 seconds]
Juul has joined #ruby
TheShadowFog has quit [Read error: Connection reset by peer]
banghouse has quit [Remote host closed the connection]
rizzy has quit [Ping timeout: 250 seconds]
TheShadowFog has joined #ruby
farnearer has joined #ruby
mrFrog has quit [Quit: mrFrog]
* Hanmac dont like @@ vars ...
brandoncordell has quit [Ping timeout: 260 seconds]
saschagehlich has quit [Ping timeout: 252 seconds]
alindeman has quit [Read error: Connection reset by peer]
Berglund has joined #ruby
zaargy_ is now known as zaargy
axl__ has joined #ruby
etehtsea has quit []
alindeman has joined #ruby
mfridh has joined #ruby
axl_ has quit [Ping timeout: 244 seconds]
axl__ is now known as axl_
farnearer has left #ruby [#ruby]
hydrozen has joined #ruby
UNIXgod has quit [Changing host]
UNIXgod has joined #ruby
danhunter has left #ruby [#ruby]
<shevy> hehe
sailias has quit [Quit: Leaving.]
tatsuya_o has joined #ruby
ryanf has joined #ruby
geekbri has quit [Remote host closed the connection]
richardcreme has quit [Quit: leaving]
mfridh has quit [Quit: ZNC - http://znc.in]
ephemerian has joined #ruby
rty has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 276 seconds]
lorandi has quit [Quit: Leaving]
Jakee` has quit [Quit: Linkinus - http://linkinus.com]
<lectrick> Hanmac: I know. I needed a way to store a "changeable global" tho :/
choffstein has quit [Remote host closed the connection]
ken_barber has quit [Remote host closed the connection]
td123 has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
andrewpthorp has joined #ruby
monkegjinni has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
nilg has quit [Read error: Connection reset by peer]
havenn has joined #ruby
jsime has quit [Read error: Connection reset by peer]
mrdodo has quit [Remote host closed the connection]
strife25 has quit [Quit: Computer has gone to sleep.]
jsime has joined #ruby
nopolitica1 has joined #ruby
ilyam has quit [Remote host closed the connection]
mrdodo has joined #ruby
ilyam has joined #ruby
tehdekan has joined #ruby
xaq_ has quit [Remote host closed the connection]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
mrFrog has joined #ruby
wrapids has quit [Quit: Home!]
eywu1 has quit [Quit: Leaving.]
eywu has joined #ruby
blacktulip has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
fbernier has joined #ruby
savage- has joined #ruby
bluenemo has quit [Remote host closed the connection]
CannedCorn has joined #ruby
Norrin has joined #ruby
<CannedCorn> hey guys, is variable_name = if blah "x" else "y" end bad form
Morkel has quit [Quit: Morkel]
workmad3 has joined #ruby
yoklov has quit [Quit: computer sleeping]
savage-_ has quit [Ping timeout: 276 seconds]
<NorrinRadd> something seems to be 'bad form' for scripting languages...
<NorrinRadd> the more obscure the better it seems
<CannedCorn> ...
* NorrinRadd noob
dhruvasa1ar has quit [Ping timeout: 248 seconds]
<NorrinRadd> just my initial opinion
<NorrinRadd> hence all the perl like nature ruby has
<cirwin> CannedCorn: not really
rty has joined #ruby
<CannedCorn> like is it better to have some_variable = each time in the if elsif elsif....
the_jeebster has quit [Quit: Leaving.]
Berglund has quit [Quit: Computer died.]
<CannedCorn> or once at the beginning there
<cirwin> CannedCorn: do whatever makes the code more readable
_bart has joined #ruby
Spooner has joined #ruby
Bosma has joined #ruby
andrewpthorp has quit [Quit: Linkinus - http://linkinus.com]
explody has joined #ruby
havenn has quit [Remote host closed the connection]
xiaotian has joined #ruby
Berglund has joined #ruby
hydrozen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
reuf has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
banghouse has joined #ruby
wvms has joined #ruby
supergiantrobot_ has joined #ruby
joshman_ has quit [Ping timeout: 276 seconds]
savage-_ has joined #ruby
<shevy> CannedCorn: I prefer if / else on separate lines
mrFrog has left #ruby [#ruby]
<shevy> for if / else you could also use this
fbernier has quit [Ping timeout: 276 seconds]
<shevy> x = 'default value in case of else'
<shevy> x = 'other value' if some_var_is_true
<shevy> so you redefine it via if
<shevy> if you happen to need elsif though, it often is easier to use case/when
<shevy> case x
<shevy> when /\d+/,/\s+/
<shevy> end
<shevy> hmm and some more when lines to illustrate my case ;)
ryanf has quit [Ping timeout: 245 seconds]
savage- has quit [Ping timeout: 240 seconds]
Zolrath has joined #ruby
wangr has quit [Ping timeout: 276 seconds]
nopolitica1 has quit [Quit: Leaving.]
baroquebobcat has quit [Ping timeout: 248 seconds]
nacengineer has quit [Quit: Leaving.]
kpshek has quit []
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
bglusman_ has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
_bart has quit [Quit: _bart]
saschagehlich has joined #ruby
bglusman has quit [Ping timeout: 276 seconds]
MasterIdler_ has joined #ruby
MasterIdler_ has quit [Client Quit]
rty has left #ruby [#ruby]
kirun_ has quit [Quit: Client exiting]
MasterIdler has quit [Ping timeout: 252 seconds]
alanp has joined #ruby
balki_ has joined #ruby
thecreators has quit [Ping timeout: 252 seconds]
balki has quit [Read error: Operation timed out]
alanp_ has quit [Read error: Operation timed out]
bbttxu has quit [Quit: bbttxu]
jsime has quit [Quit: Leaving]
hdgarrood has joined #ruby
hdgarrood has quit [Client Quit]
hdgarrood has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
hdgarrood has left #ruby [#ruby]
ryanf has joined #ruby
billiam| has joined #ruby
htroyack has joined #ruby
artOfWar has quit [Read error: No route to host]
artOfWar has joined #ruby
mvangala has joined #ruby
mvangala_ has quit [Read error: Connection reset by peer]
_bart has joined #ruby
vertroa has quit [Ping timeout: 272 seconds]
billiam has quit [Ping timeout: 248 seconds]
Guest98808 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
hukl has quit [Quit: Linkinus - http://linkinus.com]
maxmmurphy_ has joined #ruby
tzvi has quit [Read error: Connection reset by peer]
<lectrick> When I require a file in Ruby, what prevents it from reloading that file if I require it again?
<lectrick> Is something like the full path to the file stored somewhere?
ryker has quit [Quit: Leaving.]
maxmmurphy has quit [Ping timeout: 244 seconds]
maxmmurphy_ is now known as maxmmurphy
skinny_m has joined #ruby
mfridh has joined #ruby
fbernier has joined #ruby
moted has quit [Remote host closed the connection]
EzeQL has quit []
moted has joined #ruby
<apeiros_> lectrick: yes. $LOADED_FEATURES
mpereira has joined #ruby
asdfqwer has joined #ruby
<asdfqwer> ping
<apeiros_> not sure whether manipulating that enables you to re-require it
<cbetta> pong
asdfqwer has left #ruby [#ruby]
<apeiros_> lectrick: you can use load, however
dv310p3r has quit [Ping timeout: 276 seconds]
yy is now known as yyy
chrisja has quit [Quit: leaving]
htroyack has quit []
htroyack has joined #ruby
yyy is now known as yy
ryanf has quit [Ping timeout: 264 seconds]
<lectrick> apeiros_: How do I get the full path given a partial path?
<apeiros_> didn't I give you code yesterday? or was that somebody else?
<lectrick> It was not I!
<apeiros_> hm
<apeiros_> let me check
<apeiros_> lectrick: http://pastie.org/4280467 - it'll break if any of your $LOAD_PATH's contains a ","
<lectrick> File.absolute_path?
rosscooperman has quit [Quit: rosscooperman]
jgarvey has quit [Quit: Leaving]
kvirani has quit [Remote host closed the connection]
<apeiros_> expanded_require_path 'some/file'
GoGoGarrett has joined #ruby
<shevy> ack
<shevy> ack
<shevy> dont say this really exists
krz has quit [Quit: krz]
<shevy> expanded_require_path
<shevy> ohhh
<apeiros_> shevy: pastie
<shevy> ok
<shevy> a custom method :)
<shevy> phew
yoklov has joined #ruby
fbernier has quit [Ping timeout: 276 seconds]
<blazes816> man, you got to dry-heaving pretty hard
<apeiros_> dry-heaving? what's that?
<otters> it's where you barf and nothing comes out
<apeiros_> ok, I don't get what blazes816 wanted to say then
davidw has quit [Ping timeout: 252 seconds]
<blazes816> apeiros_: shevy's "ack ack". it was a joke
sepp2k has joined #ruby
<apeiros_> aha
theRoUS has quit [Ping timeout: 240 seconds]
<apeiros_> lectrick: useful?
benjammin891 has quit [Ping timeout: 252 seconds]
ken_barber has joined #ruby
<lectrick> apeiros_: yeah. Does Rails not respect $LOADED_FEATURES or something? I'm still getting classes reloaded more than once even though it's in $LOADED_FEATURES
<apeiros_> rails' autoloading?
<apeiros_> in development?
benjammin891 has joined #ruby
Nies has quit [Quit: Saliendo]
<apeiros_> it doesn't care. it doesn't use require.
jimeh2 has quit [Quit: bye]
<lectrick> apeiros_: I mean calling "require" from within a rails console
<apeiros_> hm, would have to see the precise case. but now's bed time for me
<apeiros_> gn8 & good luck figuring out what's going on :)
apeiros_ has quit [Remote host closed the connection]
user__ has quit [Quit: Forget progress by proxy. Land on your own moon.]
akem has joined #ruby
jimeh has joined #ruby
awarner has quit [Remote host closed the connection]
kevinbond has quit [Quit: kevinbond]
monkegjinni has quit [Remote host closed the connection]
xiaotian has quit [Ping timeout: 240 seconds]
Gavilan has joined #ruby
htroyack has quit []
htroyack has joined #ruby
Berglund has quit [Quit: Computer died.]
linoj has quit [Quit: linoj]
trend has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
trend has left #ruby [#ruby]
stkowski has quit [Quit: stkowski]
und3f has quit [Quit: Leaving.]
yoklov has quit [Quit: computer sleeping]
sailias has joined #ruby
beakerman has quit [Remote host closed the connection]
beakerma_ has joined #ruby
zrail has left #ruby [#ruby]
bowlowni has quit [Remote host closed the connection]
chrisbolton has quit [Quit: chrisbolton]
freeayu has joined #ruby
philips_ has quit [Excess Flood]
philips_ has joined #ruby
friskd has joined #ruby
mikepack has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Juul has quit [Ping timeout: 260 seconds]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
bglusman_ has quit [Remote host closed the connection]
tewecske has quit [Quit: Leaving.]
beneggett has quit [Ping timeout: 255 seconds]
<CannedCorn> shevy, but in the case you have 2
<CannedCorn> is it better to do var x = if
<CannedCorn> or if … var x =
beneggett has joined #ruby
jrist is now known as jrist-afk
luckyruby has quit [Remote host closed the connection]
liluo has joined #ruby
williamcotton has quit [Ping timeout: 240 seconds]
williamcotton has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
Filuren has joined #ruby
straind has joined #ruby
Filuren is now known as Stalkr_
ryanf has joined #ruby
kvirani has joined #ruby
ryanf_ has joined #ruby
zastaph has quit []
ryanf has quit [Client Quit]
ryanf_ has quit [Client Quit]
ryanf has joined #ruby
sailias has quit [Quit: Leaving.]
wvms has quit [Read error: Connection reset by peer]
wvms has joined #ruby
beneggett has quit [Ping timeout: 245 seconds]
Stalkr_ has quit [Quit: Leaving...]
itnomad has joined #ruby
williamcotton has quit [Ping timeout: 255 seconds]
jjang has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
williamcotton has joined #ruby
jjang has quit [Remote host closed the connection]
jjang has joined #ruby
billiam| has quit [Read error: Connection reset by peer]
beneggett has joined #ruby
carinishead has joined #ruby
carinishead has left #ruby [#ruby]
saschagehlich has joined #ruby
CannedCorn has quit [Ping timeout: 276 seconds]
saschagehlich has quit [Client Quit]
khakimov has joined #ruby
<_bart> How do I get the number of "not empty" members of a Hash?
<_bart> and by not empty I mean "" and nil
subbyyy has joined #ruby
cirwin has left #ruby [#ruby]
chson_ has joined #ruby
eywu has left #ruby [#ruby]
chson has quit [Read error: Connection reset by peer]
eywu has joined #ruby
brandoncordell has joined #ruby
ephemerian has quit [Quit: Leaving.]
beneggett has quit [Ping timeout: 255 seconds]
uris has quit [Quit: leaving]
<ramblex> _bart: [1, nil, "", 3].count { |x| !x.nil? && x != "" }
<_bart> cool!
<_bart> [1, nil, "", 3].count { |x| x.to_s != "" }
freeayu has quit [Quit: 离开]
<_bart> ramblex: ^ that's the same right?
jimeh has quit [Ping timeout: 245 seconds]
<ramblex> _bart: yes, nice
beneggett has joined #ruby
<_bart> ramblex: this returns 2: {:a => "a", :b => nil}.count { |x| x.to_s != "" }
jonathanwallace has joined #ruby
<_bart> ramblex: it doesn't work for hashes?
<ramblex> _bart: that's looking at the keys
<ramblex> {:a => "a", :b => nil}.count { |x, v| v.to_s != "" }
jeff_sebring has quit [Quit: Leaving]
<_bart> ah okay, thanks!
brianpWins has quit [Quit: brianpWins]
kevinbond has joined #ruby
<ViperMaul> Is there a GEM or pre-written code that takes the input of Area Code and returns time zone that the Area Code reprensents?
tehdekan has quit [Quit: [BX] bb bbba bbbba bbbitchx bitchx!!!]
itnomad has quit [Ping timeout: 252 seconds]
gmci has quit [Read error: No route to host]
maxmmurphy has quit [Quit: maxmmurphy]
roadt has joined #ruby
hasrb has joined #ruby
tamaska has joined #ruby
CannedCorn has joined #ruby
<shevy> CannedCorn: I would not use "var"
<shevy> CannedCorn: usually, the shorter the better
tamaska is now known as coyo
coyo has quit [Changing host]
coyo has joined #ruby
jamesaxl has quit [Ping timeout: 248 seconds]
kevinbond has quit [Quit: kevinbond]
<coyo> good evening, #ruby
beneggett has quit [Ping timeout: 252 seconds]
Boohbah has joined #ruby
tommyvyo has joined #ruby
kevinbond has joined #ruby
ElderFain has joined #ruby