<jdecuirm>
in fact, is there any restriction about reading data from a extension??
<ledestin>
jdecuirm: what do you mean?
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jdecuirm>
for example, i'm reading data from a temp.dat
<jdecuirm>
the .dat extension
<jdecuirm>
but can i read from any other type of file?
mistym has quit [Remote host closed the connection]
amystephen has quit [Quit: amystephen]
mkaesz has joined #ruby-lang
Gue______ has joined #ruby-lang
dagda1 has joined #ruby-lang
emmesswhy has joined #ruby-lang
emmesswhy has quit [Max SendQ exceeded]
emmesswhy has joined #ruby-lang
<ledestin>
jdecuirm: sure
<jdecuirm>
awesome :3
mkaesz has quit [Ping timeout: 258 seconds]
Gue______ has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
Gue______ has joined #ruby-lang
emmesswhy has quit [Max SendQ exceeded]
emmesswhy has joined #ruby-lang
Gue______ has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
btiefert has joined #ruby-lang
ikrima has quit [Ping timeout: 258 seconds]
madmancao has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
gix has quit [Ping timeout: 272 seconds]
amystephen has joined #ruby-lang
<harly_>
jdecuirm: var number must already be a string. and you don't need to_s it happens automatically in that context. Just go #{number.strip} or, probably better, wherever you're setting number you may want to turn it into an int with number = number.to_i or to_f, or at least pre-strip it with number = number.strip or similar.
gix has joined #ruby-lang
bsvineeth has joined #ruby-lang
Miphix has joined #ruby-lang
mistym has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
amystephen has quit [Quit: amystephen]
karamazov has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
karamazov has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
pabs has joined #ruby-lang
karamazov has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
bruno-_ has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
Phrogz has quit [Quit: Nighttime]
imkmf has quit [Ping timeout: 250 seconds]
imkmf_ has quit [Ping timeout: 258 seconds]
bruno-_ has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 246 seconds]
diegoviola has quit [Read error: Connection reset by peer]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SuMo_D has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 246 seconds]
j4cknewt has joined #ruby-lang
wkoch has quit [Remote host closed the connection]
j4cknewt has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
hramrach has joined #ruby-lang
j4cknewt has joined #ruby-lang
unsymbol has quit [Ping timeout: 250 seconds]
bsvineeth has quit [Read error: Connection reset by peer]
unsymbol has joined #ruby-lang
unsymbol has quit [Changing host]
unsymbol has joined #ruby-lang
AKASkip has joined #ruby-lang
bsvineeth has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
kgrz has joined #ruby-lang
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
koderok has joined #ruby-lang
koderok has quit [Remote host closed the connection]
_lexjm has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
SuMo_D has quit [Ping timeout: 260 seconds]
j4cknewt has joined #ruby-lang
oleo has quit [Quit: Verlassend]
yfeldblum has quit [Ping timeout: 255 seconds]
RobertBirnie has joined #ruby-lang
tdy has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
bsvineeth has quit [Ping timeout: 255 seconds]
j4cknewt has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
nfsnobody has joined #ruby-lang
mkaesz has quit [Ping timeout: 245 seconds]
AKASkip has quit [Ping timeout: 245 seconds]
allomov has joined #ruby-lang
allomov has quit [Remote host closed the connection]
kyb3r_ has joined #ruby-lang
allomov__ has joined #ruby-lang
JaReAx has joined #ruby-lang
benlovell has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
SuMo_D has joined #ruby-lang
sharpmachine has joined #ruby-lang
kimegede has joined #ruby-lang
j4cknewt has joined #ruby-lang
relix has joined #ruby-lang
allomov__ has quit [Remote host closed the connection]
AKASkip has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
_ht has joined #ruby-lang
tcrypt has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
x0f has quit [Ping timeout: 255 seconds]
mkaesz has joined #ruby-lang
allomov has joined #ruby-lang
mskaesz has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
x0f has joined #ruby-lang
apeiros has quit [Ping timeout: 260 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
diegoviola has quit [Quit: WeeChat 1.0]
sharpmachine has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
AKASkip has quit [Ping timeout: 260 seconds]
houhoulis has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
[spoiler] has joined #ruby-lang
<hramrach>
hmm, I guess --with-sitedir"=>"/usr/local/lib/site_ruby" is bogus but should not cause binaries to be pulled from /usr/local nonetheless
AKASkip has joined #ruby-lang
tectonic has quit []
apeiros has joined #ruby-lang
mnngfltg has joined #ruby-lang
kwd_ has left #ruby-lang [#ruby-lang]
kwd has joined #ruby-lang
allomov__ has joined #ruby-lang
allomov__ has quit [Remote host closed the connection]
allomov has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
hellangel7 has joined #ruby-lang
allomov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
solars has joined #ruby-lang
allomov has quit [Ping timeout: 246 seconds]
allomov has joined #ruby-lang
arBmind has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
AKASkip has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
kwd has quit [Quit: Leaving.]
yfeldblum has joined #ruby-lang
tcrypt has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
fusillicode_ has joined #ruby-lang
michd is now known as MichD
fusillicode_ has quit [Client Quit]
fusillicode_ has joined #ruby-lang
tcrypt has quit [Ping timeout: 246 seconds]
kwd has joined #ruby-lang
<fusillicode_>
quick question: is it possible to alias a relation that I've defined in a parent class inside a subclass?
<fusillicode_>
I mean, I want that the parent relation is accessible in the subclass but with another name
<fusillicode_>
and then I have also another question
<fusillicode_>
but before I want to solve this first problem
allomov has quit [Ping timeout: 260 seconds]
allomov has joined #ruby-lang
err3 has joined #ruby-lang
kyb3r_ has quit [Ping timeout: 246 seconds]
Lewix has quit [Remote host closed the connection]
thomasxie has quit [Ping timeout: 260 seconds]
tbuehlmann has joined #ruby-lang
allomov__ has joined #ruby-lang
allomov has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
dingus_khan has joined #ruby-lang
ender|dkm has quit [Quit: Lost terminal]
<dingus_khan>
apeiros: thanks
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has quit [Ping timeout: 255 seconds]
<fusillicode_>
it this room dead?
<fusillicode_>
mmm
<dingus_khan>
it's at least sarcastic
<maloik>
fusillicode_: what do you mean by relation? you don't mean a rails association do you?
<fusillicode_>
maloik: actually I mean an association
<fusillicode_>
not a rails one
<fusillicode_>
I'm using mongoid outside rails
relix has joined #ruby-lang
<fusillicode_>
just plain Ruby and mongoid
Lewix has joined #ruby-lang
<maloik>
I don't think there's a plug and play way to do that other than using custom methods
<maloik>
Just to make sure, you want to 'rename' the relation between the objects, right?
relix has quit [Ping timeout: 272 seconds]
<fusillicode_>
?
<fusillicode_>
any suggestion? :(
Novtopro has joined #ruby-lang
j4cknewt has joined #ruby-lang
<fusillicode_>
btw I tried to search around but I didn't find anything
<Novtopro>
hello
<fusillicode_>
hi Novtopro :)
Novtopro has left #ruby-lang [#ruby-lang]
riffraff has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
dingus_khan: regarding your question from yesterday?
AKASkip has joined #ruby-lang
<apeiros>
dingus_khan: that was not sarcastic. and if you fail to follow your question up with more details, that's pretty much your problem. but sure, blame it on a "sarcastic channel".
<maloik>
It always boils down to "help people help you"
<dingus_khan>
apeiros: there wasn't a question about what i meant, just sardonic superlative. but sure, act as though you're un-antagonistically helpful
<apeiros>
dingus_khan: I was informing you that your question as asked was useless. if you perceived it as antagonistic - seriously dude, *your* problem.
<apeiros>
dingus_khan: also following up 24h later? seriously?
<maloik>
I'm amazed you remembered... and looking back, it really was a vague question
<dingus_khan>
apeiros: if you can't perceive how useless it is to make such a statement, or that it was unnecessarily acerbic, *you have a problem*
<dingus_khan>
it was, i meant to add to it but had to leave abruptly, hence super late reply
<dingus_khan>
it was a design question
<apeiros>
dingus_khan: *shrug* stuck your head in the sand. not my problem. anyway, thanks for raising a huge red flag. Welcome on my ignore.
symm- has quit [Ping timeout: 272 seconds]
<dingus_khan>
i've never appreciated an ignore so much
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
<apeiros>
dingus_khan: one thing to ponder for you - you got zero answers. maybe, just maybe your question was at fault.
<dingus_khan>
i already knew it was--judging from your English mistakes, i won't blame you for missing my explanations just above
elia has joined #ruby-lang
<dingus_khan>
if you're not playing the last word game still, something for you to ponder, then: excellent demonstration on how to be actually less than helpful
<maloik>
let it go already, you don't get along, fine, time to move on :-)
ur5us has joined #ruby-lang
<dingus_khan>
hopefully he really has put me on ignore
<dingus_khan>
or she
j4cknewt has quit [Ping timeout: 272 seconds]
SuMo_D has quit [Remote host closed the connection]
mskaesz has quit [Read error: Connection reset by peer]
<whitequark>
>judging from your English mistakes
saarinen has quit [Quit: saarinen]
<whitequark>
that's got to be the dumbest excuse I heard in years
btiefert has quit [Read error: Connection reset by peer]
<dingus_khan>
for not reading something?
mikecmpbll has joined #ruby-lang
btiefert has joined #ruby-lang
ta has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: zzz]
mkaesz has joined #ruby-lang
chussenot has joined #ruby-lang
chumyum has joined #ruby-lang
amystephen has joined #ruby-lang
skade has joined #ruby-lang
<dingus_khan>
*shrug* i guess i agree, but this window serves less than no purpose now, thanks again irc
dingus_khan has quit []
benlovell has joined #ruby-lang
jds__ is now known as jds
skade has quit [Ping timeout: 272 seconds]
riffraff has joined #ruby-lang
btiefert has quit [Ping timeout: 272 seconds]
bsvineeth has joined #ruby-lang
<hramrach>
well, there used to be actual ruby developers in this channel actually giving useful answers. but if you don't hang out here answering questions how can you expect anyone else to do so. so that's what you get I guess
bsvineet_ has joined #ruby-lang
bsvineeth has quit [Ping timeout: 258 seconds]
marr has joined #ruby-lang
chussenot has quit [Quit: chussenot]
arBmind has quit [Quit: Leaving.]
btiefert has joined #ruby-lang
pyrmont has quit [Remote host closed the connection]
<apeiros>
hramrach: there still are plenty of people giving useful answers here.
r0bby_ is now known as robbyoconnor
kek has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
bruno-_ has joined #ruby-lang
qba73 has joined #ruby-lang
arBmind has joined #ruby-lang
|jemc| has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby-lang
skade has joined #ruby-lang
ledestin has quit [Read error: Connection reset by peer]
pyrmont has joined #ruby-lang
ledestin has joined #ruby-lang
womble has quit [Excess Flood]
koderok has joined #ruby-lang
womble has joined #ruby-lang
banister has joined #ruby-lang
j4cknewt_ has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
chumyum has quit [Quit: chumyum]
havenwood has quit []
j4cknewt has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
bsvineet_ has quit [Remote host closed the connection]
Blaguvest has joined #ruby-lang
bsvineet_ has joined #ruby-lang
ur5us has joined #ruby-lang
bsvineet_ has quit [Remote host closed the connection]
pyrmont has quit [Remote host closed the connection]
skammer has joined #ruby-lang
amystephen has quit [Quit: amystephen]
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emmesswhy has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby-lang
allomov__ has quit [Remote host closed the connection]
pyrmont has joined #ruby-lang
relix has joined #ruby-lang
<darix>
i can confirm apeiros sometimes gives useful answers.
stef_204 has joined #ruby-lang
haraoka has quit [Ping timeout: 246 seconds]
<yorickpeterse>
only sometimes
<yorickpeterse>
also yay 15 min free wifi
<yorickpeterse>
> Please enter your name: "lol no"
<yorickpeterse>
> Please enter your email: "lolno@example.com"
<yorickpeterse>
I <3 airport wifi asking for stupid personal info just to get 15 min free wifi
kek_ has joined #ruby-lang
riffraff has quit [Quit: Leaving]
thomasxie has joined #ruby-lang
kek has quit [Ping timeout: 272 seconds]
francisfish has quit [Remote host closed the connection]
kek_ has quit [Remote host closed the connection]
kek has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<DefV>
one 8 more minutes till we get rid of yorickpeterse again
<DefV>
good
francisfish has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
womble has quit [Excess Flood]
francisfish has quit [Remote host closed the connection]
womble has joined #ruby-lang
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
luiz_ has joined #ruby-lang
luiz_ is now known as Guest36330
yfeldblum has quit [Remote host closed the connection]
luiz_lha has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby-lang
arBmind1 has joined #ruby-lang
bsvineeth has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
hahuang65 has quit [Ping timeout: 272 seconds]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby-lang
ledestin has quit [Ping timeout: 258 seconds]
ledestin has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
qba73 has joined #ruby-lang
francisfish has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
yfeldblum has joined #ruby-lang
allomov has joined #ruby-lang
phrozen77 has quit [Ping timeout: 260 seconds]
kith has quit [Read error: Connection reset by peer]
hachiya has quit [Remote host closed the connection]
kwd_ has joined #ruby-lang
kwd has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 258 seconds]
kith_ has joined #ruby-lang
phrozen77 has joined #ruby-lang
hachiya has joined #ruby-lang
ruby-lang912 has quit [Quit: Page closed]
<darix>
can you get the name of the currently running ruby interpreter without rbconfig?
cryptoca has quit [Ping timeout: 260 seconds]
francisfish has quit [Remote host closed the connection]
dmitrykorotkov has quit [Remote host closed the connection]
<darix>
not all scripts have rbconfig loaded already
<harly>
hmm. :ruby_install_name exists without any extra loading...
<harly>
and this works: ruby -e "puts RbConfig::CONFIG['ruby_install_name']" ie, no extra loading...
<harly>
do you have an example where that isn't working?
Iskarlar has joined #ruby-lang
<[spoiler]>
wat. I just read the drama from earlier... apeiros gives the best answers. they're educative and sometimes sassy+funny
kek_ has joined #ruby-lang
ldnunes has joined #ruby-lang
<harly>
indeed. but hey, best response to drama people is:
kek_ has quit [Remote host closed the connection]
<[spoiler]>
not sure if harly is creating a cliffhanger or trying to be clever :P
heftig has quit [Ping timeout: 260 seconds]
heftig has joined #ruby-lang
kek has quit [Ping timeout: 260 seconds]
* harly
hangs.
kimegede has quit [Quit: Leaving...]
Lewix has quit [Remote host closed the connection]
<[spoiler]>
darix, harly why not RbConfig.ruby (implying RbConfig is loaded; until now I thought it's always loaded)
<apeiros>
darix, [spoiler]: thanks. much appreciated :)
<harly>
hey, i said indeed. *cries*
kimegede has joined #ruby-lang
<darix>
[spoiler]: that is almost better but my patch already works.
<darix>
it is a lot of run to build rubinius without an existing /usr/bin/ruby
kgrz_ has joined #ruby-lang
migbar has joined #ruby-lang
kgrz has quit [Ping timeout: 255 seconds]
<apeiros>
harly: thanks to you too :)
<harly>
woo! drama *does* work.
<apeiros>
sometimes
* harly
wipes tears of success.
* apeiros
just back from training, so vision is limited to highlights - mostly
<[spoiler]>
apeiros, oo training? :D
<[spoiler]>
Idk why I had a mental image of ninjas
<toretore>
troll school
<apeiros>
[spoiler]: no, half-marathon preparations
<apeiros>
but it helps combatting trolls because my pulse stays lower overall :)
spastorino has joined #ruby-lang
kwd_ is now known as kwd
yalue has joined #ruby-lang
kgrz has joined #ruby-lang
Sgeo has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
<harly>
what's your resting HR
kgrz_ has quit [Ping timeout: 246 seconds]
kalleth has quit [Ping timeout: 260 seconds]
skammer has quit [Ping timeout: 272 seconds]
kalleth has joined #ruby-lang
<apeiros>
atm 50-60bpm
tkuchiki has joined #ruby-lang
karamazov has joined #ruby-lang
sush24 has joined #ruby-lang
<harly>
50s pretty awesome. best i ever hit was 45, but lying in bed after waking up, not just sitting.
<harly>
probably 70 now. <- fat bastard.
<apeiros>
:)
<apeiros>
I haven't explicitly measured resting HR yet
<apeiros>
and I should still measure max HR.
<harly>
do eeet. i found it a good indicator of recovery time. would be 10 up after a long day, for a couple days.
<harly>
f@#$max. at decent fitness I couldn't hit it anymore before legs dies lol
<apeiros>
I'm actually curious what my max HR is. it should be somewhere around 210.
<harly>
what are you, 15?
sush24 has quit [Client Quit]
<apeiros>
past 30. but max hr has been quite high all my life :)
hellangel7 has quit [Remote host closed the connection]
<harly>
hm ok. mine's alwyas been in line with the usual formulas. 37 and can't get above 185 anymore. could hit about 197 at 27.
<apeiros>
I can't remember whether with 18 it was 220 or 230 :-/. I know that max hr is >201 as I run 3km out of 14km at that pulse :D
<harly>
jeebus. when I was at 197 max I could only hold 177ish for a few ks before losing it. you must be getting pretty good tijmes :)
<apeiros>
but yeah… I should really measure those two. at the moment I'm more concerned about what pace I can go with a steady pulse. atm it's sadly only ~6min 10s per km :-/
Forgetful_Lion has quit [Remote host closed the connection]
<harly>
hmm, ok, that's not so fast. been training long? It does drop fairly quickly once you're into it. cruising HR that is.
<apeiros>
serious training started 2months ago. and I started from almost zero about 6 months ago. back then I was coughing my lungs out after 50min for 5km :D
<harly>
ie, if I went out now I could probably hold a bit above 6:00 for a couple ks, at say 160 (remember, my max 185). but after a couple weeks that speed would incrase, for that HR threshold.
<apeiros>
I'm still nowhere near where I left 10y ago :-( but I was never an endurance athlete
<apeiros>
s/but/also/
<maloik>
how often do you run? that's pretty impressive
<harly>
ah ok. you'll find it drops fairly quickly then, if you get out regulary, esp once you start throwing in some interval sprints.
<jtperreault>
> interval sprints
<apeiros>
maloik: 4x per week for the last 2 months now. and 1-2x per week since ~april
<jtperreault>
yup
skammer has joined #ruby-lang
<apeiros>
harly: yeah, doing interval once a week
<harly>
and if you have fat to loose, that of course will change speed/hr too.
<apeiros>
it's the training where I'm most exhausted after :D
<jtperreault>
all this talk making me miss x-country ski season
<maloik>
s/x-country//]
yfeldblum has joined #ruby-lang
<harly>
maloik :)
<maloik>
or s/x-/back/
<maloik>
:D
<apeiros>
harly: yeah. I went down from 94kg to 87kg now. I hope I reach 84/85ish when I run half marathon end of october
<maloik>
I've started climbing in november last year, it helps a bit with strength etc but I'm still too fat... probably going to start running and/or biking soon to get rid of that and improve general fitness
<maloik>
hopefully lose 5kg or so when winter comes around, on our ski trips last year I was always lagging behind as soon as we had to climb
<apeiros>
:)
<harly>
go biking. even when I was running a *lot* (1:35 half maras) a ski trip would kill my legs. you need that extension.
<maloik>
really? that's a good tip
<maloik>
what about losing fat and fitness though? don't you need to bike a lot longer comparatively?
<apeiros>
yeah, training helped in that regard a lot. we go hiking every year. last two years I suffered quite a bit and lagged behind. this year it was comfortable.
<harly>
i was bragging to my friend how I would out last him skiing. legs were like cement the next day, esp glutes.
<apeiros>
harly: 1:35 half marathon? impressive! I aim for <2h
yfeldblum has quit [Ping timeout: 258 seconds]
<darix>
now your people got offtopic
<darix>
s/your/you/
<harly>
not sure about bike vs running for burning calories. the hardest part is just not eating more lol
<apeiros>
darix: this is ##polysports, go away ;-p
<harly>
apeiros: 8 years ago. now, when I get back into it occasionally, i also aim for <2. well. 2:10 :)
<harly>
ok yeah, off topic. :)
<darix>
harly: the really hard part is when you work right above a really good steak restaurant.
<apeiros>
or have a talented cook as your wife…
<darix>
apeiros: yes
yfeldblum has joined #ruby-lang
<maloik>
someone I know fasts for 24 hours once a week, I'm going to try that as soon as I work remotely on a fixed schedule (which will be right after arrrrcamp)
benlovell has quit [Ping timeout: 260 seconds]
<darix>
maloik: a friend currently trys that with fasting every 2nd day.
yfeldblum has quit [Ping timeout: 258 seconds]
<darix>
so
<maloik>
that's starvation, not fasting
<maloik>
:P
francisfish has joined #ruby-lang
<maloik>
how's that going though?
<darix>
havent asked. but we kinda stopped the topic food, because i can never remember if it is a fast day or a food day
<darix>
and i was told it is mean to talk about delicious foods half of the time.
<darix>
;)
dagda1__ has joined #ruby-lang
<harly>
fasting works. trains you to appreciate having an appetite, and not thinking of it as hunger :)
<harly>
but not before a run day lol
<maloik>
that's exactly what he said, yea
koderok has left #ruby-lang [#ruby-lang]
lele has quit [Ping timeout: 260 seconds]
lele__ has quit [Ping timeout: 260 seconds]
dagda1 has quit [Ping timeout: 272 seconds]
lele has joined #ruby-lang
<darix>
harly: probably not on a run day either ;)
lele__ has joined #ruby-lang
<harly>
probably not. I spent most of my training eating very minimally for recovery. in retrospect probably a bad idea. :)
<harly>
now i'd do say a fasting day (1 tiny meal), next day big breakfast, run at lunch, and a decent balanced meal afterwards.
<[spoiler]>
how do you even calculate your lowest possible heartrate
<[spoiler]>
or is it measured
<harly>
lowest is pretty variable. based on heart size, which is based on activity.
<[spoiler]>
oh right
<[spoiler]>
uh wtf I can't even feel my pulse
<[spoiler]>
or the beat on my chest
<harly>
if you start doing interval training that will build your heart muscle. it'll pump more per pulse. so your resting HR will lower.
<[spoiler]>
whaaat
<harly>
are you a bot?
<[spoiler]>
ok nvm i foudn it
<harly>
(two fingers on the neck works best for me)
<[spoiler]>
it's cool
<[spoiler]>
I'm not undead
<harly>
so you say.
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
btiefert has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
vondruch has quit [Ping timeout: 258 seconds]
francisfish has quit [Remote host closed the connection]
hellangel7 has joined #ruby-lang
kith_ is now known as kith
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby-lang
badeball has quit [Quit: leaving]
badeball has joined #ruby-lang
amystephen has joined #ruby-lang
Voker57 has quit [Ping timeout: 240 seconds]
<darix>
[spoiler]: maybe you are a robot. we should do the same test as they did with sheldon.
<apeiros>
afaik a trained heart can also more easy survive a heart attack
<apeiros>
*easily
<harly>
it's just a muscle. weak and small when you dno't do much. if you regularly train at 80%+ max, it buffs up.
sleepee has quit [Quit: Leaving]
houhoulis has joined #ruby-lang
<apeiros>
interestingly though max heart rate is not influenced by training
<harly>
yeah. it's fixed. :)
<[spoiler]>
Hmm. Does't a trained heart imply a healthy body, so it has less chance of a heart attack? Just wondering here
pdoherty has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<[spoiler]>
This is kinda creepy, though. According to this chart, an athlete's heart can beat at 49 - 55 b/m; so it's less then 1 b/s
<[spoiler]>
than*
sepp2k has joined #ruby-lang
<harly>
yep. at my fittest i had a resting of 42-45ish.
<apeiros>
[spoiler]: as far as I understood, a trained heart bypasses the blockade on its own
<apeiros>
IANAD, though
<harly>
that was 5 days running a week, some 60+ ks total.
<[spoiler]>
Not sure why it's creepy, it kinda makes me think of a slow-mo heart
<[spoiler]>
What's ks?
<harly>
KM
<[spoiler]>
ooh right, sorry
<harly>
37 miles for you loggerheads.
<[spoiler]>
A friend of mine runs (well, jogs) 20 KM a day
<[spoiler]>
He jogs to work and from work, so it's ~10 in one direction and ~10 on his way home
ta has quit [Remote host closed the connection]
miqui has joined #ruby-lang
tdy has quit [Ping timeout: 272 seconds]
<[spoiler]>
I wonder what his heartrate is
<maloik>
it's the best time to jog, as you have to cover the distance anyway... but I could never do that, I'd be arriving at work soaked in sweat
<[spoiler]>
Oh, he changes and showers at work; he's "tech support" in a hotel, so it's not a big issue for him
<[spoiler]>
maloik, I already asked him about it haha
<maloik>
I see
<[spoiler]>
oh I was drinking coffee, maybe that's why my heartrate is a bit elevated
<maloik>
caffeine makes your palms sweat
<maloik>
the rest of your body too I imagine
<maloik>
so elevated heartrate doesn't sound too crazy, no
<[spoiler]>
now that you mention it, my palms are sweatish lol
<harly>
yeah i used to jog 10ks to work. was faster door to door than driving, cos of traffic. but the showering lost the gains :)
jxie has joined #ruby-lang
Aethenelle has joined #ruby-lang
<harly>
best was lunch run though. bad coding morning, run away from all the problems :D
<[spoiler]>
Hahahaha
<[spoiler]>
literally :)
<harly>
indeed. good motivator to incrase distance too
priodev has quit [Ping timeout: 250 seconds]
arBmind has joined #ruby-lang
yxhuvud has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
arBmind1 has quit [Ping timeout: 272 seconds]
chills42 has quit [Ping timeout: 246 seconds]
Aethenelle_ has joined #ruby-lang
Iskarlar has joined #ruby-lang
Aethenelle has quit [Ping timeout: 255 seconds]
priodev has joined #ruby-lang
redtomahawk has joined #ruby-lang
Aethenelle has joined #ruby-lang
chills42 has joined #ruby-lang
ur5us has joined #ruby-lang
Aethenelle_ has quit [Ping timeout: 272 seconds]
gjaldon has joined #ruby-lang
<Aethenelle>
I'm working on getting Module#prepend to work in JRuby. I've come across a test in the jruby test suite that is in neither rubyspec or the tests used by the mri devs. This test is verifying the behavior of multiple levels of includes.
<Aethenelle>
I do know MRI would not pass the opposite test...
<Aethenelle>
harly: one sec...
matp has quit [Ping timeout: 250 seconds]
<harly>
(and i'm reading up on m#prepend)
duderonomy has joined #ruby-lang
<Aethenelle>
harly: that dialog doesn't really apply... some of the comments about include come close to this situation but fall a bit short...
<harly>
ok
<Aethenelle>
harly: the only difference between prepend and include is the location... prepend creates an anonymous superclass, moves the methods to that class then includes the prepending modules in the original module/class
<Aethenelle>
include skips the anonymous superclass step
loincloth has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
<harly>
right. so it's a way to position the hierarchy or prepend/include for inheritance lookups.
<harly>
s/or/of/
Aethenelle_ has joined #ruby-lang
<Aethenelle_>
harly: correct. The question is what happens when those modules themselves later get a prepend or include?
mnngfltg has quit [Remote host closed the connection]
<Aethenelle_>
my wimax is likely to die off soon... i'll be back on once i get into the office when that happens.
<harly>
i've gotta say, just looking at a prepend example that's counter intuitive to me. it even overrides within the class that does the prepend.
<harly>
(notyours. some random online one.)
cmhobbs has joined #ruby-lang
imperator has joined #ruby-lang
<Aethenelle_>
harly: but that's exactly what prepend is for.... it's probably most useful to wrap methods
Aethenelle has quit [Ping timeout: 246 seconds]
Aethenelle_ is now known as Aethenelle
tbuehlmann has quit [Quit: Leaving]
<Aethenelle>
you can now just prepend a module then call super instead of creating a wrapper method that gets injected when methods are added
<harly>
yep, makes sense. my initial thought was that it was just to toggle extend vs include priority. but it's a sharper knife than that.
<imperator>
good morning
<Aethenelle>
fwiw, extend is effectively obj.meta_eval{ include ModA }
<harly>
doubt i can answer your question of if it's intended, since i'm learning this now. but running your code cos this is interesting.
kek has joined #ruby-lang
fusillicode_ has quit [Quit: Page closed]
Aethenelle_ has joined #ruby-lang
redtomahawk has joined #ruby-lang
gjaldon has joined #ruby-lang
Aethenelle__ has joined #ruby-lang
koderok has joined #ruby-lang
koderok has quit [Remote host closed the connection]
Aethenelle has quit [Read error: Connection reset by peer]
Aethenelle__ is now known as Aethenelle
qba73 has quit []
Guest36330 has quit [Ping timeout: 272 seconds]
haraoka has joined #ruby-lang
Aethenelle_ has quit [Ping timeout: 272 seconds]
gjaldon has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
gjaldon has joined #ruby-lang
tdy has joined #ruby-lang
<harly>
am I right in understanding that you're ok with all the tests passing as is, but you would expect with prepend for it work differently?
<harly>
say line 29 if it were prepend instead of include, you would intuitively expect equal to 2 at 40?
gjaldon has quit [Read error: Connection reset by peer]
gjaldon has joined #ruby-lang
allomov has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
j4cknewt has quit [Client Quit]
chills42 has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
j4cknewt has joined #ruby-lang
thomasxie has quit [Ping timeout: 260 seconds]
bruno- has quit [Quit: Lost terminal]
bruno-_ has quit [Quit: Lost terminal]
Aethenelle_ has joined #ruby-lang
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle_ is now known as Aethenelle
chills42 has joined #ruby-lang
<Aethenelle>
harly: no, I would have expected both prepend and include to allow future includes/prepends to update the including/prepending class
allomov has joined #ruby-lang
<Aethenelle>
harly yes, I had expected it to be 2
shinnya has joined #ruby-lang
<Aethenelle>
for both prepend and include
Aethenelle_ has joined #ruby-lang
mkaesz has quit [Quit: Leaving...]
karamazov has quit []
bruno- has joined #ruby-lang
<harly>
(still tracing stuff. not going to be much help, but this is interesting)
Aethenelle has quit [Ping timeout: 272 seconds]
Aethenelle_ is now known as Aethenelle
Voker57 has joined #ruby-lang
<Aethenelle>
harly: It's all good. at least you're getting something out of it.
<Aethenelle>
bbl time to walk to the office
<harly>
i agree with you. say include2. it takes As foo, but after X defined foo which was included into B, and since includes should override inheritance, I don't see why it still fall sback to A.
RobertBirnie has joined #ruby-lang
<harly>
but i'm looking at a pretty old reference for inheritance hierarchy.
<harly>
( i would cry if this were frequently used somewhere i worked ;)
whippythellama has joined #ruby-lang
mistym has joined #ruby-lang
Aethenelle has quit [Ping timeout: 240 seconds]
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
s1kx has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 260 seconds]
skammer has quit [Ping timeout: 260 seconds]
francisfish has joined #ruby-lang
sush24 has joined #ruby-lang
x0f_ has joined #ruby-lang
kwd_ has quit [Quit: Leaving.]
x0f has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
AKASkip has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
mistym has joined #ruby-lang
apeiros has quit [Ping timeout: 245 seconds]
Aethenelle has joined #ruby-lang
allomov has quit [Remote host closed the connection]
bsvineeth has quit [Remote host closed the connection]
<Aethenelle>
back
allomov has joined #ruby-lang
centrx has joined #ruby-lang
bsvineeth has joined #ruby-lang
banister has joined #ruby-lang
allomov has quit [Ping timeout: 258 seconds]
nofxx has quit [Ping timeout: 245 seconds]
allomov has joined #ruby-lang
bradcliffe has joined #ruby-lang
skammer has joined #ruby-lang
<headius>
Aethenelle: these are wacky tests
<Aethenelle>
headius: they're not really all that wacky considering how I implemented prepend once I stopped trying to simply port the MRI code for it to Java.
<Aethenelle>
headius: test_simple_include anyway
_dabradley is now known as dabradley
imperator has quit [Ping timeout: 255 seconds]
<Aethenelle>
if the behavior's intended, then these tests should probably find their way into MRI's test suite.
<headius>
agreed
<headius>
apparently I wrote them in 2008
dabradley has quit [Quit: WeeChat 0.3.8]
dabradley has joined #ruby-lang
skammer has quit [Ping timeout: 260 seconds]
jeff_r has joined #ruby-lang
<Aethenelle>
headius: I doubt this logic has changed much in quite a while.
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius>
probably not :-)
mjc__ is now known as mjc
mjc is now known as mjc_
benhaan has joined #ruby-lang
SuMo_D has joined #ruby-lang
redtomahawk has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
redtomahawk has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
<yorickpeterse>
Ah, home sweet home
benhaan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
phrozen77 has joined #ruby-lang
phrozen77 has quit [Changing host]
err3 has quit [Remote host closed the connection]
bradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby-lang
bradcliffe has joined #ruby-lang
sharpmachine has joined #ruby-lang
rippa has joined #ruby-lang
__butch__ has joined #ruby-lang
havenwood has joined #ruby-lang
bantic has joined #ruby-lang
wallerdev has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sharpmachine has quit [Remote host closed the connection]
amerine has quit [Read error: Connection reset by peer]
amerine has joined #ruby-lang
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
Paul_McFreely has joined #ruby-lang
omosoj has quit [Ping timeout: 260 seconds]
s1kx has quit [Quit: Leaving]
momomomomo has quit [Quit: momomomomo]
benlovell has joined #ruby-lang
oleo has quit [Ping timeout: 260 seconds]
sarkyniin has quit [Quit: Quitte]
amjibaly has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 272 seconds]
ldnunes has quit [Quit: Leaving]
oleo has joined #ruby-lang
airborne has joined #ruby-lang
saarinen has quit [Quit: saarinen]
<airborne>
hey guys, I just published a new rspec driven api testing framework called airborne (https://github.com/brooklynDev/airborne) and I'm having issues getting travis to build successfully. When I run my tests locally using 'rspec spec' it works fine, but when run locally or on travis with 'bundle exec rspec spec' it fails. Can anyone point me in the right direction? Thanks!
miqui has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
karamazov has quit [Ping timeout: 245 seconds]
yatish27 has joined #ruby-lang
_lexjm has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Aethenelle has quit [Quit: Aethenelle]
SuMo_D has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
dknox-lunch is now known as dknox
__butch__ has quit [Quit: Leaving.]
bsvineeth has quit [Remote host closed the connection]
sepp2k has quit [Quit: Konversation terminated!]
bsvineeth has joined #ruby-lang
AKASkip has quit [Ping timeout: 255 seconds]
bsvineeth has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 240 seconds]
SuMo_D has joined #ruby-lang
hachiya has quit [Ping timeout: 250 seconds]
SuMo_D has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
sirene has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
luiz_lha has quit [Ping timeout: 272 seconds]
klmlfl_ has joined #ruby-lang
cmhobbs has quit [Quit: Leaving]
skade has joined #ruby-lang
klmlfl has quit [Ping timeout: 272 seconds]
hachiya has joined #ruby-lang
klmlfl_ has quit [Ping timeout: 260 seconds]
bsvineeth has joined #ruby-lang
Aiden has joined #ruby-lang
amerine_ has joined #ruby-lang
amerine has quit [Ping timeout: 260 seconds]
loincloth has quit [Remote host closed the connection]
brtll is now known as brt
Aiden has left #ruby-lang [#ruby-lang]
Aiden has joined #ruby-lang
Aiden is now known as a1digital
karamazov has joined #ruby-lang
a1digital has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
bantic has quit [Quit: bantic]
ItSANgo has quit [Quit: Leaving...]
bruno- has joined #ruby-lang
j4cknewt has joined #ruby-lang
allomov has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]