clamstar has quit [Remote host closed the connection]
thomasxie has joined #ruby
yacks has joined #ruby
maletor has quit [Ping timeout: 260 seconds]
zcreative has quit [Client Quit]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
maletor has joined #ruby
<RubyTitmouse>
Ruby gogo, is that a new club?
bubbajones has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
<RubyTitmouse>
$ grep -r 'goto' ruby/ | wc -l
<RubyTitmouse>
3123
acoyfellow has joined #ruby
jherman3 has joined #ruby
jboyfriend has joined #ruby
fgo has joined #ruby
Dude007_ has quit [Remote host closed the connection]
<jherman3>
I'm using RICE for a C++ extension and, on my laptop, it works fine. If I transfer the compiled .so file to another computer, use irb, and do require 'mylib', it says no such file or directory: /tmp/mylib.so. However, the file exists and the path is correct
bubbajones has joined #ruby
thomasxie has quit [Ping timeout: 272 seconds]
meatherly has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
<RubyTitmouse>
jherman3: you need to load it with "load" instead of "require", or else better, build a gem whose init calls load
maletor has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 245 seconds]
<jherman3>
require works on this machine? Would it be different on the other one?
habanany has quit [Ping timeout: 250 seconds]
<jherman3>
Typo first one wasn't a question
maletor has joined #ruby
<benzrf>
RubyTitmouse: why are you now a titmouse?
<RubyTitmouse>
peep. peep peep
TheShaun has quit [Ping timeout: 256 seconds]
<RubyTitmouse>
When the snow melts, I'll change it back lol
TheShaun has joined #ruby
Jdubs has joined #ruby
<RubyTitmouse>
jherman3: typically you would never move a .so between machines, maybe not everything is as much the same as you thought?
<jherman3>
True. I just moved it to avoid rebuilding it but I'll try sending the source over and recompiling
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
sorpaas has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
sorpaas has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
maletor_ has joined #ruby
maletor has quit [Read error: Connection reset by peer]
Neiram has joined #ruby
saarinen has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<jherman3>
Rebuilding it on the other machine worked; thanks
gigetoo has quit [Remote host closed the connection]
saarinen has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
gigetoo has joined #ruby
Hanmac has joined #ruby
lyanchih has joined #ruby
Shidash has quit [Ping timeout: 245 seconds]
rubyracer has joined #ruby
stryek has quit [Ping timeout: 260 seconds]
Hanmac1 has quit [Ping timeout: 245 seconds]
zigomir_ has quit [Ping timeout: 250 seconds]
mois3x has joined #ruby
S0da has joined #ruby
tuxninja has quit [Ping timeout: 248 seconds]
RaCx has quit [Ping timeout: 250 seconds]
RaCx has joined #ruby
carif has quit [Ping timeout: 260 seconds]
maletor_ has quit [Read error: Connection reset by peer]
maletor has joined #ruby
tjr9898 has quit [Remote host closed the connection]
acoyfellow has quit [Remote host closed the connection]
enape_101 has joined #ruby
sski has quit [Remote host closed the connection]
maletor has quit [Read error: Connection reset by peer]
maletor has joined #ruby
jherman3 has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
sski has joined #ruby
LLKCKfan has quit [Read error: Connection reset by peer]
russt has joined #ruby
tkuchiki_ has joined #ruby
postmodern has quit [Quit: Leaving]
papito_ has quit [Ping timeout: 250 seconds]
LLKCKfan has joined #ruby
mrsolo has joined #ruby
sski has quit [Ping timeout: 245 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
tkuchiki has quit [Ping timeout: 260 seconds]
shabgard has joined #ruby
Valesk has joined #ruby
<shabgard>
can somebody tell me what &: operator is?
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
russt has joined #ruby
angusiguess has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
dseitz has joined #ruby
bleak has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
figgleberry has quit [Ping timeout: 245 seconds]
<RubyTitmouse>
agent_white: lmao!
<RubyTitmouse>
LLKCKfan: meditation
<LLKCKfan>
Does not help
Noldorin has quit []
<RubyTitmouse>
Probably not without 10-15 years of practice, no
zenNamaste has joined #ruby
<benzrf>
bye
benzrf has left #ruby [#ruby]
mary5030 has joined #ruby
<agent_white>
how about things?
<agent_white>
mt :D
<zenNamaste>
howdy, I want to check if dir1 is a subdir of dir2. in unix, the separator is "\". So it's not a good idea if I use # if dir1 =~ /^#{dir2}/# any idea? thanks.
fedesilva has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
nateberkopec has joined #ruby
recurrence has quit [Ping timeout: 245 seconds]
<zenNamaste>
centrx: great! Thanks tons!
lyanchih has joined #ruby
uglybandersnatch has joined #ruby
aryaching has joined #ruby
sleetdrop has joined #ruby
enape_101 has joined #ruby
slowcon has joined #ruby
havenwood has joined #ruby
fgo has joined #ruby
mrsolo has joined #ruby
thomasxie has joined #ruby
Lewix has joined #ruby
Hobogrammer_ has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
fgo has joined #ruby
Hobogrammer has quit [Ping timeout: 252 seconds]
nari has joined #ruby
angusiguess has joined #ruby
Asher has quit [Ping timeout: 245 seconds]
carif has joined #ruby
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
RaCx has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
carif has quit [Ping timeout: 260 seconds]
meatherly has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
Asher has joined #ruby
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
brunops has quit [Ping timeout: 260 seconds]
slowcon has quit [Quit: slowcon]
brennanMKE has quit [Ping timeout: 246 seconds]
jle` has joined #ruby
aryaching_ has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
<zenNamaste>
I get following outputs: http://ix.io/aok by `ret.each {|k, v| print "#{v[0]}\t | #{k}\t\t\t\t +#{v[1]}, -#{v[2]}\n"}`
<LLKCKfan>
Is there any natural ways to relieve pain without using herbs or weed? No drugs
<zenNamaste>
however, is there a good way to make the latest row indented?
noop has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyl has quit [Client Quit]
george2 has joined #ruby
vlad_starkov has joined #ruby
rippa has joined #ruby
agent_white has quit [Quit: leaving]
sarlalian has joined #ruby
BrixSat has quit [Remote host closed the connection]
<centrx>
zenNamaste, You could use String#rjust
<centrx>
zenNamaste, There is also a more cohesive way to do it with printf
BrixSat has joined #ruby
yacks has joined #ruby
<zenNamaste>
centrx: I'll search it. thanks.
<centrx>
or something like printf, I can't find the doc for it right now
brunops has joined #ruby
Solnse has quit [Ping timeout: 252 seconds]
connor_goodwolf has quit [Ping timeout: 265 seconds]
<zenNamaste>
centrx: ljust and rjust work well for me. many thanks!
tyl has joined #ruby
lyanchih has quit [Quit: lyanchih]
Asher has quit [Ping timeout: 245 seconds]
RaCx has quit [Ping timeout: 245 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
connor_goodwolf has joined #ruby
nateberkopec has quit [Quit: Leaving...]
RaCx has joined #ruby
centrx is now known as xcentr
xcentr is now known as Xcentr
moted has quit [Quit: moted]
artm has joined #ruby
freezey has joined #ruby
freezey has quit [Read error: Connection reset by peer]
freezey has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
Xcentr is now known as centrx
kiba`` has joined #ruby
mrsolo has joined #ruby
mrsolo has left #ruby [#ruby]
kiba` has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
yarou has quit [Remote host closed the connection]
nari has quit [Ping timeout: 272 seconds]
derek_c has joined #ruby
gja has joined #ruby
kebabski has joined #ruby
mary5030 has joined #ruby
thomasxie has quit [Ping timeout: 246 seconds]
kewubenduben has quit [Ping timeout: 272 seconds]
Asher has joined #ruby
agent_wh1te has joined #ruby
IceDragon has quit [Quit: Space~~~]
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
nichtdiebohne has joined #ruby
Yahkob has joined #ruby
enape_101 has quit [Ping timeout: 265 seconds]
havenwood has quit [Ping timeout: 245 seconds]
angusiguess has joined #ruby
Celm has joined #ruby
<gizmore>
is there a short form for: hash[:min] = hash[:min].to_i
Wolland has joined #ruby
<centrx>
gizmore, I doubt it
<gizmore>
would be fun, no?
AlexRussia has quit [Remote host closed the connection]
<gizmore>
like hash[:min] := :to_i
AlexRussia has joined #ruby
<centrx>
:P
fgo has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 248 seconds]
<gizmore>
def self.from_boolean(value)
<gizmore>
value := downcase
<gizmore>
:= would be sweet indeed
JasmeetQA has joined #ruby
russt has quit [Quit: russt]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
brennanMKE has joined #ruby
tyl has joined #ruby
<agent_wh1te>
Programming on a netbook is wierd. My fingers are yelling at me D:
kiba`` is now known as kiba
jonahR has quit [Quit: jonahR]
kobain_ has joined #ruby
kobain has quit [Ping timeout: 248 seconds]
brennanMKE has quit [Ping timeout: 260 seconds]
DenzelM has quit [Ping timeout: 260 seconds]
kobain_ has quit [Client Quit]
estebist_ has quit [Remote host closed the connection]
nari has joined #ruby
Celm has quit [Remote host closed the connection]
ayaz_ has joined #ruby
moshee has quit [Quit: 囧]
moshee has joined #ruby
nism has joined #ruby
<kiba>
any good resource on how to use ruby threading?
<centrx>
gizmore, With downcase you can just use value.downcase!
<gizmore>
kiba ruby threading is suprisingly easy
<centrx>
gizmore, That is not found with to_i because conceptually to_i is converting to a different database, and is often used with Fixnums, which are fixed
<gizmore>
kiba: Thread.new do |t|; ... code ... here... end;
<gizmore>
kiba then you can Thread.list.each do |t|; t.join; end; i guess
JasmeetQA has quit [Quit: Leaving.]
fieldfirst has joined #ruby
JasmeetQA has joined #ruby
<gizmore>
centrx: what would i use for quicker integer calculations?
<gizmore>
so you can easily write code that relies on network, HDD, etc
<kiba>
gizmore: I am trying to speed up the download by doing parallel requests
<gizmore>
kiba this will work great with the sequential "lame" implementation
* kiba
is puzzled
<gizmore>
iirc there are multiple threads, but only 1 can run at a time
<kiba>
what's the point, then?
<centrx>
gizmore, That's not really threading then :)
<gizmore>
this means your network waitings will be optimized
<gizmore>
because waiting threads will not block your other threads :)
<LLKCKfan>
Is there any natural ways to relieve pain without using herbs or weed? No drugs
<kiba>
huh?
<gizmore>
LLKCKfan: masturbation
<kiba>
gizmore: the time is 28 seconds for the download of 50 gems
<kiba>
JSON
aq has joined #ruby
tjr9898 has joined #ruby
<centrx>
kiba, Only one thread gets CPU access at a time, but this is rarely ever an issue because programs are always waiting on disk access or network latency
<gizmore>
kiba: what centrx said :)
<LLKCKfan>
gizmore No
<kiba>
but I only got one thread running, but not two! I have two CPU
<agent_wh1te>
LLKCKfan: What is your life
<gizmore>
kiba: maybe start the program twice then :)
<LLKCKfan>
agent_wh1te what
* kiba
still don't get it
<agent_wh1te>
LLKCKfan: YES
<LLKCKfan>
what
<gizmore>
kiba: it´s a bit like js... you may query me for a lesson if you like
<agent_wh1te>
You ask the same damned question, at random ass intervals.
<centrx>
LLKCKfan, You have to change your ways
<agent_wh1te>
LLKCKfan: the answer is, go to your doc and get the fuck off irc.
<LLKCKfan>
I have been
<LLKCKfan>
No help
<agent_wh1te>
Or maybe someone can kick you in the head, so you forget about what a pain in the ass you are.
<kiba>
gizmore: I don't know much about network and latency and performance
<gizmore>
kiba... you can imagine your main thread codeflow like this: AAAAAAAA
<kiba>
but I don't know much about parallel computing either
RoxasShadowRS has joined #ruby
<centrx>
LLKCKfan, You need to accept your fallen state. Let the pain pass through you.
<kiba>
I determined that the threads I written does not improve performance
<gizmore>
kiba: now if you create a second thread with Thread.new ... the codeflow will be like AAABBBAAABBB
<centrx>
LLKCKfan, Only when you accept the pain will you be free of it
<kiba>
How come I am allowed to only run two threads?
<LLKCKfan>
I have accept it
<agent_wh1te>
Let the pain pass through your asshole, and allow you to gtfo
<kiba>
err
<LLKCKfan>
Never been free of it since Nov
<kiba>
one thread?
<centrx>
kiba, You can have many threads...
<gizmore>
kiba: not parallel, but each thread gets some time.... AAABBBAAABBB .... you can have hundreds of threads if you like... now imagine AAA starts to wait for network... it becomes AABBBBBBBBBBBBBBBBBBBBBBBBBBB
<agent_wh1te>
LLKCKfan: HOW DO I MAKE MONEY WITHOUT DOING ANYTHING AT ALL
<dseitz>
Just stop working
<gizmore>
kiba: when AAA is ready with network.... it becomes AAABBBAAABBB again
<kiba>
gizmore: so you're telling me that it's utterly pointless to run threads if you can only do one network request at a time?
<gizmore>
kiba: no... each connection needs time... pingpong handshakje
ayaz_ has quit [Remote host closed the connection]
<kiba>
gizmore: I already established a HTTP connection and reusing that
aq has quit [Quit: Leaving]
<kiba>
my code is currently Thread.new() {|t| blah; }.join()
<gizmore>
kiba: you can do 1 connection per thread
ayaz_ has joined #ruby
<gizmore>
then it will speed up
tjr9898 has quit [Ping timeout: 245 seconds]
<gizmore>
kiba: if you do like 1000 requests to a single server i suggest you do 4-8 threads/connections
centrx has quit [Quit: Leaving]
<kiba>
gizmore: so, establish two threads, each with their own http connection?
<gizmore>
yep
<kiba>
ok
<gizmore>
2-8 would be ok
<kiba>
thanks
<gizmore>
more would be not nice for the server and ISP etc
ayaz_ has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
<gizmore>
you can play with it :)
<kiba>
I am trying to speed up my download code so that I can do timely analysis on the gem database
bleak has joined #ruby
<kiba>
the last time I download the data corpus, it was a multiweek affair
OdNairy has joined #ruby
<kiba>
and that makes me sad
<kiba>
it's already hard enough to parse the data into something I can use
<kiba>
never mind not getting to the point of doing the analysis
<kiba>
I am still summarizing the data
russt has joined #ruby
<dseitz>
Freaking RubyMotion went commercial :S
<dseitz>
guess I'm a little behind on that; I was hoping to pluck GCD code out of it for use in a project
ayaz_ has joined #ruby
thomasxie has joined #ruby
slowcon has joined #ruby
Axsuul_ has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
joelroa has joined #ruby
zenNamaste is now known as Namaste|away
<LLKCKfan>
Hello
fgo has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
slowcon has quit [Ping timeout: 260 seconds]
nichtdiebohne has quit [Quit: Leaving...]
bleak has quit [Ping timeout: 260 seconds]
phipes has joined #ruby
ryanuber has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
angusiguess has joined #ruby
gnephiak has quit [Remote host closed the connection]
pwh has quit []
dik_dak has quit [Quit: Leaving]
coderhs has quit [Ping timeout: 246 seconds]
coderhs has joined #ruby
nism has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 248 seconds]
freezey has quit [Remote host closed the connection]
abra_ has joined #ruby
gnephiak has joined #ruby
agent_wh1te has quit [Quit: leaving]
fgo has quit [Remote host closed the connection]
brennanMKE has joined #ruby
joelroa has quit [Quit: Computer has gone to sleep.]
abra has quit [Ping timeout: 272 seconds]
evilbug has quit [Quit: Leaving]
S0da has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Ping timeout: 260 seconds]
Zap-W has joined #ruby
dangerousdave has joined #ruby
LLKCKfan has quit [Read error: Connection reset by peer]
<Zap-W>
hey
drumusician has joined #ruby
<Zap-W>
can anyone explain to me why this is true: triples = "AAA".."ZZZ" ; triples.cover? "ABCD" dosen't the last triple end with ZZZ ABCD is 4 letters
drumusician has quit [Remote host closed the connection]
phipes has quit [Remote host closed the connection]
drumusician has joined #ruby
drumusician has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 246 seconds]
mrnugget has joined #ruby
Shidash has quit [Ping timeout: 248 seconds]
Shidash has joined #ruby
mocfive has quit [Remote host closed the connection]
<dseitz>
Zap-W: It would only continue comparing if they continue to match; at which, if s1 is of greater length, it would be greater; ie 'ABCD' > 'ABC' but "ABZ' > 'ABCDEFF'
mocfive has joined #ruby
pavilionXP has joined #ruby
angusiguess has joined #ruby
mocfive has quit [Ping timeout: 248 seconds]
hamakn has quit [Remote host closed the connection]
Spami has joined #ruby
fgo has joined #ruby
<Zap-W>
dseitz: when you say length how does ruby calculate it? it converts it to byte size of each character postition ?
<dseitz>
Well, for length in Ruby, String objects already know the length. If one string's length is less than the other, it compares the whole string until a character is greater. If it reaches the end of the shorter string, the longer one is greater.
RaCx has quit [Ping timeout: 260 seconds]
<dseitz>
That's why 'ABCD' < 'ZZZ'
Guest91893 has quit [Read error: Connection reset by peer]
yasushi has quit [Ping timeout: 272 seconds]
<Zap-W>
I see
RaCx has joined #ruby
Al_ has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
Al_ is now known as Guest72223
Guest72223 has left #ruby [#ruby]
<Zap-W>
I read somewhere that also ruby saves the letters in String objects inside Arrays but that dosen't have to do with anything just maybe that's how it does the letter by letter comparison ?
browndawg has quit [Quit: Leaving.]
S_k1 has joined #ruby
brennanMKE has joined #ruby
JasmeetQA1 has joined #ruby
JasmeetQA has quit [Ping timeout: 250 seconds]
eka has joined #ruby
shadoi1 has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<apeiros>
Zap-W: that's wrong. ruby stores strings as byte arrays, not character arrays
shadoi1 has quit [Ping timeout: 246 seconds]
Wolland has quit [Remote host closed the connection]
S_k1 has left #ruby [#ruby]
yacks has quit [Read error: Operation timed out]
Shidash has quit [Ping timeout: 250 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
drumusician has quit [Remote host closed the connection]
gja has joined #ruby
vlad_starkov has joined #ruby
<dseitz>
There are so many things going on in string.c; I wouldn't be surprised if this is one of the largest (text) files in ruby's source code
tyl has quit [Ping timeout: 260 seconds]
ddpunk has joined #ruby
fgo has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 252 seconds]
gja has quit [Client Quit]
tjr9898 has joined #ruby
zegerjan has joined #ruby
tyl has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
fieldfirst has joined #ruby
bleak has quit [Ping timeout: 245 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
claymore has quit [Read error: Operation timed out]
noop has quit [Read error: Connection reset by peer]
tjr9898 has quit [Ping timeout: 272 seconds]
noop has joined #ruby
einarj has joined #ruby
bleak has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
pavilionXP has quit [Ping timeout: 265 seconds]
drumusician has quit [Remote host closed the connection]
pavilionXP has quit [Read error: Connection reset by peer]
claymore has joined #ruby
ktosiek has joined #ruby
nichtdiebohne has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
kies has quit [Quit: baaaaiiiiiiiiiii~]
havv has joined #ruby
<Zap-W>
okie dokie
Zap-W has quit []
deadlock has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
tvw has quit []
seoaqua has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Namaste|away is now known as zenNamaste
brunops has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
seoaqua has quit [Ping timeout: 245 seconds]
aryaching has joined #ruby
phansch has joined #ruby
seoaqua has joined #ruby
S0da has joined #ruby
echevemaster has quit [Quit: Leaving]
blackmesa has joined #ruby
thomasxie has quit [Quit: Leaving.]
RoryHughes has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
RoryHughes has quit [Client Quit]
angusiguess has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
RoryHughes has joined #ruby
tjaco has quit [Remote host closed the connection]
drumusician has quit [Remote host closed the connection]
ryanuber has joined #ruby
DaniG2k has joined #ruby
seoaqua_ has joined #ruby
angusiguess has quit [Ping timeout: 250 seconds]
ddpunk has quit [Remote host closed the connection]
timonv has joined #ruby
sleetdrop has quit [Ping timeout: 256 seconds]
tt1187 has joined #ruby
seoaqua has joined #ruby
seoaqua_ has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
brennanMKE has joined #ruby
Oog has quit []
razibog has joined #ruby
zenNamaste has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ringaroses has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
seoaqua has joined #ruby
razibog has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Ping timeout: 246 seconds]
fgo has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
angusiguess has joined #ruby
hamakn has joined #ruby
seoaqua has joined #ruby
brunops has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
prc has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
seoaqua has joined #ruby
fieldfirst has quit [Ping timeout: 252 seconds]
Lewix_ is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
seoaqua has quit [Ping timeout: 245 seconds]
<supersym>
Say,...what is 'gollum' technically? A rails app? Engine? Rack enabled server with custom routes/controllers/views or does it conform to some kind of (Rails) standard??
seoaqua has joined #ruby
<lewellyn>
rails has standards? :P
<supersym>
haha ... you know what I mean ;)
<supersym>
the term 'standards' in IT is pretty much non-existent if you take it literally
rankine has quit [Quit: Leaving]
RoryHughes has quit []
tt1187 has quit []
<supersym>
I guess I need to dive in the source...
<supersym>
I see now... last part, Rack backed custom wired
seoaqua has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 272 seconds]
angusiguess has quit [Ping timeout: 250 seconds]
<shevy>
ruby has a standard!
mehlah has joined #ruby
<supersym>
yeah but what good are standards when your API's are still 'unstable'
srji has joined #ruby
<Lewix>
there are low and high standards...
<supersym>
though I was away for a good year hacking on Clojure, things in the landscape of Ruby apps/plugins seem to have cleaned up some
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<supersym>
last time I was suffering from so much outdated stuff
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
hamakn has quit [Remote host closed the connection]
<supersym>
same problem Clojure faces though... too much results on Google return old stuff if you don't keep a close eye on dates with blogs and stuff
havv has quit [Quit: Leaving]
<supersym>
dunno... probably my own ignorance for a large part as well :P debugging became so much nicer with tools like 'pry' as a repl to work with
lkba has quit [Ping timeout: 245 seconds]
zigomir has joined #ruby
phansch_ has joined #ruby
ringaroses has quit [Ping timeout: 272 seconds]
phansch has quit [Ping timeout: 252 seconds]
RoryHughes has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Rylee has quit [Changing host]
Rylee has joined #ruby
fantazo has joined #ruby
timonv has quit [Remote host closed the connection]
DaniG2k has quit [Ping timeout: 245 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
_bart has joined #ruby
DaniG2k has joined #ruby
DaniG2k has quit [Client Quit]
<supersym>
aha Rails::Application is also a Rails::Engine
<supersym>
now I get it :P
<shevy>
we are entering supersym's mind in a very weird way here
Cache_Money_ has joined #ruby
timonv has joined #ruby
<supersym>
nm ;)
supersym has quit [Quit: WeeChat 0.4.2]
supersym has joined #ruby
<shevy>
no
<shevy>
you can't stop now man
hamakn has joined #ruby
gja has joined #ruby
relix has joined #ruby
DaniG2k has joined #ruby
_bart has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
elaptics`away is now known as elaptics
gja has quit [Client Quit]
S0da has quit [Remote host closed the connection]
angusiguess has joined #ruby
poulson has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
angusiguess has quit [Ping timeout: 260 seconds]
ddpunk has joined #ruby
Czupa has joined #ruby
RaCx has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyl has joined #ruby
ephemerian has joined #ruby
brennanMKE has joined #ruby
Sammael has quit [Ping timeout: 264 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
xue has quit [Quit: Leaving]
brennanMKE has quit [Ping timeout: 265 seconds]
SHyx0rmZ has joined #ruby
skaflem has joined #ruby
DaniG2k has quit [Ping timeout: 246 seconds]
angusiguess has joined #ruby
aob has joined #ruby
timonv has quit [Remote host closed the connection]
mojjojo has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
poulson has quit [Remote host closed the connection]
tjr9898 has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
zxq9 has joined #ruby
tjr9898 has quit [Ping timeout: 260 seconds]
Jeff_D has joined #ruby
fgo has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
sergicles has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
Czupa has quit [Remote host closed the connection]
txdv has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 265 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
txdv has joined #ruby
blackmesa has joined #ruby
ddpunk has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
jhass is now known as jhass|off
jhass|off is now known as jhass
ddpunk has joined #ruby
lkba has joined #ruby
jackneill has joined #ruby
ddpunk has quit [Remote host closed the connection]
Jeff_D has quit [Quit: JMP $]
claymore has quit [Excess Flood]
claymore has joined #ruby
thomasxie has joined #ruby
Sammael has joined #ruby
verywiseman has joined #ruby
fieldfirst has joined #ruby
Hanmac has joined #ruby
sergicles has quit [Quit: sergicles]
Hanmac1 has quit [Ping timeout: 245 seconds]
sergicles has joined #ruby
max96at has joined #ruby
krnflake has joined #ruby
vlad_starkov has joined #ruby
Beoran_ has quit [Read error: Connection reset by peer]
Beoran_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
xlogic has joined #ruby
<shevy>
he stopped :(
carraroj has quit [Ping timeout: 260 seconds]
zoscoy has joined #ruby
derzaigh has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
decoponyo has joined #ruby
RaCx has joined #ruby
decoponio has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
thumpba has joined #ruby
Hanmac has joined #ruby
yacks has joined #ruby
freggles has quit [Remote host closed the connection]
srji has quit [Quit: leaving]
Hanmac1 has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
thumpba has quit [Ping timeout: 245 seconds]
ktosiek_ has joined #ruby
ktosiek has quit [Ping timeout: 260 seconds]
chrisan has joined #ruby
ktosiek_ is now known as ktosiek
Deele has joined #ruby
JasmeetQA1 has quit [Read error: No route to host]
thumpba has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
browndawg has joined #ruby
thumpba has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
rubyracer has joined #ruby
RaCx has joined #ruby
jhn has quit [Ping timeout: 260 seconds]
nw_ has quit [Quit: Lost terminal]
Jamo_ has quit [Quit: Lost terminal]
Garo__ has quit [Quit: Lost terminal]
DaniG2k has quit [Ping timeout: 246 seconds]
shaman42_ has quit [Quit: Lost terminal]
uglybandersnatch has quit [Quit: Leaving.]
tyl has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
xiphiasx_ has quit [Read error: Connection reset by peer]
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
Dwarf has quit [Ping timeout: 265 seconds]
JJMalina has joined #ruby
yfeldblum has joined #ruby
Dude007 has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dude007 has joined #ruby
sailias has joined #ruby
xiphiasx_ has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
AlexRussia has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
gja has quit [Quit: This computer has gone to sleep]
Wolland has joined #ruby
Speed has joined #ruby
Lulzon is now known as airdoge
sergicles has quit [Quit: sergicles]
brennanMKE has joined #ruby
Speed is now known as Guest95198
kewubenduben has quit [Ping timeout: 260 seconds]
Guest95198 has quit [Changing host]
Guest95198 has joined #ruby
Guest95198 is now known as Speed
airdoge is now known as Lulzon
kewubenduben has joined #ruby
sailias has quit [Ping timeout: 248 seconds]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
eval-in has quit [Remote host closed the connection]
Es0teric has joined #ruby
timonv has joined #ruby
eval-in has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
tjr9898 has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
sameerynho has quit [Quit: Leaving]
ndrei has joined #ruby
sergicles has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Lewix has quit [Remote host closed the connection]
osvico has joined #ruby
Dwarf has joined #ruby
digifiv5e has quit [Max SendQ exceeded]
banister has joined #ruby
digifiv5e has joined #ruby
S0da has joined #ruby
digifiv5e is now known as Guest60355
JasmeetQA has quit [Quit: Leaving.]
JasmeetQA has joined #ruby
Es0teric_ has joined #ruby
Es0teric has quit [Ping timeout: 260 seconds]
osvico has quit []
derzaigh has left #ruby ["Leaving"]
tyl has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
epsylon` is now known as epsylon
marr has joined #ruby
Guest60355 has quit [Changing host]
Guest60355 has joined #ruby
kure_ has quit [Ping timeout: 260 seconds]
Ziarkaen has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
thomasxie has quit [Quit: Leaving.]
sergicles has quit [Quit: sergicles]
Guest60355 is now known as guyz
nettoweb has quit [Quit: nettoweb]
bleak has quit [Read error: Connection reset by peer]
kiba has quit [Read error: Operation timed out]
bleak has joined #ruby
verywiseman has quit [Ping timeout: 246 seconds]
dorei has joined #ruby
shadoi1 has joined #ruby
dramagods has joined #ruby
<dorei>
hello
<dorei>
what's your preffered way of browsing ruby (and gems') related documentation ?
RaCx has quit [Ping timeout: 250 seconds]
RoryHughes has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
a mixture of pry-doc and rubydoc.info
chipotle has quit [Quit: cya]
AlexRussia has joined #ruby
shadoi1 has quit [Ping timeout: 264 seconds]
gargaml has joined #ruby
nichtdiebohne has quit [Quit: Leaving...]
<gargaml>
hu
<gargaml>
hi
dramagods has quit []
DaniG2k has quit [Quit: leaving]
<gargaml>
I just installed ruby thanks to rbenv, but when I try to install the gem redCloth, I get an error telling me that mkmf is not present on the system
chipotle has joined #ruby
<gargaml>
I made some research and there is a solution with the dev package of my distribution
griffindy has joined #ruby
<gargaml>
but I'd like to know if there is a way to solve this issue by using my home dir and ruby specific package management
<gargaml>
any ideas ?
<jhass>
are you sure the ruby you installed via rbenv is also activated (and used by gem)?
<gargaml>
by activated, you mean in my $PATH ?
poulson has quit [Ping timeout: 245 seconds]
verywiseman has joined #ruby
<jhass>
it's needs a few more environment variables correctly set or in case of rbenv the right wrappers need to be first in your path, but that too, yes
vlad_starkov has quit [Remote host closed the connection]
<dorei>
how can i delete previous version from locally installed gems?
<jhass>
iirc. you can regenerate the wrappers for rbenv with rbenv rehash, might be something to try too
<gargaml>
jhass: you're right. I forgot about rbenv local command
<gargaml>
thanks :-)
hostess has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
sedat has joined #ruby
RoryHughes has joined #ruby
Noldorin has joined #ruby
fedesilva has joined #ruby
sedat has quit [Client Quit]
iMe_away is now known as iMe
popl has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
wallerdev has joined #ruby
WillAmes has quit [Remote host closed the connection]
WillAmes has joined #ruby
JJMalina has quit [Ping timeout: 240 seconds]
nichtdiebohne has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 245 seconds]
<shevy>
irb returns the last expression of a method called?
<shevy>
that is quite annoying if you have a huge object with lots of @ivars
<shevy>
I "fixed" this by returning empty string '' but that is an awful fix
fieldfirst has joined #ruby
<Morrolan>
Err, no, ruby returns the last expression of a method.
<Morrolan>
IRB just shows the return value.
brennanMKE has joined #ruby
Wolland has joined #ruby
<Morrolan>
Reasonable REPLs like pry support special syntax to surpress the printing of the return value. In irb you'll have to do something silly like "foo = Foo.new; 0"
<monsieurp>
shevy: maroloccio is the right person to talk to when it comes to weekend projects
<monsieurp>
shevy: he's my friend
<shevy>
k you two have your little chat then ;P
rootshift has joined #ruby
dx7 has joined #ruby
Chris- has joined #ruby
mojjojo has joined #ruby
Soliah has quit [Ping timeout: 245 seconds]
griffindy has quit [Quit: Computer has gone to sleep.]
xlogic has quit [Remote host closed the connection]
tyl has quit [Client Quit]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
Noldorin has joined #ruby
JasmeetQA has joined #ruby
rootshift has joined #ruby
estebistec has joined #ruby
jrist has quit [Ping timeout: 248 seconds]
enape_101 has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
raphaelivan has quit [Quit: Leaving.]
lockweel has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
AlexRussia has joined #ruby
skaflem has quit [Quit: This computer has gone to sleep]
coderhs has quit [Ping timeout: 265 seconds]
Wolland has joined #ruby
Tomasso has joined #ruby
Wolland has quit [Remote host closed the connection]
Aquilo has joined #ruby
<tibounise>
can you use rake to launch the "bundle install" command ?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
<jhass>
you can run arbitrary ruby code, that includes ``, system etc
<tibounise>
ok
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
yarou has joined #ruby
yfeldblum has joined #ruby
<Aquilo>
quick beginner question if you guys don't mind. I've got a variable called @grid that's housed in a class. It's been initialized in a variable called board. I'm trying to get that value so I can iterate over it on the most outer level of code. I've tried "@grid.each ....", "board.grid.each" "@grid.board.each" and probably a few other things.
<Aquilo>
How would I go about doing that?
<Morrolan>
apeiros: A semicolon after a statement will surpress printing of the returned value.
<apeiros>
Morrolan: how's that pry specific?
<apeiros>
that's normal ruby and works in irb just fine too
<Morrolan>
Doing the same in irb will not make it surpress printing of the output.
<jhass>
Aquilo: make a gist with your code please
<apeiros>
Morrolan: um, yes of course
<Aquilo>
jhass, alright one sec
claymore has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
<Morrolan>
apeiros: It'll ask for another line of input.
<Morrolan>
As opposed to executing the code, and surpressing the return value.
habanany has joined #ruby
pabloh has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
<Aquilo>
jhass: http://pastebin.com/4YzBNVhZ The part where I'm trying to get the value is line 86 and the original variable is defined in the Board class on line 11.
Noldorin has quit [Ping timeout: 250 seconds]
<tibounise>
Aquilo: I get an error message from pastebin : "Pastebin.com is under heavy load right now :(" could you upload it elsewhere ?
<Aquilo>
Yeah sure
shabgard has joined #ruby
Ziarkaen has quit [Read error: Connection reset by peer]
<tibounise>
thanks
brennanMKE has joined #ruby
pabloh has quit [Remote host closed the connection]
<jhass>
Aquilo: you need to define an successor for the grid variable: attr_reader :grid. That will create a method in your Board class that looks like this if you'd manually write it out: def grid; @grid; end
<Aquilo>
Hmm, ok, so that's all it is? Like a method that just includes the variable?
Noldorin has joined #ruby
<jhass>
that just returns the variables value, yes
<Aquilo>
awesome, thank you so much!
mojjojo has quit [Quit: mojjojo]
<jhass>
a few style notes: most ruby people prefer two spaces for indent and to name methods in snake_case (lowercase, separated by underscores)
Annwyl has quit []
sailias has joined #ruby
mojjojo has joined #ruby
<jhass>
also most of us discourage things like get_foo set_foo or is_foo and write use foo, foo= and foo? instead
chipotle has quit [Ping timeout: 246 seconds]
<shevy>
I <3 set_foo
<Aquilo>
oh really? I had no idea it was opinionated. I didn't think there was something like PEP-8 for ruby.
<shevy>
however had get_foo makes no sense
<Aquilo>
What do you mean get_foo? Like method or function names?
<jhass>
yes
<shevy>
reader
<shevy>
I often use methods with the trailing ? like def game_over?; @game_over
seoNinjaWarrior has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
<shevy>
the game is over!!!
<shevy>
YOU LOST!
<shevy>
GIMME YOUR MONEY!
skaflem has joined #ruby
krisbulman is now known as [krisbulman]
<Aquilo>
Is there a reason you tend to discourage names like that, or is it just convention?
<jhass>
Aquilo: if else with just return true / return false seems silly too, just return the value of the boolean expression directly (re. lines 52-56)
<jhass>
just convention
RaCx has quit [Ping timeout: 272 seconds]
<shevy>
hmm
RaCx_ has joined #ruby
<shevy>
it's a bit more than convention
<shevy>
there are the default attr*
<jhass>
common sense?
<shevy>
no I mean there is direct support for what you wrote jhass
<shevy>
attr_reader :foo
<jhass>
Aquilo: you can also leave the return keyword off if it's in the last line of a method and many do that
fieldfirst has quit [Ping timeout: 245 seconds]
<shevy>
attr_writer :foo
<shevy>
attr_accessor :foo
<jhass>
that is the last expression of a method is returned
jrist has joined #ruby
yasushi has quit [Remote host closed the connection]
gstamp has quit [Ping timeout: 256 seconds]
bean__ has joined #ruby
<jhass>
and expressions like if else have a value too (the last line of the respective branch again)
bean has quit [Read error: Connection reset by peer]
Speed has quit [Ping timeout: 260 seconds]
figgleberry has joined #ruby
axsuul has joined #ruby
<Aquilo>
Oh alright. So "return ! colNums......" ?
<Aquilo>
I don't wanna drop the return keyword because it's easy to spot
<jhass>
that's just because you're used to it :P but yes
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
<Aquilo>
Great, thanks for all the help here! I'm just trying to get used to this stuff. I'm trying to get to a point programming is more than just a giant calculator :P
<jhass>
last thing, but that's more a 80/20 thing from my experience: we prefer && and || over and and or in boolean expressions
gstamp has joined #ruby
<Aquilo>
Oh cool. I even knew that, I just sort of typed it out without thinking.
<jhass>
that's because they have different operator precedence and the && / || variants have the one you're more used to from other languages
<Aquilo>
operator precedence like order of ops?
seoNinjaWarrior has joined #ruby
chipotle has quit [Quit: cya]
<jhass>
like in 20+30*40, that * binds higher than +
razibog has joined #ruby
<Aquilo>
Cool cool
<pipecloud>
Aquilo: Generally, what you should use return for is when you're doing something special that needs to be observed, not just for the return value of methods. The last thing evaluated is returned already, so use return for flow control instead.
tkuchiki_ has quit [Remote host closed the connection]
JasmeetQA has quit [Quit: Leaving.]
<pipecloud>
oh dear.
<jhass>
Aquilo: def initialize() leave off the empty parens, nobody does that in ruby, some (like me) even leave them off your method takes parameters :P
Solnse has joined #ruby
<Aquilo>
pipecloud: gotcha. removing returns then!; jhass: oh ok. I was thinking they were required like in python (though now I'm being paranoid that they are even required there.)
Markvilla has quit [Quit: Computer has gone to sleep.]
<pipecloud>
Aquilo: There's two main camps of parens. Seattle and everyone else. I'm a mix of the two.
yacks has quit [Quit: Leaving]
<Aquilo>
even though I totally didn't include them in other methods...huh.
<pipecloud>
Seattle tends to omit wherever possible.
<Aquilo>
I assume the reasoning for keeping them in is uniformity and easy of reading?
<jhass>
hm, and don't compare to true in ifs IMO
<Aquilo>
Oh yeah, I can just take true out
<pipecloud>
Aquilo: It's usually like, "Keep parens in method definitions: def lol(arg1)"
<shevy>
take all the trues away from this cruel world!
<pipecloud>
Aquilo: What's neat about ruby is that anything that isn't nil is a truthy object.
<shevy>
Seattle is the typical rails ghetto, try to avoid them if you can
iMe is now known as iMe_away
<jhass>
Aquilo: your get_number method is just (1..9).to_a.shuffle.find {|n| valid_number?(..., n) }, I think
<pipecloud>
shevy: No.
<shevy>
or ruby ghetto, respectively
<shevy>
pipecloud are you from Seattle?
<pipecloud>
They're really awesome and do great things, I just don't follow their style dogmatically.
<pipecloud>
shevy: Nowai. I'm pdxruby
Spami has joined #ruby
<Aquilo>
pipecloud: you're kidding. I'm in pdx too.
<pipecloud>
Aquilo: Neat.
mojjojo has quit [Quit: mojjojo]
wallerdev has joined #ruby
<Aquilo>
jhass: Those one liners confuse the hell out of me. It's just an inexperience thing, but I don't tend to think in them.
<pipecloud>
Aquilo: #pdxruby is a thing along with #pdxtech, which I see you in.
tongcx has joined #ruby
<tongcx>
hi guys, for sth like 'set(:probability) { |value| condition { rand <= value } }'
<jhass>
Aquilo: just memorize Enumerable one time ;)
<tongcx>
is 'set' a class, a function?
verywiseman has quit [Ping timeout: 248 seconds]
<tongcx>
is the return a class or a function?
<tongcx>
this is from sinatra
<jhass>
tongcx: set is a method
<pipecloud>
tongcx: It's always a method.
<jhass>
there are no functions and classes aren't callable (like that)
<tongcx>
the method takes ':probability' as argument, and return what?
maroloccio has quit [Quit: WeeChat 0.4.2]
<jhass>
let's look up in the docs!
<pipecloud>
tongcx: There's documentation.
<tongcx>
pipecloud: can you tell me how to find the docs? I'm newbie
<AntelopeSalad>
is anyone familiar with Thor here?
lyanchih has quit [Quit: lyanchih]
<AntelopeSalad>
how would i go about getting what stdout reported after i ran the thor 'run' command? it only seems to return true/false
griffindy has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lyanchih_ has joined #ruby
mehlah has quit [Quit: Leaving...]
poulson has joined #ruby
dorei has quit []
ddpunk has joined #ruby
ddpunk has quit [Client Quit]
troyready has quit [Ping timeout: 245 seconds]
mojjojo has quit [Quit: mojjojo]
verywiseman has joined #ruby
troyready has joined #ruby
mojjojo has joined #ruby
pushpak has joined #ruby
predator217 has quit [Ping timeout: 252 seconds]
clamstar has joined #ruby
yasushi has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<AntelopeSalad>
ah, capture: true did the trick
dx7 has quit [Remote host closed the connection]
rezonanc has joined #ruby
predator117 has joined #ruby
dx7 has joined #ruby
yfeldblum has joined #ruby
verywiseman has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
<rezonanc>
Hi, maybe someone could give me a hint. I'm trying to gather/dump Vagrantfile's configuration to YAML. I'm partially there, I've put a line like "puts YAML::dump(config)" before the last "end" in Vagrantfile, but I only get the list of machines names, not the configuration. Is it somehow possible to get all the information?
fuhgeddaboudit has joined #ruby
m104 has joined #ruby
<shevy>
rezonanc that depends what config is. try: require 'pp'; pp config, and paste the output somewhere
speakingcode has joined #ruby
<rezonanc>
ok, will do!
<shevy>
also, no need for YAML::dump. YAML.dump is nicer to read and one less character!
dx7 has quit [Ping timeout: 260 seconds]
agarie has joined #ruby
brennanMKE has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<tongcx>
hi guys, a new question, both Proc and Method are classes and they have method '.call'
<tongcx>
what's different about them?
<pipecloud>
shevy: Psh, class methods are fun to refer to by ::
<pipecloud>
tongcx: They aren't the same thing, that's what's different.
<shevy>
pipecloud will newcomers understand lambdas? truly?
<Morrolan>
A newcomer should start with tutorials, not with the documentation.
<pipecloud>
shevy: sure, why wouldn't they?
<shevy>
pipecloud why would they even need lambdas
<pipecloud>
Not everyone who picks up ruby knows absolutely nothing.
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
<pipecloud>
shevy: Why wouldn't they?
mgorbach has joined #ruby
<shevy>
pipecloud for every feature in a language there is a cost-reward ratio to use
<shevy>
like what benefit would you have by knowing lambdas
<pipecloud>
shevy: Is there now? Please, regale us about this particular totally related point.
tjr9898 has quit [Remote host closed the connection]
<pipecloud>
shevy: I don't see a benefit to knowing python, please explain the cost:reward ratio for that.
<shevy>
you don't need to know python
<pipecloud>
Maybe it is a language for children?
<pipecloud>
Or Austrians!
blackmesa has quit [Ping timeout: 248 seconds]
<shevy>
you don't need to know the language to come to understand that your continued pointing towards suboptimal documentation doesn't help people
<pipecloud>
shevy: It's not like you're doing anything to improve it.
<shevy>
the documentation?
<centrx>
shevy, The only thing you have mentioned as "bad" about the Ruby doc is that it is not a tutorial
<pipecloud>
The documentation was good enough for me.
noop has quit [Ping timeout: 260 seconds]
<centrx>
shevy, That seems to be an entirely different point. The Ruby doc is an excellent reference
<pipecloud>
I'm not any smarter than other people here.
<shevy>
centrx everything is a joke compared to the python documentation - the style, the layout, the amount of quality and content, and the amount of examples
<pipecloud>
I'd hope I'm the least intelligent.
<pipecloud>
shevy: Yeah, but who cares if a silly language has good documentation? It's still silly.
<centrx>
shevy, Python doc is truly awful
<shevy>
centrx ok show me the ruby doc that is better please
<centrx>
shevy, There is no navigation, there is no organization, and there is no source code
<centrx>
String, Array, Hash
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
the toggle to source code is indeed cool
yasushi has quit [Remote host closed the connection]
<pipecloud>
shevy: This may stem from your being an ESLer.
<pipecloud>
As one whose native language is English, I can tell you that the jokes in ruby's source are hilarious.
Xeago has joined #ruby
<pipecloud>
Especially the ones not in English. :(
<shevy>
But you are not funny at all. :(
yarou has quit [Remote host closed the connection]
<havenwood>
"A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters." versus "The string module contains a number of useful constants and classes, as well as some deprecated legacy functions that are also available as methods on strings."
<pipecloud>
shevy: Does that not make sense to you?
<centrx>
shevy, It says exactly what it does and gives an example...
<pipecloud>
Or do you really need someone to explain what "in reverse order" is?
<shevy>
centrx so you think the ruby documentation is better than python's documentation for a newcomer? it's not like ... hmm minimal?
<pipecloud>
shevy: I think that ruby's documentation is, like ruby, for adult developers. I suppose it assumes you have a basic grasp of English, which may be too high a bar for your. Who knows?
RaCx_ has joined #ruby
<shevy>
pipecloud your assumptions are all so hilarious man
<centrx>
shevy, As a newcomer to Python, I found the documentation useless
<pipecloud>
shevy: Are they?
<shevy>
pipecloud yeah unfortunately
<havenwood>
shevy: For that particular example Ruby's implementation is 80% less code, so being simpler takes less explanation it seems.
<pipecloud>
I'm glad you think I'm funny. A minute ago you said I wasn't.
RaCx has quit [Ping timeout: 260 seconds]
RaCx_ is now known as RaCx
<shevy>
centrx when I started with ruby, the documentation was absolutely awful or downright not existing
<centrx>
When was that, 1999?
<shevy>
pipecloud sure. because you are not funny at all
IceDragon has quit [Ping timeout: 250 seconds]
<shevy>
centrx 2004
<havenwood>
shevy: It is getting better though! :D
<shevy>
havenwood yeah
<shevy>
what would ruby do without drbrain
<havenwood>
shevy: And nice improvements coming down the pipe. zzak has spent a lot of time on docs too!
IceDragon has joined #ruby
<pipecloud>
shevy: I'm not sure what you mean.
predator117 has joined #ruby
<shevy>
pipecloud I can't hire a translator just for you
<pipecloud>
Personally, where documentation has let me down, implementation has always been enough for me.
<pipecloud>
shevy: I'm sure you couldn't afford it.
<havenwood>
shevy: Lots of effort going on to fill in the gaps and also make it nicer to access the docs: http://ruby-doc.org/
bean has joined #ruby
habanany has joined #ruby
<shevy>
pipecloud I don't want to burn money on useless things anyway
seoNinjaWarrior has joined #ruby
seoNinjaWarrior has quit [Client Quit]
ctlee has joined #ruby
<pipecloud>
shevy: I should think so! Given that my native language is the one you're trying to speak, I'd say it's probably a waste.
habanany1 has quit [Ping timeout: 245 seconds]
seoNinjaWarrior has joined #ruby
bean has left #ruby [#ruby]
<pipecloud>
shevy: So why all the butthurt lately? Are you late for your period this month?
<shevy>
pipecloud this is "speaking" to you? I used to think it is "typing" huh
m104 has quit [Quit: bye]
bean has joined #ruby
<shevy>
pipecloud now now there
<havenwood>
shevy: 25% of Ruby is left to document, so for sure there's more help needed for documentation!
<shevy>
pipecloud but we should do so together, else only one of us would work
<pipecloud>
shevy: Since we're pals, I'll sell you this nick for $40. I usually try to make $50, but you amuse me.
<shevy>
pipecloud let's aim for one year, 2014?
<shevy>
pipecloud but I don't wanna buy your nick :(
Wolland has quit []
<pipecloud>
shevy: I'm too busy contributing to my own lonely open source projects! Besides, I don't know what parts of the ruby documentation I'd improve, as everything I use and read makes sense to me. Perhaps I could give things a look over for you, being a native speaker of the language. Just ping me if you should want an assist.
<lagweezle>
Take care folks. Off to the dentist. Whee.
habanany has joined #ruby
<pipecloud>
lagweezle: Don't let them put you to sleep. You can't trust them.
<pipecloud>
On the other hand, it's often the best sleep I get all year.
<lagweezle>
I know! I might wake up with a penis on my forehead or something.
<shevy>
pipecloud hmm I am not sure what documentation would be best to see being improved
mojjojo has quit [Quit: mojjojo]
<pipecloud>
Or better yet, you won't wake up at all! D:
<pipecloud>
shevy: Me neither! It's pretty good as it is.
<shevy>
pipecloud nono, it means that one would need to get a thorough, systematic check on all its components in order to assess where it really is lacking the most and where it is lacking only a little
habanany has quit [Max SendQ exceeded]
mois3x has joined #ruby
<pipecloud>
shevy: That sounds like a great idea! CC me on your pull request, okay?
<shevy>
havenwood, how is the 75% data calculcated? Does rdoc collect that on a run?
<shevy>
pipecloud we'll have to make that a proper challenge :)
siwica has joined #ruby
<havenwood>
shevy: I don't know if that is still accurate, I hope it has been filled in some in the months since it was updated but I really don't know.
TripleDES has joined #ruby
TripleDES is now known as TD_home
<pipecloud>
shevy: I don't mind looking at pull requests, but sure. I'll challenge you to write a pull request that I find no objective problems with.
<shevy>
ok
TD_home is now known as TripleDES
<havenwood>
I should do one too. Would be nice to have 100%.
meatherly has quit [Remote host closed the connection]
pskosinski has joined #ruby
siwica has quit [Quit: siwica]
siwica has joined #ruby
Wolland has joined #ruby
itadder has joined #ruby
bean has joined #ruby
<itadder>
do you people enjoy coding on two screen or just one
pinage404 has joined #ruby
<pipecloud>
three, why?
<havenwood>
itadder: i like the idea of two but i use one
<itadder>
should I just use my 19 inch screen or my 13 inch macbook pro
<itadder>
damn I need to clean my desk
<centrx>
13 inch seems small
<itadder>
what is a good how to guide to start a project from scratch
<perldork1>
1 screen with tmux via iTerm to have split panes
<pipecloud>
itadder: bundle gem <gemname>
wald0 has joined #ruby
<centrx>
rails new
<pipecloud>
I just have 3 27" monitors
<pipecloud>
centrx: lol
pdtpatrick has joined #ruby
enape_101 has quit [Ping timeout: 260 seconds]
<itadder>
I have iterm, limechat, and textmate
<itadder>
and chrome
<itadder>
should I keep limeone on the 13 inch
<itadder>
and split textmate and iterm on the 19 inch
<perldork1>
i use adium iterm and vim with syntastic, youcomplete me, and a few other plugins
<perldork1>
iterm2 ( that's the one with built in tmux )
<perldork1>
i tend to prefer firefox for firebug
nalone has joined #ruby
<itadder>
what is tmux
<itadder>
I am also using iterm
<centrx>
TERMINAL MULTIPLEXER
<shevy>
itadder I lately saw the main IT guy in the basement of my company (somewhere in a cellar), he was working with three monitors and needed all of them
<pipecloud>
I prefer real tmux over the weird kind.
<pipecloud>
iTerm does odd things.
<perldork1>
lets you split your terminal into multiple terminals within a terminal .. like an IDE made of terminals. http://tmux.sourceforge.net/
<tamouse__>
moss or roy?
workmad3 has joined #ruby
RaCx has quit [Ping timeout: 265 seconds]
<itadder>
why would I need that if I am working on ruby
<itadder>
LOL
<itadder>
moss here
<pipecloud>
itadder: It's just a tool.
<tamouse__>
^5
<perldork1>
i always have pain with the real tmux and system clipboard so i moved to using iterm2's built in version - no copy n paste issues with system clipboard
<itadder>
would I need to have more then one shell at a time
<pipecloud>
perldork1: Mine works fine.
<pipecloud>
Both in GNU/Linux and OS X
<tamouse__>
my biggest issue with both tmux and screen is scrolling
pinage404 has quit [Excess Flood]
havenwood has quit [Remote host closed the connection]
<tamouse__>
i'm just so used to cranking the scroll wheel
<perldork1>
with OSX i have had enough issues with system clipboard integration i gave up and besides i like that with iterm2 i can save my tmux layouts so when i reboot i get the terminal with tmux wins back as sessions
Jamo_ has joined #ruby
<pipecloud>
tamouse__: I have my scroll wheel and touchpad set to properly scroll tmux.
<itadder>
I am trying to setup my macbook for distraction free coding
<itadder>
session
<pipecloud>
itadder: Do ritalin.
<pipecloud>
Problem solved.
grayWolf has joined #ruby
<itadder>
I just took adderal
<pipecloud>
Close IRC.
<itadder>
you see my nickname
<perldork1>
pipecloud: thanks
<itadder>
IT Adder
<itadder>
yea
<itadder>
okay bye
itadder has quit []
<centrx>
Amphetamines, what a waste
grayWolf has quit [Changing host]
grayWolf has joined #ruby
shadoi1 has joined #ruby
browndawg has joined #ruby
Speed has quit [Disconnected by services]
grayWolf is now known as Speed
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pipecloud>
shevy: If you ever need to learn how to be distraction free, I may have discovered the holy grail of distraction free workflows. :D
<shevy>
you distract me man
<pipecloud>
shevy: I love you too, pal.
Megtastique has joined #ruby
relix has joined #ruby
pinage404 has joined #ruby
x77686d has joined #ruby
maroloccio has joined #ruby
habanany1 has joined #ruby
habanany has quit [Ping timeout: 272 seconds]
<seoNinjaWarrior>
pipecloud: what is this holy grail you speak of?
<pipecloud>
seoNinjaWarrior: Close IRC. 1000% productivity spike.
<seoNinjaWarrior>
I figured as much
<pipecloud>
It's a sekrit tho.
Noldorin has quit []
shevy has quit [Remote host closed the connection]
shadoi1 has quit [Ping timeout: 245 seconds]
iMe_away is now known as iMe
arianit has joined #ruby
pinage404 has quit [Excess Flood]
habanany1 has quit [Ping timeout: 245 seconds]
kewubenduben has quit [Ping timeout: 265 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
itadder has joined #ruby
<itadder>
just one last question
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<itadder>
is it good idea to install rails on my mac
razibog has quit [Ping timeout: 248 seconds]
iMe is now known as iMe_away
<waxjar>
terrible idea, unless you want to use it
tamouse__ has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
<itadder>
this is were I am confused I will be doing all coding on my mac, but at somepoint it will go to heroku
shevy has joined #ruby
habanany has joined #ruby
meatherly has joined #ruby
<itadder>
so with heroku I just ssh and do that, but how do I use textmate + heroku
<seoNinjaWarrior>
itadder: code it and test it on your mac, once it's ready for production upload it to heroku
<itadder>
oh
<seoNinjaWarrior>
since you'll do the development on your mac, you won't be using text mate on heroku
<waxjar>
heroku is a host, it has nothing to do with textmate. you'll send your code to heroku trough git eventually
<itadder>
but do I needd to install rails on my mac
<seoNinjaWarrior>
which is just a hosting service anyway
troyready has quit [Ping timeout: 245 seconds]
<seoNinjaWarrior>
yeah of course, lol
<jhass>
itadder: are you working with an existing application?
<itadder>
no
<itadder>
no
<itadder>
I am bulding one from scratch
<jhass>
then you need to decide if you want to use rails or not
<seoNinjaWarrior>
that's true, if you've already got a working app, and you don't need to develop just upload it. if you need to develop you'll want to run rails on your laptop for development
<itadder>
I am start a new project
<jhass>
not we
<itadder>
ahh
<itadder>
my project is to create a webfrontend for Omnifocus
<itadder>
so I can manage my omnifocus from my work PC or any none apple device
<itadder>
also last question is thier a iterm channel
<itadder>
the font is all crazy make hard for me to see
<pipecloud>
Your font on your terminal is pretty bad.
<itadder>
ahh thanks
<itadder>
yea
<itadder>
I not sure what I did
<pipecloud>
Probably edited a profile.
workmad3 has quit [Ping timeout: 246 seconds]
<itadder>
bah rm ~/Library/Preferences/net.sourceforge.iTerm.plist did not work
<itadder>
let me find this file
pinage404 has joined #ruby
<itadder>
I am on mavericks
RaCx has quit [Ping timeout: 250 seconds]
Noldorin has joined #ruby
Cache_Money_ has joined #ruby
pinage404 has quit [Excess Flood]
hjgfytdytrt has quit [Ping timeout: 260 seconds]
RaCx has joined #ruby
kyle__ has quit [Ping timeout: 272 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wald0 has quit [Quit: Lost terminal]
thumpba has joined #ruby
MyStartx has joined #ruby
yasushi has joined #ruby
brunops has quit [Ping timeout: 260 seconds]
razibog has joined #ruby
<itadder>
bah
brunops has joined #ruby
pinage404 has joined #ruby
bean has joined #ruby
bean has quit [Remote host closed the connection]
<nichtdiebohne>
just a stupid question: you already tried to change the font in preferences?
<itadder>
yea but they all distort the screen size'
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
ctlee has quit [Quit: Leaving]
estebistec has joined #ruby
yasushi has quit [Ping timeout: 248 seconds]
ace_striker has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
<itadder>
bbl
workmad3 has joined #ruby
evilbug has joined #ruby
shabgrd has joined #ruby
Xeago_ has joined #ruby
segfalt_ has quit [Ping timeout: 253 seconds]
shabgard has quit [Ping timeout: 252 seconds]
saltsa has quit [Quit: Reconnecting]
saltsa has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
raphaelivan has quit [Quit: Leaving.]
bean has joined #ruby
slowcon has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
yfeldblum has joined #ruby
Wolland has quit [Remote host closed the connection]
Megtastique has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Ping timeout: 245 seconds]
LLKCKfan has joined #ruby
<pipecloud>
itadder: I use monospaced fonts and keep the font size down.
claymore has joined #ruby
srji has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 260 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morrrrrgan has joined #ruby
<morrrrrgan>
secrets d'état & co ( révélations, etc ), faites tourner .. http://morganroulleau.wordpress.com ( on s'en branle que vous compreniez pas, au pire ça viendra plus tard ( .. )) ( La NSA approuve ce message. ) ( méway, sans doute, ils m'aiment. )
<morrrrrgan>
GL HF ...
morrrrrgan has left #ruby [#ruby]
yarou has quit [Remote host closed the connection]
yfeldblum has joined #ruby
arianit has quit [Quit: Leaving]
RaCx has quit [Ping timeout: 245 seconds]
lockweel has joined #ruby
Wolland has joined #ruby
RaCx has joined #ruby
wald0 has joined #ruby
iMe_away is now known as iMe
eka has joined #ruby
goganchic has joined #ruby
rubyracer has joined #ruby
yarou has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
gnephiak has quit [Quit: Konversation terminated!]
havenwood has joined #ruby
Celm has joined #ruby
Sir_Funk has joined #ruby
mehlah has quit [Quit: Leaving...]
alantsang has joined #ruby
Slavox is now known as Slavox|AFK
home2 has joined #ruby
bricker`LA has joined #ruby
nalone has quit []
vlad_starkov has joined #ruby
__main__ has quit [Remote host closed the connection]
goganchic has quit []
alantsang has quit [Quit: Konversation terminated!]
jhass is now known as jhass|off
mehlah has joined #ruby
__main__ has joined #ruby
fuhgeddaboudit has quit [Read error: Operation timed out]
tonni has joined #ruby
razibog has quit [Ping timeout: 245 seconds]
mehlah has quit [Client Quit]
fuhgeddaboudit has joined #ruby
Wolland has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
hema3 has joined #ruby
Slavox|AFK is now known as Slavox
AlexRussia has joined #ruby
MyStartx has left #ruby [#ruby]
claymore has quit [Ping timeout: 246 seconds]
relix has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pushpak has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
tolstoi has quit [Ping timeout: 264 seconds]
pushpak has joined #ruby
claymore has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
habanany has quit [Ping timeout: 260 seconds]
LLKCKfan has quit [Read error: Connection reset by peer]
Xuisce has left #ruby [#ruby]
havenwood has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
pushpak has quit [Client Quit]
LLKCKfan has joined #ruby
jefflyne has joined #ruby
tjr9898 has joined #ruby
jhass|off is now known as jhass
Wolland has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
RaCx has quit [Ping timeout: 265 seconds]
RaCx has joined #ruby
miyabe has quit [Remote host closed the connection]
intuxicated_ has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
DenzelM has joined #ruby
revMARKbrown has joined #ruby
claymore has quit [Ping timeout: 245 seconds]
<revMARKbrown>
HI RUBY FAMILY
<revMARKbrown>
noob to Ruby.. facinated with Ruby though...
claymore has joined #ruby
<revMARKbrown>
How can i remap the key "m" to send "F1" ???? with ruby 1.9.3
<revMARKbrown>
anyone simple example
shaunbaker has joined #ruby
<revMARKbrown>
I am a teacher and work with disabled students... trying to use Ruby to help them remap their keyboards to function better
itadder has quit [Remote host closed the connection]
estebistec has quit [Remote host closed the connection]
RubyTitmouse has quit [Ping timeout: 272 seconds]
shaunbaker has quit [Remote host closed the connection]
hema3 is now known as tt1187
mocfive has quit [Remote host closed the connection]
mocfive has joined #ruby
predator117 has joined #ruby
RubyTitmouse has joined #ruby
nari has quit [Ping timeout: 245 seconds]
brennanM_ has quit [Remote host closed the connection]
<shevy>
revMARKbrown this depends on your window manager probably. in fluxbox it is easy, you can use things like "Mod4 p :ExecCommand xmms -t" for specific actions. not sure what the syntax for remapping is offhand but #fluxbox guys should know
<revMARKbrown>
xdotool what is it.. will research it
mocfive has quit [Ping timeout: 260 seconds]
ctp_ has joined #ruby
decoponyo has quit [Quit: Leaving...]
vlad_starkov has quit [Remote host closed the connection]
poulson has quit [Remote host closed the connection]
<revMARKbrown>
thanks guys.. my students and I will research it.. most of my studnets are disabled.. some can use only one hand.. learning Ruby to help them remap keyboard to their needs...
<shevy>
well ruby is a scripting language, you may need the operating system or window manager to remap keyboard events
<centrx>
shevy, Postgresql also supports SELECT and JOIN
<RubyTitmouse>
$ psql -c "SELECT lanname FROM pg_language WHERE lanname like '%ruby%'"
<shevy>
well that one I found in the documentation
<shevy>
RubyTitmouse don't tell me that this is valid
<RubyTitmouse>
shevy: (1 row)
<xybre>
shevy: its legit
<RubyTitmouse>
You don't use PL/Ruby?!?!
<centrx>
That is how you do LIKE in SQL
<RubyTitmouse>
You can even put activerecord inside a pg trigger/rule if you want
Hanmac1 has joined #ruby
bklane has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
pwh has quit []
siwica has quit [Quit: siwica]
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
artm has quit [Remote host closed the connection]
<shevy>
hey
<shevy>
I have not even progressed to activerecord at all
<centrx>
#rubyonrails !
Hiall has quit [Quit: hiall]
Sir_Funk has quit [Ping timeout: 265 seconds]
Solnse has quit [Remote host closed the connection]
<shevy>
hah
<shevy>
you send me straight to hell right?
Speed has quit [Ping timeout: 260 seconds]
noop has quit [Ping timeout: 252 seconds]
perldork has quit [Quit: Leaving.]
perldork has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
jefflyne has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
syme21 has joined #ruby
russt has joined #ruby
<syme21>
n00b here. What's the best practice for installing Ruby on Ubuntu 13.10 (and Rails later). I've seen source, rvm and rbenv mentioned.
x77686d has quit [Quit: x77686d]
<perldork>
( rvm and rbenv ) > deb > source :)
<pipecloud>
syme21: The smallest, cleanest, and simplest one is ruby-install for installing rubies, and chruby for selecting them.
estebistec has quit [Remote host closed the connection]
intuxicated_ has quit [Ping timeout: 245 seconds]
<pipecloud>
perldork: debs aren't bad, but ubanto and debian repository rubies are.
<petems>
ruby-install solo > rvm and rbenv > deb > source ;)
<syme21>
cheers!
<perldork>
recommend you don't use rvm rbenv or chruby in production
RaCx has quit [Ping timeout: 245 seconds]
bean has joined #ruby
<lewellyn>
and in some cases, they're the best approach in production.
RaCx has joined #ruby
axsuul has joined #ruby
<perldork>
pipecloud: I haven't used a Linux or Unix distro yet that keeps up with the pace of popular interpretered languages - they are always out of date, totally agree
<pipecloud>
perldork: It's the repository that sucks, not the packaging format, is my point.
<perldork>
lewellyn: when have you found them to be the best approach? Curious.
<perldork>
ok sure that's a reasonable clarification
<pipecloud>
jhass: I'm happy to not use archlinux though. :D
<pipecloud>
centrx: ewno
bean has quit [Client Quit]
<perldork>
lewellyn: so, for example, a shared hosting env? I could see that.
<pipecloud>
ruby-install is the best non-packaging way to install rubies.
brennanMKE has joined #ruby
<lewellyn>
perldork: no, just a multitenant server. not shared hosting.
Celm has quit [Ping timeout: 260 seconds]
<lewellyn>
perldork: unless, of course, you have a better solution for maintaining per-user ruby installs. :P
<pipecloud>
lewellyn: I prefer to package my own rubies and prefix version number and use update-alternatives and the such.
Jdubs has joined #ruby
<perldork>
yeah, we've been using puma - and the app just has the path to a system ruby in it's startup scripts
<pipecloud>
But I also use ruby-install and just have PATH changes as well.
<pipecloud>
perldork: Well, it doesn't have to be a system ruby, just an absolute path to a ruby.
<perldork>
it's made RPM based installs much less painful than using an env changing tool
pwh has joined #ruby
<lewellyn>
e.g. "$app requires ruby X.Y.X-pXXX because pYYY exposes a bug which can lead to a DoS and the vendor has an ETA of about 90 days to fix it due to development, testing, and QA schedules."
<pipecloud>
perldork: Yeah, I suggest always using absolute paths instead of PATH.
mocfive has joined #ruby
Lewix has joined #ruby
<lewellyn>
pipecloud: update-alternatives doesn't work per-user.
rubyracer has quit [Remote host closed the connection]
<perldork>
lewellyn: we've still found it easier to have system level rubies in different paths as root rather than a ruby per user on our multi-tenant setups - but for a shared env where each user is a completely separate account i could see rvm / rbenv for prod being useful
<pipecloud>
lewellyn: I know. That's why I have the user have their PATH set for the ruby they want, but I prefer they use absolute paths.
<perldork>
lewellyn: we of course still use bundler for each app
<lewellyn>
perldork: i find that i'm running approximately the same number of distinct ruby versions either way. :P
russt has quit [Ping timeout: 252 seconds]
<pipecloud>
perldork: Yeah, I install rubies to a readable location for my users so they can share rubies.
<lewellyn>
upgrade/test cycles just never line up right.
<pipecloud>
They all have their own GEM_HOME directories.
<perldork>
lewellyn: it seems more straight-forward if you have 3 system level paths to me CM-wise
<lewellyn>
3? heh. :P
bean has joined #ruby
<lewellyn>
i'm looking at a box with 9 different ruby versions for 11 accounts right now.
vlad_starkov has quit [Remote host closed the connection]
zoscoy has joined #ruby
ivanoats_ has joined #ruby
* lewellyn
finds ruby apps a nightmare with vendor support, tbh.
<perldork>
lewellyn: arbitrary number :) .. instead of each user account having a different ruby. ok, I am curious, what kind of env do you have that has that many different versions that isn't shared hosting?
<pipecloud>
I like using my system package manager, so I just prefix when I'm doing things right.
chipotle has joined #ruby
<lewellyn>
ruby isn't an enterprise-grade thing, often. enterprise doesn't adapt well to the ruby mindset.
<pipecloud>
perldork: Deploying multiple apps to a single server.
<pipecloud>
lewellyn: Egh, it works fine, it's just the packaging team sucking.
* pipecloud
glares at the Debian ruby packager
<lewellyn>
at least i don't have any 1.8.7 anymore (as of about thanksgiving...)
ivanoats_ has left #ruby [#ruby]
<perldork>
pipecloud: we do that and have two different rubies, i am curious about a case that has 9 different rubies that isn't discreet non-releated users like shared hosting would be
<lewellyn>
perldork: "qualified configurations"
<pipecloud>
perldork: Maybe his apps require certain patchlevels for different apps.
<pipecloud>
Upgrading all the apps to use the latest patchlevel isn't something to be taken on lightly.
<perldork>
lewellyn: i don't know what that means :)
<lewellyn>
even if it works with another patchlevel, support would be a pain in the rear if it's not on a "supported" patchlevel.
chipotle_ has joined #ruby
<pipecloud>
It's often best to just leave it alone if it works fine.
<lewellyn>
upgrade when the vendor says to.
<perldork>
lewellyn: ah, you mentioned vendors - so you have commercial 3rd party apps or components being used that have patchlevel requirements?
<lewellyn>
yes.
<perldork>
gotcha
<pipecloud>
Ops prefers to keep things stable, developers prefer to keep things up to date.
<perldork>
pita
<perldork>
:p
<perldork>
for you
<pipecloud>
security patches are reasons to upgrade. Money is a reason to upgrade.
<perldork>
devops - prefer the balance of both
<lewellyn>
and management just wants things to work.
<pipecloud>
perldork: Egh, depends on what take on that term you hold.
<perldork>
depends on the environment how that all works
* lewellyn
is an old-school sysadmin
Spami has joined #ruby
bean has quit [Client Quit]
<pipecloud>
I don't like the job description meaning. I prefer developer+ops rather than just shiny new tools for ops.
<lewellyn>
and i truly am old-school these days. :(
<perldork>
of course - I've gone back and forth between both, our current team is a mix of both, we develop system architectures for our software as we develop then work with prod ops to hand off prod support as the product goes into wide release
* lewellyn
wouldn't be surprised if he's the only one here who's had a shell on a System III UNIX machine.
chipotle has quit [Ping timeout: 245 seconds]
aagdbl0 has joined #ruby
<lewellyn>
and not a retrocomputing thing, but rather when they were still in the wild.
<perldork>
my oldest professional OS experience is Sunos 4.1.2 :)
<lewellyn>
bsd-era sunos.
<perldork>
pizza box sparc 2
<perldork>
:)
<lewellyn>
i haven't run sunos 4 since my last sun4c
<lewellyn>
that was. geez. almost 20 years ago.
<centrx>
MacOS 1
<perldork>
yeah, 1995 is when i started with unix
<lewellyn>
centrx: no such thing.
<lewellyn>
the Mac OS moniker didn't come until 7.6.
<lewellyn>
(codenamed Harmony, for those curious)
vlad_starkov has joined #ruby
<lewellyn>
it wasn't a popular nomenclature update until 7.7 was renamed to 8.0 prior to release ("Tempo").
<centrx>
lewellyn, What do you call it then?
<centrx>
System 1
<lewellyn>
it was simply Macintosh System
<centrx>
It is an OS
<lewellyn>
but it wasn't called "Mac OS" until 1997.
<lewellyn>
that's 13 years after the Macintosh was released. :)
nichtdiebohne has quit [Ping timeout: 246 seconds]
bean has joined #ruby
<centrx>
OS Mac 1
* lewellyn
really should get ruby running on classic Macs once he finishes his current ruby porting project.
<perldork>
So have any of you found a ruby app server that performs as well as puma? We've been finding it really takes advantage of a multi-core server nicely - I've heard that the Enterprise Phusion Passenger product does as well.
vlad_starkov has quit [Remote host closed the connection]
<lewellyn>
the same things which have been holding back a more recent Perl have kept me from it, but i think most of those are now resolved.
<pipecloud>
perldork: Well, 'performs as well' isn't really a good metric.
<perldork>
I'm really liking having the ruby app server be out of process and using domain sockets for communication with the web server proxy ( nginx in our case )
<pipecloud>
Are you using clustered mode?
<perldork>
ok we can just talk anecdotally can't we pipeclooud?
<perldork>
yes mutli worker multi thread
<pipecloud>
perldork: Well in that case, pipes work much faster than puma.
deepy has quit [Ping timeout: 252 seconds]
aagdbl has quit [Disconnected by services]
<perldork>
you've used plain ruby processes reading from pipes in production? Interesting, what kinds of apps have you done with that?
aagdbl0 is now known as aagdbl
<pipecloud>
perldork: jruby is faster if we're just shooting the breeze.
<perldork>
running under tomcat?
<pipecloud>
perldork: Sure. Haven't you ever written service oriented architectures that use custom binary protocols that any language can pass messages into?
<pipecloud>
perldork: jboss through torquebox.
<perldork>
not with ruby but i have with perl .. cool, gotcha.
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<perldork>
for processes that read from named pipes
<perldork>
yes I've used binary protocols with ruby
<pipecloud>
I'd look into how much time you're spending in the ruby VM to decide how to proceed with your search for a faster application server.
cisco has joined #ruby
pu22l3r has joined #ruby
<perldork>
I'm not searching for faster quite happy just asking for people to share experiences with what they've been happy with - not here to evangelize
pu22l3r has quit [Remote host closed the connection]
Cache_Money_ has quit [Quit: Cache_Money_]
<perldork>
hear to learn
<perldork>
*here
<perldork>
learn about ruby and learn to spell :)
<pipecloud>
speeling is overated
pu22l3r has joined #ruby
lockweel has quit [Ping timeout: 245 seconds]
<pipecloud>
perldork: I've use a lot of things. The things that make me happy are jruby's trinidad (tomcat) torquebox (jboss), puma, and unicorn (cruby)
<pipecloud>
passenger doesn't make me happy
<perldork>
+1 to that - we've moved away from it over the last year
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
Celm has joined #ruby
Cache_Money_ has joined #ruby
<perldork>
we haven't experimented with moving to jruby yet, we were going to but then we found puma and that's been serving our scaling needs nicely so far. I've heard good things about trinidad, thanks for sharing that.
<perldork>
you have any preferences between serving with tomcat over jboss for jruby apps?
Dude007 has quit [Remote host closed the connection]
<pipecloud>
perldork: Puma works on jruby if you wanted to switch over the runtime first to play around.
<perldork>
i't s been 5 or more years since I've worked with tomcat
<pipecloud>
With Jruby not having a GVL, it's pretty neat.
Dude007 has joined #ruby
<perldork>
nice idea - oh yeah, i hear you there
<pipecloud>
perldork: I tend to serve lighter things with trinidad. I keep to the ruby side of jruby for application servers because I'm bad at application servers in java.
<pipecloud>
JBoss and torquebox are kitchen sinks.
pu22l3r has quit [Remote host closed the connection]
<perldork>
gotcha
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chipotle_ has quit [Quit: cya]
<perldork>
i did java development in the early 2000s for a half-dozen years and used Weblogic, Tomcat and Resin - Resin was definitely my favorite.
meatherly has quit [Ping timeout: 246 seconds]
<perldork>
going to give puma with jruby a spin - that is a really cool idea.
nichtdiebohne has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
RaCx has quit [Ping timeout: 272 seconds]
RaCx has joined #ruby
<pipecloud>
perldork: Yeah. you can still cluster, but each thread for jruby doesn't lock the VM! :D
<perldork>
yep that is a huge win
<revMARKbrown>
HOW CAN I create a hotkey composed of "control o" to send "a"
<perldork>
we've used a load testing tool called Tsung to simulate and test load performance - really cool Erlang-based tool that can simulate hundreds to thousands of users with an Erlang cluster - will be very interesting to see what the performance difference is with jruby and puma - hopefully changing from MRI 2.0 to jruby won't be too painful, might take a hack at doing that locally this weekend.
<pipecloud>
revMARKbrown: Not really related to ruby, is it?
bean has joined #ruby
<pipecloud>
perldork: super neat.
<ddd>
its fairly easy to go from MRI to JRuby
<pipecloud>
I hope you have memory to spare.
<ddd>
nd vis versa
<perldork>
:) - thanks ddd
<ddd>
np
<pipecloud>
As long as you don't have many C extensions. The c-extention support is still experimental.
<pipecloud>
extension
<ddd>
by default jruby won't use any, so you'll find out real fast which gems you need replacements for
<perldork>
nokogiri and mysql2 are the only two biggies i can think of
<perldork>
ddd: cool deal
<ddd>
you *can* enable the C-ext support, but its buggy as hell
<perldork>
and with jruby we use jdbc not native drivers anyway correct?
jefflyne has joined #ruby
e^0 has joined #ruby
jefflyne has quit [Max SendQ exceeded]
tt1187 has quit [Ping timeout: 272 seconds]
<perldork>
i mean not the C-based ruby drivers ..
<ddd>
there's like postgresql-jdbc iirc, and stuff
<perldork>
cool
<ddd>
i converted some time ago so I forget the names
<perldork>
np
centrx has quit [Quit: Leaving]
jefflyne has joined #ruby
<revMARKbrown>
pipecloud sorry ruby noob my first day asking questions... and reading docs
Cache_Money_ has joined #ruby
x77686d has joined #ruby
<pipecloud>
revMARKbrown: No worries.
bklane has quit [Quit: Leaving...]
`petey` has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
<pipecloud>
perldork: That's correct. Use the jdbc drivers in place of the c drivers.
<revMARKbrown>
My handicap students studying Ruby rempa keyboard.. most have disabilities and only one hand.. scanning for info
<ddd>
revmarkbrown hit ruby-lang.org for the ruby docs. iirc there's apidock.org|com as well
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cache_Money_ has quit [Client Quit]
<Morrolan>
revMARKbrown: Such a shortcut would have to be set on the OS' level, that's hardly related to Ruby.
<Morrolan>
Though, err, if they are using these computers regularly, I'd expect that such shortcuts are set up already?
bean has joined #ruby
jrist has quit [Read error: Operation timed out]
danshultz has quit [Remote host closed the connection]
Megtastique has quit []
aspires has quit []
<nfk>
since system() returns true, false or nil how what happens to the stdo from the command executed?
<shevy>
revMARKbrown as I wrote before, you can remap keys however you wish via ruby-gnome. but you need to research how you use widgets in ruby-gnome
<nfk>
-how
Speed has joined #ruby
aspires has joined #ruby
chipotle has joined #ruby
blackmesa has joined #ruby
Speed is now known as Guest78892
ndrei has quit [Ping timeout: 250 seconds]
<revMARKbrown>
just reading... possibilities of Ruby... and what other libraries and programs it might bind with to achieve our goals
danshultz has joined #ruby
Rollabunna has quit [Remote host closed the connection]
eka has joined #ruby
<Morrolan>
nfk: Backticks (`ls -l`) will return STDOUT. The command's exit status would then be accessible in $?.
senayar has joined #ruby
<Morrolan>
There's also other ways of executing a shell command, some of which allow to capture stdout, stderr, the exit status, pid, and god knows what else.
<shevy>
revMARKbrown if you need starters, binding_set = Gtk::BindingSet.new("j_and_k") and the accel-group -> accel_group.connect(shortcut_key_to_use, modifier_key, Gtk::ACCEL_VISIBLE)
dik_dak has joined #ruby
<nfk>
Morrolan, i'm trying to run locate from ruby so that i can do bulk processing
<nfk>
i could do it in pure ruby but doing that manually would be stupid when there's an index of all relevant files already
<Morrolan>
nfk: In this case, getting stdout via backticks will probably be sufficient. :)
<shevy>
bleak I would not put them into an array
<perldork>
nfk: output is not captured with system() as you've seen. in the command passed to shell you can redirect fds to files, if you want to capture that in ruby from the command you can also use http://www.ruby-doc.org/stdlib-2.1.0/libdoc/open3/rdoc/Open3.html
<bleak>
put them into an iterator?
<shevy>
well it returns a string
<shevy>
and you put that string into an array
<bleak>
i see
<shevy>
but you dont seem to *need* that array
rootshift has joined #ruby
<nfk>
perldork, i think Morrolan said something else ;)
ndrei has joined #ruby
<revMARKbrown>
Morrolan , respectfuly your anwer is not entirely correct, actually not all shortcuts have to be "set on the OS' level".. there is lower level libraries and programs that assist Ruby in achieve it as they do C++ , python and other higher level scripts...
<perldork>
nfk: he did just giving you another option as well
MyStartx has joined #ruby
<nfk>
revMARKbrown, actually it's more like "what's an OS" but let's not go there
<bleak>
shevy, it throws an error bruce.rb:19: syntax error, unexpected '\n', expecting :: or '[' or '.'
<shevy>
bleak no it works fine :)
<bleak>
it's not working for me, under 2.0.0
<shevy>
bleak the problem is your code is not valid ruby
Markvilla has joined #ruby
<revMARKbrown>
k
<shevy>
I was referring to `` syntax, not the rest
<shevy>
class FileCounter(dir) is not valid
Guest78892 has quit [Changing host]
Guest78892 has joined #ruby
<pipecloud>
revMARKbrown: I guess the context matters. You want to have a keyboard shortcut output something in a ruby runtime somehow? I think if you explained more, it'd help.
<bleak>
oh?
<Morrolan>
If you need shortcuts due to disability, you'll probably want them accessible *everywhere*. This makes it the OS' task. I am unsure about the second part of your message, as I don't understand what you mean.
Guest78892 is now known as Speed
<shevy>
bleak if you run .new on an object, this goes into the def initialize() method
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
so you must change initialize to accept that argument, and you can call it dir. so def initialize(dir) instead
<bleak>
oh okay
enape_101 has joined #ruby
<nfk>
hint: lowest possible level would be kernel and then, probably, inittab or some console input but only kernel's SysRq are generally not overriden multiple times in the Linux GUI chain of command
<revMARKbrown>
Pipecloud, would have to read the docs more I guess to code the possibilities and aims of what we are trying to pragnatically achieve.
<bleak>
hm, not sure why i thought you could pass params to a class itself
<pipecloud>
nfk: Wouldn't hardware be the lowest possible level?
<shevy>
revMARKbrown what OS are you using btw?
vlad_starkov has joined #ruby
<pipecloud>
revMARKbrown: I don't know what you're really doing though, just what you want.
<nfk>
i wouldn't call those shortcuts
supersym has quit [Quit: WeeChat 0.4.2]
<pipecloud>
nfk: I don't think the name matters, just the behaviour. :)
<pipecloud>
revMARKbrown: Can you describe what you're trying to do at a higher level?
<Morrolan>
Right. Time to watch a movie. ;)
ivanoats_ has joined #ruby
<nfk>
Morrolan, always good to do on Linux and remind yourself what it was like 10 years ago
<Morrolan>
nfk: Sorry?
MyStartx has quit [Ping timeout: 245 seconds]
<nfk>
the state of linux multimedia support 10 years ago
<revMARKbrown>
Microsoft Windows 7 but we are looking at cross platform via low level remapping.. There are libraries and even simple game libraries and software that assist in remapping keyboard.
s_kilk has joined #ruby
<Morrolan>
Oh, haha, yea. You got a point there. :)
<nfk>
revMARKbrown, i think you meant high level since the lower you go, the more platform specific it gets
<revMARKbrown>
We love Ruby.. and we will master it.
bean has joined #ruby
bean has quit [Changing host]
bean has joined #ruby
iMe is now known as iMe_away
jrist has joined #ruby
hema3 has joined #ruby
x1337807x has joined #ruby
<revMARKbrown>
Maybe: Ruby is the answer to lots of our problems; just my first day guys so plz be tolerant of an old man trying to help handicap kids. Will visit often and do a lot of research.
<revMARKbrown>
I am not a computer science major, but a physics major.
ivanoats_ has quit [Ping timeout: 260 seconds]
<nfk>
that's okay, especially if you are old, up to about 70's computer scientists were basically physisics
<shevy>
revMARKbrown ok if you are on windows, I don't think you have any realistic way for remapping inside of ruby programs. The best chance is a GUI binding in ruby, but that requires you to invest some time into understanding how that works. An easier way would be to search for some remap/keybinding tools in windows, I am sure there are some that are useful.
<jhass>
revMARKbrown: tbh. I think you've chosen a screwdriver to hammer in a nail, choose the right tool for your problem, don't apply the tool you like the most
<revMARKbrown>
Learned C++ and some Lua and Python.. but Ruby is much more attractive and my students can do more I feel. We also use autohotkey but it works only on windows ... not as object oriented.
<bleak>
shecy: thanks :)
<shevy>
yeah, thanks shecy!!!
Wolland has quit [Remote host closed the connection]
<shevy>
you are welcome blenk
<mityaz>
:D
octaplus has joined #ruby
<pipecloud>
revMARKbrown: Okay, so are you adding these shortcuts to a single application?
* bleak
laughs
<bleak>
new keyboard
<jhass>
revMARKbrown: also global keymapping is something very OS specific, you'll have to build an abstraction with different backends if you want to go crossplatform
<nfk>
wired/wireless?
<shevy>
I usually just tab-complete bl<TAB> bl... these choices blackmesa blandflakes bleak blooberr____ Blue_Ice bluehavana
<revMARKbrown>
jhasss don't disrespect me plz. It only robs me of my sincere intentions to help poor and disabled students. "a screwdriver for a hammer" remark belittles me and hurts... robs me of something... I don't like that
<pipecloud>
jhass: Egh, maybe not.
<jhass>
sorry, didn't meant to be disrespectful
<revMARKbrown>
It will work even if I have to do it myself. Done!
<shevy>
like a juggernauth... unstoppable once it moves ;)
<bleak>
shevy yeah it's hard for tab complete to be worth it in a channel with 834 users
Spami has quit [Quit: This computer has gone to sleep]
<shevy>
I just filter away the unimportant ones!
<bleak>
hah
<nfk>
bleak, i can tab complete you with 3 keys tab included
shabgrd has quit [Quit: Aji maji la taraji]
<shevy>
like pip* these ones nobody needs or wants ... ;P
<shevy>
wait... 3 keys... lemme try
Cache_Money_ has joined #ruby
<shevy>
true
<bleak>
we're all three key nicks woo
<pipecloud>
Unlike shevy's crappy client, mine orders people based on when they last talked, giving preference to who I last highlighted.
<nfk>
hi5
<shevy>
nfk has like the mini nick ... 'nf' tab works
<pipecloud>
If I just tab it highlights the last message sender.
<nfk>
shevy, or you could just k
<bleak>
pipecloud that's smart
x1337807x has quit [Ping timeout: 252 seconds]
<shevy>
you have my pity pipecloud
<shevy>
k? hmm... lemme try
<pipecloud>
bleak: I hope so.
nfk is now known as Tsunashi_Takuto
Sir_Funk has joined #ruby
<shevy>
nfk that is a long nick now...
<Tsunashi_Takuto>
sadly this is still 3 keys away
<pipecloud>
shevy: If only I could be forced to type more! That's exactly what I lament each night.
<Tsunashi_Takuto>
i picked the longest i had
enape_101 has quit [Ping timeout: 260 seconds]
<pipecloud>
Tsunashi_Takuto: it takes just t<tab> for me
<Tsunashi_Takuto>
oh
<Tsunashi_Takuto>
right
<Tsunashi_Takuto>
longer is not better?
<shevy>
pipecloud man, look above, you wrote SO MUCH to perldork just before!
<pipecloud>
or just tab if you're the most recent message in the channel.
<shevy>
if anything you should type *less* not more
<shevy>
Tsunashi_Takuto no, short is great
<pipecloud>
shevy: My client lets me type less to type more.
<shevy>
nfk <--- perfect nick
<Tsunashi_Takuto>
pipecloud, for me tab with nothing repeats the last nick i tab completed
<shevy>
pipecloud <--- 4 chars too long at least
<pipecloud>
shevy: Not really.
<bleak>
pipecloud is still a 3 char nick for me
<Tsunashi_Takuto>
shevy, yeah, i initially couldn't reg it, i think
<shevy>
hmm
<shevy>
indeed
<pipecloud>
Besides that shevy is a stupid nick, it's not terrible.
Celm has quit [Ping timeout: 248 seconds]
<pipecloud>
The most important thing is to have the first characters as unique as possible.
<Tsunashi_Takuto>
then freenode did a nickname cleanup and it was freed
<shevy>
pipecloud is not a stupid nick, it's just unnecessary
<pipecloud>
shevy: It adds a lot of value.
<shevy>
pipe2 would be nicer
<pipecloud>
zyx is probably a good way to start a nick.
<pipecloud>
shevy: I'm not 2 tho
<shevy>
No I hate zyx
<shevy>
it's opposite... xyz <--- now that is normal thinking
<pipecloud>
shevy: No one cares what you like or don't like though, so there's that.
<Tsunashi_Takuto>
pipecloud, the more redundent letters the lower signal to noise ratio
<pipecloud>
Actually, more nicks start with xy than zy
<shevy>
pipecloud of course many care
<Tsunashi_Takuto>
now guess what that says about Tsunashi_Takuto
<shevy>
who is takuto
<Tsunashi_Takuto>
yeah
<pipecloud>
You want the most unique combination of characters, hopefully they don't suck for a nick though!
<Tsunashi_Takuto>
that's easy
<Tsunashi_Takuto>
hash something
<shevy>
p*p*c*o*d
<dachi>
i got back my nick without _ a day ago :)
<pipecloud>
Or just nick to zyx and group it.
<shevy>
Tsunashi_Takuto first guess: Samurai. Second guess: some anime thing
<Tsunashi_Takuto>
second
<Tsunashi_Takuto>
now, back to coding
<shevy>
omg I just googled...
<Tsunashi_Takuto>
impressed?
<shevy>
I dunno :\
whatasunnyday has quit [Quit: whatasunnyday]
uglybandersnatch has joined #ruby
<pipecloud>
such a weaboo.
<pipecloud>
:D
<shevy>
japanese are either super crazy or super awesome
interactionjaxsn has joined #ruby
<pontiki>
that's an IOR there
whatasunnyday has joined #ruby
<shevy>
hey pontiki!
<pipecloud>
pontikiwikitabi!
<AlexRussia>
shevy: )))
<AlexRussia>
pipecloud: pontikilab
<pipecloud>
AlexRussia: pontikifate.
verywiseman has joined #ruby
shadoi1 has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
interactionjaxsn has quit [Client Quit]
<AlexRussia>
pipecloud: pontikitikito
Cache_Money_ has joined #ruby
Hanmac has joined #ruby
Czupa has joined #ruby
Cache_Money_ has quit [Client Quit]
<pipecloud>
pontikitkatbar
Cache_Money_ has joined #ruby
griffindy has quit [Quit: Computer has gone to sleep.]
uglybandersnatch has quit [Quit: Leaving.]
hema3 has quit []
<AlexRussia>
pipecloud: pipecloud??
hema3 has joined #ruby
<pipecloud>
AlexRussia: shevy?!
<AlexRussia>
pipecloud: pipe cloud?
<AlexRussia>
pipecloud: wth?
tylersmith has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
bthesorceror has joined #ruby
shadoi1 has quit [Ping timeout: 265 seconds]
Xeago_ has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
MindfulMonk has joined #ruby
Cache_Money_ has quit [Client Quit]
fantazo has quit [Quit: Verlassend]
cashnguns has quit [Ping timeout: 272 seconds]
x1337807x has joined #ruby
timonv has quit [Remote host closed the connection]
aagdbl has quit [Quit: Leaving]
vlad_starkov has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
Hanmac1 has joined #ruby
Jetchisel has joined #ruby
x1337807x has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
fieldfirst has quit [Ping timeout: 246 seconds]
TripleDES has quit [Ping timeout: 248 seconds]
thams has joined #ruby
<ddd>
a cloud caused by pipes. Though in this case, I think pipecloud's is a bit cloudy
geggam has quit [Ping timeout: 248 seconds]
verywiseman has quit [Ping timeout: 260 seconds]
<ddd>
bwahahaha! get it? cloudy?! I slay me :)
nowthatsamatt has joined #ruby
<pipecloud>
Sunny days are for pansies.
<ddd>
heh
<perldork>
ddd: that's a nebulous thought
<ddd>
Thats me. Nebulous and Nefarious
<perldork>
ddd: Cirrusly?
LLKCKfan has quit [Read error: Connection reset by peer]
<ddd>
Siriusly
RaCx has quit [Ping timeout: 272 seconds]
RaCx has joined #ruby
LLKCKfan has joined #ruby
<Tsunashi_Takuto>
what's the cleanest way to handle flow control for enumerable being iterated with foreach?
<revMARKbrown>
FOUND ONE ALTERNATIVE... to sending keys and modifiers and other stuff... http://rubygems.org/gems/rubysdl ..it even does keystates pressing more than one key at a timeWOW
MyStartx has joined #ruby
<Tsunashi_Takuto>
like if i determine that this particular element should not be skipped
<Tsunashi_Takuto>
*should be
<pipecloud>
perldork: seariously
ivanoats_ has joined #ruby
<shevy>
hey AlexRussia
<Tsunashi_Takuto>
revMARKbrown, i wonder if it registers keys or keycodes
<pipecloud>
Tsunashi_Takuto: You're sure you need #foreach and not #each ?
<revMARKbrown>
does both scancodes and keycodes
<shevy>
revMARKbrown well, that requires you to have SDL
<Tsunashi_Takuto>
pipecloud, what's the difference? the API reference is using foreach
<revMARKbrown>
say it does events.. single keys.. and keystates pressing of more than one key
uglybandersnatch has joined #ruby
<revMARKbrown>
SDL is a library
<pipecloud>
Tsunashi_Takuto: Leftover state.
derek_c has joined #ruby
<Tsunashi_Takuto>
i know what's SDL, I was just wondering since gaming libraries tend to do keycodes not keys
<revMARKbrown>
SDL is cross platform also
<pipecloud>
revMARKbrown: SDL is an external library to ruby. You're using the ruby bindings.
<Tsunashi_Takuto>
pipecloud, such as local variables?
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<revMARKbrown>
just researching pipecloud ; excited I am about the fact that with an SDL library 90 of what I want can be achieved.. looking into ruby bindings also
Astralum has joined #ruby
<AlexRussia>
shevy: :*
<pipecloud>
Tsunashi_Takuto: Anything.
<revMARKbrown>
Might create a revRUBY program... hehehehe. to easily create cross platform hotkeys when I've done.
<pipecloud>
revMARKbrown: rubysdl is the bindings.
<revMARKbrown>
yes
<Tsunashi_Takuto>
anyway, what's the best way to control such loops?
<pipecloud>
Tsunashi_Takuto: in what way?
<Tsunashi_Takuto>
i vaguely remember that continue and break were shunned in functional languages
<Tsunashi_Takuto>
and just wrapping everything in if statements is just bad
<revMARKbrown>
My students will be able to create games etc in spare time. WOW... Ruby binding SDL library...
echevemaster has quit [Ping timeout: 264 seconds]
<pipecloud>
Tsunashi_Takuto: It really depends.
bean has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<revMARKbrown>
Tsunashi you into Haskell?
lockweel has joined #ruby
<revMARKbrown>
THANKS eveyone, just confirmed RUBY is what I need to complete my project... will see you soon. Research time.
<AlexRussia>
revMARKbrown: you say SDL? try it:https://eval.in/99654
<revMARKbrown>
Thanks pipecloud for pointing me in the right way ruby bindings.. Rubysdl
<pipecloud>
um cheers.
<pipecloud>
AlexRussia: Do you know what you're talking about?
cashnguns has joined #ruby
<pipecloud>
Obvs use 'SDL'.reverse
<pipecloud>
Wait I can't spell.
<AlexRussia>
pipecloud: maymaymaybe
<AlexRussia>
pipecloud: LDS?not fun
<AlexRussia>
revMARKbrown: students?
<AlexRussia>
Oo
lkba has quit [Ping timeout: 272 seconds]
<revMARKbrown>
LSD <========= hehehehehehehe. That is a lasting trip!
lockweel has quit [Ping timeout: 245 seconds]
z has joined #ruby
Czupa has quit [Remote host closed the connection]
m104 has joined #ruby
lockweel has joined #ruby
claymore has quit [Quit: Leaving]
<AlexRussia>
revMARKbrown: hm, simple is fun, idk short way (
<AlexRussia>
revMARKbrown: magic magic, SDL-LSD
pyreal has quit [Quit: pyreal]
lockweel has left #ruby [#ruby]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AlexRussia>
no,no,no, me don't used lsd.... in Russia some drug - natural ))))
<pipecloud>
AlexRussia: Sorry, much like shevy, I don't read.
<shevy>
nfk, only four homo entries in total that I can see there... Homo heidelbergensis, Homo sapiens, Homo sapiens neanderthalensis, Homo sapiens ssp. Denisova
<AlexRussia>
Вутшыщмф,
<AlexRussia>
Denisova?
<shevy>
yeah
<pipecloud>
shevy: What about homogenous milk byproduct?
<nfk>
if you happen to be in some large company, you might want to look at cephalopods to classify them
<shevy>
pipecloud that belongs to bovine
<pipecloud>
Mmm cephalopoden!
<nfk>
shevy, all homo sapiens are one species
<pipecloud>
shevy: Let's not bring your mother into this.
<shevy>
mrmcdonalds not anymore, it wants java! :( at least the 4-version
<pipecloud>
jhass: I found where I got the . from. YARD makes you use . for class methods.
<mrmcdonalds>
is that wat gtk is????
<nfk>
am i supposed to be scared now that he know's i'm using kde?
<shevy>
I remember with much love how _why's original shoes worked cutely...
<pipecloud>
Also: Note that class methods must not be referred to with the "::" namespace separator. Only modules, classes and constants should use "::".
<shevy>
mrmcdonalds, no, shoes should work without gtk too
<nfk>
dachi, ouch, that's even worse than what chinese did to us
<mrmcdonalds>
ok i am having some problems with it
<shevy>
though perhaps it depended on gtk, I don't recall anymore
<AlexRussia>
nfk: scared used kde?ahhahahahaha
holsee has joined #ruby
<mrmcdonalds>
i can get the normal boxes to work but making arrows and such doesnt
<AlexRussia>
nfk: also, you dont say, WHO YOU?
<mrmcdonalds>
the examples right from the site cut and pasted
<mrmcdonalds>
cant figure out why
<shevy>
nfk nah, KDE has some nifty applications. I love kde konsole, it is better than gnome-shell
<nfk>
dachi, during the olympics opening, obviously
<AlexRussia>
shevy: konsole? yakuake!
<pipecloud>
jhass: I write rdoc myself, but at least I know where I picked up the . for class methods rule from. I'll personally change to ::, but I think that both are confusing for the uninitiated.
tobias_ has joined #ruby
<shevy>
yakuake is ok too but I barely need it much
<shevy>
konsole on the other hand I need all the time
<mrmcdonalds>
shevy do you know what package gtk is?
<mrmcdonalds>
is cant find anything about this problem on goggle
<jhass>
sure, I just think that # and . is even more confusing than # and ::
<shevy>
mrmcdonalds well that depends what you mean with 'package'
<nfk>
shevy, indeed
<shevy>
do you mean a linux distribution package?
<mrmcdonalds>
its called atk-bridge
TripTastic has joined #ruby
<shevy>
ah
tobias_ is now known as tobi_
<mrmcdonalds>
failed to load atk-bridge
<pipecloud>
jhass: I don't personally care. I think that if you keep to proper method naming, :: makes more sense.
<shevy>
mrmcdonalds, yeah, I compile everything from source with ruby, giving the urls back is just a "url atspicore" (aliased to at-spi2-core). The reason I remember is is because when I compile gtk3, I sometimes get that "missing atk-bridge" error message
Jdubs has quit [Remote host closed the connection]
parduse has quit [Ping timeout: 245 seconds]
<AlexRussia>
nfk: Who you/
<AlexRussia>
nfk: Who you?
<AlexRussia>
nfk: Who you?
<AlexRussia>
nfk: Who you?
ivanoats has quit [Ping timeout: 260 seconds]
<AlexRussia>
nfk: Who you?
<mrmcdonalds>
thank you
* dachi
back
<shevy>
gtk3 is quite nice though, I have much less problems compiling it than gtk2
<mrmcdonalds>
great thank you
<tibounise>
AlexRussia: plz don't flood
<dachi>
nfk are you from japan?
<mrmcdonalds>
i dont even remember how to install these
<shevy>
oh
<AlexRussia>
tibounise: but he dont have reply
<mrmcdonalds>
are they make files?
<shevy>
hmm
ivanoats has joined #ruby
ivanoats has quit [Client Quit]
cashnguns has quit [Ping timeout: 250 seconds]
<shevy>
mrmcdonalds standard GNU autoconfigure. will create Makefile from Makefile.ac or Makefile.in I believe
<pipecloud>
jhass: Oh hey, you're ZYX!
<mrmcdonalds>
does install order matter?
<shevy>
yeah
<pipecloud>
SeñorZYX! :D
<shevy>
I dont remember which one of the two you need first
zachrab has joined #ruby
<mrmcdonalds>
lol ok
<mrmcdonalds>
np
<mrmcdonalds>
it will tell me
<shevy>
hehe yeah
<pipecloud>
The only consistent committer to diaspora*! :D
<zachrab>
im trying to install a gem and i get the following error
<zachrab>
ERROR: Failed to build gem native extension
parduse has joined #ruby
<mrmcdonalds>
shevy how do i do it sorry?
<shevy>
yes, it tries to compile something and failed zachrab
JBreit has quit [Ping timeout: 252 seconds]
<mrmcdonalds>
i am in the file in console
<nfk>
dachi, no, japan was one of the last
ws2k3_ has joined #ruby
<nfk>
china was before us
<mrmcdonalds>
sudo ./INSTALL?
<zachrab>
shevy: how can i troubleshoot
<shevy>
mrmcdonalds you mean compile from source? if you download it, extract it first, then cd into that dir, then run. "./configure --prefix=/usr", "make", then "make install"
MyStartx has quit [Ping timeout: 245 seconds]
<Morrolan>
If those sources follow any sort of convention, INSTALL will be a textfile describing the installation process, mrmcdonalds.
<nfk>
and they stopped at the end of the ramp during opening and that stole spotlight from our team
habanany has quit [Read error: Operation timed out]
<shevy>
zachrab well
<Morrolan>
As a rule of thumb, don't just try to execute random files...
<shevy>
zachrab best way is to go to that directory first
<nfk>
it's a shame our hockey team didn't push them further
<tibounise>
zachrab: Do you have the required software to build your gem ? (if you're running Linux, look for something like build-essentials)
<shevy>
zachrab, what gem is it btw
<zachrab>
im on mac os
pietr0 has quit [Quit: pietr0]
<zachrab>
tibounise: mac os
<zachrab>
shevy: artoo-arduino
<shevy>
hmm
<pipecloud>
shevy: Actually, you should set the prefix to /usr/local
<shevy>
never tried that, let's see
<tibounise>
zachrab: Okay, have you installed XCode and the CLI tools from XCode ?
<shevy>
pipecloud come on man, don't be so scared!
pietr0 has joined #ruby
<pipecloud>
Assuming you're using a distro that has a package management system.
<zachrab>
tibounise: i believe so
<mrmcdonalds>
says no make file
<Morrolan>
Hands off of /usr for non-packaged software.
<Morrolan>
/usr/local it is, shevy! *grins*
<pipecloud>
shevy: One should be careful to not upset the PMS gods.
<zachrab>
tibounise: how do i check
<shevy>
mrmcdonalds did you run configure already?
<mrmcdonalds>
yes it worked
<mrmcdonalds>
i do not need to change dir right
<shevy>
ok, then "make" in that same dir must work 100%
<zachrab>
shevy: which dir
tkuchiki has joined #ruby
<mrmcdonalds>
file on my desk
<pipecloud>
mrmcdonalds: Always read INSTALL text files.
<dachi>
nfk yeah i know how that feels
<shevy>
zachrab gems are downloaded in some local directory
<pipecloud>
Or README if that's missing.
<tibounise>
zachrab: run "xcode-select --install"
<shevy>
zachrab, on my current system I download into /usr/lib/ruby/gems/1.9.1/cache/
<nfk>
dachi, where from?
<pipecloud>
zachrab: Gist the error text in full along with the command that produced it, that'll help a lot more.
<zachrab>
pipecloud: ok
<shevy>
zachrab you can unpack that local gem then via: "gem unpack name_of_gem.gem"
<pipecloud>
shevy: mmm, probably not.
bklane has quit [Quit: Leaving...]
aryaching has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipecloud>
zachrab: I'd focus on getting me that gist. :D
<mrmcdonalds>
shevy i see why its not working... it says that intltool is too old, i need .40 or later
<shevy>
hmm
Hanmac has joined #ruby
<mrmcdonalds>
is there an apt-get?
<pipecloud>
zachrab: Try grabbing the previous release version.
<mrmcdonalds>
never heard of that package lol
<shevy>
zachrab I just tried that artoo thing gem but I cant get it to compile, it only has a Rakefile which does not work at all for me
mehlah has joined #ruby
<dachi>
there are a lot of such happengings with my country, our culture, sports and etc, plus we're kind of 'people with pride' and I can tell how bad such things can feel
<nfk>
since it's unlikley EU or NATO will want to let a country with disputed territories join
angusiguess has quit [Ping timeout: 265 seconds]
<nfk>
*unlikely
<shevy>
nfk well, greece vs. turkiye over cyprus
<nfk>
and even if at some future point it might be possible to reclaim them, it might not be a nice experience due to civil settlers even if it was an occupying force
angusiguess has joined #ruby
<zachrab>
pipecloud: which patch of 2.0 did it work for
aryaching has quit [Ping timeout: 245 seconds]
Yahkob has quit [Remote host closed the connection]
sethen has quit [Remote host closed the connection]
<mrmcdonalds>
shevy lol
<nfk>
shevy, which is why the talks with turkey are frozen
<pipecloud>
zachrab: oh balls. it just installed on 2.1 p0
<shevy>
mrmcdonalds that one you can then install via "perl Makefile.PL" and make and make install I think
<zachrab>
pipecloud: so why is it not working for me??!?!?!
<shevy>
mrmcdonalds I use lots of aliases to help me in that btw
<zachrab>
pipecloud: not fair!
<pipecloud>
zachrab: Try p0.
<mrmcdonalds>
you have everything i need on speeddial
<mrmcdonalds>
lol
<shevy>
"perlinst" for perl installations, "doit" for normal compilations, "cmakeusr" for compiling into /usr prefix etc...
<mrmcdonalds>
i really really appreciate the help
<pipecloud>
mrmcdonalds: Are you sure your distro doesn't have packages for this?
<nfk>
mrmcdonalds, like your dealer?
<mrmcdonalds>
using ubuntu
<mrmcdonalds>
not sure
<pipecloud>
mrmcdonalds: What's the package you want?
<shevy>
mrmcdonalds yeah, it is just an "url xmlparser" and it sets my xorg-buffer, then I can copy paste into IRC with middle mouse button
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<pipecloud>
libxml2-dev perhaps?
<zachrab>
pipecloud: i dont have that version of ruby should i install it
<shevy>
now the fun starts - guessing names of distribution packages! :)
<zachrab>
pipecloud: rvm install ruby-2.1.0?
<pipecloud>
zachrab: I use ruby-install, but I'm fetching rvm to be able to install HEAD builds.
RaCx has quit [Ping timeout: 272 seconds]
Guest78475 has quit [Ping timeout: 250 seconds]
chipotle_ has joined #ruby
<mrmcdonalds>
working pipecload
<pipecloud>
zachrab: `rvm list known`
<mrmcdonalds>
well see if its compatible
<pipecloud>
mrmcdonalds: Do you just need an xml parser?
Yahkob_ has joined #ruby
<pipecloud>
I don't know what you need.
<mrmcdonalds>
not sure
<mrmcdonalds>
ls
chipotle has quit [Ping timeout: 245 seconds]
<shevy>
for compiling from source probably
Yahkob has quit [Read error: No route to host]
<shevy>
for installing the packages via ubuntu, probably not
workmad3 has quit [Ping timeout: 272 seconds]
<dachi>
nfk yes but those people who're in my capital (temporarily) have their own homes there, they will go back and whatever happens to those settlers there happens. okay, I don't think I should talk about political and countries issues here anymore, but it was nice to have a conversation with you.
<zachrab>
pipecloud: using ruby 2.0.0p247 and get same error
mgberlin has joined #ruby
<pipecloud>
zachrab: This is bovversome
<zachrab>
pipecloud: i know!
<pipecloud>
mrmcdonalds: What are you doing that you need something you don't have?
<mgberlin>
do two colons (::) in front of a method always inply Class Method?
<zachrab>
pipecloud: what should i ddo?
chipotle_ has quit [Read error: Connection reset by peer]
<apeiros>
mgberlin: no
<apeiros>
:: can always be used as a substitute for .
RaCx has joined #ruby
<apeiros>
however, that's rather legacy style and you shouldn't.
chipotle has joined #ruby
<pipecloud>
zachrab: Fix your permissions on your rvm directory first
<pipecloud>
never use sudo on a user install of rvm.
<zachrab>
pipecloud: how do i do that
griffindy has joined #ruby
<pipecloud>
you can use rvmsudo though if you think you must
pietr0 has quit [Quit: pietr0]
<mgberlin>
apeiros: I'm looking at a spec and it says describe "::deal_from" do
<pipecloud>
zachrab: I think rvm has documentation on it. I haven' used it in a long time.
aspires has joined #ruby
<pipecloud>
mgberlin: It refers to a class method, yes.
<AlexRussia>
cocaine, heroine, cannabis?
Jdubs has joined #ruby
<pipecloud>
AlexRussia: not underground enough
<apeiros>
mgberlin: that's documentation lingo. and yes, there :: is used to indicate class methods, and # for instance methods
<mgberlin>
cool, thanks
<apeiros>
I thought you meant in code
<pipecloud>
apeiros: Or if you hail from YARD (ew), . is class method
vlad_starkov has quit [Read error: Connection reset by peer]
<mgberlin>
apeiros: i didn't specify, you coudln't have known. thx.
<mrmcdonalds>
ok it said i needed pearl, i got pearl, not when i try to do the pearl install it says its not a valid game file
<mrmcdonalds>
in xml::parser
spider-mario has quit [Read error: Connection reset by peer]
<mrmcdonalds>
pearl Makefile.PL "data does not appear to be a saved game file"
<nfk>
dachi, with every subsequent year it will become less possible and unless they are deported by russian government it's will generate a lot of bad PR for you
vlad_starkov has joined #ruby
<apeiros>
mrmcdonalds: I think perl changed its name from pearl more than a decade ago :-p
<mrmcdonalds>
hahahah
<mrmcdonalds>
hhahahahahahaha
<pipecloud>
mrmcdonalds: What are you doing though?
<jhass>
I kinda had to think of phps package manager (pear)
<pipecloud>
I mean, yeah you have a dependency, but what are you doing that for?
<pipecloud>
zachrab: Don't use sudo. RVM user installs should never use sudo.
<nfk>
and aren't weatherproof
timonv has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 265 seconds]
<zachrab>
pipecloud: thats the reason it cant build?
<pipecloud>
zachrab: chown -r $USER:$USER ~/.rvm
<mrmcdonalds>
ok im using version 2.1.5
<mrmcdonalds>
is that stable?
<pipecloud>
zachrab: It's something you should never do. Don't introduce weird things. :)
<pipecloud>
It'll make sure we aren't going on a wild shevy chase.
<zachrab>
pipecloud: it says
<zachrab>
pipecloud: illegal option -- r
<pipecloud>
zachrab: Use capital R
<pipecloud>
mrmcdonalds: I think, maybe, 2.x is stable
<pipecloud>
mrmcdonalds: Did oyu say you were on windows?
<mrmcdonalds>
ubuntu
cashnguns has joined #ruby
<mrmcdonalds>
12.4
<zachrab>
pipecloud: it says illegal group name
hema3 is now known as tt1187
<pipecloud>
zachrab: Ugh, are you on a mac?
<zachrab>
pipecloud: yes
mercwithamouth has joined #ruby
<mrmcdonalds>
all i want to do is make gui :(
<mrmcdonalds>
with ruby
m104 has joined #ruby
<pipecloud>
zachrab: Then it's $USER:staff
tibounise has quit [Quit: WeeChat 0.4.2]
<pipecloud>
mrmcdonalds: That's odd. Hm. This was super easy for me in both OSX, debian, and ubanto.
<zachrab>
pipecloud: older version of artoo-arduino worked
<shevy>
mrmcdonalds I can make GUIs with ruby-gnome just fine :)
MyStartx has joined #ruby
Kricir has quit [Remote host closed the connection]
saarinen has joined #ruby
wald0 has quit [Ping timeout: 248 seconds]
pdtpatrick has quit [Ping timeout: 248 seconds]
bleak2 has joined #ruby
Xeago has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
<shevy>
mrmcdonalds here I wrote some ifconfig wrapper about 6 years ago or such, how awesome it is :P http://oi61.tinypic.com/atmzbp.jpg
<zachrab>
pipecloud: ok done
<shevy>
that is only the part about the display btw, the other parts have buttons and so forth
vlad_starkov has quit [Read error: Connection reset by peer]
pdtpatrick has joined #ruby
araujo has joined #ruby
kenndel has quit [Read error: Connection reset by peer]
kenndel has joined #ruby
<zachrab>
pipecloud: what should i do now?
bleak has quit [Ping timeout: 250 seconds]
mdpatrick has joined #ruby
<pipecloud>
zachrab: without using sudo, attempt installing that gem again.
<pipecloud>
Then gist the output if it fails.
<zachrab>
pipecloud: so gem install artoo-arduino
<pipecloud>
zachrab: Might as well toss --backtrace onto that
<zachrab>
pipecloud:
<zachrab>
k
bleak2 has quit [Ping timeout: 250 seconds]
[gmi] has quit [Quit: Leaving]
i_s has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RaCx has quit [Ping timeout: 245 seconds]
<zachrab>
pipecloud: it worked!
<pipecloud>
zachrab: Fancy that.
<zachrab>
pipecloud: hallelujah!
marr has quit []
<pipecloud>
zachrab: Tell me, "Spaceghost, I will _never_ use sudo with rvm again."
<zachrab>
thank you!!!
MyStartx has quit [Ping timeout: 245 seconds]
tjr9898 has quit [Remote host closed the connection]
razibog has joined #ruby
<pipecloud>
zachrab: Also, say, "shevy is rubbish."
razibog has quit [Client Quit]
<zachrab>
Spaceghost, I will _never_ use sudo with rvm again.
<pipecloud>
:D
<revMARKbrown>
has anyone used RUBYMINE? IS IT WORTH IT?
Xeago has joined #ruby
RaCx has joined #ruby
<apeiros>
revMARKbrown: NO NOBODY EVER USED IT!
<apeiros>
also, your shift key seems stuck
fgo has joined #ruby
<revMARKbrown>
maybe just hype on internet to buy it
<pipecloud>
revMARKbrown: IT ISN'T MY THING BUT SOME PEOPLE I KNOW LIKE IT
<nfk>
alright, i give up
<pipecloud>
I DON'T LIKE IDE'S
zigomir has quit [Ping timeout: 245 seconds]
<shevy>
pipecloud I am impressed that you did not tell him to read the documentation ;)
<nfk>
i'll just require user to specify both folders and handle them in pure ruby
<pipecloud>
shevy: Only because I don't know if RVM documents not using sudo.
fgo has quit [Remote host closed the connection]
<nfk>
i can't take interoperating ruby with UNIX utilities
<apeiros>
as far as IDEs for ruby go, rubymine is one of the better
zachrab has quit []
<apeiros>
it's quite nice
<apeiros>
but as pipecloud, I don't like IDEs, I prefer text editors.
MyStartx has joined #ruby
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140127194636]]
<RubyTitmouse>
The first rule of software development... never buy anything, it is all crap
Hanmac1 has joined #ruby
dx7 has joined #ruby
<RubyTitmouse>
If it was any good, there would be an open source copycat
<pipecloud>
The second rule of software development: Never anything, it's all crap.
pdtpatrick has quit [Quit: pdtpatrick]
<nfk>
i hate them all
pierre1_ has joined #ruby
<nfk>
vim is derpily harsh to use
<nfk>
geany is a bitch
<pipecloud>
nfk: notepad.exe or gtfo
<nfk>
kwrite/kate are POS and crap
<RubyTitmouse>
if it is open source, it is guaranteed not to be any crappier than you can tolerate... or you'd have fixed it by now
Hanmac has quit [Ping timeout: 250 seconds]
<nfk>
notepad.exe is a fine binary editor if you're a sworn hobo but it sucks anyway
danshultz has joined #ruby
<pipecloud>
RubyTitmouse: If only openssl understood that.
terrellt has quit [Ping timeout: 252 seconds]
<pipecloud>
The truly enlightened use CV to interpret lines drawn in sand on perfect beaches in perfect weather.
<nfk>
qtcreator i could almost like if not for the limited uses outside C++
<pipecloud>
nfk: People use QT creator's output with other langauges.
<nfk>
and don't get me started on working on two documents at the same time
<pipecloud>
There's qt bindings for ruby
<RubyTitmouse>
vim is great for editing system files, because a random keypress has a lower likelyhood of causing anything to happen. emacs is better for creative work because of its flexible and network-aware system of frames, windows, and buffers