<baweaver>
either that or it's packaged separately as a gem and eval.in has it installed
<baweaver>
RSpec
<pwnd_nsfw>
#same
<baweaver>
As to why, more support, more literature, more options
<pwnd_nsfw>
Syntax is nice as well
<baweaver>
Myron literally just finished a book on it as well
<baweaver>
though the concepts mostly transfer over to Minitest
<baweaver>
99% of the time if I end up in a codebase at work somewhere it's RSpec as well which is a significant driving force
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<baweaver>
Now I'm sure that number changes as you get closer in proximity to Seattle or to a wild havenwood
<baweaver>
anyways, off I go. Time to play more Pokemon and stop cheating on my "don't program for a week" deal I made myself.
iamarun has joined #ruby
kn-928 has joined #ruby
aupadhye has joined #ruby
aupadhye has quit [Client Quit]
aupadhye has joined #ruby
<mihael_k33hl>
what's the standard ruby directory hierarchy? different folders for spec and test/unit?
iamarun has quit [Ping timeout: 256 seconds]
nso95 has joined #ruby
darkhanb has joined #ruby
marius has quit [Read error: Connection reset by peer]
marius has joined #ruby
nso95 has quit [Changing host]
nso95 has joined #ruby
chmuri has quit [Excess Flood]
kn-928 has quit [Ping timeout: 256 seconds]
bkxd has joined #ruby
chmurifree has joined #ruby
alien_frog has quit [Remote host closed the connection]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
marius has quit [Read error: Connection reset by peer]
nkts has joined #ruby
ur5us has quit [Remote host closed the connection]
synstack has quit [Ping timeout: 264 seconds]
Dimik has joined #ruby
ghormoon has quit [Ping timeout: 240 seconds]
ghormoon has joined #ruby
hanetzer is now known as \\-hanetzer
\\-hanetzer is now known as \-hanetzer
\-hanetzer is now known as hanetzer
zautomata3 has joined #ruby
zautomata2 has quit [Ping timeout: 264 seconds]
Puffball_ has quit [Ping timeout: 240 seconds]
christiandsg has quit [Remote host closed the connection]
cschnei__ has quit [Remote host closed the connection]
marius has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
abraham_ has quit [Quit: abraham_]
nkts has quit [Ping timeout: 260 seconds]
cschnei__ has joined #ruby
cschnei__ has quit [Ping timeout: 264 seconds]
InfinityFye has joined #ruby
iamarun has joined #ruby
rippa has joined #ruby
zautomata4 has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
InfinityFye has left #ruby ["Leaving"]
zautomata3 has quit [Ping timeout: 272 seconds]
al2o3-cr has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
rabajaj has joined #ruby
Rr4sT has joined #ruby
graaff has quit [Quit: Leaving]
zautomata4 has quit [Ping timeout: 252 seconds]
zautomata has joined #ruby
cschnei__ has joined #ruby
zautomata1 has joined #ruby
zautomata has quit [Ping timeout: 248 seconds]
t0adst00l has joined #ruby
prometheus_falli has joined #ruby
zautomata2 has joined #ruby
zautomata1 has quit [Ping timeout: 248 seconds]
<mihael_k33hl>
Anyone using minitest? Where can I find the docs pertaining what other test I can use, I don't know the term but the ones like " assert_equal" etc.?
<mihael_k33hl>
Oh, it's on ruby-doc, hehe
zautomata4 has joined #ruby
zautomata2 has quit [Ping timeout: 248 seconds]
anisha has joined #ruby
zapata has joined #ruby
k0mpa has quit [Remote host closed the connection]
prometheus_falli has quit [Remote host closed the connection]
t0adst00l has quit [Remote host closed the connection]
jnollette has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
zautomata has joined #ruby
apeiros has joined #ruby
zautomata4 has quit [Ping timeout: 260 seconds]
_aeris_ has joined #ruby
nofxx has quit [Remote host closed the connection]
cschnei__ has quit [Ping timeout: 265 seconds]
zautomata1 has joined #ruby
Ishido has joined #ruby
singalaut has joined #ruby
zautomata has quit [Ping timeout: 252 seconds]
Puffball has joined #ruby
Asher has quit [Read error: Connection reset by peer]
<dminuoso>
baweaver: What can I say. I can determine such problems at compile time!
redondos has quit [Ping timeout: 256 seconds]
cschnei__ has joined #ruby
Asher has joined #ruby
<dminuoso>
baweaver: But those numbers are a bit surprising.
<mihael_k33hl>
Using minitest I'm getting the error: uninitialized constant MiniTest::Test (NameError). I already added minitest in my Gemfile and run bundle
<apeiros>
mihael_k33hl: depending on how your code works, you still have to `require 'minitest'`
christiandsg has quit [Ping timeout: 248 seconds]
cschnei__ has joined #ruby
iamarun has quit [Ping timeout: 240 seconds]
<apeiros>
baweaver: wow, your numbers go against expectations :-S
marr has joined #ruby
minimalism has quit [Quit: minimalism]
adac has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
s2013 has joined #ruby
alex`` has joined #ruby
heftig has quit [Read error: Connection reset by peer]
heftig has joined #ruby
cschnei__ has quit [Ping timeout: 268 seconds]
<hanetzer>
apeiros: nice, I felt the same when I got a patch into the linux kernel not too long ago :)
<apeiros>
hanetzer: nice! I can imagine :D
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0adst00l has quit [Ping timeout: 272 seconds]
darkhanb has joined #ruby
<apeiros>
hanetzer: it was somewhat surprising, given that I wrote it 9y ago :D I almost missed it in the NEWS section.
<hanetzer>
heh. my patch was fairly small and simple. just added support to another chip in a family
<hanetzer>
was accepted by linus walleji[sp?] fairly quickly, and made it upstream pretty fast :)
claudiuinberlin has joined #ruby
<apeiros>
^^
darkhanb has quit [Read error: Connection reset by peer]
darkhanb_ has joined #ruby
<hanetzer>
right now I'm working on something more ambitious: support for a whole new soc! :P
mark_66 has joined #ruby
cschnei__ has joined #ruby
<hanetzer>
I've been working on the clock and reset generator driver, and a bit on the rtc (which I must say is the most asshole-ish piece of silicon I ever had the displeasure to lay eyes upon the datasheet of0
* apeiros
thinks the color coding scheme of unicode's emoticon should include a "random" skin color modifier
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
supergeek has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
supergeek has joined #ruby
christiandsg has joined #ruby
christiandsg has quit [Ping timeout: 248 seconds]
pleiosaur has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
milardovich has joined #ruby
DmitryBochkarev has joined #ruby
cschnei__ has quit [Ping timeout: 248 seconds]
iamarun has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
iamarun has quit [Max SendQ exceeded]
iamarun has joined #ruby
cschnei__ has joined #ruby
iamarun has quit [Remote host closed the connection]
adac has quit [Ping timeout: 240 seconds]
iamarun has joined #ruby
iamarun has quit [Max SendQ exceeded]
iamarun has joined #ruby
iamarun has quit [Max SendQ exceeded]
iamarun has joined #ruby
aef has joined #ruby
iamarun has quit [Remote host closed the connection]
iamarun has joined #ruby
Puffball has quit [Ping timeout: 260 seconds]
nso95 has quit []
adac has joined #ruby
kelseynz has quit [Read error: Connection reset by peer]
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
<mihael_k33hl>
I have a class that depends on the sqlite3 gem, is it necessary to create unit tests though? or just directly integration tests?
<apeiros>
"is it necessary" no, unit tests are never "necessary". they're just a good idea.
<apeiros>
and probably more to the point of what you intended to know: as long as you test your class' functionality and not sqlite3's, tests will be a good idea.
InfinityFye has joined #ruby
mtkd has joined #ruby
InfinityFye has left #ruby [#ruby]
Barrt has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
Barrt has joined #ruby
hightower2 has joined #ruby
dellavg_ has joined #ruby
Puffball has joined #ruby
<apeiros>
mihael_k33hl: just as a feedback - for people who try to help, an answer is a good idea. it's not motivating if you feel like talking to a wall.
Defenestrate has joined #ruby
tvw has joined #ruby
quobo has joined #ruby
Defenestrate has quit [Quit: Leaving]
tvw has quit []
tvw has joined #ruby
Barrt has quit [Ping timeout: 265 seconds]
quobo has quit []
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
miskatonic has joined #ruby
tvw has quit []
tvw has joined #ruby
Ltem has joined #ruby
Rr4sT has quit [Quit: Connection closed for inactivity]
adac has quit [Ping timeout: 256 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Barrt has joined #ruby
iamarun has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 272 seconds]
SirOliver has joined #ruby
iamarun has joined #ruby
mikecmpbll has joined #ruby
xco has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
Serpent7776 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
alfiemax has joined #ruby
adac has joined #ruby
dellavg_ has quit [Remote host closed the connection]
dellavg_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
bkxd has quit []
tomphp has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
milardovich has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
iamarun has quit [Remote host closed the connection]
dellavg_ has quit [Remote host closed the connection]
dellavg_ has joined #ruby
SirOliver has joined #ruby
Mia has joined #ruby
TomyLobo has joined #ruby
_ch4l45h45k4 has joined #ruby
xco has quit [Quit: xco]
jnyw has quit [Quit: WeeChat 2.0.1]
despai has joined #ruby
mostlybadfly has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros__ has quit [Remote host closed the connection]
apeiros has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
Ltem has quit [Quit: bbl]
jottr has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
KeyJoo has quit [Ping timeout: 256 seconds]
Psybur has joined #ruby
IanMalcolm has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
<mihael_k33hl>
apeiros__: Hey man, sorry man, I went to buy dinner, was just able to read your reply right now
jottr has joined #ruby
apeiros__ is now known as apeiros
IanMalcolm has quit [Changing host]
IanMalcolm has joined #ruby
_ch4l45h45k4 has quit [Quit: Leaving]
<mihael_k33hl>
apeiros__: I appreciate the help though, I decided to just create spec tests rather than unit tests, as I've read unit tests shouldn't invoke third party elements or gems, and my class does that being heavy dependent on sqlite3 :)
cschnei__ has quit [Ping timeout: 252 seconds]
jottr has quit [Client Quit]
yeticry has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
despai has quit [Quit: ...]
SirOliver has joined #ruby
<apeiros>
mihael_k33hl: you're mixing up things here, though
yeticry has joined #ruby
<apeiros>
the "unit" in "unittest" does not mean you can't use it for anything other than unit tests.
<apeiros>
and you'll essentially write unit tests in spec too.
* apeiros
assumes rspec
<apeiros>
(not that it'd matter, though)
guardianx has joined #ruby
arquebus has joined #ruby
<mihael_k33hl>
apeiros: hmmm, cause I read somewhere about unit tests, and I quote "First, you have to understand that unit tests, should not interact with external resources like DB or files, so lets call this tests integration or feature test."
<apeiros>
yes. one is a pattern, or philosophy. the other is a library.
<apeiros>
the two are not the same.
leitz has joined #ruby
cschnei__ has joined #ruby
<mihael_k33hl>
apeiros: I'll be creating the spec tests using minitest :)
nicesignal has quit [Remote host closed the connection]
<apeiros>
note: I'm not telling you what to do. just that you seem to draw wrong conclusions.
nicesignal has joined #ruby
<mihael_k33hl>
apeiros: Oh yeah, I find it really helpful to get some insights from experienced, if not expert, ruby users :)
rabajaj has quit [Quit: Leaving]
raynold has quit [Quit: Connection closed for inactivity]
guardianx has quit []
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
milardovich has quit [Remote host closed the connection]
capadesu_ has joined #ruby
adac has quit [Ping timeout: 272 seconds]
koneko has joined #ruby
zoiloftt has joined #ruby
AJA4350 has joined #ruby
<leitz>
If you're building a gem with a current-ish version of ruby, do you still need to install rubygems?
arquebus has quit [Quit: konversation disconnects]
<apeiros>
leitz: no. been ages.
alfiemax has quit [Remote host closed the connection]
<apeiros>
ever since 1.9, rubygems is included. that's about 10y I think?
<leitz>
That's the current error and the new gemspec.
capadesu is now known as capadesu_
<apeiros>
if you read the messages closely, it does *not* complain about *having* a #! line
s3nd1v0g1us has quit [Quit: tempusfugit]
<apeiros>
it complains about #! being missing, and not being executable (chmod 0755)
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
supergeek has quit [Quit: Goodbye cruel world...]
capadesu_ is now known as capadesu
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
<leitz>
RIght, that's the question. If I put the "#!" line in will it impact people running the code on Windows? I'm on Linux.
<leitz>
And, another style question, drop the ".rb" extension or keep?
linduxed_ has quit [Quit: WeeChat 2.0]
linduxed has joined #ruby
<apeiros>
no
<apeiros>
#! in gem executables is fine. rubygems will rewrite as necessary anyway.
<apeiros>
for executables: drop
<apeiros>
you don't run `bundle.rb` or `rails.rb` either.
arquebus has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
<leitz>
Actually, I don't run either. :D
s2013 has joined #ruby
kelseynz has joined #ruby
<apeiros>
well, `gem.rb` then
cschnei__ has quit [Ping timeout: 255 seconds]
arquebus has quit [Quit: Leaving]
jottr_ has joined #ruby
Ltem has joined #ruby
cschnei__ has joined #ruby
warrshrike has joined #ruby
<warrshrike>
Guys I want to parse C++ code using ruby
<warrshrike>
essentially, the comments first of all need to be identified and stored in an array
<warrshrike>
whats a good way to do this?
<warrshrike>
if conditions and string matching?
<warrshrike>
or regex?
DmitryBochkarev has joined #ruby
elsevero has joined #ruby
<leitz>
warrshrike, does rdoc give you what you want? The /* */ bits could be tough. I don't know a lot of ruby, though.
<apeiros>
d'oh, ruby-toolbox is down.
<apeiros>
warrshrike: there are a couple of parser generator libraries for ruby
<warrshrike>
leitz: whats r doc
<apeiros>
and if you want to roll it by hand, I'd at the very least use stringscanner
<warrshrike>
apeiros: no its like a one odd thing id prefer to roll it by hand
<warrshrike>
apeiros: do you recommend if conditions
<warrshrike>
or regex
<apeiros>
I just wrote my rec
<warrshrike>
rec? recommendation?
despai has quit [Quit: ...]
<leitz>
apeiros, the ruby-toolbox thing looks old, but there seems to be a lot of potentially good code/ideas. Is toolbox different than gems for a reason?
<apeiros>
warrshrike: yes
alfiemax has joined #ruby
<apeiros>
leitz: ruby-toolbox mostly was a categorization of existing gems
<apeiros>
rubygems' own service is rather limited there
kelseynz has quit [Quit: Quit]
<leitz>
warrshrike, rdoc is a ruby tool to create documentation.
<leitz>
Try gem specification rdoc
despai has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
<leitz>
apeiros, ah. Now and again I look for ways to contribute back to the community. Usually I find my skills lacking.
SirOliver has quit [Quit: ZZZzzz…]
<leitz>
Goal for 2018 is going deeper into Ruby with some OOD/A/P and testing.
jeffreylevesque has quit [Ping timeout: 268 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
<warrshrike>
does gets give nil if no stdin is present?
<warrshrike>
or EOF?
<apeiros>
it'll try to read any arguments passed to the script as files.
<apeiros>
yeah, google is a bad replacement for language docs.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
use ri locally, or a page like ruby-doc.org
<apeiros>
also IMO invest about ~1h to skim through ruby's core classes. no need to learn it by heart or somesuch. just skim it so you've got an idea what's there.
<warrshrike>
okay yeah sounds like a good idea ~_~
IanMalcolm has quit [Ping timeout: 264 seconds]
cschnei__ has quit [Ping timeout: 264 seconds]
stealth[] has left #ruby ["Leaving"]
IanMalcolm has joined #ruby
apeiros has quit [Remote host closed the connection]
cschnei__ has joined #ruby
<mihael_k33hl>
How do you stub module methods in minitest?
warrshrike has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
<mihael_k33hl>
I have a Class with Module method included that writes to a file, what's the best approach of stubbing or mocking it? Or stub the module method to write the file into a temporary directory?
DLSteve has joined #ruby
J4ck_4l0n3 has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
J4ck_4l0n3 has left #ruby ["WeeChat 2.0.1"]
k0mpa has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
IanMalcolm has quit [Ping timeout: 264 seconds]
k0mpa has joined #ruby
za1b1tsu has joined #ruby
<za1b1tsu>
Hello, regarding rspec should I use shoulda matcher or go for standard rspec
<za1b1tsu>
?
jeffreylevesque has joined #ruby
<leitz>
za1b1tsu, I'm not an expert but I tend to start with the basics and move forward from there. rspec is pretty good.
cadillac_ has quit [Ping timeout: 272 seconds]
Flashynuff has joined #ruby
cadillac_ has joined #ruby
alfiemax has joined #ruby
cschnei__ has quit [Ping timeout: 264 seconds]
drewmcmillan has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
despai has joined #ruby
mihael_k33hl has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 256 seconds]
jespada has quit [Quit: WeeChat 1.9]
<apeiros>
fun, 2.fdiv(BigDecimal("4")) => 0.5 as expected in 2.5, but in 2.4.3 it's still => 2.2006004337e-314
Guest66 has joined #ruby
kn-928 has joined #ruby
kn-928 has quit [Client Quit]
marius has joined #ruby
haxx0r has joined #ruby
<haxx0r>
i have an array of providers. i want to compare each against each other. what's beast
<apeiros>
haxx0r: ^ no it does not duplicate the data
<haxx0r>
if i run combination with 9 markets
<haxx0r>
ok. thanks
<apeiros>
and yes, combinations become big quickly. hence my question what you want to achieve with all of this. but hey, have fun brute forcing your problem :)
cschnei__ has quit [Ping timeout: 265 seconds]
<haxx0r>
arbitrage finding between exchanges.
<haxx0r>
especially in low liquidity markets like Monero/USDT or ETC/USDT
iamarun has joined #ruby
iamarun has quit [Remote host closed the connection]
<haxx0r>
x = b.sell(amount)
<haxx0r>
y = c.buy(amount)
<haxx0r>
percent = (x / y * 100 - 100).round(2)
<haxx0r>
# if percent > 0.2
<haxx0r>
p "[#{Time.now} | #{percent}% | #{(x-y).round(5)}] [Sell:Bitfinex #{amount}#{to} for #{x.round(5)} #{from}] [Buy:Cryptopia #{amount}#{to} for #{y.round(5)} #{from}]"
milardovich has joined #ruby
<apeiros>
?gist
<al2o3-cr>
?gist haxx0r
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<ruby[bot]>
haxx0r: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<haxx0r>
"[2017-12-27 22:16:42 +0700 | 0.94% | 6.73196] [Sell:Cryptopia 2XMR for 724.54201 USDT] [Buy:Bittrex 2XMR for 717.81005 USDT]"
<haxx0r>
this works fine so far
<apeiros>
don't spam the channel with >3 lines of code, see topic
<haxx0r>
ok
<apeiros>
so the end result after everything has been done is in fact a list with a pairing of all exchanges?
<haxx0r>
it works fine between 2 exchanges. but now it should work for n exchangs
<apeiros>
or is the result something like "optimal trade is between A & B"? as in, a single result?
<haxx0r>
just pick those where a arbitrage is
milardovich has quit [Remote host closed the connection]
<haxx0r>
yes
<haxx0r>
single result
Ishido has quit [Remote host closed the connection]
<haxx0r>
now A and D is possible. in 5 seconds (orderbooks refreshed) it might be D & C and in 10 seconds B & E
<apeiros>
sounds like you want a min and a max. minimum sell and maximum buy.
milardovich has joined #ruby
<apeiros>
and minmax is a shitload faster than combination(2) (O(n) vs. O(n^2))
<haxx0r>
i have to compare orderbooks with each other at each second
Ishido has joined #ruby
<apeiros>
eh, actually not minmax since it's two different "properties" you're looking it. but min + max is still O(n).
<haxx0r>
i have to compare a[buy] with b[sell] c[sell] d[sell].
elsevero has quit [Quit: elsevero]
<apeiros>
why?
<apeiros>
why not just a[buy] with min(sell)?
<apeiros>
errr, max(sell)
<haxx0r>
because every second orders/bids coming across all exchanges.
<haxx0r>
most likely no arbitrage is possible because of 2x 0.2% fee.
<haxx0r>
however, in moving markets (say bitcoin crash) markets don't adjust quick enough.
<apeiros>
the "every second stuff changes" is not any different depending on which algorithm you use.
drewmcmillan has quit [Ping timeout: 240 seconds]
<haxx0r>
if on Bitfinex the price drops by 100$ but on bittrex the price drops only 5$, then i can sell on bittrex and buy cheaper on bitfinex, yields me 95$ net profit
<apeiros>
there is a couple of gems out there which provide (or aim to) an easier interface than Net::HTTP
<apeiros>
e.g. httparty
<J4ck_4l0n3>
and another question, is there any trobuleshooting for the installation of ror?
<apeiros>
?rails J4ck_4l0n3
<ruby[bot]>
J4ck_4l0n3: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<J4ck_4l0n3>
yes
<J4ck_4l0n3>
ok i'm goimg to #RubyOnRails, bye :)
J4ck_4l0n3 has left #ruby ["WeeChat 2.0.1"]
mr_foto has quit []
alex`` has quit [Quit: WeeChat 2.0.1]
reber has joined #ruby
cschnei__ has joined #ruby
troys_ is now known as troys
nckpz has quit [Remote host closed the connection]
milardovich has quit []
Riddell has quit [Ping timeout: 256 seconds]
Riddell has joined #ruby
Toggi3 has joined #ruby
ghoti has quit [Ping timeout: 272 seconds]
cadillac_ has quit [Quit: I quit]
alfiemax_ has quit [Remote host closed the connection]
cadillac_ has joined #ruby
cadillac_ has quit [Client Quit]
alfiemax has joined #ruby
cadillac_ has joined #ruby
dionysus69 has joined #ruby
cdg has quit [Remote host closed the connection]
sanscoeur has joined #ruby
Ltem has quit [Quit: bbl]
bmurt has joined #ruby
bmurt has quit [Client Quit]
Exagone313 has quit [Read error: Connection reset by peer]
k0mpa has joined #ruby
ltt_ has joined #ruby
ltt has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
cdg_ has joined #ruby
cadillac_ has quit [Quit: I quit]
Exagone313 has joined #ruby
cadillac_ has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
cdg_ has quit [Ping timeout: 252 seconds]
cschnei__ has quit [Ping timeout: 265 seconds]
cloaked1 has joined #ruby
aesthetikx has quit [Read error: Connection reset by peer]
aesthetikx has joined #ruby
larcara has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Quit: I quit]
alfiemax has joined #ruby
cadillac_ has joined #ruby
cschnei__ has joined #ruby
nogic has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
alfiemax has quit [Remote host closed the connection]
cadillac_ has quit [Quit: I quit]
nicesignal has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
NightMonkey has quit [Ping timeout: 264 seconds]
abraham_ has joined #ruby
rgs has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
cadillac_ has quit [Quit: I quit]
cdg has quit [Ping timeout: 252 seconds]
alfiemax_ has joined #ruby
dellavg_ has quit [Ping timeout: 256 seconds]
<dionysus69>
when I run shell script from ruby, how do i see shell script stdout in real time?
<dionysus69>
if i do puts `file.sh` then it outputs after it is done
alfiemax_ has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
d^sh has quit [Ping timeout: 252 seconds]
d^sh has joined #ruby
chocoelho has quit [Remote host closed the connection]
chocoelho has joined #ruby
ramfjord has joined #ruby
<apeiros>
dionysus69: Kernel#spawn is the swiss-army knife, but clumsy. system() will just reuse your process' stdout & stderr
n13z has joined #ruby
<dionysus69>
thought system() was same as backticks :S :)
<dionysus69>
will try that then
<dionysus69>
that worked thanks apeiros :)
<apeiros>
yw:)
adac has joined #ruby
sameerynho has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
chocoelho has quit [Quit: chocoelho]
alex`` has joined #ruby
cdg has joined #ruby
manveru has quit [Ping timeout: 240 seconds]
skmp has quit [Ping timeout: 252 seconds]
jmhmccr has quit [Ping timeout: 252 seconds]
oblak has quit [Ping timeout: 252 seconds]
Guest67616 has quit [Ping timeout: 252 seconds]
ReinH has quit [Ping timeout: 252 seconds]
seanh has quit [Ping timeout: 252 seconds]
schaary has quit [Ping timeout: 252 seconds]
adambeynon has quit [Ping timeout: 252 seconds]
solidsnack has quit [Ping timeout: 252 seconds]
bcavileer has quit [Ping timeout: 252 seconds]
knowtheory has quit [Ping timeout: 252 seconds]
hayden___ has quit [Ping timeout: 252 seconds]
cardoni has quit [Ping timeout: 252 seconds]
dmnd has quit [Ping timeout: 252 seconds]
jimeh has quit [Ping timeout: 252 seconds]
danzilio has quit [Ping timeout: 252 seconds]
aarongodin has quit [Ping timeout: 252 seconds]
Tony-St4rk has quit [Ping timeout: 252 seconds]
JJonah has quit [Ping timeout: 252 seconds]
swgillespie has quit [Ping timeout: 252 seconds]
jwheare has quit [Ping timeout: 265 seconds]
HashNuke has quit [Ping timeout: 265 seconds]
amitchellbullard has quit [Ping timeout: 250 seconds]
ggherdov has quit [Ping timeout: 250 seconds]
pastorinni has quit [Read error: Connection reset by peer]
rfv has quit [Ping timeout: 240 seconds]
mr-robert has quit [Ping timeout: 246 seconds]
rann has quit [Ping timeout: 246 seconds]
pastorinni has joined #ruby
pfg has quit [Ping timeout: 252 seconds]
avdi has quit [Ping timeout: 252 seconds]
andersh has quit [Ping timeout: 252 seconds]
colstrom has quit [Read error: Connection reset by peer]
Flashynuff has quit [Read error: Connection reset by peer]
ckrailo has quit [Read error: Connection reset by peer]
Lloyd has quit [Read error: Connection reset by peer]
micalexander has quit [Read error: Connection reset by peer]
Travis-42 has quit [Read error: Connection reset by peer]
mroth has quit [Read error: Connection reset by peer]
Flabbergazta has quit [Read error: Connection reset by peer]
Yonk has quit [Read error: Connection reset by peer]
spooky_d has quit [Read error: Connection reset by peer]
justinweiss has quit [Read error: Connection reset by peer]
kapowaz has quit [Ping timeout: 255 seconds]
tfitts has quit [Ping timeout: 255 seconds]
jxf has quit [Ping timeout: 255 seconds]
AndyWojo has quit [Write error: Connection reset by peer]
craysiii has quit [Read error: Connection reset by peer]
foamz has quit [Ping timeout: 240 seconds]
Diabolik has quit [Ping timeout: 240 seconds]
doesntbyte has quit [Ping timeout: 240 seconds]
Guest9063 has quit [Ping timeout: 240 seconds]
gmcintire has quit [Read error: Connection reset by peer]
iamdevnul has quit [Read error: Connection reset by peer]
kireevco has quit [Read error: Connection reset by peer]
boxrick has quit [Read error: Connection reset by peer]
mitsuhiko has quit [Ping timeout: 264 seconds]
incomprehensibly has quit [Ping timeout: 264 seconds]
afisher has quit [Ping timeout: 264 seconds]
rflot has quit [Ping timeout: 264 seconds]
nOgAnOo has quit [Ping timeout: 264 seconds]
wsmoak has quit [Ping timeout: 255 seconds]
cttttt has quit [Ping timeout: 255 seconds]
peteretep has quit [Ping timeout: 255 seconds]
ShekharReddy has quit [Ping timeout: 252 seconds]
caw__ has quit [Read error: Connection reset by peer]
zipkid has quit [Ping timeout: 250 seconds]
stephenh has quit [Ping timeout: 250 seconds]
rjungemann has quit [Read error: Connection reset by peer]
petems has quit [Ping timeout: 250 seconds]
Meow-J_ has quit [Ping timeout: 250 seconds]
pwillard has quit [Read error: Connection reset by peer]
kspencer has quit [Read error: Connection reset by peer]
KnownSyntax has quit [Read error: Connection reset by peer]
r3my has quit [Read error: Connection reset by peer]
yo61 has quit [Read error: Connection reset by peer]
zwliew has quit [Read error: Connection reset by peer]
hsiktas has quit [Read error: Connection reset by peer]
spastorino has quit [Read error: Connection reset by peer]
auv has quit [Read error: Connection reset by peer]
Bosma has quit [Write error: Connection reset by peer]
bove has quit [Read error: Connection reset by peer]
meinside has quit [Ping timeout: 272 seconds]
cstrahan has quit [Ping timeout: 272 seconds]
jhill_ has quit [Ping timeout: 240 seconds]
machty has quit [Ping timeout: 240 seconds]
justizin has quit [Ping timeout: 255 seconds]
ircmaxell has quit [Ping timeout: 252 seconds]
nuck has quit [Ping timeout: 246 seconds]
jnix has quit [Ping timeout: 246 seconds]
Majost has quit [Ping timeout: 250 seconds]
darthThorik has quit [Ping timeout: 252 seconds]
pmarreck has quit [Ping timeout: 264 seconds]
lipoqil has quit [Ping timeout: 240 seconds]
Chew has quit [Ping timeout: 240 seconds]
mattwc has quit [Ping timeout: 240 seconds]
alex`` is now known as alexherbo2
nadir has quit [Ping timeout: 272 seconds]
chrisseaton has quit [Ping timeout: 250 seconds]
mostlybadfly has quit [Ping timeout: 255 seconds]
charles81_ has quit [Ping timeout: 252 seconds]
teej has quit [Ping timeout: 240 seconds]
[diecast] has quit [Ping timeout: 240 seconds]
Brak____________ has quit [Ping timeout: 265 seconds]
alexherbo2 is now known as alex``
dukedave has quit [Ping timeout: 264 seconds]
mrsolo has quit [Ping timeout: 264 seconds]
skawa has quit [Ping timeout: 264 seconds]
HalcyonicStorm has quit [Ping timeout: 264 seconds]
podman has quit [Ping timeout: 264 seconds]
justache has quit [Ping timeout: 255 seconds]
galeido has quit [Ping timeout: 240 seconds]
pizzaops has quit [Ping timeout: 240 seconds]
graingert has quit [Ping timeout: 240 seconds]
fury has quit [Ping timeout: 250 seconds]
err_ok has quit [Ping timeout: 250 seconds]
kaia has quit [Ping timeout: 272 seconds]
ec has quit [Ping timeout: 272 seconds]
BuildTheRobots has quit [Ping timeout: 272 seconds]
deimos has quit [Ping timeout: 272 seconds]
koenrh has quit [Ping timeout: 276 seconds]
Psybur has quit [Remote host closed the connection]
howdoi has quit [Ping timeout: 272 seconds]
Psybur has joined #ruby
daxroc has quit [Ping timeout: 276 seconds]
maciuszek has quit [Ping timeout: 276 seconds]
olivierjanss has quit [Ping timeout: 240 seconds]
Exagone313 has quit [Ping timeout: 272 seconds]
chmurifree has quit [Ping timeout: 240 seconds]
pastorinni has quit [Ping timeout: 264 seconds]
snsei_ has joined #ruby
chmurifree has joined #ruby
Exagone313 has joined #ruby
LocaMocha has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
snsei_ has quit [Remote host closed the connection]
jottr_ has joined #ruby
synstack has joined #ruby
synstack has quit [Changing host]
synstack has joined #ruby
synthroid has quit []
pastorinni has joined #ruby
NightMonkey has joined #ruby
elementaru has joined #ruby
ltt_ has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
tsglove has joined #ruby
minimalism has joined #ruby
Dimik has joined #ruby
Lloyd has joined #ruby
pmarreck has joined #ruby
Flashynuff has joined #ruby
iamdevnul has joined #ruby
mrsolo has joined #ruby
amitchellbullard has joined #ruby
doesntbyte has joined #ruby
colstrom has joined #ruby
Flabbergazta has joined #ruby
ircmaxell has joined #ruby
jimeh has joined #ruby
dmnd has joined #ruby
spooky_d has joined #ruby
skawa has joined #ruby
despai has quit [Ping timeout: 256 seconds]
micalexander has joined #ruby
oblak has joined #ruby
Travis-42 has joined #ruby
seanh has joined #ruby
machty has joined #ruby
jottr has joined #ruby
wsmoak has joined #ruby
pizzaops has joined #ruby
justinweiss has joined #ruby
chrisseaton has joined #ruby
AndyWojo has joined #ruby
schaary has joined #ruby
howdoi has joined #ruby
bove has joined #ruby
caw__ has joined #ruby
Tony-St4rk has joined #ruby
abraham_ has quit [Quit: abraham_]
Yonk has joined #ruby
peteretep has joined #ruby
fury has joined #ruby
auv has joined #ruby
r3my has joined #ruby
cttttt has joined #ruby
danzilio has joined #ruby
hayden___ has joined #ruby
knowtheory has joined #ruby
pfg has joined #ruby
kspencer has joined #ruby
charles81_ has joined #ruby
nOgAnOo has joined #ruby
andersh has joined #ruby
boxrick has joined #ruby
pwillard has joined #ruby
jottr_ has quit [Ping timeout: 263 seconds]
stephenh has joined #ruby
cstrahan has joined #ruby
avdi has joined #ruby
afisher has joined #ruby
jmhmccr has joined #ruby
solidsnack has joined #ruby
petems has joined #ruby
kireevco has joined #ruby
Majost has joined #ruby
cardoni has joined #ruby
teej has joined #ruby
jxf has joined #ruby
BuildTheRobots has joined #ruby
justache has joined #ruby
olivierjanss has joined #ruby
swgillespie has joined #ruby
skmp has joined #ruby
Bosma has joined #ruby
rann has joined #ruby
incomprehensibly has joined #ruby
graingert has joined #ruby
ShekharReddy has joined #ruby
mitsuhiko has joined #ruby
jhill_ has joined #ruby
err_ok has joined #ruby
ec has joined #ruby
dukedave has joined #ruby
aarongodin has joined #ruby
reber has quit [Quit: Leaving]
rjungemann has joined #ruby
foamz has joined #ruby
yo61 has joined #ruby
Meow-J_ has joined #ruby
QualityAddict has joined #ruby
mattwc has joined #ruby
HalcyonicStorm has joined #ruby
justizin has joined #ruby
gmcintire has joined #ruby
Guest9063 has joined #ruby
adambeynon has joined #ruby
JJonah has joined #ruby
bcavileer has joined #ruby
Psybur has quit [Changing host]
Psybur has joined #ruby
lipoqil has joined #ruby
spastorino has joined #ruby
deimos has joined #ruby
Diabolik has joined #ruby
rfv has joined #ruby
craysiii has joined #ruby
hsiktas has joined #ruby
manveru has joined #ruby
cdg has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 264 seconds]
<darix>
dionysus69: there is also popen(234)
cadillac_ has joined #ruby
KnownSyntax has joined #ruby
kapowaz has joined #ruby
ckrailo has joined #ruby
[diecast] has joined #ruby
kaia has joined #ruby
mroth has joined #ruby
rflot has joined #ruby
tsglove has left #ruby ["Leaving"]
alfiemax has joined #ruby
zwliew has joined #ruby
kies has quit [Ping timeout: 265 seconds]
ltt has joined #ruby
alfiemax_ has quit [Ping timeout: 256 seconds]
jottr_ has joined #ruby
ReinH has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
ltt has quit [Ping timeout: 272 seconds]
troys is now known as troys_
jottr has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
Dimik has quit [Ping timeout: 255 seconds]
talntid has joined #ruby
cadillac_ has quit [Quit: I quit]
<talntid>
Any ruby people here from Austin, TX area? Hows the ruby market around there? Thinking of expanding my business in that area, because not enough Ruby devs in my area...
<talntid>
might do Salt Lake City also, so same question there...