[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: How to tell when IO::popen is finished?

Ara.T.Howard

8/3/2006 2:24:00 PM

172 Answers

Ara.T.Howard

8/3/2006 2:56:00 PM

0

Chad Perrin

8/3/2006 11:51:00 PM

0

On Fri, Aug 04, 2006 at 08:19:48AM +0900, Daniel N wrote:
> >
> I'm on windows :) I don't need root. Ohhh gives me goosebumps ;)

Well . . . technically, you're already root (or its equivalent).

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
"The measure on a man's real character is what he would do
if he knew he would never be found out." - Thomas McCauley

Ara.T.Howard

8/4/2006 12:40:00 AM

0

Bob Hutchison

8/5/2006 2:29:00 PM

0


On Aug 3, 2006, at 7:19 PM, Daniel N wrote:

> I'm on windows :) I don't need root. Ohhh gives me goosebumps ;)
>
> The problem isn't that the file isn't created. It's just that I
> don't know
> when it's finished being written.
>
> I want to incorporate this into an app but I don't want to go
> trying to grab
> the image if it doenst exist yet.

It is possible that the OS is simply not yet finished writing the
file to disk. In unix this is forced by calling fsync (or sync on the
command line). I've got no idea what you do in windows.

The first thing to try is to find out what the windows equivalent of
the command line 'sync' and run it before trying to open the png. If
that works then you can get fancy...

Assuming the CL sync worked... In ruby the IO class has two methods
defined: fsync which is defined on an instance of the class, and sync
which is defined on the class. IO.sync won't do what you need, it
just forces ruby to write its buffers. You can try opening the png
file and calling fsync from there, don't know if that will work.
Alternatively, check to see of gnuplot will either give you the IO
object somehow or can be asked to fsync. If not, you might be able to
sneak into Gnuplot aliasing a method or re-opening the class or some
other trick and insert the fsync.

Cheers,
Bob
----
Bob Hutchison -- blogs at <http://www.rec...
hutch/>
Recursive Design Inc. -- <http://www.rec...>
Raconteur -- <http://www.raconteur...
xampl for Ruby -- <http://rubyforge.org/projects/...




3Bs

3/28/2011 1:43:00 AM

0

