<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]
<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?
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: 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?"
<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]
<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
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.]
<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]
<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?
<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
<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 :)
<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]
<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]
<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%
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
<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
<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]
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"?
<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]
<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
<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?
<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
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]
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]