[#1711] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...>

Tanaka Akira:

22 messages 2003/11/19
[#1737] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1739] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1740] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 08:26 pm, Mathieu Bouchard wrote:

[#1741] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1718] Re: open-uri patch, added progress_proc hook — Elliott Hughes <ehughes@...>

22 messages 2003/11/21
[#1722] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/22

In article <AD4480A509455343AEFACCC231BA850F17C434@ukexchange>,

[#1724] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/22

On Saturday 22 November 2003 04:34 pm, Tanaka Akira wrote:

[#1726] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/23

In article <200311221024.05642.transami@runbox.com>,

[#1731] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 02:24 am, Tanaka Akira wrote:

[#1732] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/23

In article <200311230325.21687.transami@runbox.com>,

[#1733] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 03:10 pm, Tanaka Akira wrote:

[#1750] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/24

In article <200311230648.41003.transami@runbox.com>,

[#1759] Re: open-uri patch, added progress_proc hook — Sean E Russell <ser@...> 2003/11/24

On Monday 24 November 2003 03:19, Tanaka Akira wrote:

[#1762] Re: open-uri patch, added progress_proc hook — "Nathaniel Talbott" <nathaniel@...> 2003/11/24

Sean E Russell [mailto:ser@germane-software.com] wrote:

[#1753] gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...>

We still encountered a gc_sweep in our use of Ruby 1.8 on Linux (v8).

16 messages 2003/11/24
[#1754] Re: gc_sweep under 1.8 ... not syck.so — ts <decoux@...> 2003/11/24

>>>>> "R" == Richard Kilmer <rich@infoether.com> writes:

[#1757] Re: gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...> 2003/11/24

Yes, there are several (Ruby) threads working during this gc_sweep.

[#1758] Re: gc_sweep under 1.8 ... not syck.so — ts <decoux@...> 2003/11/24

>>>>> "R" == Richard Kilmer <rich@infoether.com> writes:

[#1763] Re: gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...> 2003/11/24

of course this effects 300 machines ;-)

[#1755] Re: Controlled block variables — Jamis Buck <jgb3@...>

On Mon, 2003-11-24 at 02:04, T. Onoma wrote:

26 messages 2003/11/24
[#1756] Re: Controlled block variables — "T. Onoma" <transami@...> 2003/11/24

On Monday 24 November 2003 05:22 pm, Jamis Buck wrote:

[#1760] Re: Controlled block variables — Sean E Russell <ser@...> 2003/11/24

On Monday 24 November 2003 11:51, T. Onoma wrote:

[#1761] Re: Controlled block variables — "T. Onoma" <transami@...> 2003/11/24

On Monday 24 November 2003 06:40 pm, Sean E Russell wrote:

Re: open-uri patch, added progress_proc hook

From: "T. Onoma" <transami@...>
Date: 2003-11-23 23:15:47 UTC
List: ruby-core #1747
On Sunday 23 November 2003 10:51 pm, Mathieu Bouchard wrote:
> If it's just the look of "i=nil" that is a problem, then usually you can
> just do "i=true" and already it looks so much more assertive and positive.
> I mean, "i=true" looks like a bright sunny day, while "i=nil" looks like
> "i am nihil" and makes you think of romantic existentialists dressed in
> black in a dark smoky bar, muttering in a pathetically tragic dark voice
> that life is meaningless.

:)) (made my sunny day)  [Note: I tried to be witty in return, but you know, 
I'm just not going to top that. She's one for the books!]

> However sometimes i often need to incrementally construct an array with a
> loop, and #map doesn't always work for this, so i create a r=[] outside of
> the loop. Is that something you'd call ugly?
>
> > > > p.s. if you don't mind me asking, what do you think of Structural
> > > > Reflection?
> > >
> > > never heard about it, though the words do sound familiar. what is it?
> >
> > Refelection is when code can look at itself (inspection) and also
> > manipulate itself. So Ruby has reflection at the OO level. It's one of
> > the greatest things about Ruby. Structural reflection is a step or two
> > lower, where a language can actually manipulate its own statements,
>
> That's what LISP already had before most languages went into existence,
> and that I've been dreaming about for Ruby, and that I've been begging
> Matz to add to Ruby, since back when Ruby 1.6 was also a dream. Then I've
> wrote several letters in favour of the inclusion of that feature, and
> after receiving not enough approval, I abandoned those ideas, about two
> years ago. At that moment I had a spec and half of an implementation.

Exactly! I actually worked up an interesting notion about it myself, where the 
whole of Ruby's syntax could be viewed as nested collections of duplicate-key 
ordered maps --this superset collection would then allow for subset views 
like array. So an assignment, i = true, for instance, is equavalent to :i => 
true. A statement without "assignemt" is annonymous, nack => print "A". def, 
class and module become associations to nested collections,  eg. def x; ... ; 
end, being equivalet to :x => { ... }. Even parameter lists become annonymous 
valued collections, (x,y) being { :x => nack, :y => nack }. perhaps a bit 
"out there". But an interesting unification of the whole of the language 
structure, nonetheless.

How did you approach it?

> > Actually, Ruby does have some *limited structural reflection* through
> > the use of eval.
>
> I don't really see how the current eval() has something to do with it.

Well, very limited. Probably not even worth mentioning, but you could do some 
tricky code wraps with alias and class_eval based on aritys, for instance.

-t0


In This Thread