<shevy>
so your example of hdds = outside the loop
<shevy>
should work fine
kobain has quit [Ping timeout: 244 seconds]
<shevy>
btw another thing
<shevy>
if parent_hdd = valid_sub_hdd(hdd)
<shevy>
are you sure you want to do an assignment and not == comparison?
razrunel_ has quit [Ping timeout: 244 seconds]
<fraterlaetus>
yes
<fraterlaetus>
in that case
<shevy>
hmm
<fraterlaetus>
it was intentional
<shevy>
i may be wrong but
<shevy>
how is the else clause run in that part?
<fraterlaetus>
so that valid_sub_hdd should return true if sda and sda1 are both detected
<shevy>
only when nil is returned, or?
<shevy>
I hate assignments on the same line as if conditionals
<fraterlaetus>
and add it to @sib_hdds
chipotle has quit [Quit: cya]
<shevy>
can't you move it one line above, and then just check the variable for its boolean value
Waheedi has joined #ruby
hiyosi has quit [Ping timeout: 265 seconds]
<shevy>
in ruby, if checks can often be as pretty as:
<shevy>
if flag
<shevy>
do_this
<shevy>
else
<shevy>
do_that
<bilbo_swaggins>
or even
<bilbo_swaggins>
do_this with_this if this
<shevy>
yeah
gregf has quit [Quit: WeeChat 0.4.3]
<fraterlaetus>
hmm
shadoi1 has joined #ruby
<bilbo_swaggins>
see ya later, gangsters
yfeldblum has quit [Read error: Connection reset by peer]
bilbo_swaggins has quit [Remote host closed the connection]
<fraterlaetus>
I'll have to research how to do that. I've done a lot of reading today, and it seemed like that was the recommended method.
yfeldblum has joined #ruby
<shevy>
to do assignments next to if checks?
mlpinit has joined #ruby
<shevy>
well anyway, as long as it works and you understand it
predator217 has joined #ruby
bthesorceror has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
<shevy>
so where does the script not work
YamakasY has joined #ruby
bricker_ has quit [Quit: leaving]
<shevy>
btw fraterlaetus do you know pp yet?
<fraterlaetus>
it doesn't seem to like like 46
<shevy>
it pretty prints big complicated data structures in a nicely formatted way
<fraterlaetus>
pp
<fraterlaetus>
is it like inspect?
<shevy>
well
<shevy>
yeah but nicer
<shevy>
you must do require 'pp' before you can use it though
<shevy>
at the top of your script
<fraterlaetus>
so I could do table.b
<fraterlaetus>
adding to check it out now
<shevy>
once you finished debugging, you can remove pp again
<fraterlaetus>
:)
<shevy>
anyway
<shevy>
this line is: hdd_candidate.name.include?(hdd.name)
<shevy>
you invoke a method called #name here
<shevy>
are you sure that both these objects have such a method defined?
kerframil has quit [Ping timeout: 240 seconds]
arubin has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
<fraterlaetus>
checking
mikepack has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 264 seconds]
<fraterlaetus>
the hdd class has a name
<fraterlaetus>
and I'm passing an hdd to hdd_candidate
gregf has joined #ruby
<shevy>
ok so you confirm thatn both hdd_candidate and hdd have a method called #name
YamakasY has quit [Ping timeout: 240 seconds]
james_d_h has joined #ruby
<shevy>
what is the specific error message?
srji has joined #ruby
<fraterlaetus>
hdd_candidate is just a variable
<fraterlaetus>
I'll paste in the gist
<shevy>
well yeah but it is an object too, it can do fancy things, in your example you invoke #name on it which is a pretty non-default method, so I trust you have defined it
Saimey has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
<shevy>
you can check if an object responds to a metho via .respond_to? :name_of_method_goes_in_here
<shevy>
*method
<shevy>
:(
<shevy>
it's getting late here ... my typing skills get worse and worse
smathieu has joined #ruby
stringoO has quit [Quit: stringoO]
<fraterlaetus>
Well, have an old fashioned on me, and get some shut eye man!
<fraterlaetus>
thank you for your help!
* fraterlaetus
pours you an e-drink
srji_ has quit [Ping timeout: 252 seconds]
Bira has quit []
<shevy>
\o/ remember to try and keep the code as simple as possible when possible
evenix has joined #ruby
<fraterlaetus>
First I must learn to strike the ball
<fraterlaetus>
then I will learn to get on the green with fewer strokes.
<Rober9393>
Hi, i want to use dotenv shell command interpolation, but I seems like it does not work in my ubuntu 12.04 vm, where should i look ?
<fraterlaetus>
:)
shinobi_one has quit [Quit: shinobi_one]
sparrovv has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
<Weird_Trick>
WARNING: Politicians in Washington are secretly plotting to reduce your social security payouts drastically. And they want to do it soon. Meanwhile, food stamp payouts have doubled under the Obama administration. That's shocking. So when we stumbled upon a weird trick, that could add up to $1,000 monthly to your social security checks, we knew we had to share it with you. Go to www.mybenefits511.com for more info.
Weird_Trick has quit [Killed (idoru (Spam is off topic on freenode.))]
fgo has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
<shevy>
Oog hmm not sure I have ever seen that
<itadder>
what
<itadder>
I think you got wrong channel
<itadder>
LOL
Rober9393 has quit [Client Quit]
<itadder>
shevy: janestreet capital is were I want to work at
<itadder>
anyways they got a power machine 32 gigs of ramn 12 core xeon
NalloK has quit [Max SendQ exceeded]
<itadder>
havenwood: ahh thanks
<itadder>
you rock
CorySimmons has joined #ruby
<havenwood>
itadder: no prob ;)
<shevy>
lol
<itadder>
I am such a nerd, simple thigns make me happy
<shevy>
so this is what havenwood is doing
<shevy>
random scripts for people
<itadder>
plus the one asian girl who does R all day in her office is pretty nice
meatherly has joined #ruby
<shevy>
havenwood write me a script that fills my brain with all knowledge available of R please
renderful has quit [Remote host closed the connection]
<itadder>
She calls me directly yesterday, asking about the size of the new monitors.
axl_ has joined #ruby
<itadder>
I told her to ask the support team to upgrade her to three 23 inch monitors
<shevy>
three monitors
<shevy>
does she have like 6 eyes
<itadder>
she can't fit more
Fyyr13_ has quit [Ping timeout: 240 seconds]
<itadder>
She realy has no need, but the company is upgrading people this quater
<itadder>
last chance
<itadder>
right now she has two 19 inch screens, this is a upgrade
cashnguns has quit [Remote host closed the connection]
<itadder>
anyways she got her own office now, that is so uber cool... She can code all day and answer emails and avoid others :(
<itadder>
I wish I could do that
<itadder>
shevy: did you matlab in college
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
<itadder>
When I took calculus 1 and 2, our school required we use matlab for two assigments.
binw has joined #ruby
<itadder>
it was part of 101 courses for Math and eng student to take a matlab course
ephemerian has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
troyready has quit [Quit: Leaving]
<itadder>
havenwood: again thanks
fgo has quit [Remote host closed the connection]
<itadder>
let me run this code and figure out the lgoic
<havenwood>
itadder: updated it to remove Rational fail >.>
renderfu_ has joined #ruby
guilleiguaran has quit [Quit: Connection closed for inactivity]
<havenwood>
thought for a second a Rational would look nice, then realized how much that won't work :P
NalloK has joined #ruby
<shevy>
itadder I never did matlab
bradhe has quit [Remote host closed the connection]
NalloK has quit [Max SendQ exceeded]
itamaryu has quit [Quit: Connection closed for inactivity]
<itadder>
oh I had a old school ex navy seal calculus teacher LOL
<itadder>
He said just hand in anything and i will say it was done
<itadder>
He said I have no clue I am not a programmer. LOL he was civial eng by trade and teacher by night
<atmosx>
gonna grab stephenson's quicksilver and crash to bed. Later all :-)
<itadder>
my calculus 2 professor was like all over this, and said he would graded carefully.. All they wanted was the source code and a graph, but most people just copied the source code..
toretore has quit [Quit: This computer has gone to sleep]
<itadder>
what attr_reader is that attirbute reader
tastycakeman has joined #ruby
<tastycakeman>
hello, i have question on how to multiply two arrays and get an array of the products
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tastycakeman>
with two arrays of different lengths, wanting to filter based on if keys match
<tastycakeman>
ive searched all over and no luck :( i am ruby nooby
<centrx>
Your question is not well-defined.
<tastycakeman>
[[a, 1], [b, 2]] * [[a,1], [b,4]]
Mongey has joined #ruby
<tastycakeman>
returns [1, 8]
<tastycakeman>
does that make sense?
devyn has quit [Remote host closed the connection]
<centrx>
a and b are ignored?
<tastycakeman>
yup
baroquebobcat has joined #ruby
<tastycakeman>
but it checks to see if a and b match
<tastycakeman>
while traversing through the arrays
pothibo has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
yubrew has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
<shevy>
hehe
Solnse has joined #ruby
snath has joined #ruby
CorySimmons has quit [Quit: Zzz...]
Es0teric has quit [Ping timeout: 265 seconds]
zcreative has quit [Quit: Computer has gone to sleep.]
bthesorceror has quit [Ping timeout: 240 seconds]
dik_dak has quit [Quit: Leaving]
razrunelord has quit []
yubrew has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
saarinen has quit [Quit: saarinen]
Es0teric has joined #ruby
<Rober9393>
Hi, I'm trying to get dotenv to executing interpolated commands in a docker container. The code is pretty straightforward, a cant seems to understrand why it is not working.
Spami has quit [Quit: This computer has gone to sleep]
<Ox6abe>
I have a rake file runs 'ruby src/file.rb somefile.txt' but in the script it is not finding the file ... Any ideas?
renderfu_ has quit [Remote host closed the connection]
<Ox6abe>
rakefile that runs*
<Ox6abe>
in the script ARGV.first is somefile.txt but I am getting a load error when I call File.readlines
<shevy>
Ox6abe can you pastie the code
Hanmac has quit [Ping timeout: 252 seconds]
<Ox6abe>
sure
<shevy>
also I would use: if File.exist? before trying to use File.readlines
<Ox6abe>
let me try that
njection has joined #ruby
<shevy>
and when the file was not found, display what is instead displayed
momigi has quit [Ping timeout: 264 seconds]
<shevy>
it is rarely a good idea to use ARGV.first directly; I would use a method instead, and work on the input given to that method
<shevy>
*display what is instead found
dseitz has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
<kennym>
given that Ruby 2.x (MRI) provides apparently good support for threads, can you recommend an event library/framework which makes use of those capabilities?
<platzhirsch>
How do I test file objects, I could use StringIO, right?
sarmiena_ has quit [Quit: sarmiena_]
devyn has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has quit [Remote host closed the connection]
zcreative has joined #ruby
<platzhirsch>
shevy: wake up
mercwithamouth has quit [Ping timeout: 240 seconds]
<platzhirsch>
Dude, you cannot fall at sleep all the time in front of a computer
<kennym>
platzhirsch: test them for what?
<platzhirsch>
kennym: mh, just .read
<platzhirsch>
yeah I meant that's waht StringIO was built for
<platzhirsch>
Built to spill
markisonfire has quit [Quit: markisonfire]
CorySimmons has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
thomasxie has joined #ruby
lutfidemirci has quit [Remote host closed the connection]
chipotle has joined #ruby
lutfidemirci has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
Oog has quit []
axsuul has joined #ruby
havenwood has joined #ruby
axsuul has quit [Max SendQ exceeded]
Spami has joined #ruby
axsuul has joined #ruby
rootshift_ has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
amclain has joined #ruby
axsuul has quit [Max SendQ exceeded]
<shevy>
platzhirsch I have no idea, I never had to test file objects before
<platzhirsch>
This is outrageous
* platzhirsch
shakes the channel corners
Hanmac has joined #ruby
<shevy>
platzhirsch I am rewriting class Extracter right now; there was some bug I added, debugging takes too long and is too painful so I must rewrite
bthesorceror has joined #ruby
axsuul has joined #ruby
<platzhirsch>
nice, refactoring
axsuul has quit [Max SendQ exceeded]
Shidash has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
mary5030 has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
<shevy>
:(
<shevy>
I hate that
<shevy>
I need to write code so that I never have to do any kind of refactoring or rewriting again
<centrx>
Ask bad questions, get bad answers.
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rankine has joined #ruby
<ceej>
I'm trying to understand threads a bit better right now I have https://gist.github.com/45f990ddc7d1e6cdc3d4 (which I know isn't correct) I'm basically trying to get what is in the second thread to run before what's at the button of the outer thread gets run
james_d_h has joined #ruby
ndrei has joined #ruby
<Ox6abe>
Fixed it ... Thanks guys
havenwood has quit [Read error: Connection reset by peer]
<Ox6abe>
and girls ...
<platzhirsch>
shevy: I think rewriting is the core, also in literature or when writing texts
Krajsnick has joined #ruby
<Rober9393>
I'm trying to get dotenv to executing interpolated commands in a docker container. dotenv code is pretty straightforward, a cant seems to understrand why it is not working.
havenwood has joined #ruby
sailias has joined #ruby
renderful has joined #ruby
pu22l3r has joined #ruby
mwmnj has joined #ruby
chrisramon has joined #ruby
zacts has joined #ruby
CreativeEmbassy has joined #ruby
Krajsnick has quit [Ping timeout: 240 seconds]
bry4n_ has joined #ruby
Rober9393 has quit [Quit: Computer has gone to sleep.]
mgomezch has quit [Ping timeout: 265 seconds]
griffindy has joined #ruby
senayar_ has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
<itadder>
oh wow I feel alssep
<itadder>
took a small nap
momigi has joined #ruby
<platzhirsch>
itadder: woot
<platzhirsch>
I nap to, in the morning. First thing I do before I get up
<platzhirsch>
too
NalloK has joined #ruby
danshultz has joined #ruby
toastynerd has joined #ruby
bry4n_ has quit [Ping timeout: 264 seconds]
<itadder>
so what new
jxf has quit [Ping timeout: 240 seconds]
griffindy has quit [Client Quit]
NalloK has quit [Max SendQ exceeded]
<shevy>
is there a way to send a specific signal by code?
senayar has quit [Ping timeout: 240 seconds]
<platzhirsch>
itadder: not much, I used IOString to test a class which deals with file objects
<itadder>
cool
<platzhirsch>
mh, yes I reckon so
<shevy>
I know you can trap them like via Signal.trap('SIGINT'), no idea how to invoke a specific signal
michael_lee has joined #ruby
<platzhirsch>
shevy: maybe with exit(code) ? :|
alexju has quit [Remote host closed the connection]
<arubin>
RubyPanther: Every time a FP advocate complains about procedural programming without offering any actual advice, no one learns anything, and they continue to write procedural code.
NalloK has quit [Max SendQ exceeded]
Nyyx has quit [Ping timeout: 252 seconds]
<centrx>
In this case, it's not even object-oriented code
sparrovv has joined #ruby
<arubin>
centrx: Well, I assume that he wants zorak to use a FP construct instead of a while loop.
<zorak>
relax, this is juts like mi first hundren lines of code
sepp2k has quit [Read error: Connection reset by peer]
rezzack has quit [Ping timeout: 240 seconds]
<zorak>
didn't even now what FP means
<RubyPanther>
arubin: luckily in Ruby we use OO not FP
<arubin>
RubyPanther: Then perhaps I was mistaken about your complaint.
mlpinit has joined #ruby
<RubyPanther>
If you're using Perl, procedural style isn't even bad.
evenix has quit [Remote host closed the connection]
evenix has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
zrl__ is now known as zrl
sparrovv has quit [Ping timeout: 265 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
joelroa has joined #ruby
r0bby has quit [Ping timeout: 245 seconds]
xjiujiu has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
brady2600 has joined #ruby
renderful has quit [Remote host closed the connection]
evenix has quit [Ping timeout: 264 seconds]
renderful has joined #ruby
Mongey has quit [Quit: Mongey]
jetblack has joined #ruby
seggy has joined #ruby
ZoanthusR has joined #ruby
paolooo has quit [Ping timeout: 245 seconds]
agarie_ has quit [Quit: Leaving...]
axsuul has joined #ruby
<zorak>
thans guys and girls, i think im going to bed now
<zorak>
cya tomorrow
sindork_ is now known as sindork
sindork has quit [Changing host]
sindork has joined #ruby
mikepack has joined #ruby
mikepack_ has joined #ruby
Jetchisel has quit [Ping timeout: 252 seconds]
Vovko has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<havenwood>
brady2600: Though it might be mechanize that best suits your task, you'd have to say more: http://mechanize.rubyforge.org/
<arubin>
brady2600: Watir is a popular option for that.
Krajsnick has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
<brady2600>
nice. thanks for the recommendations on that. Thats something I've been wondering how to do for quite some time. I found a java library that does that but was wondering if there were other options.
<havenwood>
brady2600: lots of nice options in Ruby ;)
joelteon has quit [Changing host]
joelteon has joined #ruby
<arubin>
brady2600: There are Selenium libraries in most popular languages.
jaimef has quit [Ping timeout: 264 seconds]
<brady2600>
I guess ruby is interpreted and not compiled?
<arubin>
Oh no.
<arubin>
Now you have done it.
NalloK has joined #ruby
pu22l3r has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
<brady2600>
lol am I unknowingly asking an antagonistic question
NalloK has quit [Max SendQ exceeded]
axl_ has joined #ruby
<RubyPanther>
brady2600: No, Ruby is clearly interpreted. Except mRuby it gets blurry with compiled bytecode.
Xuerian has quit [Read error: Operation timed out]
bthesorceror has quit [Remote host closed the connection]
pu22l3r has joined #ruby
shadoi1 has quit [Quit: Leaving.]
bthesorceror has joined #ruby
<brady2600>
is there a virtual machine or is that just a java thing?
yubrew has joined #ruby
mwmnj has quit [Ping timeout: 244 seconds]
Nyyx has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
<arubin>
Assuming that you are referring to the MRI implementation.
marienz has joined #ruby
toastynerd has joined #ruby
platzhirsch has left #ruby [#ruby]
<bnagy>
all interpreters use a VM afaik
<bnagy>
like the major implementations are MRI ( reference ) JRuby, Rubinius
bthesorceror has quit [Ping timeout: 244 seconds]
Jetchisel has joined #ruby
<bnagy>
which all include a VM somewhere
<arubin>
bnagy: What about MacRuby?
<bnagy>
didn't know anybody used it :/
<arubin>
Or its cousin, RubyMotion.
yubrew has quit [Ping timeout: 240 seconds]
agjacome has quit [Ping timeout: 265 seconds]
<bnagy>
oh, macruby is on LLVM anyway
renderful has quit [Remote host closed the connection]
<bnagy>
although llvm is, uh, lower level ( hence the name )
Es0teric has quit [Quit: Computer has gone to sleep.]
<brady2600>
well i mean, when you go to a java site, you'll need the vm, but I've never had to install a ruby vm so I was wondering whats up with that. I guess its executed server side?
BackEndCoder has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
timonv has joined #ruby
<bnagy>
a VM can be lots of things
<arubin>
brady2600: It is not a separate piece in Ruby.
havenwood has joined #ruby
<bnagy>
basically it's just a processor abstraction that runs its own instruction set
<bnagy>
so "MRI" has a roll-their-own one which runs their own ruby bytecode
<brady2600>
i see the qtbindings and wxruby, so I guess you can make whole gui applications with it.
<bnagy>
jruby emits for JVM, rubinius emits LLVM which gets compiled to native code
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
<bnagy>
you can, but it's not particularly common from what I see ( full ruby gui apps )
Salve has joined #ruby
<brady2600>
jruby, pardon me if I sound like an ass but why would somone learn ruby , to in turn, run it in the jvm?
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
timonv has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
<bnagy>
you write ruby, how the computer runs it is not usually your primary concern as a programmer
shadoi has quit [Quit: Leaving.]
jaimef has joined #ruby
<arubin>
brady2600: In some cases it can provide greater performance. In other cases one might work at a Java shop and wish to use a different language, but still require Java interop.
<bnagy>
but ( IN MOST PEOPLE'S OPINION ) the JVM is a much better vm than YARV
Ox6abe has quit [Remote host closed the connection]
Lucky_Red has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
<bnagy>
either way exactly the same ruby source should run on all interpreters
Guest9754 has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
toastynerd has quit [Remote host closed the connection]
rezzack has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
pu22l3r has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
decoponio has quit [Quit: Leaving...]
kyle__ has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
toastynerd has joined #ruby
axl_ has quit [Quit: axl_]
mgomezch has joined #ruby
kitak has joined #ruby
Xiti has quit [Quit: Leaving]
casheew has quit [Read error: Connection reset by peer]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
casheew has joined #ruby
xjiujiu has joined #ruby
kennym has quit [Quit: Leaving.]
achru has joined #ruby
paulfm has quit []
zcreative has joined #ruby
sigurding has joined #ruby
mlpinit has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
reactormonk has left #ruby ["WeeChat 0.4.1"]
Hanmac1 has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
brady2600 has left #ruby [#ruby]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Hanmac has quit [Ping timeout: 244 seconds]
xjiujiu has joined #ruby
eMBee has joined #ruby
<eMBee>
good afternoon
Fyyr13_ has joined #ruby
<eMBee>
how do i install a gem that builds bindings for a library in a nonstandard location?
toastynerd has quit [Remote host closed the connection]
meatherly has quit [Remote host closed the connection]
<MrSamuel>
Hi, I'm writing a custom container for file paths which include the root directory from which the paths are relative too, and this container includes Enumerable - is there any way to change the behaviour of the Enumerable mixin to not return arrays, but instances of my custom collection class instead?
meatherly has joined #ruby
longbynight has joined #ruby
sski has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
<MrSamuel>
basically, I want a custom array type
<centrx>
inherit from Array?
<MrSamuel>
I want the methods defined in Enumerable to use it
yubrew has quit [Ping timeout: 265 seconds]
meatherly has quit [Ping timeout: 240 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
<centrx>
MrSamuel, For every object in your program?
<MrSamuel>
I want my_custom_list.collect{...} to return a new instance of CustomContainer not Array.
<centrx>
Possibly use Refinements
<pipework>
Sounds like you need to make collect not do what it already does. I'd caution you to mind LSP.
koell has quit [Quit: So say we all!]
koell has joined #ruby
<MrSamuel>
pipework: Yeah perhaps, I guess if you have a custom container and you do "collect" you'd possibly expect an instance of the custom container back
aryaching_ has quit [Ping timeout: 252 seconds]
<MrSamuel>
Probably it can be argued both ways
razrunelord has joined #ruby
larsam has joined #ruby
culturelabs has joined #ruby
<eMBee>
bnagy: the problem i have is that i have the library in my home directlry (installed locally without root) so it is not in the path. how do i add to the path?
cover has quit [Ping timeout: 264 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Salve has joined #ruby
xjiujiu has joined #ruby
vlad_starkov has joined #ruby
Hanmac has joined #ruby
longbynight has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 240 seconds]
Salve has quit [Ping timeout: 265 seconds]
vlad_starkov has quit [Ping timeout: 244 seconds]
Fyyr13_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
gnephiak has joined #ruby
razrunelord has quit [Remote host closed the connection]
benlieb has joined #ruby
echevemaster has joined #ruby
razrunelord has joined #ruby
MrSamuel has quit [Quit: MrSamuel]
mikepack_ has quit [Remote host closed the connection]
Weems is now known as DrKinsey
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
hermanmu_ has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
xjiujiu has joined #ruby
razrunelord has quit [Ping timeout: 265 seconds]
bthesorceror has joined #ruby
kewubenduben has quit [Ping timeout: 240 seconds]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snuffeluffegus has joined #ruby
mlpinit has joined #ruby
tvw has joined #ruby
DrKinsey is now known as HugoChafez
NalloK has joined #ruby
mlpinit has quit [Ping timeout: 265 seconds]
NalloK has quit [Max SendQ exceeded]
joelroa has joined #ruby
HugoChafez is now known as HillaryCliton
hermanmunster has joined #ruby
HillaryCliton is now known as LeifEriDickson
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
lutfidemirci has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
LeifEriDickson is now known as TheBlackTaint
TheBlackTaint is now known as weems
kate_r has joined #ruby
<RubyPanther>
eMBee: normally you would have to go to the unpacked gem directory, and run extconf.rb with some options... depending on the gem. Or, sometimes you can just set the LD_LIBRARY_PATH env variable to your library location: LD_LIBRARY_PATH=/my/lib/dir gem install foo
Hobogrammer has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
mikepack has quit [Remote host closed the connection]
zcreative has quit [Quit: Computer has gone to sleep.]
quatron has joined #ruby
yubrew has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
davedev24 has quit [Remote host closed the connection]
xjiujiu has joined #ruby
Krajsnick has joined #ruby
whowantstolivef1 has joined #ruby
craigp has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 265 seconds]
yeticry has quit [Quit: leaving]
Hanmac has joined #ruby
DrCode has quit [Ping timeout: 265 seconds]
toastynerd has joined #ruby
timonv has joined #ruby
Krajsnick has quit [Ping timeout: 244 seconds]
NalloK has joined #ruby
NalloK has quit [Max SendQ exceeded]
thomasxie has joined #ruby
craigp has joined #ruby
koell has quit [Read error: Connection reset by peer]
thomasxie has left #ruby [#ruby]
mrdtt_ has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
Macaveli has joined #ruby
snuffeluffegus has joined #ruby
lolmaus_ has joined #ruby
bthesorceror has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 265 seconds]
amritanshu_RnD has joined #ruby
rezzack has quit [Quit: Leaving.]
frogsy has joined #ruby
amritanshu_RnD is now known as Guest85782
claymore has joined #ruby
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
lmickh has joined #ruby
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
absolutezeroff has joined #ruby
NalloK has joined #ruby
NalloK has quit [Max SendQ exceeded]
ktosiek has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
yasushi has joined #ruby
benlieb has quit [Quit: benlieb]
yasushi has quit [Remote host closed the connection]
Salve has joined #ruby
Hanmac1 has joined #ruby
momigi has quit [Remote host closed the connection]
momigi has joined #ruby
NalloK has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
NalloK has quit [Max SendQ exceeded]
Salve has quit [Ping timeout: 244 seconds]
nari has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
momigi has quit [Ping timeout: 244 seconds]
Shidash has quit [Ping timeout: 244 seconds]
xjiujiu has joined #ruby
evenix has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
Guest9754 has quit [Quit: Connection closed for inactivity]
achru has joined #ruby
meatherly has joined #ruby
strider24 has joined #ruby
nfk has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
tectonic has joined #ruby
xjiujiu has joined #ruby
markisonfire has joined #ruby
mlpinit has joined #ruby
meatherly has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
klaut_ has joined #ruby
sigurding has quit [Quit: sigurding]
ViciousPlant has joined #ruby
poguez has quit [Quit: Connection closed for inactivity]
yarou has quit [Remote host closed the connection]
thomasxie has joined #ruby
strider24 has quit [Ping timeout: 240 seconds]
mlpinit has quit [Ping timeout: 240 seconds]
ViciousPlant has quit [Read error: Connection reset by peer]
echevemaster has quit [Quit: Leaving]
evenix has quit [Remote host closed the connection]
achru has quit [Remote host closed the connection]
klaut_ has quit [Remote host closed the connection]
strider24 has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
evenix has quit [Ping timeout: 264 seconds]
randomnick_ has joined #ruby
yubrew has joined #ruby
quatron has quit [Ping timeout: 240 seconds]
quatron_ has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
quatron_ is now known as quatron
NalloK has joined #ruby
ayaz has joined #ruby
NalloK has quit [Max SendQ exceeded]
yubrew has quit [Ping timeout: 265 seconds]
yacks has quit [Ping timeout: 244 seconds]
skaflem has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
mostlybadfly has joined #ruby
toastynerd has joined #ruby
Lewix has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
yeticry has joined #ruby
deadlock has joined #ruby
xjiujiu has joined #ruby
NalloK has joined #ruby
NalloK has quit [Max SendQ exceeded]
decoponio has joined #ruby
CorySimmons has joined #ruby
ViciousPlant has joined #ruby
ViciousPlant has quit [Max SendQ exceeded]
m104 has quit [Quit: brb]
ViciousPlant has joined #ruby
ViciousPlant has quit [Max SendQ exceeded]
timonv has joined #ruby
m104 has joined #ruby
amclain_ has joined #ruby
yacks has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
makara has joined #ruby
Es0teric has joined #ruby
CorySimmons has quit [Ping timeout: 240 seconds]
NalloK has joined #ruby
randomnick_ has quit [Quit: Leaving]
NalloK has quit [Max SendQ exceeded]
amclain has quit [Ping timeout: 265 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
m104 has quit [Quit: brb]
meatherly has joined #ruby
xjiujiu has joined #ruby
julian` has quit [Ping timeout: 244 seconds]
Es0teric has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
marcdel has quit []
Salve has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
amclain_ has quit [Quit: Leaving]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
Salve has quit [Ping timeout: 244 seconds]
senayar has joined #ruby
marcdel has joined #ruby
codezomb has joined #ruby
<codezomb>
just wanted to say thanks here in #ruby for ruining me on other languages... I have to work in a c# project, and all I can do is cringe, and overanalyze ways to make the code look better.
timonv has quit [Remote host closed the connection]
blackmesa has joined #ruby
toastynerd has quit [Remote host closed the connection]
yasushi has joined #ruby
makara has quit [Ping timeout: 265 seconds]
Lewix has quit [Remote host closed the connection]
<certainty>
codezomb: you're welcome
momigi has joined #ruby
yasushi has quit [Ping timeout: 244 seconds]
Fyyr13_ has quit [Remote host closed the connection]
Fyyr13_ has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
momigi has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
User458764 has joined #ruby
mlpinit has joined #ruby
m104 has joined #ruby
User458764 has quit [Client Quit]
<codezomb>
:)
mlpinit has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
m104 has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
yubrew has joined #ruby
koell has joined #ruby
Fyyr13__ has joined #ruby
mrdtt_ has quit [Ping timeout: 244 seconds]
oneawayman has joined #ruby
tvw has quit []
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
yubrew has quit [Ping timeout: 265 seconds]
Fyyr13_ has quit [Ping timeout: 240 seconds]
oneawayman has quit [Client Quit]
Sirupsen has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
<eMBee>
RubyPanther: thanks, i had to run extconf.rb manually with the directory as argument
oneawayman has joined #ruby
amritanshu_RnD has joined #ruby
<eMBee>
if i run extconf.rb manually, how do i get the gem installed? after i run make install only the .so file is copied, and ruby still can't find the gem
amritanshu_RnD is now known as Guest44262
Macaveli has joined #ruby
guilleiguaran has quit [Quit: Connection closed for inactivity]
tfittsy has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Krajsnick has joined #ruby
Guest85782 has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
eregon has joined #ruby
gsvolt_ has joined #ruby
kalleth_ has joined #ruby
Coolhand has joined #ruby
miah_ has joined #ruby
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patteh_ has joined #ruby
gtech_ has joined #ruby
wang_ has joined #ruby
matti_ has joined #ruby
asuka_ has joined #ruby
fudanchi1 has joined #ruby
Freijo has joined #ruby
peteyg has joined #ruby
ada2358_ has joined #ruby
oz` has joined #ruby
[BNC]pagioss has joined #ruby
Krajsnick has quit [Ping timeout: 240 seconds]
phansch has joined #ruby
phansch has quit [Client Quit]
lutfidemirci has quit [Remote host closed the connection]
lutfidemirci has joined #ruby
faulkner- has joined #ruby
cyphactor has joined #ruby
machuga_ has joined #ruby
jokke has quit [*.net *.split]
mnemon has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
Rudde has quit [*.net *.split]
Robbo_ has quit [*.net *.split]
gtech has quit [*.net *.split]
peteyg__ has quit [*.net *.split]
wang has quit [*.net *.split]
asuka has quit [*.net *.split]
fudanchii has quit [*.net *.split]
patteh has quit [*.net *.split]
miah has quit [*.net *.split]
ada2358 has quit [*.net *.split]
malcolmva has quit [*.net *.split]
Jelco has quit [*.net *.split]
zarul has quit [*.net *.split]
eregon_ has quit [*.net *.split]
pagioss has quit [*.net *.split]
gsvolt has quit [*.net *.split]
oz has quit [*.net *.split]
machuga has quit [*.net *.split]
adeponte has quit [*.net *.split]
Fraeon has quit [*.net *.split]
dideler_work has quit [*.net *.split]
Koshian_ has quit [*.net *.split]
faulkner has quit [*.net *.split]
niharvey has quit [*.net *.split]
matti has quit [*.net *.split]
tfitts has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
mbreit has quit [*.net *.split]
kalleth has quit [*.net *.split]
bauruine has quit [*.net *.split]
Macaveli has quit [Ping timeout: 253 seconds]
faulkner- is now known as faulkner
oz` is now known as oz
kitak has quit [Remote host closed the connection]
machuga_ is now known as machuga
zerox_ has joined #ruby
mnemon has joined #ruby
tectonic has quit []
weie has joined #ruby
bauruine has joined #ruby
Jelco has joined #ruby
zerox_ has quit [Client Quit]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Guest44262 has quit [Read error: Connection reset by peer]
xjiujiu has joined #ruby
Guest44262 has joined #ruby
Vovko has joined #ruby
kennym has joined #ruby
Vovko has quit [Remote host closed the connection]
Vovko has joined #ruby
xjiujiu has quit [Read error: Connection reset by peer]
malcolmva has joined #ruby
RubyPanther has joined #ruby
xjiujiu has joined #ruby
NalloK has joined #ruby
mbreit has joined #ruby
Robbo_ has joined #ruby
thomasxie has left #ruby [#ruby]
NalloK has quit [Max SendQ exceeded]
jokke has joined #ruby
zarul has joined #ruby
dideler_work has joined #ruby
Koshian_ has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
meatherly has joined #ruby
Umschwung has joined #ruby
jhass|off is now known as jhass
Krajsnick has joined #ruby
<Nilium>
Note to self: just because I can write horrifying hacks to use _ to refer to sequential arguments to a block doesn't mean I should.
Salve has joined #ruby
meatherly has quit [Ping timeout: 265 seconds]
carraroj has joined #ruby
senayar has quit []
bal has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
Salve has quit [Ping timeout: 265 seconds]
deadlock has quit [Remote host closed the connection]
bal has joined #ruby
codeFiend has joined #ruby
strider24 has quit [Remote host closed the connection]
kevinykc_ has quit [Read error: Connection reset by peer]
codeFiend has quit [Client Quit]
kevinykchan has joined #ruby
james_d_h has quit [Ping timeout: 240 seconds]
Fyyr13__ has quit [Remote host closed the connection]
mlpinit has joined #ruby
<pipework>
Nilium: IRC is my distributed blogging platform, not yours.
timonv has joined #ruby
Macaveli has joined #ruby
<Nilium>
Surprise: I am your subconscious.
<Nilium>
I know all about the potted plants.
achru has quit [Remote host closed the connection]
achru has joined #ruby
billey has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
mlpinit has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
yubrew has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
achru has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
sputnik13 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
vlad_starkov has joined #ruby
jack_rabbit has joined #ruby
marcdel has quit []
lolmaus has joined #ruby
lolmaus_ has quit [Ping timeout: 240 seconds]
<shevy>
eMBee does extconf.rb build a gem?
sparrovv has joined #ruby
alexherbo2 has joined #ruby
timonv has quit [Remote host closed the connection]
closures999 has quit [Remote host closed the connection]
Astralum has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
klaut_ has joined #ruby
xjiujiu has joined #ruby
<eMBee>
shevy: not that i can see, it builds an .so file and copies it somewhere
Fyyr13__ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
CorySimmons has joined #ruby
<sigurding>
found it
<sigurding>
object.to_h.each was missing
<sigurding>
..
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
Thanatermesis has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
CorySimmons has quit [Ping timeout: 240 seconds]
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
siwica has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
compleatang has quit [Remote host closed the connection]
Macaveli has joined #ruby
<eMBee>
i needed to patch extconf.rb
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
meatherly has joined #ruby
Krajsnick has quit [Quit: Leaving...]
xjiujiu has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
blackmesa has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
NalloK has joined #ruby
Salve has joined #ruby
sparrovv has quit [Remote host closed the connection]
Macaveli has quit [Client Quit]
NalloK has quit [Max SendQ exceeded]
relix has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
meatherly has quit [Ping timeout: 240 seconds]
Fyyr13_ has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
kitak has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Azulinho has joined #ruby
Fyyr13__ has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
xjiujiu has joined #ruby
* eMBee
needs to spend some more time learning about gems, thanks
Fyyr13__ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
popl has joined #ruby
popl has joined #ruby
philcrissman has joined #ruby
yubrew has joined #ruby
lmickh has quit [Remote host closed the connection]
achru has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mlpinit has joined #ruby
axl_ has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
francisfish has joined #ruby
fgo has joined #ruby
monkegjinni has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Fyyr13_ has quit [Read error: Connection reset by peer]
philcrissman has quit [Ping timeout: 240 seconds]
Fyyr13_ has joined #ruby
xjiujiu has joined #ruby
yubrew has quit [Ping timeout: 244 seconds]
Fyyr13__ has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
mlpinit has quit [Ping timeout: 240 seconds]
<shevy>
eMBee if you need a gem, you need a .gemspec file
monkegjinni has quit [Ping timeout: 244 seconds]
Fyyr13_ has joined #ruby
Fyyr13__ has quit [Read error: Connection reset by peer]
shime has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13__ has joined #ruby
msch has joined #ruby
postmodern has quit [Quit: Leaving]
timonv has joined #ruby
Fyyr13_ has joined #ruby
Fyyr13___ has joined #ruby
Fyyr13__ has quit [Ping timeout: 264 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Fyyr13___ has quit [Read error: Connection reset by peer]
xjiujiu has joined #ruby
Fyyr13__ has joined #ruby
Fyyr13_ has quit [Ping timeout: 264 seconds]
Fyyr13__ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
closures999 has joined #ruby
Fyyr13_ has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
Fyyr13__ has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
closures999 has quit [Remote host closed the connection]
yeticry has joined #ruby
workmad3 has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
Fyyr13_ has joined #ruby
ikaros has joined #ruby
grzywacz has quit [Quit: :wq]
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
Fyyr13__ has quit [Ping timeout: 264 seconds]
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
twiceaday has quit [Ping timeout: 264 seconds]
twiceaday has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Umschwung has quit []
Fyyr13_ has joined #ruby
timonv has quit [Remote host closed the connection]
roolo has joined #ruby
Fyyr13__ has joined #ruby
Fyyr13___ has joined #ruby
Umschwung has joined #ruby
Fyyr13_ has quit [Ping timeout: 264 seconds]
Fyyr13___ has quit [Read error: Connection reset by peer]
NalloK has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Fyyr13_ has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
xjiujiu has joined #ruby
NalloK has quit [Max SendQ exceeded]
Fyyr13__ has quit [Ping timeout: 264 seconds]
thesheff17_ has joined #ruby
achru has quit [Remote host closed the connection]
mojjojo has joined #ruby
oneawayman has quit [Ping timeout: 240 seconds]
achru has joined #ruby
tesuji has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13_ has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
Fyyr13_ has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
Fyyr13_ has joined #ruby
Fyyr13__ has joined #ruby
Fyyr13_ has quit [Read error: Connection reset by peer]
Fyyr13__ has quit [Remote host closed the connection]
CorySimmons has joined #ruby
Fyyr13_ has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
shevy has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
francisfish has quit [Remote host closed the connection]
achru_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
ndrei has joined #ruby
CorySimmons has quit [Ping timeout: 252 seconds]
achru has quit [Ping timeout: 241 seconds]
shevy has joined #ruby
rootshift has joined #ruby
sigurding has quit [Quit: sigurding]
meatherly has joined #ruby
surtin has joined #ruby
surtin has quit [Client Quit]
Salve has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
surtin has joined #ruby
surtin has quit [Client Quit]
meatherly has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
bluOxigen has joined #ruby
elaptics`away is now known as elaptics
Salve has quit [Ping timeout: 240 seconds]
<Xeago>
shevy: how do you download and install many gems easily?
yubrew has joined #ruby
<Xeago>
I'm trying to build a portable package of puppet
<Xeago>
so I can do the following: 1. have ruby, 2. run gem install *.gem, 3. puppet works
mercwithamouth has joined #ruby
<Xeago>
thing is, puppet (the gem) has various dependencies
<Xeago>
I don't want to download them manually
james_d_h has joined #ruby
<Xeago>
and I don't want to install the gem
<Xeago>
I just want the .gem's puppet depends on
phansch has joined #ruby
<Xeago>
is there some secret gem command that only downloads the gem (and dependencies)?
achru_ has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
klaut_ has quit [Remote host closed the connection]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
NalloK has joined #ruby
xjiujiu has joined #ruby
NalloK has quit [Max SendQ exceeded]
francisfish has joined #ruby
james_d_h has quit [Ping timeout: 265 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mojjojo has quit [Quit: mojjojo]
mlpinit has joined #ruby
dseitz has joined #ruby
Advocation has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
shevy has joined #ruby
compleatang has joined #ruby
<certainty>
Xeago: gem fetch can download gems, but i don't think it also fetches all deps
<shevy>
Xeago, try: gem fetch - that should work to just fetch the ,gem without installing it
<shevy>
and getting the deps via gem dependency --reverse-dependencies
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
Speed has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
<shevy>
so probably a simple ruby script that collects all the deps like that should suffice
<shevy>
my connection is awful, sorry
<shevy>
test
<certainty>
now it's your connection :p
<shevy>
man
<shevy>
I should never have switched ISP provider...
<certainty>
inet serivice provider provider
<certainty>
is pedantic today
<certainty>
but not about his own spelling :/
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
fgo has quit [Remote host closed the connection]
<shevy>
hehe
browndawg has joined #ruby
<shevy>
shakey old fingers certainty!
monkegjinni has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
monkegjinni has joined #ruby
kitak has joined #ruby
BackEndCoder has joined #ruby
fgo has joined #ruby
montyboy has joined #ruby
<certainty>
indeed young shevy
<certainty>
shevy: do you have ruby projects online somewhere?
Es0teric has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
monkegjinni has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
ktosiek_ has joined #ruby
emergion has joined #ruby
ktosiek has quit [Read error: Operation timed out]
mcls has joined #ruby
<mozzarella>
I think I'm going to write a porn website in ruby
<mozzarella>
has it been done before?
relix has joined #ruby
Es0teric has quit [Ping timeout: 240 seconds]
<certainty>
mozzarella: it's just a website
relix has quit [Client Quit]
mojjojo has joined #ruby
mcls has quit [Client Quit]
ktosiek_ is now known as ktosiek
<shevy>
certainty yeah but the quality is lacking, most lack a lot of docu; I don't recommend you dig into them https://rubygems.org/profiles/shevy
<mozzarella>
can someone remind me of WHY you have to do self.+() inside a class instead of simply +()?
kitak has quit [Remote host closed the connection]
<certainty>
shevy: those are *all* from you?
<certainty>
by you
kitak has joined #ruby
<Xeago>
shevy: how do I find the dependencies of the gem when I don't have it installed?
<certainty>
mozzarella: wat?
<mozzarella>
wat what?
<shevy>
certainty yeah, but 95% of these are tiny; the larger projects are cookbook and rbt; https://rubygems.org/gems/cookbooks about 2600 programs are registered, but it does not yet work for others
<certainty>
mozzarella: can you rephrase it? What do you mean by 'inside the class'?
<mozzarella>
inside the class definition
<mozzarella>
in some method for example
<certainty>
mozzarella: and that class defines #+?
<shevy>
certainty, cookbooks project should then be able to provide data such as through http://oi57.tinypic.com/pqv6.jpg - it was supposed to be usable to generate packages for different distributions too, like a PKGBUILD and so forth
<shevy>
the big projects take too much time though :(
<mozzarella>
certainty: yes
<shevy>
Xeago hmm
Rober9393 has joined #ruby
<shevy>
Xeago I dunno why gem dependency --reverse-dependencies does not seem to work...
<shevy>
certainty I like tiny gems
<Xeago>
"No gems found matching facter (>= 0)"
<shevy>
yeah I am confused...
<certainty>
>> class Foo; def +(other); 42 + other end; def bar; +(42) end end; Foo.new.bar
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
<certainty>
hmm!
<shevy>
ohhhh
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<certainty>
shevy: i do too
xjiujiu has joined #ruby
<Xeago>
certainty: why doesn't that give 84?
<shevy>
I had to rewrite my large projects so many times, it just isn't worth it; the smaller gems can so quickly be rewritten that it is virtually no problem
zxq9 has quit [Quit: Konversation terminated!]
<certainty>
Xeago: because of what mozzarella said, you need to explicitly send it on self. I currently don't know why
yfeldblum has joined #ruby
<certainty>
shevy: small composable parts and all that
<shevy>
yeah
<shevy>
and I have to write less docu too :)))
xjiujiu has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 264 seconds]
<shevy>
I need to register them all on github eventually...
xjiujiu has joined #ruby
sputnik1_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
<banister>
>> hack system.com + mainframe.reboot
<eval-in>
banister => wrong number of arguments (0 for 1+) (ArgumentError) ... (https://eval.in/116073)
zxq9 has joined #ruby
<certainty>
banister: do you mind to enlighten us?
<banister>
certainty just flexing my hacking skills
evenix has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<certainty>
>> class Foo; def +(other); 42 + other end; def bar; +(42) end end; Foo.new.bar
<certainty>
banister: ^
<certainty>
erm, where is eval.in?
<popl>
certainty: Yo man, I thought you were black.
sputnik1_ has quit [Client Quit]
<banister>
certainty my hack was successful
<certainty>
popl:why?
Deele has joined #ruby
Vovko has quit [Remote host closed the connection]
<shevy>
atmosx everything: .tar .bz2 and combination, .gem .zip
<shevy>
.xz etc..
<atmosx>
shevy: just use tha cli for that kind of file I guess. It's mostly .zip and bz2 here
NalloK has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
yubrew has joined #ruby
NalloK has quit [Max SendQ exceeded]
<shevy>
atmosx I am not even intermediate :) but I also don't care, I don't aim to become the best in programming by far, I just want to be sufficiently good to do what I want to do without being stopped too easily
<shevy>
atmosx hmm ok, so you dont use any script? you memorized the options?
xjiujiu has joined #ruby
Advocation has joined #ruby
NalloK has joined #ruby
cover has joined #ruby
CorySimmons has quit [Ping timeout: 265 seconds]
Vovko has quit [Ping timeout: 265 seconds]
Aryasam has joined #ruby
m8 has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
francisfish has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 265 seconds]
billey has quit [Remote host closed the connection]
kirun has joined #ruby
Salve has joined #ruby
Astralum has quit [Ping timeout: 264 seconds]
koell has quit [Read error: Connection reset by peer]
Mongey has quit [Quit: Mongey]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
SHyx0rmZ has joined #ruby
xjiujiu has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
Aryasam has quit [Quit: Bye]
<kennym>
quesion: given that Ruby 2.x (MRI) provides apparently good support for threads, can you recommend an event library/framework which makes use of those capabilities?
james_d_h has joined #ruby
<kennym>
given EventMachine does not support Ruby 2.x
Hanmac1 has quit [Quit: Leaving.]
<atmosx>
shevy: yeah I'm pretty much accustomed with cli anyway. I work on cli to many hours per day, my editor is on cli, etc.
Hanmac has joined #ruby
<atmosx>
shevy: not to mention that I'm on a mac, clicking on anything *just works*
Rober9393 has quit [Ping timeout: 264 seconds]
<shevy>
aha
montyboy has joined #ruby
james_d_h has quit [Ping timeout: 240 seconds]
browndawg has left #ruby [#ruby]
Rober9393 has joined #ruby
timonv has quit [Remote host closed the connection]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
timonv_ has joined #ruby
sepp2k has joined #ruby
<gr33n7007h>
can anyone confirm that "C" is a unsigned short int?
popl has quit [Ping timeout: 240 seconds]
klaut_ has quit [Remote host closed the connection]
<gr33n7007h>
I'm asking beacause I don't know what exception is going to be thrown
toretore has joined #ruby
pfg has joined #ruby
<gr33n7007h>
If this doesn't work i'm gonna scream
Sirupsen has joined #ruby
timonv_ has quit [Remote host closed the connection]
mengu has joined #ruby
achru_ has quit []
yacks has quit [Read error: Operation timed out]
vlad_starkov has quit [Remote host closed the connection]
<shevy>
gr33n7007h you use rescue to rescue an exception; if you know what kind of exception you can expect, it is usually best to specify it precisely
<shevy>
like: rescue LoadError; end
<shevy>
rather than: rescue; end
mengu has quit [Ping timeout: 264 seconds]
ianfleeton has joined #ruby
<shevy>
gr33n7007h when I dont know what exception may happen but I know I can find out, I usually do: rescue Exception => error; pp error; pp error.class; end and then I rescue only that error. I did that for the ruby ftp bindings of stdlib
francisfish has joined #ruby
relix has joined #ruby
<gr33n7007h>
shevy, ok I'll try now thanks
yacks has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
ym2ha0 has quit [Quit: Konversation terminated!]
xjiujiu has joined #ruby
linojon has joined #ruby
timonv has joined #ruby
cover has quit [Remote host closed the connection]
yfeldblum has joined #ruby
timonv has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
fridim__ has joined #ruby
monkegjinni has quit [Read error: Operation timed out]
bluenemo has quit [Ping timeout: 265 seconds]
renderful has quit [Remote host closed the connection]
einarj has joined #ruby
jamto11 has joined #ruby
b1nd has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
<b1nd>
how do I make a file inside of my rvm project so that I can just type in a list of gems and then it will install them for me?
monkegjinni has joined #ruby
<b1nd>
I thought, I just added them to my .gemset file, however, this did not give me the expected results
enebo has joined #ruby
<b1nd>
and if I do; gem install sinatra; inside of the rvm project dir, then it installs the gem, but there is not a away to just put all the gems in a file and then when i open the project all is installed!?
<art-solopov>
b1nd: I think you're talking about Gemfile...
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
njection has quit [Remote host closed the connection]
boboc has quit []
Czupa has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
hoelzro_ is now known as hoelzro
mostlybadfly has joined #ruby
yasushi has quit [Remote host closed the connection]
timonv has joined #ruby
renderful has joined #ruby
Beoran_ has joined #ruby
Beoran has joined #ruby
yubrew has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
mourest has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 265 seconds]
monkegjinni has joined #ruby
montyboy has joined #ruby
toastynerd has quit [Remote host closed the connection]
jjbohn is now known as jjbohn|afk
Emmanuel_Chanel has quit [Ping timeout: 253 seconds]
jjbohn|afk is now known as jjbohn
sski has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
chipotle_ has joined #ruby
aBound has joined #ruby
jzig has joined #ruby
Emmanuel_Chanel has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
chipotle has quit [Ping timeout: 252 seconds]
renderful has quit [Read error: Connection reset by peer]
renderful has joined #ruby
aBound has left #ruby [#ruby]
meatherly has quit [Remote host closed the connection]
redlines has joined #ruby
meatherly has joined #ruby
jamto11 has quit [Remote host closed the connection]
minicomputer has quit [Ping timeout: 240 seconds]
yasushi has joined #ruby
mourest has joined #ruby
jzig has quit [Remote host closed the connection]
frogsy has quit [Ping timeout: 265 seconds]
meatherly has quit [Ping timeout: 240 seconds]
julian` has quit [Ping timeout: 240 seconds]
jzig has joined #ruby
NovapaX has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
Xaitec has joined #ruby
jzig has quit [Remote host closed the connection]
toastynerd has joined #ruby
jzig has joined #ruby
Xaitec has left #ruby [#ruby]
vlad_starkov has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
<Xeago_>
shevy: gem dependency -r gemname works
zarubin has joined #ruby
Mongey has joined #ruby
yasushi has quit [Remote host closed the connection]
Salve has joined #ruby
<shevy>
cool
<shevy>
you are the man Xeago_
<Xeago_>
except that it wildcard matches gemname
jzig has quit [Ping timeout: 265 seconds]
<Xeago_>
so tings like Gem puppetdashboardmonitor-0.0.4 match
yasushi has joined #ruby
jeregrine has joined #ruby
jjbohn is now known as jjbohn|afk
Salve has quit [Ping timeout: 240 seconds]
yarou has quit [Changing host]
yarou has joined #ruby
yasushi has quit [Ping timeout: 244 seconds]
mbreit has quit [Quit: WeeChat 0.4.2]
tongcx has joined #ruby
jjbohn|afk is now known as jjbohn
<shevy>
I keep on having to lookup the readline documentation
<tongcx>
hi guys, i want to implement a very simple authentification, basically just check username and password, on a rack-based app, is the best way to implement a middleware?
<tongcx>
i'm using sinatra
chipotle has joined #ruby
<shevy>
or perhaps, not the full readline docu, but the readline for tab-completion
chipotle has quit [Client Quit]
renderful has quit [Remote host closed the connection]
chipotle has joined #ruby
chipotle_ has quit [Ping timeout: 252 seconds]
Shidash has quit [Ping timeout: 265 seconds]
<shevy>
someone give me moral support :(
diegoviola has joined #ruby
<jhass>
tongcx: yeah, though look at what's there (like warden), it's just to easy to get authentication wrong, even for the most basic usecases
Es0teric has joined #ruby
stytown has joined #ruby
stytown has left #ruby [#ruby]
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
francisfish has joined #ruby
vlad_starkov has quit []
maximski has joined #ruby
duggiefresh has quit [Remote host closed the connection]
mojjojo has joined #ruby
jzig has joined #ruby
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrSamuel has quit [Quit: MrSamuel]
tgkokk has joined #ruby
mojjojo has quit [Read error: Connection reset by peer]
oneawayman has quit [Ping timeout: 240 seconds]
itadder has quit [Remote host closed the connection]
maximski has quit [Client Quit]
itadder has joined #ruby
mojjojo has joined #ruby
_root has joined #ruby
guilleiguaran has joined #ruby
mojjojo has quit [Client Quit]
_root has quit [Client Quit]
arietis has joined #ruby
browndawg has joined #ruby
yubrew has joined #ruby
ziyadb_ has joined #ruby
<Xeago_>
you might as well use authentication at your web server level
<Xeago_>
either HTTP-authentication or client side certificates
<Xeago_>
s/certificates/keys
gr33n7007h has quit [Quit: Leaving]
Vovko has joined #ruby
echevemaster has joined #ruby
chipotle has quit [Quit: cya]
gr33n7007h has joined #ruby
hamakn has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
zcreative has joined #ruby
yubrew has quit [Ping timeout: 244 seconds]
Vivekananda has joined #ruby
einarj has quit [Remote host closed the connection]
Umschwung has quit []
Mongey has quit [Quit: Mongey]
Xeago_ has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
evenix has joined #ruby
<tongcx>
so i would like just apply auth to my sinatra app
<tongcx>
but it seems the only way is to add rack middleware
<tongcx>
i think warden is too heavy for me
Fyyr13_ has quit [Remote host closed the connection]
<tongcx>
i will first implement something naive
<tongcx>
like just put username and password in cookie
<tongcx>
then server just check it again database
angoragoats has joined #ruby
<jhass>
see, that's what I mean with too easy to get it wrong
<jhass>
worst idea to do it
<tongcx>
if i use https
<tongcx>
then it's not too bad
Umschwung has joined #ruby
IceDragon has joined #ruby
<tongcx>
but later i may implement accesstoken
<tongcx>
then i have get into the whole stuff of storing accesstoken on server
hamakn has joined #ruby
yfeldblum has joined #ruby
<tongcx>
jhass: actually, i'm curious how does sinatra handle session?
<jhass>
no idea
<tongcx>
jhass: is there some db behind it that we don't know?
<tongcx>
jhass: i found plenty of them, but would like to write my own just for learning purpose
<tongcx>
jhass: also, i don't like to use things if I'm not sure about their behaviour and assumed resources
<jhass>
I hope this is not for a production application then
<jhass>
or anything remotely serious
ahmdrefat has joined #ruby
ahmdrefat has quit [Client Quit]
<tongcx>
jhass: it could be with https
Mongey has joined #ruby
<tongcx>
jhass: but down the road, will use some established stuff
<gr33n7007h>
what's the magic encode at top of a ruby file for utf-8 something like # *-endode-*: utf-8 ?
yfeldblum has quit [Ping timeout: 269 seconds]
Celm has joined #ruby
aef has quit [Remote host closed the connection]
CorySimmons has joined #ruby
<shevy>
hmm
<shevy>
the string can be quite liberal gr33n7007h
<shevy>
lol
<shevy>
endode?
<shevy>
hahaha that is great man :)
CorySimmons has quit [Ping timeout: 240 seconds]
<shevy>
endodel! doodledoodendooooo
<shevy>
this is what I use gr33n7007h # Encoding: ASCII-8BIT
lkba has joined #ruby
<shevy>
so you can probably put utf-8 there
<gr33n7007h>
shevy cheers man!
linojon has quit [Quit: linojon]
* apeiros
hits shevy with a large trout for the 'ascii-8bit' part
Waheedi has joined #ruby
frem has joined #ruby
<apeiros>
you're like the catholic berserks, claiming the world is flat…
alexju has quit [Remote host closed the connection]
chipotle has joined #ruby
<shevy>
why
<shevy>
I don't need unicode
<art-solopov>
gr33n7007h: It's for text editors, as far as I know. Some editors, like Emacs, recognise this part and set encoding correctly.
<apeiros>
you live in the past
<art-solopov>
tongcx: In a Rails textbook I've read they offered the following approach: the user ID is stored in session. If no user ID is stored, the application just reroutes you to login page.
<apeiros>
art-solopov: more importantly, it's for ruby, to know what encoding string literals use.
<gr33n7007h>
Well I've got this string +CUSD: 2,"Your balance is �36.32.",15 that should be a £ in front of 36.32
jjbohn is now known as jjbohn|afk
<apeiros>
art-solopov: as of ruby 2.0, it defaults to utf-8, making things easier.
hamakn has quit [Remote host closed the connection]
<art-solopov>
apeiros: Thank Matz. =) I've had a bit of problems with 1.9.1 and Unicode.
<apeiros>
gr33n7007h: � is a question mark in a square?
<apeiros>
art-solopov: you shouldn't really be using 1.9.1
Salve has joined #ruby
<apeiros>
if you use the 1.9 series, at least use 1.9.3
<art-solopov>
apeiros: I mean, in the days when all I had was 1.9.1. =)
<apeiros>
kk
<tongcx>
art-solopov: thanks
<art-solopov>
I'm using 2.1.0 via rvm as my main Ruby, but some gems don't seem to work well with it...
<art-solopov>
tongcx: No problem. =) Good luck!
e4xit has quit [Ping timeout: 240 seconds]
e4xit has joined #ruby
<gr33n7007h>
nm fixed it
leonidlm has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
BackEndCoder has quit [Ping timeout: 265 seconds]
Salve has quit [Ping timeout: 244 seconds]
smathieu has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 265 seconds]
heftig has joined #ruby
smathieu has joined #ruby
Xiti has joined #ruby
hoelzro has quit [Quit: leaving]
gizmore has quit [Ping timeout: 240 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
arietis has quit [Quit: Computer has gone to sleep.]
roolo has quit [Quit: Leaving...]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
rootshift has joined #ruby
hoelzro has joined #ruby
nisstyre has joined #ruby
hydrajump has joined #ruby
Celm has quit [Remote host closed the connection]
<hydrajump>
hi I'm just done a clean install of mavericks 10.9.2 and after installing home-brew I ran `brew install ruby` It install ruby 2.1.1 ,but when I do ruby -v it shows the system version. What have I missed?
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
evenix has quit [Remote host closed the connection]
jjbohn|afk is now known as jjbohn
timonv has joined #ruby
evenix has joined #ruby
yubrew has joined #ruby
thoonai has joined #ruby
<certainty>
hydrajump: the ruby that comes first in your PATH will be used. Where is the system ruby and where does homebrew install it?
<hydrajump>
hmm. homebrew installs to /usr/local
<hydrajump>
system ruby I don't know where it is
nari has quit [Ping timeout: 240 seconds]
<thoonai>
heyho, I'm following the gitlab installation guide and on my machine gcc is running for over 20minutes on kgio 2.8.1
smathieu has quit [Remote host closed the connection]
S0da has joined #ruby
<apeiros>
hydrajump: `which ruby` tells you where
smathieu has joined #ruby
<certainty>
hydrajump: also which -a should tell you all locations
timonv has quit [Ping timeout: 244 seconds]
evenix has quit [Ping timeout: 265 seconds]
<tongcx>
hi guys, i'm writing backend with sinatra, i want to check each request's cookie to make sure user is logined, otherwise i want to redirect them to /login, how do i do this?
<thoonai>
does it should take so long?
<tongcx>
i can write a rack middleware, but then how can it talk to sinatra for redirect?
<jhass>
thoonai: unlikely
<tongcx>
or is there any injection to sinatra to do, say, before each request check sth?
<hydrajump>
ok system ruby is here /usr/bin/ruby and brew ruby...when installed it said the following: "By default, gem installed executables will be placed into:
<hydrajump>
/usr/local/opt/ruby/bin"
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nfk has quit [Remote host closed the connection]
<thoonai>
jhass: then why it does?
yubrew has quit [Ping timeout: 265 seconds]
<certainty>
tongcx: you could also run the check in a before filter, i think
<jhass>
because... ah damn my magic 8-ball broke
<thoonai>
jhass: ok stupid question. but I did 'gem install libv8' and 'gem install kgio' and it worked
arietis has joined #ruby
sigurding has quit [Quit: sigurding]
<thoonai>
now it hangs again at kgio
<certainty>
hydrajump: then place /usr/local/opt/ruby/bin into your PATH probably with something like this: export PATH="/usr/local/opt/ruby/bin:${PATH}"
<jhass>
thoonai: what about gem install kgio -v 2.8.1 ?
<hydrajump>
certainty ok I will try that. Is that change permanent?
<certainty>
hydrajump: no, you might want to add that to your shell's rc fille
<certainty>
-l
<thoonai>
jhass: second I started it
smathieu has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
<certainty>
hydrajump: oh wait, we might be misinterpreting the message from brew. It only talks about gem executables
<Waheedi>
anyone can help me with this gem conflict error
yfeldblum has quit [Ping timeout: 265 seconds]
<Waheedi>
have two ruby ruby apps
<Waheedi>
running on the same machine each has its own gems
<kraljev5>
certainity: thanks! I have heard this is a ruby implentation glitch, since base classes are written in C
<Waheedi>
now this is here `raise_if_conflicts': Unable to activate activemodel-3.2.6, because builder-3.2.2 conflicts with builder (~> 3.0.0), activesupport-3.2.17 conflicts with activesupport (= 3.2.6) (Gem::LoadError)
estebanrules has joined #ruby
<Waheedi>
i understand the error message very well. thank god
<jhass>
Waheedi: use bundler & bundle exec
<Waheedi>
i don't use bundler for that app
<certainty>
kraljev5: that's not unique to ruby. Most of those methods create a fresh Array. Whay would they suddenly return an instance of another class
<Waheedi>
should i consider using it jhass
<jhass>
Waheedi: yes
marcdel has joined #ruby
marcdel has quit [Client Quit]
marcdel has joined #ruby
elaptics is now known as elaptics`away
<kraljev5>
certainity: why wouldn't? It would return an instance of a current class.
<kraljev5>
self.class.new
Fyyr13_ has joined #ruby
<certainty>
kraljev5: they could as well implement it using Array.new, the contract says that it returns an array not an instance of the current class
Vovko has joined #ruby
<kraljev5>
This should IMO get fixed in next MAJOR release
<kraljev5>
3.0
<certainty>
i don't think it needs a fix, but that's possibly just me
<certainty>
s/possib/like/
sparrovv has joined #ruby
Fyyr13_ has quit [Ping timeout: 252 seconds]
Abyss-- has joined #ruby
jjbohn is now known as jjbohn|afk
francisfish has joined #ruby
mojjojo has joined #ruby
Salve has joined #ruby
<hydrajump>
certainty sorry for the delay thanks for your help! I googled the path and saw this stack overflow question that suggests that the best way is to edit /etc/paths instead of sourcing the bash file...https://stackoverflow.com/a/10343891/554352
<hydrajump>
now ruby -v reports 2.1.1
gregf has quit [Quit: WeeChat 0.4.3]
toastynerd has quit [Remote host closed the connection]
rootshift has quit [Quit: My MacBook has flipped it's lid. Laterrrss]
toastynerd has joined #ruby
datacrusher has joined #ruby
<thoonai>
jhass: now its 30 minutes :/
shredding has quit [Quit: shredding]
nowthatsamatt has quit [Quit: nowthatsamatt]
<jhass>
thoonai: v8 takes around 10 minutes on my i7
browndawg has left #ruby [#ruby]
Salve has quit [Ping timeout: 240 seconds]
<thoonai>
10 minutes on your i7? o.O what a mighty blob of code does v8 is?
yacks has quit [Ping timeout: 240 seconds]
<jhass>
a javascript engine
<thoonai>
jhass: single thread or muilti thread?
<thoonai>
=i
<jhass>
-j7
<thoonai>
ok
<thoonai>
so its a lot slower in songle thread then
mikepack has quit [Remote host closed the connection]
<jhass>
yep
sski has quit [Remote host closed the connection]
<thoonai>
probably I'm getting RAM issues due its 244MB/248MB since 15Minutes
sski has joined #ruby
<atmosx>
thoonai: what kind of machine does have 248 MB or ram?
<jhass>
probably a VPS
amclain has joined #ruby
mojjojo has quit [Quit: mojjojo]
alex88 has quit [Quit: Leaving...]
agarie has joined #ruby
havenwood has joined #ruby
sski has quit [Ping timeout: 252 seconds]
<pipework>
The best kind of machine.
sparrovv has quit [Remote host closed the connection]
ecualombian has joined #ruby
yubrew has joined #ruby
nouitfvf_ has joined #ruby
Salve has joined #ruby
pu22l3r has quit [Remote host closed the connection]
jpierre03 has quit [Ping timeout: 244 seconds]
nouitfvf has quit [Ping timeout: 244 seconds]
<thoonai>
atmosx: a virtual machine
<thoonai>
jhass: whats an VPS?
<jhass>
virtual private server
<thoonai>
jhass: oh ok
<certainty>
hydrajump: that's ok. Normally I don't do this since I want those changes for my user only.
tylersmith has joined #ruby
tectonic has quit []
<thoonai>
jhass: Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before
<thoonai>
bundling.
yubrew has quit [Ping timeout: 244 seconds]
<thoonai>
jhass: this succeeded before o.O
<jhass>
thoonai: read the message before that
<jhass>
probably out of memory or something
<thoonai>
An error occurred while installing libv8 (3.16.14.3), and Bundler
<Robbo_>
so I just don't understand how I get an infinite loop unless it is a slim bug
<art-solopov>
havenwood: Thanks, I'll read it.
datacrusher has quit [Remote host closed the connection]
kraljev5 has quit [Quit: kraljev5]
<havenwood>
art-solopov: Basically a .gemspec is essential to a gem. A gem can also have a Gemfile for convenience but the Gemfile.lock should be git ignored. An app's Gemfile.lock on the other hand should be checked into version control.
echevemaster has quit [Read error: Connection reset by peer]
rankine has quit [Remote host closed the connection]
<havenwood>
art-solopov: If you're cutting gems you'll run into .gemspecs, otherwise a Gemfile is the way to go.
jpierre03 has joined #ruby
atno__ has quit [Read error: Operation timed out]
hiyosi has quit [Ping timeout: 252 seconds]
<art-solopov>
havenwood: Okay... Please, explain to me the difference between a gem and an app. I mean, you can make an app into a gem, right? And, as far as I know, it's a good practice, right?
klaut_ has joined #ruby
chipotle has joined #ruby
echevemaster has joined #ruby
<shevy>
art-solopov a gem is like a .tar.xz archive; you bundle code into it then you can distribute it
atno has joined #ruby
<havenwood>
art-solopov: Typically you don't cut an app into a gem. Say if you have a Rack-based app, like a Sinatra or Rails app - it would have a Gemfile that lists the dependencies.
<havenwood>
art-solopov: Sinatra and Rails themselves are gems with .gemspecs.
<art-solopov>
havenwood: But Rails is an app, right? I mean, it has executable and all.
<havenwood>
art-solopov: Rails is a gem, a framework for making apps.
sigurding has joined #ruby
<shevy>
art-solopov a .gem can have bin/ directory so it can have "executables" too
<havenwood>
art-solopov: app being short here for webapp
<art-solopov>
havenwood, shevy: So app is, basically, something that you don't plan to redistribute widely and that isn't meant to have something built on top of it, like redmine, right?
<havenwood>
art-solopov: yeah, pretty much. an app you host, a gem you distribute
<art-solopov>
havenwood: Thank you very much.
iliketurtles has joined #ruby
<art-solopov>
Sorry for the stupid questions. >_<
<havenwood>
art-solopov: no prob, not stupid at all
<havenwood>
centrx: granted there aren't many database adapters
timonv has quit [Ping timeout: 240 seconds]
<toretore>
i'm creating a TCPServer and connecting a bunch (256) of clients to it, in the same process, sequentially. is it to be expected that i get an Errno::ECONNRESET on connect?
<Dwarf>
As long as it does sqlite3
<centrx>
What databases does it support?
<toretore>
with a sleep 0.1 between connects it works fine
<rcs>
havenwood: If I'm reading chruby.sh right, it does it by constantly prepending things, which seems sub optimal.
<rcs>
Ah. chruby reset deletes things from path.
<havenwood>
rcs: are you worried about performace?
<rcs>
I'm worried about things that modify my PATH willy nilly.
petunkina has joined #ruby
kirun has quit [Quit: Client exiting]
<havenwood>
rcs: Using PATH as it is meant to be used.
bbloom has joined #ruby
spider-mario has quit [Remote host closed the connection]
Overlordz has joined #ruby
dkamioka has joined #ruby
<havenwood>
rcs: precisely setting up PATH isn't willy nilly :P
francisfish has joined #ruby
perlsyntax has joined #ruby
burgess has joined #ruby
<rcs>
havenwood: chruby_reset will remove a path that's been set manually if it ends up being the same as RUBY_ROOT.
nateberkopec has joined #ruby
<havenwood>
rcs: yes
jetblack has joined #ruby
<rcs>
That's modifying my path willy nilly.
<rcs>
It's removing things I set that didn't go through it.
fijimunkii has joined #ruby
<havenwood>
well, more like reorder according to what is desired
bluenemo_ has quit [Remote host closed the connection]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<havenwood>
rcs: the code is clear, the result is simple and effective, i don't quite get what you think is going to happen that is harmful
phansch has quit [Quit: WeeChat 0.4.2]
baroquebobcat has quit [Quit: baroquebobcat]
dkamioka has quit [Ping timeout: 265 seconds]
francisfish has quit [Ping timeout: 244 seconds]
<havenwood>
rcs: shims all over the place on the other hand... :P
<RubyPanther>
willy nilly may not be a technical term, but it is at least technical enough that we can say that removing things according to a documented pattern doesn't count. Neither does removing duplicates.
<rcs>
PATH="fancy-ruby/bin:other-things" in my profile. I end up installing a ruby in fancy-path. I chruby to fancy-path. I chruby to something else. fancy-ruby/bin is no longer in my path.
<havenwood>
rcs: pick a Ruby!
<rcs>
chruby has now violated the implied contract about my path -- that it will only modify the things that it added.
<rcs>
That counts as willy nilly.
<RubyPanther>
There is no "implied contract"
<havenwood>
rcs: no, it really doesn't
<rcs>
havenwood: No it doesn't count as willy nilly?
<rcs>
Or no, it doesn't modify my path?
nateberkopec has quit [Ping timeout: 240 seconds]
<RubyPanther>
software modifies the environment as needed, and especially, as documented. That is normal.
<rcs>
RubyPanther: Where's the modification of my path that's not set by chruby documented?
<havenwood>
rcs: It is doing the simplest, least intrusive thing that works.
<RubyPanther>
"willy nilly" means randomly, or without a reason, or on a whim.
<RubyPanther>
So this isn't even a candidate case for "willy nilly"
<rcs>
In this case, it means "cheap and lazy".
estebanrules is now known as estebanrules|awa
<RubyPanther>
you're just using the wrong term then
<rcs>
Fair enough.
<rcs>
chruby modifies my path cheaply and lazily.
Findegil is now known as NicholasFlamel
<havenwood>
rcs: Silliness.
<centrx>
willy-nilly: "c.1600, contraction of will I, nill I, or will he, nill he, or will ye, nill ye, literally 'with or without the will of the person concerned.' See nill + will (v.)."
<rcs>
centrx++
<Overlordz>
huh.
<shevy>
don't inflate centrx, he is already too heavy
<shevy>
here, I will set him on a diet again
<shevy>
centrx--
<RubyPanther>
modifying env vars is not cheap or expensive, it is a really basic and expected operation. lazily, well, I think it actually does it right at the same time as it first checks it, so it isn't lazy either
bbloom has quit [Quit: Computer has gone to sleep.]
<centrx>
I AM THE GReAEaEAeAeTEST!
<rcs>
RubyPanther: The "cheap and lazy" is in reference to the algorithm used, which doesn't verify that its stripping only path parameters that were added by chruby.
<havenwood>
rcs: You are cheaply and lazily using shims because you're apparently afraid of using environment variables as they're meant to be used. :P
Avahey_ has quit [Quit: Connection closed for inactivity]
<RubyPanther>
rcs: not verifying that it was the one who added the parameter is not "cheap" nor is it an example of a lazy algorithm
<havenwood>
rcs: the idea is to switch between Rubies, not use multiple at once >.>
<shevy>
haha
<shevy>
I like that as a disclaimer havenwood :)
<pipework>
Shims. :(
<RubyPanther>
I wouldn't choose chruby, and I wouldn't want it messing with my PATH, but it is not abnormal for an app to change the PATH or other env var. That is just how they are used.
<havenwood>
rcs: i jest about cheap and lazy, of course - i don't think any of the Ruby management tools are either
<RubyPanther>
It isn't nearly the sort of sin that rvm commits in fiddling cd
<RubyPanther>
shims aren't bad either, though not everybody is going to like the taste
toastynerd has quit [Remote host closed the connection]
<pipework>
No it isn't.
<havenwood>
you make tradeoffs... chruby is the simplest thing that can possibly work. if you're trying to use multiple rubies at once you're doing it wrong.
timonv has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
<pipework>
Chruby is just nice path munging.
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<havenwood>
MUNGE ALL THE THINGS \o/
dkamioka has joined #ruby
<RubyPanther>
I'd rather shims than munging, but they are both normal *nix things
<havenwood>
pick your poison
<pipework>
Lolwat.
<havenwood>
i'll drink the fine nectar of chruby
<pipework>
Shims are abortions of empty symlinks.
<RubyPanther>
shims are like SysV init scripts, except they only start the program, and they're named the same as the program
saarinen has joined #ruby
<RubyPanther>
if symlinks could do the job on their own, without munging, I'd pick symlinks every time
timonv_ has joined #ruby
havenwood is now known as rehash_
jjbohn is now known as jjbohn|afk
bbloom has joined #ruby
<shevy>
symlinks can be used for versioning different versions of any installed program
mikepack has joined #ruby
Hanmac1 has joined #ruby
gigetoo has quit [Remote host closed the connection]
<shevy>
ruby-2.1.1 here I come
<rehash_>
shevy: do eeet
rehash_ has quit []
jjbohn|afk is now known as jjbohn
Hanmac has quit [Ping timeout: 252 seconds]
gigetoo has joined #ruby
mercwithamouth has joined #ruby
whomp has joined #ruby
havenwood has joined #ruby
koderok has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
razrunel_ has quit [Remote host closed the connection]
toastynerd has joined #ruby
evenix has quit [Remote host closed the connection]
evenix has joined #ruby
yubrew has joined #ruby
albedoa has joined #ruby
anshin has joined #ruby
chris_thomson has joined #ruby
whomp has quit [Ping timeout: 244 seconds]
andrewlio has quit [Quit: Leaving.]
axl_ has quit [Quit: axl_]
mattmcclure has joined #ruby
timonv_ has quit [Remote host closed the connection]
evenix has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 240 seconds]
fightback has quit [Quit: ZzzzZZzzzzzz]
<art-solopov>
Bye! Thanks for helpful advice! ^_^
art-solopov has quit [Quit: Konversation terminated!]
sarmiena_ has quit [Quit: sarmiena_]
kate_r has joined #ruby
<Dwarf>
So.. I followed your advice
havenwood has quit [Read error: Connection reset by peer]
<Dwarf>
I'm now using sequel!
<Dwarf>
But now I get this odd error on this line: if like_url.likes.first(:nick => m.user.nick).nil?
<Dwarf>
in `first': no implicit conversion of Hash into Integer (TypeError)
Czupa has quit [Ping timeout: 240 seconds]
jjbohn is now known as jjbohn|afk
saarinen has quit [Quit: saarinen]
koderok has quit [Ping timeout: 245 seconds]
marcdel_ has joined #ruby
einarj has joined #ruby
marcdel has quit [Ping timeout: 253 seconds]
fluxxed has joined #ruby
dkamioka has quit [Remote host closed the connection]
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_mtr has joined #ruby
whomp has joined #ruby
glebm has quit [Remote host closed the connection]
glebm has joined #ruby
<RubyPanther>
Dwarf: almost everybody uses activerecord as their ORM, that is what is going to have the most support
evenix has joined #ruby
<RubyPanther>
You have to be careful with advice on IRC, because most of it is going to fad-oriented
<bnagy>
:`(
jjbohn|afk is now known as jjbohn
<Dwarf>
Damn hipsters
<RubyPanther>
You're much better off using google to find out what the "normal" choice is, and using that unless you have a reason not to
<arubin>
FDD
<bnagy>
aka web development
lantis has joined #ruby
<RubyPanther>
I haven't even owned a FDD since 1999
<Dwarf>
I suppose
fightback has joined #ruby
fightback has quit [Max SendQ exceeded]
<RubyPanther>
Oh, wait, I do own one in an old case, I just never plugged it into the MB
werdnativ has quit [Quit: werdnativ]
<toretore>
so sequel is the latest fad now?
<lantis>
hello, could you help me? Is this nicer way to check variable than "if (var1 == 12) || (var1 == 13)" ? it doesn't look good (two times "var1")
<lantis>
?
mikepack has quit [Remote host closed the connection]
<shevy>
lantis in such a case, using case when may be simpler
<shevy>
case var1
<shevy>
when 12,13 # or 12..13 I suppose
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<lantis>
case has multiple lines unfortunately
<RubyPanther>
maybe, maybe not, toretore. Still, most people use ActiveRecord. Maybe 100 AR to 1 Sequel. So for newbs or people that don't have their own reasons the choice is obvious. And a person recommending such a niche tool instead of the main tool, for their own reasons instead of for reasons the user gave, well that is clearly fan-based promotion rather than tool-for-the-job type of advice
lachesis has left #ruby ["Leaving"]
werdnativ has joined #ruby
dkamioka has joined #ruby
morenoh149 has joined #ruby
Speed has joined #ruby
anshin has left #ruby ["WeeChat 0.4.2"]
nateberkopec has joined #ruby
havenwood has joined #ruby
xibalba has joined #ruby
xibalba has joined #ruby
Shidash has joined #ruby
momigi has quit [Remote host closed the connection]
tvw has joined #ruby
momigi has joined #ruby
fijimunkii has quit [Quit: leaving]
jjbohn is now known as jjbohn|afk
<quatron>
is there a good ruby data validation gem?
pwh has quit []
koderok has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
jjbohn|afk is now known as jjbohn
momigi has quit [Ping timeout: 244 seconds]
razrunelord has joined #ruby
lw has joined #ruby
werdnativ has quit [Quit: werdnativ]
mercwithamouth has quit [Ping timeout: 252 seconds]
oneawayman has quit [Read error: Connection reset by peer]
oneawayman has joined #ruby
yubrew has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
Fyyr13_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
marcdel has joined #ruby
mikepack has joined #ruby
Waheedi has quit [Quit: Waheedi]
<RubyPanther>
friends, what?
<RubyPanther>
I run Fedora, but it never talks to me about friends
<RubyPanther>
No manual entry for friends
chris_thomson has quit []
atno has quit [Remote host closed the connection]
atno has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
Fyyr13_ has quit [Ping timeout: 240 seconds]
chris_thomson has joined #ruby
Umschwung has joined #ruby
Umschwung has quit [Max SendQ exceeded]
mikepack has quit [Ping timeout: 265 seconds]
lyubent has quit [Quit: Leaving.]
<shevy>
you have no friends :(
Umschwung has joined #ruby
Umschwung has quit [Max SendQ exceeded]
guilleiguaran has quit [Quit: Connection closed for inactivity]
<shevy>
on reddit I make friends
mengu has quit [Remote host closed the connection]
<shevy>
by pointing out how wrong they are
mengu has joined #ruby
pwh has joined #ruby
nolic has quit [Quit: Lost terminal]
nateberkopec has joined #ruby
Umschwung has joined #ruby
Umschwung has quit [Max SendQ exceeded]
mengu has quit [Ping timeout: 240 seconds]
niklasb has joined #ruby
bluenemo has quit [Read error: Connection reset by peer]
evenix has joined #ruby
morenoh149 has quit [Ping timeout: 244 seconds]
echevemaster has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
bluenemo has joined #ruby
<albedoa>
https://gist.github.com/albedoa/b29ed5a4575fdcf5c0d5 <— i forgot to put the @ symbol in front of `rank` (line 19), but my to_s method didn't fail. why is that? are we supposed to put the @ symbol there?
chipotle has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
<bnagy>
albedoa: you have attr_reader defined
markisonfire has quit [Quit: markisonfire]
<bnagy>
albedoa: that created an instance method that's a getter for @rank, so that's what you're accessing
<albedoa>
bnagy cool, but should we be including the @ symbol to differentiate from methods (status on line 19) and for readability, best practices?
morenoh149 has joined #ruby
<bnagy>
it's not a huge deal either way, but IMHO no
<bnagy>
I prefer to use methods even internally
ikaros has quit [Quit: Ex-Chat]
<bnagy>
sometimes I have to change from a simple attr_reader to a method that does something else, or checks things, and if I use the method then I don't have to rewrite
<albedoa>
ty bnagy
james_d_h has joined #ruby
Celm_ has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
markisonfire has joined #ruby
* apeiros
prefers the opposite
<apeiros>
IMO refactoring an ivar is trivial, should it really be necessary
<apeiros>
and all the time you don't need to refactor it, you have less delegation in your code, which makes it easier to read.
<apeiros>
and as a little topping, you get better performance.
jetblack has quit [Quit: leaving]
Squarepy has quit [Quit: Leaving]
james_d_h has quit [Ping timeout: 265 seconds]
devda____ has quit [Quit: Bye]
quatron has quit [Ping timeout: 244 seconds]
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
oneawayman has quit [Read error: Connection reset by peer]
oneawayman has joined #ruby
LinearInterpol has quit [Ping timeout: 252 seconds]
francisfish has quit [Remote host closed the connection]