#ruby-lang - Sat 28 Apr 2007 between 00:00 and 00:18

NY Lost Funds



sweeperpuzzles: will that grab the stderr that dialog puts out?
tpopeno, but neither will what you're doing
micahfman this is cool
puzzlesSweeper: well, what are you doing exactly? piping output from a program to your program?
tpopelook at IO::popen
micahfI'm using ruby to analyze foreign exchange data
cause excel is clumsy
sweeperpopen doesn't do it
tpopethat's actually for stdout
but it's closer
UncleDhttp://youtube.com/watch?v=IOyEw9bT8yQ&mode=related&search=
micahfanyone have a favorite math library
?
sweeperit spawns the command in a subshell
so the ncurses stuff never shows
puzzles: yea
so....
puzzlesSweeper: you can capture stderr and redirect it to stdin with the shell
sweeperAH
puzzlesfooprog 2>&1 | barprog.rb
or somesuch
sweeperthat will break things :v
since the ruby script needs to interact with various diaogs
puzzlesi'm a bit scared of what you're doing :P
sweeperit's for a good cause
dialog is xbox hueg
puzzlescures AIDS?
ha
oh that reminds me
actionpuzzles sshes into his xbox
puzzlessshes into his xbox
sweeperreimplementing it in ruby would be kinda dumb if it's possible to use it from within
is there something like 2>&1 that will only redirect stderr?
puzzlesyes, that does exactly that
sweeper:/
but when I add it to the `comman` bit, I get no moar ncurses
TEMPFILE TO THE RESQ
UncleDWhere's all the newsworthy science!
apeirosweeee!
my void pointers work
sweeperoh I'm a complete idiot

Page: 2 9 16 23 30 

IrcArchive

NY Lost Funds