On Mar 27, 6:15 pm, O <ow...@denofinequityx.com> wrote:
> I think it all depends on whether MTT wants to spend the rest of his
> life in SF.  Is he content to let his current position be the summit of
> his career, or does he look for something bigger?  Maybe tomorrow it's
> Boston, maybe in five years Vienna?  (I think MTT would be a good fit
> in Vienna, because he's so Bernsteinian.)
>
> -Owen

MTT is like Lenny only superficially, AFAIC. Bernstein's recorded
legacy with New York is, in retrospect, stunningly successful, with
recordings of Beethoven, Schumann, Shostakovich, Sibelius, Haydn,
Hindemith and others that are still among the best on record.
Bernstein showed he had a huge musical range, and could therefore be
counted on to deliver in almost any repertoire. You can't say that for
MTT. Now perhaps this is just the way MTT has been marketed, but I
can't believe it is all on someone else's shoulders. When it comes to
MTT and Vienna, he's just another conductor.

3Bs

3/28/2011 1:50:00 AM

0

On Mar 27, 6:45 pm, td <tomdedea...@mac.com> wrote:
> Not much has happened so far, and what is this,
> his second season? Or still the first?
> TD

The Muti CSO MD experience thus far:
Sept. 19. Free Concert for Chicago, Millennium Park. Verdi, Liszt,
Tchaikovsky, Respighi.
Sept. 23, 24, 25, 28. Subscription concerts. All-Berlioz program.
Sept.30, Oct. 1, 5. Subscription concerts. Haydn, Mozart.

Seriously, that's it.

http://articles.chicagotribune.com/2011-02-08/features/ct-live-0209-muti-analysis-timeline-20110208_1_free-concert-cso-ric...

O

3/28/2011 1:56:00 AM

0

In article
<4a26c1ae-1fc1-4eb7-afd8-909ca37ef3fd@y31g2000prd.googlegroups.com>, td
<tomdedeacon@mac.com> wrote:

> On Mar 27, 7:15?pm, O <ow...@denofinequityx.com> wrote:
> > In article
> > <ccc4cf22-b62a-41f2-a53a-19335c9de...@18g2000prd.googlegroups.com>, 3Bs
> >
> > <threebs...@aol.com> wrote:
> > > While admittedly fairly pointless, it is fun to speculate on the next
> > > MD of the BSO. I was just reading an article at Boston.com that listed
> > > Chailly, Jansons, MTT and Spano as "names likely to be heard" in
> > > ongoing considerations. To me, that's a laughable list, the idea that
> > > Jansons would want a third orchestra, or that the BSO would see him as
> > > a good fit. Chailly I can't imagine, either- I hope he just stays in
> > > Leipzig forever and keeps making more great recordings. MTT would be
> > > foolish to upset his life- he can stay in SF until he dies (and may he
> > > live long) and everyone will be happy because he's perfect there.
> >
> > I think it all depends on whether MTT wants to spend the rest of his
> > life in SF. ?Is he content to let his current position be the summit of
> > his career, or does he look for something bigger? ?Maybe tomorrow it's
> > Boston, maybe in five years Vienna? ?(I think MTT would be a good fit
> > in Vienna, because he's so Bernsteinian.)
>
> Yes, but there is just one small problem: he's Jewish and they already
> had Maazel there and that really didn't work, you know. Good for a
> visit, but please don't make this your home.

They had Bernstein there and they loved him, but then again, he didn't
live with them.
>
> Maazel was miserable in Vienna, despite Demel's, the Imperial Hotel,
> and the proximity to Salzburg.
>
> Boston would be a perfect fit for MTT. He would love the Tanglewood
> thing, teaching all those ambitious students like him when he was 30
> years younger, and all that.

I always thought it was, even when he was here under Steinberg. And
regardless of the success of the SFSO, there still is a cachet about
the BSO.
>
> Rattle was the fish the BSO was trying to catch. Ozawa knew it and
> stayed until Rattle took Berlin and a few weeks later decided to
> leave. Ozawa did NOT want to have his tenure upstaged by some young
> British punk with talent.

I really don't understand why Ozawa had so much pull, especially in the
latter years when the orchestra pretty much dropped a dime on him to
the newspapers.

> Now it is probably too late to get Rattle. After Berlin, Boston
> becomes impossible.

Only if Berlin likes Rattle and Rattle likes Berlin.

> But then look at Muti. After Philadelphia nobody
> thought he would be back. Then all of a sudden both Chicago and New
> York were hot to trot for him. Chicago won out, but did they really,
> in the end, I mean? Not much has happened so far, and what is this,
> his second season? Or still the first?

Chicago so far has won as much as Boston did with Levine.

-Owen

Michael

3/28/2011 3:26:00 AM

0

On Mar 27, 7:15 pm, O <ow...@denofinequityx.com> wrote:
> In article
> <ccc4cf22-b62a-41f2-a53a-19335c9de...@18g2000prd.googlegroups.com>, 3Bs
>
> <threebs...@aol.com> wrote:
> > While admittedly fairly pointless, it is fun to speculate on the next
> > MD of the BSO. I was just reading an article at Boston.com that listed
> > Chailly, Jansons, MTT and Spano as "names likely to be heard" in
> > ongoing considerations. To me, that's a laughable list, the idea that
> > Jansons would want a third orchestra, or that the BSO would see him as
> > a good fit. Chailly I can't imagine, either- I hope he just stays in
> > Leipzig forever and keeps making more great recordings. MTT would be
> > foolish to upset his life- he can stay in SF until he dies (and may he
> > live long) and everyone will be happy because he's perfect there.
>
> I think it all depends on whether MTT wants to spend the rest of his
> life in SF.  Is he content to let his current position be the summit of
> his career, or does he look for something bigger?  Maybe tomorrow it's
> Boston, maybe in five years Vienna?  (I think MTT would be a good fit
> in Vienna, because he's so Bernsteinian.)

You seem to think that Bernstein held a position in Vienna. You are
wrong. The WP do not have a principal conductor. Bernstein was one of
the preferred guest conductors throughout much of the 70s and 80s, and
he did a lot of tours and recordings with them, but he was not their
principal conductor.

Frank Berger

3/28/2011 3:31:00 AM

0


"3Bs" <threebs3bs@aol.com> wrote in message
news:b097c2b4-9ca7-4eb0-a6e0-39ca813baf83@b13g2000prf.googlegroups.com...
On Mar 27, 6:45 pm, td <tomdedea...@mac.com> wrote:
> Not much has happened so far, and what is this,
> his second season? Or still the first?
> TD

The Muti CSO MD experience thus far:
Sept. 19. Free Concert for Chicago, Millennium Park. Verdi, Liszt,
Tchaikovsky, Respighi.
Sept. 23, 24, 25, 28. Subscription concerts. All-Berlioz program.
Sept.30, Oct. 1, 5. Subscription concerts. Haydn, Mozart.

Seriously, that's it.

http://articles.chicagotribune.com/2011-02-08/features/ct-live-0209-muti-analysis-timeline-20110208_1_free-concert-cso-ric...

There was even a recording he made with the CSO in 2007 or so that was
scheduled for release but never released. Scriabin,Poem of Ecstasy,
Prokofiev 3rd Symphony and Bolero. I never did see an explanation of why it
was never released.

jrsnfld

3/28/2011 3:42:00 AM

0

On Mar 27, 4:15 pm, O <ow...@denofinequityx.com> wrote:
> In article
> <ccc4cf22-b62a-41f2-a53a-19335c9de...@18g2000prd.googlegroups.com>, 3Bs
>
> <threebs...@aol.com> wrote:
> > While admittedly fairly pointless, it is fun to speculate on the next
> > MD of the BSO. I was just reading an article at Boston.com that listed
> > Chailly, Jansons, MTT and Spano as "names likely to be heard" in
> > ongoing considerations. To me, that's a laughable list, the idea that
> > Jansons would want a third orchestra, or that the BSO would see him as
> > a good fit. Chailly I can't imagine, either- I hope he just stays in
> > Leipzig forever and keeps making more great recordings. MTT would be
> > foolish to upset his life- he can stay in SF until he dies (and may he
> > live long) and everyone will be happy because he's perfect there.
>
> I think it all depends on whether MTT wants to spend the rest of his
> life in SF.  Is he content to let his current position be the summit of
> his career, or does he look for something bigger?  Maybe tomorrow it's
> Boston, maybe in five years Vienna?  (I think MTT would be a good fit
> in Vienna, because he's so Bernsteinian.)
>
> -Owen

As someone else pointed out, there's not much about MTT that reminds
me of Bernstein. Interpretively they are very different. They act very
different on the podium and in rehearsal too, from what I can tell.

They are both eloquent communicators and popular "explainers" and they
have some overlap of repertoire, but that's about it.

--Jeff