yorickpeterse has quit [Remote host closed the connection]
lacrosse has joined #ruby-lang
<mbj>
yorickpeterse: We have lots of 4.0, but we do not target codeclimate, we use lots of metric tools and most of the code ends up in being 4.0 once we activate codeclimate.
<ddfreyne>
What does GPA mean?
yorickpeterse has joined #ruby-lang
<mbj>
yorickpeterse: you missed a message, the following is a repost.
<mbj>
yorickpeterse: We have lots of 4.0, but we do not target codeclimate, we use lots of metric tools and most of the code ends up in being 4.0 once we activate codeclimate.
<injekt>
ddfreyne: something point average probably
<injekt>
ddfreyne: grade?
<mbj>
I think it is a valuable tool, but for a tool such as parser other metrics are far more important.
malev has joined #ruby-lang
yorickpeterse has quit [Quit: Who cares about these quit messages?]
yorickpeterse has joined #ruby-lang
kogent has joined #ruby-lang
setmeaway has quit [Ping timeout: 272 seconds]
Rubennn_ has left #ruby-lang [#ruby-lang]
kain has quit [Ping timeout: 245 seconds]
Rubennn has joined #ruby-lang
DomKM has joined #ruby-lang
malev has quit [Read error: Connection reset by peer]
erpuds has joined #ruby-lang
malev has joined #ruby-lang
toretore has quit [Quit: Leaving]
carloslopes has joined #ruby-lang
malev has quit [Remote host closed the connection]
jxie has joined #ruby-lang
r0bby has joined #ruby-lang
beiter has quit [Quit: beiter]
krohrbaugh has joined #ruby-lang
celinedior has quit [Quit: celinedior]
runeb has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 256 seconds]
krohrbaugh has quit [Ping timeout: 252 seconds]
jxie has joined #ruby-lang
chrisledet has joined #ruby-lang
wallerdev has joined #ruby-lang
tylersmith has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
r0bby has quit [Read error: Connection reset by peer]
r0bby has joined #ruby-lang
shachaf has quit [Ping timeout: 256 seconds]
d_roge has joined #ruby-lang
adambeynon has joined #ruby-lang
shachaf has joined #ruby-lang
Gabri has joined #ruby-lang
kain has joined #ruby-lang
benwoody has joined #ruby-lang
shachaf has quit [Remote host closed the connection]
mistym_lunch is now known as mistym
mrsolo has joined #ruby-lang
benwoody has left #ruby-lang [#ruby-lang]
benwoody has joined #ruby-lang
<whitequark>
mbj: unparser? nah
<whitequark>
didn't work on it at all
intellitech has quit [Read error: Operation timed out]
Squarepy has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
intellitech has joined #ruby-lang
intellitech has quit [Changing host]
cored has quit [Ping timeout: 276 seconds]
breakingthings has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
cored has joined #ruby-lang
shachaf has joined #ruby-lang
znz_jp0 has quit [Ping timeout: 245 seconds]
<akahn>
I want to write a web service that receives streaming data -- what framework or tool should I use for this?
herbalist has joined #ruby-lang
shachaf has quit [Ping timeout: 240 seconds]
<mbj>
whitequark: Just saw "ruby rewrite" and thought you already had somethign like this.
cored has quit [Ping timeout: 268 seconds]
DavieW has joined #ruby-lang
DavieW has left #ruby-lang [#ruby-lang]
asunderland has joined #ruby-lang
<spike|spiegel>
akahn: not rails :)
<akahn>
yeah, I was wondering if this is possible with sinatra, or rack at all
<spike|spiegel>
I'd not touch anything ruby at all
<spike|spiegel>
(for streaming)
<yxhuvud>
I'm not certain why you would want a regular http server for that at all - they tend to be very focused at the request-response cycle.
cored has joined #ruby-lang
herbalist_ has joined #ruby-lang
<herbalist_>
hello
<herbalist_>
can someone help me?
<whitequark>
herbalist_: explain your problem.
<herbalist_>
i have this
<herbalist_>
def account.add_number #your code here end account.add_number
voker57 has quit [Remote host closed the connection]
<herbalist_>
and i need to write expression that adds two numbers
voker57 has joined #ruby-lang
<whitequark>
I guess this is homework
<herbalist_>
something like that
<herbalist_>
beginner exercises
<herbalist_>
when i write "number=2,3" it says that is 23 not 2 and 3
cored has quit [Read error: Connection reset by peer]
<mbj>
herbalist_: I'd suggest to try for yourself
workmad3 has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<mbj>
herbalist_: You'll learn faster if you go slower with the basics ;)
mbj has quit [Quit: leaving]
<herbalist_>
i tryed so many things and i never can get 2 and 3, its always 23, 2 or 3
herbalist has quit [Ping timeout: 245 seconds]
<herbalist_>
i dont have ideas anymore
<spike|spiegel>
then sleep
<herbalist_>
:)
<herbalist_>
id like help rather
<gjaldon>
herbalist_: what are you trying to get to?
<gjaldon>
your expected result is '2 and 3' from your account.add_number(2,3)?
<banisterfiend>
herbalist_: you tried so many things, but did you even follow a basic ruby tutorial or read the first few chapters of a ruby book?
<herbalist_>
it was excersise in my tutorial
<banisterfiend>
herbalist_: it's like absolute basic ruby that will be covered everywhere in the introductory material
<herbalist_>
i finished first few things
<herbalist_>
and now came to that
<herbalist_>
A method that does nothing is useless. How about a method to add two numbers? Here is a method to add numbers. Can you now write an expression to add 2 and 3 in the code editor?. Click on run button when complete and read the summary of this exercise.
<herbalist_>
def account.add_number
<herbalist_>
and im supposed to write my code below that line, before end
<herbalist_>
i wrote "number=2,3
<gjaldon>
that's basic addition, herbalist_
<gjaldon>
how do you add 2 numbers in ruby, herbalist_?
<athaeryn>
(or how do you add two numbers, period)
paul_ has left #ruby-lang [#ruby-lang]
dettoaltrimenti has joined #ruby-lang
<herbalist_>
not sure
<gjaldon>
just as athaeryn points out, it's the same way you do it everywhere
<herbalist_>
am i supposed to add, number = (2, 3) ?
<athaeryn>
Ruby is really simple and expressive and awesome that way. :)
<gjaldon>
just do addition
<whitequark>
is there a language where you can't do addition with infix or postfix notation
<whitequark>
(and by postfix I mean RPN)
<herbalist_>
wait, what i was just supposed to do 2 + 3
carloslopes has joined #ruby-lang
<herbalist_>
i thought it wants me to write 2 and then 3
<athaeryn>
whitequark: whitespace ;)
herbalist_ has quit [Quit: Page closed]
<whitequark>
athaeryn: esoteric don't count
<athaeryn>
whitequark: gah, fine. I was talking about how ruby just returns the last expression, so you can literally just write '2 + 3' if that's what you want your function to do.
totallymike has quit [Quit: WeeChat 0.4.0]
<whitequark>
athaeryn: ah.
<athaeryn>
whitequark: though there may be other languages like that, idk
<whitequark>
athaeryn: lisp, ocaml, haskell
<whitequark>
or, just ml generally
<athaeryn>
for some reason I expected lisp to be in that list...
forrest has joined #ruby-lang
<ericwood>
lithp
marr has joined #ruby-lang
<whitequark>
ericwood: why do you call it dat
<whitequark>
I don't get the joke if any
<ericwood>
it's saying "lisp" with an actual lisp
<ericwood>
"lithhp"
jaimef has quit [Quit: Emacs must have died]
<ericwood>
I'm funny, damnit!!!!
<Mon_Ouie>
A lisp is a speech disorder as well as a programming language
glebm has quit [Quit: Computer has gone to sleep.]
sepp2k has joined #ruby-lang
erpuds has quit [Quit: erpuds]
workmad3 has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
AndChat| has quit [Ping timeout: 272 seconds]
glebm has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
dettoaltrimenti has quit [Ping timeout: 258 seconds]
jkline has joined #ruby-lang
erpuds has joined #ruby-lang
dettoaltrimenti has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
r0bby has quit [Ping timeout: 248 seconds]
swav has joined #ruby-lang
delqn has joined #ruby-lang
delqn is now known as bedouin
mistym is now known as god
god is now known as mistym
Banistergalaxy has quit [Ping timeout: 258 seconds]
gjaldon has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby-lang
workmad3 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
<jkline>
I have a gemspec file with Gem::Specification.new do |spec| … etc. I would like to load that file in irb and inspect the specification object. How can I do that?
krohrbaugh has joined #ruby-lang
symm- has joined #ruby-lang
thorncp has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
<zzak>
but im setting it up so i can work remotely too, esp when traveling
<zzak>
the mba was a no-brainer for that
wminor has left #ruby-lang [#ruby-lang]
<zzak>
it just doesnt compare to a 16gig quad core workstation with linux tho
<ddfreyne>
I’ve been meaning to give a Linux desktop (or laptop) a try, but it hasn’t been a success yet.
<zzak>
i built mine for around $500
plusk has quit [Quit: plusk]
<zzak>
thats with additional ram and vga
<zzak>
so you can go cheaper and nice part about building is its easy/cheap to upgrade
<zzak>
ddfreyne: are you going to arrrrcamp?
<ddfreyne>
zzak: When’s that?
* ddfreyne
googles
<zzak>
october
justinram has joined #ruby-lang
<ddfreyne>
zzak: I still live in Ghent, but I’m moving to Berlin on May 20th, so no
<zzak>
:(
<ddfreyne>
I haven’t been to arrrrcamp in a few years… I attended the beginning though (and even gave talks) when it was free
<ddfreyne>
But once it became paid, I couldn’t really afford going anymore (and my employer wouldn’t pay for it)
justinram has quit [Remote host closed the connection]
blacktulip has quit [Remote host closed the connection]
<zzak>
ive never been!
<ddfreyne>
Ghent is a really cool city though :)
<ddfreyne>
ask khaase!
geopet has joined #ruby-lang
sailias1 has quit [Ping timeout: 272 seconds]
justinram has joined #ruby-lang
<zzak>
hes lame
<zzak>
theres probably another conference that week ive never heard of
yfeldblum has quit [Ping timeout: 245 seconds]
znz_jp has quit [Ping timeout: 245 seconds]
ehutzelman has joined #ruby-lang
GeissT_ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
znz_jp has joined #ruby-lang
swav_ has joined #ruby-lang
GeissT has quit [Ping timeout: 240 seconds]
swav has quit [Ping timeout: 258 seconds]
wmoxam has quit [Quit: leaving]
Mellett68 has joined #ruby-lang
Mellett68_ has quit [Ping timeout: 240 seconds]
<ddfreyne>
I’ve never been to a paid Ruby conference!
<ddfreyne>
But I suppose that I’ll get the chance in berlin :D
mucker has quit [Quit: leaving]
<rue>
No, all the good ones are on the other side of the wall.
outoftime has quit [Quit: Leaving]
<erikh>
zzak: you can get 16GB retina laptops these days
alessio_rocco has quit [Remote host closed the connection]
<zzak>
erikh: but i dont want to lug around a $2k laptop that weighs 5 pounds either
<erikh>
they're actually quite light
<erikh>
and 5lbs, what are you, an insect?
<erikh>
I think my backpack is heavier than the laptop
glebm has quit [Ping timeout: 252 seconds]
<zenspider>
zzak: what talk would you like me to do at windy city rails? I need ideas
glebm has joined #ruby-lang
<zzak>
erikh: what is this a school for ants?
breakingthings has quit []
<geopet>
Hello!
<geopet>
I have a simple, and silly question about Rdoc formatting.
<erikh>
zzak: they can lift a thousand times their body weight.
<erikh>
zzak: laptops for ants!
<geopet>
I want to reference a method in another class, is there a simple way of doing that?
<erikh>
geopet: Foo#method
<erikh>
*should* work. I haven't had issues with it as far as I can remember.
<geopet>
erikh: When I `rdoc -o` I'm not getting a link to that method. I'm assuming that's only because I'm not producing the rdoc for all the doc files, right?
<erikh>
probably
<zzak>
zenspider: im probably not going since cfp is closed, but ill watch the recordings
<geopet>
so if I did something like JSON#pretty_generate in my doc file then that will link to the pretty_generate method in the JSON class when the full documentation is built?
<erikh>
if you've provided docs for that method as well
<r0bglees0n>
geopet: no, because JSON is outside your project and in the stdlib.
<erikh>
^
<geopet>
Ah!
<geopet>
I should explain… I'm trying to do a small change to some ruby-lang documentation.
<geopet>
But thank you for your help. :D
stevechiagozie has quit [Quit: Computer has gone to sleep.]
Gabri has quit [Remote host closed the connection]
randallagordon has quit [Ping timeout: 264 seconds]
<zzak>
zenspider: talk about how you manage all those projects at once
<zzak>
geopet: awesome!
<zzak>
geopet: yeah just do something like
<zzak>
rdoc -o ppdocs lib/pp* ext/json*
randallagordon has joined #ruby-lang
<geopet>
zzak: Thought I'd do that PP update today while I had the time and figured I'd remark on JSON#pretty_generate while I was at it. :)
<geopet>
Oh!
<geopet>
That's perfect. Thank you!
dhruvasagar has quit [Ping timeout: 252 seconds]
<zzak>
rdoc only knows about stuff you give it when generating
<zzak>
if that makes sense
malev has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
<geopet>
zzak: That was totally the command I needed. Thank you!
<zenspider>
catching up...
<geopet>
It was taking a rather long time to generate the rdoc for all of the ruby documentation. :)
<jkline>
I'm building rpm packages using gem2rpm as my own user. The resulting rpm installs into my home directory because it uses a base-dir from Gem.dir, which is in my home directory. Is there a way to ask Gem for the system gem directory without asking as root?
srbaker has quit [Quit: Computer has gone to sleep.]
ehutzelman has quit [Remote host closed the connection]
<geopet>
zzak: Would you like me to ask questions in the documenting-ruby repo issue I created, or here? I don't want to add noise where it isn't wanted.
MaddinXx has quit [Remote host closed the connection]
<zzak>
geopet: the issue
<zzak>
im leaving in a few
enebo has quit [Quit: enebo]
tbuehlmann has quit [Remote host closed the connection]
<zzak>
or send me an email zachary@zacharyscott.net
<geopet>
zzak: Will do. Thanks!
francisfish has quit [Remote host closed the connection]
rwk1 has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
rwk1 has quit [Ping timeout: 276 seconds]
geopet has quit [Quit: geopet]
r0bby has joined #ruby-lang
athaeryn has quit [Remote host closed the connection]
srbaker has joined #ruby-lang
babinho has quit [Ping timeout: 240 seconds]
agarie has joined #ruby-lang
skade has joined #ruby-lang
fosky has joined #ruby-lang
mistym has quit [Remote host closed the connection]
wyhaines has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
erpuds has quit [Quit: erpuds]
gjaldon has joined #ruby-lang
vlad_starkov has joined #ruby-lang
r0bby_ has joined #ruby-lang
rwk1 has joined #ruby-lang
babinho has joined #ruby-lang
r0bby has quit [Ping timeout: 258 seconds]
asunderland has quit [Ping timeout: 252 seconds]
gjaldon has quit [Remote host closed the connection]
sepp2k1 has joined #ruby-lang
Asher has quit [Quit: Leaving.]
sepp2k has quit [Ping timeout: 256 seconds]
rwk1 has quit [Ping timeout: 252 seconds]
r0bby_ has quit [Ping timeout: 258 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mbj_ has quit [Ping timeout: 245 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
agarie has quit [Read error: Connection reset by peer]
agarie has joined #ruby-lang
AndChat| has joined #ruby-lang
tsion has joined #ruby-lang
tsion has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
jstemmer has quit [Remote host closed the connection]
justinram has quit [Remote host closed the connection]
breakingthings has joined #ruby-lang
tarruda has joined #ruby-lang
kain has quit [Quit: exit]
Asher has joined #ruby-lang
gearaholic has joined #ruby-lang
rwk1 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
athaeryn has joined #ruby-lang
rwk1 has quit [Ping timeout: 258 seconds]
tarruda has quit [Quit: leaving]
tarruda has joined #ruby-lang
josxn has joined #ruby-lang
mrfelix has quit [Quit: Computer has gone to sleep.]
jovy88 has quit [Read error: Connection reset by peer]
randallagordon has quit [Ping timeout: 260 seconds]