<zenspider>
seanstickle: I'm trying to visualize my workouts (weightlifting) which are a bit different because they're not the usual sets/reps x weight thing. they're weight x time-until-muscle-failure
<zenspider>
I'm trying to map the weight & time in such a way that I get a good visualization of improvement over time
<zenspider>
(per exercise)
<zenspider>
I looked at work/energy formula and they don't seem to apply because they're all dependent on distance... and potential energy didn't seem like a good fit
<seanstickle>
Oh, you want one of them mechanical physicists
<boobah>
overthinking your workout is a good way to avoid it
<zenspider>
other than fudging something like weight^2 * time (weight _seems_ more important than time) or adding a dampening factor to time... I dunno what would be a good way of mapping
<oddmunds>
or make it more interesting
<zenspider>
boobah: I leg pressed you and 4 of your friends today. I'm not avoiding shit.
<seanstickle>
I'm more of a metaphysicist
<seanstickle>
Different branch
<seanstickle>
:)
kurko__ has joined #ruby-lang
<zenspider>
bah
<zenspider>
same reason why I'm not asking my bestie who has a phd in nuclear chem :)
<zenspider>
so I can whip up some code to parse my files and provide textual descriptions of deltas... eg up 5#, down 8s... that's just workout to workout. I really need to see it over time
kurko___ has quit [Ping timeout: 255 seconds]
<seanstickle>
Well, if you were lifting either Final Causes (me) or plutonium (your friend), we'd be able to help.
srbartlett has joined #ruby-lang
<zenspider>
more dirty uranium bombs... but yeah. :)
<seanstickle>
Well, and my specialty is more in terms of Generation and Corruption
<seanstickle>
But there is some wiggle room
<zenspider>
hah
<zenspider>
corruption is how I feel afterwards... for sure.
Xzyx987X has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 246 seconds]
jperry2 has joined #ruby-lang
bryancp has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
crankharder has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
headius has quit [Quit: headius]
crankharder has quit [Read error: Connection reset by peer]
jperry2 has quit [Quit: jperry2]
kurko__ has quit [Quit: This computer has gone to sleep]
<boobah>
lollegpress
enebo has joined #ruby-lang
jmcphers has quit [Quit: Leaving]
enebo has quit [Quit: enebo]
retro|cz has quit [Ping timeout: 265 seconds]
mrsolo has quit [Quit: Leaving]
seanstickle has quit [Quit: Nihil sub sole novum]
<imperator>
zenspider, isn't "until failure" just 1 set, x reps?
<imperator>
or are you doing the same exercise until failure multiple times?
havenn has joined #ruby-lang
<boobah>
leg press is for those who don't squat
<boobah>
a more efficient exercise
flebel has quit [Ping timeout: 255 seconds]
neoesque has joined #ruby-lang
<imperator>
and then your back goes out
sailias has joined #ruby-lang
flebel has joined #ruby-lang
havenn has quit [Remote host closed the connection]
gix has quit [Ping timeout: 248 seconds]
alindeman has quit [Read error: Connection reset by peer]
fbernier has joined #ruby-lang
gix has joined #ruby-lang
pbjorklund has quit [Ping timeout: 248 seconds]
<boobah>
imperator: only if you do it wrong
flowerpot has quit [Remote host closed the connection]
savage-_ has quit [Remote host closed the connection]
pbjorklund has joined #ruby-lang
<imperator>
boobah, and sooner or later....you'll do it wrong
<boobah>
imperator: i'm constantly doing it wrong
outsmartin1 has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
jmcphers has joined #ruby-lang
imperator has left #ruby-lang ["Leaving"]
postmodern has quit [Ping timeout: 265 seconds]
pbjorklund has quit [Ping timeout: 246 seconds]
pbjorklund has joined #ruby-lang
postmodern has joined #ruby-lang
fbernier has quit [Ping timeout: 264 seconds]
pbjorklund has quit [Ping timeout: 246 seconds]
pbjorklund has joined #ruby-lang
stardiviner has joined #ruby-lang
postmodern has quit [Ping timeout: 248 seconds]
pbjorklu1d has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
Z33K|Lux has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dvorak has quit [Ping timeout: 248 seconds]
ilyam has quit [Quit: ilyam]
fbernier has joined #ruby-lang
thorncp has quit [Ping timeout: 240 seconds]
thorncp has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
postmodern has joined #ruby-lang
krz has joined #ruby-lang
cjs226 has joined #ruby-lang
cjs226 has quit []
Hakon|mbp has quit [Quit: Leaving...]
kurko_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<zenspider>
boobah: you're a weak troll. go back to school
<zenspider>
oh! right. no. I want to visualize from workout to workout so it'll be y vs t where t is the date and y is... impulse or something
<bnagy>
not saying it's exactly that but that's what it will look like
ilyam has joined #ruby-lang
<bnagy>
well I don't know if you can use points very well that way
<zenspider>
and oddly... some muscles won't graph that way. dunno why but my quads can do pretty much any weight and ALWAYS craps out at 60s +/- 10s
<zenspider>
dunno why, but they have a very fast drop off point
<bnagy>
they're big muscles
<bnagy>
you can't compensate for them when they die
sbabiy has joined #ruby-lang
phrank has joined #ruby-lang
<bnagy>
anyway, I'd probably start by graphing multiple data points per exercise and then fitting points from similar times to curves and then comparing those curves
ryez has joined #ruby-lang
phrank has left #ruby-lang [#ruby-lang]
<zenspider>
thanks
phrankk has joined #ruby-lang
JustinCampbell has quit [Ping timeout: 245 seconds]
postmodern has quit [Ping timeout: 255 seconds]
andrewhl has joined #ruby-lang
wallerdev has joined #ruby-lang
sbabiy has quit [Remote host closed the connection]
<phrankk>
test
<phrankk>
yeah
<phrankk>
hy
<phrankk>
just trying to get some rb code running on xubuntu :))
<scientes>
phrankk, debian has switched to 1.9 as the default
<phrankk>
with sudo i installed a gem ... but when i try to run some example code "require: command not found"
<phrankk>
ok
<phrankk>
but i need 1.8 *afaik* for my gems
<scientes>
phrankk, you have to add the gem bin path
<scientes>
gem environment to figure out what it is
<phrankk>
ok thanks
<phrankk>
export GEM_HOME=
<phrankk>
u mean this?
<zenspider>
require command not found?
<phrankk>
yes
<zenspider>
that's not a normal error message
<zenspider>
that looks more like you didn't set a shebang
<zenspider>
bash: blah: command not found
<phrankk>
mom pls - send u the right error metg
<scientes>
phrankk, PATH=/the/gem/dir/:PATH
<scientes>
phrankk, PATH=/the/gem/dir/:$PATH
<scientes>
second one is correct
<scientes>
put export at the beginning
<phrankk>
how to find it?=
<scientes>
if you don't have to prefix each command with that
<zenspider>
you don't need to reexport exported variables
banisterfiend is now known as travis-ci
<zenspider>
PATH is always exported
dvorak has joined #ruby-lang
<phrankk>
how to find the right path?
<scientes>
gem environmet
<zenspider>
I don't think it's your path... not yet
<scientes>
gem is, if you installed it with apt-get
<phrankk>
/var/lib/gems/1.8
<phrankk>
i think thats the dir
<scientes>
no
<phrankk>
:((U
<scientes>
something like this: - EXECUTABLE DIRECTORY: /usr/local/bin
<phrankk>
OK :)
<phrankk>
i got it
<scientes>
(not every gem installs a command)
<zenspider>
still no error message...
<phrankk>
gem environemnt << thats the command =)
<phrankk>
thank you!!!1
<scientes>
^^^you need a error message
<phrankk>
u post it!!
<phrankk>
- GEM PATHS:
<phrankk>
- /var/lib/gems/1.8
<phrankk>
- /home/incognito/.gem/ruby/1.8
<scientes>
phrankk, you can also use gem2deb to install gems
<phrankk>
fuck
<phrankk>
sry. iam total confused now
<phrankk>
i will try to explain my problem again:
<zenspider>
that's because (I suspect) scientes is sending you off on a wild goose chase
<scientes>
*paste* your problem
<phrankk>
1. i install the required gems with: "sudo gem install konto_check"
<zenspider>
(using a paste service if > 4 lines)
postmodern has joined #ruby-lang
<phrankk>
2. try to run the example code with: "ruby mini.rb"
<phrankk>
mini.rb:1:in `require': no such file to load -- konto_check (LoadError)
<scientes>
phrankk, did it correctly install?
<scientes>
cause it needs a c library
dvorak has quit [Ping timeout: 245 seconds]
<phrankk>
scientes: what do you prefer me to do now to install it in a clean way ?
<drbrain>
phrankk: since you're on 1.8, did you require 'rubygems' ?
<scientes>
what did "sudo gem install konto_check" output?
postmodern has quit [Remote host closed the connection]
<andrewvos>
Damn I shouldn't look at hacker news so early in the morning. Now I'm all upset.
<andrewvos>
"Yes, PHP has a better dependency manager than any other languages."
postmodern has joined #ruby-lang
neoesque has quit [Ping timeout: 240 seconds]
s0ra_h is now known as sora_h
gsav has joined #ruby-lang
yannis has joined #ruby-lang
qwerxy has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
rolfb has joined #ruby-lang
nertzy has joined #ruby-lang
dejongge has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
zmack_ has quit [Read error: Connection reset by peer]
zmack has joined #ruby-lang
sora_h is now known as s0ra_h
heftig has quit [Quit: leaving]
heftig has joined #ruby-lang
pbjorklu1d has quit [Ping timeout: 246 seconds]
pbjorklund has joined #ruby-lang
kain has quit [Read error: Connection reset by peer]
kain has joined #ruby-lang
s0ra_h is now known as sora_h
jstemmer has joined #ruby-lang
<darix>
andrewvos: being proud of having satsolver bindings ...
<darix>
well
<darix>
ruby bindings exist since 2009
<darix>
and as far as i know bundler will use libsolv or atleast the SATsolver algorithm too in the future
<rking>
It's so funny. I keep hearing all this PHP ♥ lately.
<rking>
I'm not going to fight it.
<darix>
rking: he forgets to mention that many of the features he praises are broken
<darix>
e.g. namespaces
gnufied has quit [Quit: Leaving.]
<heftig>
php uses the local charset for class names
<heftig>
guess what happens when characters like "I" aren't in the local alphabet (e.g. in turkish)
Hakon|mbp has joined #ruby-lang
jstemmer has quit [Ping timeout: 260 seconds]
<rking>
darix: At work, we compared Yii and Rails. I was willing to give Yii a real shot, because the other 2 devs on the project don't know Ruby at all. I took one look at all the array("hi" => array("bye" => 1)); verbosity and thought, "Seriously?"
<darix>
rking: you can use [] now in php 5.4!!!!
<rking>
You can actually prepend the phrase "Ruby equivalent: " then do "{ hi: { bye: 1 }}" and it still comes out shorter.
<rking>
darix: Aha, it's a 5.4 thing. Gentoo installed 5.3
perry is now known as perryh_away
<rking>
darix: Radical, groundbreaking features. Now Knuth is going to have to rewrite TAoCP for PHP 5.4.
<rking>
Oops, nonsarcastic addendum: The "Ruby equivalent" thing only worked because it was a proportional font. You actually go over by 1 char.
<banisterfiend>
rking: lol @ php
<banisterfiend>
rking: u should have pushed rails harder
jstemmer has joined #ruby-lang
<banisterfiend>
rking: now you're locked into php for the rest of your life and will die a bitter and angry man
<rking>
banisterfiend: It pushed itself. I gave the PHP idea as serious a chance as I possibly could.
<rking>
banisterfiend: Now I won't get to write phpry, though. =(
<banisterfiend>
rking: why cant u?
<rking>
Because we're not going to use PHP.
<banisterfiend>
rking: oh what are oyu using?
<rking>
The Rubies Language.
<banisterfiend>
oh i must have misread something hehe
<banisterfiend>
didnt you just say you were using php? :)
<rking>
I'm not placing any bets on my communication skills (especially not this early in the morning). What happened: Last week a guy had all week to make something using Yii that would demonstrate that PHP actually can not-suck. At the end of the week it became clear that it's never going to happen, so I whipped out (using my feeble Rails skills) something that ended the debate.
<banisterfiend>
cool
d3vic3 has joined #ruby-lang
sora_h is now known as s0ra_h
banisterfiend is now known as travis-ci
travis-ci is now known as banisterfiend
jstemmer has quit [Ping timeout: 260 seconds]
<andrewvos>
PHP is a piece of shit. If you're arguing that it's great, it's basically the same as a religious choice.
<imperator2>
dslam probably got hit with a bottle rocket
<banisterfiend>
apeiros_: which color theme do you use
<banisterfiend>
apeiros_: what's MBR btw
<rue>
Master boot record?
<rue>
Retina I assume
<seanstickle>
MacBook Retina?
sailias has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
kvirani has joined #ruby-lang
<apeiros_>
100 internets for seanstickle
<seanstickle>
I imagine Vim will look quite nice on a MBR
<apeiros_>
I imagine it will still have the same crappy user experience, though…
<seanstickle>
Yeah. It still only edits text for source code really well. It hasn't been improved to have nifty GUI transitions.
<seanstickle>
If that's what you mean. ;)
<rfx>
well, but gvim .. what more is needed :p
* imperator2
installs sublime
nofxxxx has joined #ruby-lang
* seanstickle
uninstalls sublime from imperator2's machine
<seanstickle>
Give yourself to the Vim!
<apeiros_>
that sounds worse than having to check your thetans…
nofxxx has quit [Ping timeout: 252 seconds]
<bnagy>
I did, for 20 years, but st2 has a decent sidebar and a proper package management system
<apeiros_>
seanstickle: no, honestly, I tried vim for a week. I don't see how an editor can be considered good if it takes you weeks to even only master the basics of editing…
Natch has joined #ruby-lang
<seanstickle>
apeiros_: you hit I and start typing
<seanstickle>
What's so hard?
<apeiros_>
yet I edit faster than my friend who's using vim for like forever…
<bnagy>
but vim will always be with me for console editing :)
<apeiros_>
seanstickle: "you hit I" - dunno, I don't have to hit I with any other editor… but no, that's not the hard part.
<seanstickle>
bnagy: the package manager does suck though, true fact
<andrewvos>
Which package manager?
<seanstickle>
andrewvos: there are a few
<seanstickle>
andrewvos: and they all pretty much suck
<seanstickle>
Also, the Vim website that lists all the plugins is dreadful
<bnagy>
as does nerdtree
<andrewvos>
seanstickle: Vundle is perfect. Have not ever had a problem with it.
<seanstickle>
I don't fancy running a package manager from inside of my editor
zz_wasnotrice is now known as wasnotrice
<andrewvos>
Well I don't have a care in the world, and things are pretty awesome for me.
<andrewvos>
I add a plugin like: Vundle "git/blah"
<andrewvos>
Then do :BundleInstall
<seanstickle>
But maybe I will give it another try
<andrewvos>
And it's working
<seanstickle>
The Vim website is still very terrible though
<seanstickle>
People who try to link thousand year old religious mysticism with 20th century quantum physics should just be punched in the ears and left outside when it rains
<seanstickle>
Unless it is a poetic exercise
<bnagy>
probably got all heisenzen
Sambalero has joined #ruby-lang
savage- has joined #ruby-lang
<imperator2>
dammit, how do i shift a block of text in sublime?
<seanstickle>
I don't mind the odd reflection on how the philosophical distinctions between object and process are similar between different areas of human inquiry, but people who want to call the Buddhists or Taoists or whatever prescient for talking about quantum physics should really be forced to learn the mathematics required.
<imperator2>
relearning all the commands i know is why i end up staying with gvim
<bnagy>
cut paste?
<imperator2>
bnagy, what's the equivalent of select + left arrow?
<bnagy>
wth is select left arrow in vim?
Sambalero has quit [Remote host closed the connection]
<injekt>
"transparently intercepts an API and changes the parameters passed, handles the operation itself, or redirects the operation elsewhere"
<injekt>
in rbenvs case, it's the latter
fayimora has quit [Quit: Busy…..zzzzz]
<diegoviola>
nice, thanks
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
<Tasser>
injekt, how can you 'transparently' intercept a call?
jarib has quit [Excess Flood]
sailias has joined #ruby-lang
jarib has joined #ruby-lang
enebo has quit [Quit: enebo]
<ryanf>
Tasser: by making it so the caller doesn't know the difference?
<Tasser>
ryanf, so that's the defintion of transparence?
kain_ has quit [Ping timeout: 252 seconds]
<ryanf>
transparency has a bunch of different definitions in computing, including some contradictory ones
<ryanf>
but I think that's what they mean here, yeah
<scientes>
how do i do a threaded .each ?
kurko_ has joined #ruby-lang
<scientes>
**.map
<Tasser>
scientes, require 'peach'
<Tasser>
scientes, and use it in jruby only, cruby sucks balls there
<scientes>
its not really number crunching, i just want to do a bunch of http api requests in parallel
toretore has quit [Quit: Leaving]
<Tasser>
curb can do that nicely, without the need for multiple connections iirc
igotnolegs has quit [Quit: Computer has gone to sleep.]
cyndis has quit [Read error: Operation timed out]
<scientes>
how about openuri
brunocoelho has quit [Remote host closed the connection]
<scientes>
i love the openuri api
<injekt>
api?
ij has joined #ruby-lang
<scientes>
yeah you just open(uri)
<ij>
Is it possible to put ruby in a thread that's not the main one?
<injekt>
lol
jperry2 has joined #ruby-lang
cyndis has joined #ruby-lang
srbartlett has joined #ruby-lang
<Tasser>
ij, huh?
<Tasser>
scientes, yeah, just go with it
<ij>
Tasser: I want to put ruby VM in a seperate pthread while main tries to join all the threads after creating them.
<ij>
Is it possible at all?
tyfighter has quit [Quit: tyfighter]
<rue>
I think it’s troublesome if you do that
<ij>
I wanted to do that but I've given up.
<rue>
You can’t access it from multiple threads in any case
<ij>
Can't access what?
<Tasser>
the ruby VM
<ij>
I can still interact with ruby vm from other threads.
kurko_ has quit [Quit: This computer has gone to sleep]
<ij>
Good enough for me.
injekt has quit [Ping timeout: 245 seconds]
dphase- has left #ruby-lang [#ruby-lang]
postmodern has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
residentwhackjob has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
<residentwhackjob>
any use subtle wm ?
<rue>
Ew, you shouldn’t multithread it
<residentwhackjob>
uh subtle ?
<erikh>
residentwhackjob: I think there's #subtle
<rue>
I think it’s just #wm. It’d be too prominent otherwise.
<residentwhackjob>
im there - ust have no idea what im doing and this sublet i loaded is getting an error and thought ruby would be a place to ask - ill wait in #subtle
<rue>
What’s the error?
Sambalero has joined #ruby-lang
<residentwhackjob>
no method, undefined write
<rue>
You’ve access to the source of this sublet, I assume? Line number eve?