Performance and style advice requested

Alex,

Surely you’re jesting? The fine $ symbol is
the stylized personal emblem of Sigismondo
Malatesta, the Signore of Rimini (and many
other parts in Romagna, too). It’s an S,
for Sigismondo, entwined with a I, for
Isabella, his life-long lover (I believe he
did marry her on her deathbed, actually, so
she was his wife for a very short while).

Interesting.  I have never heard it suggested that the Malatesta "logo"

was the inspiration for the dollar sign. Do you have any reference to back
up this claim? I’m not being antagonistic here, I am genuinely curious.

I did think of proposing some outrageous
joke, such that the “$” stood for “dollar”,
but given the obvious differences between a
S and a d nobody would of course fall for
that. You’d almost think the symbol was
chosen by a bunch of freemason freethinkers
who were aware of the Malatestas’
mostly-hidden roles in freemasonry,
Rosicrucianism, and other anti-clerical
movements through the centuries, starting
with the Renaissance’s rediscovery of Pagan
classicism. Nah, nobody would ever fall
for THAT one, either.

Well FWIW, I have always heard that the origin of the dollar sign was

early United States currency. Originally, this currency had a fairly thin
capital “U” overlaying a capital “S” to indicate that it was United States,
or “US” currency. Eventually the US ligature degenerated into the
double-barred dollar sign which was ubiquitous before the typewriter, and
later the computer, degenerated it even further into the single-barred
dollar sign “$” we use today. I have heard other theories, and many of them
even claim that the dollar sign predates 1776, although usually by only a
few years. But I have yet to hear anyone discount the “US” theory or
present a more plausible one.

If anyone has anything more definitive, I would be interested in hearing

about it.

- Warren Brown

Actually, the $ symbol is a stylised S, for String, and has its roots in
BASIC, as ane fule kno.

martin

···

Alex Martelli aleaxit@yahoo.com wrote:

I did think of proposing some outrageous joke, such that the “$”
stood for “dollar”, but given the obvious differences between a S
and a d nobody would of course fall for that. You’d almost think

“Hal Fulton” hal9000@hypermetrics.com schrieb im Newsbeitrag
news:3F67C9CA.4050003@hypermetrics.com

Bjarne Stroustrup wrote:

Alex Martelli aleaxit@yahoo.com

Or Python – no “access control” whatsoever, just advisory
indications
of what’s meant to be “published” and what’s meant to be for internal
use
only. Just the time saved not having to decide what’s private,
public,
or protected (Stroustrup regrets having introduced the complication of
that third intermediate classifier – see his book “Design and
Evolution
of the C++ programming language”) is by itself a huge performance
boost.

If you have actually read D&E, you’d know that I disagree with your
statement. Even if you want to quote me in support of something I
disagree with, you could try to quote accurately. Your statement of my
position on “protected” is highly inaccurate.

For the benefit of those of us who don’t own that book (though I
do own at least one other) – can you tell us what in fact your
position is on “protected”?

While eagerly awayting clarification from Bjarne, I googled a bit and this
is what found:
http://www.c-view.org/tech/pattern/cpptips/prot_data

His main concern is about protected data making it all too easy to mess
things up, whereas he favours protected methods.

Regards

robert

Hal Fulton hal9000@hypermetrics.com :

For the benefit of those of us who don’t own that book (though I
do own at least one other) – can you tell us what in fact your
position is on “protected”?

I have no idea if my opinion makes sense in the context of ruby, but
in C++ “protected” is useful for functions and types, but people who
use it to “protect” data, find that the maintenance problems are
equivalent to publice data. I recommend to keep data private unless
you absolutely need it public.

  • Bjarne Stroustrup; error

gabriele renzi wrote:

programs, cause an interpreted language script is far more ‘dense’
that compiled C or whatever.
(btw, if Ruby 1.8 was used you’ll get the standard unix tools for free
, as in cd,cat,sort,grep…)

what do you think of it ?

ben@magneto% du --max-depth=0 /usr/lib/ruby
3.1M /usr/lib/ruby
ben@magneto% ll busybox
-rwxr-xr-x 1 ben ben 239K Sep 2 10:13 busybox

ben@magneto% ll |grep busybox |ruby -n -e ‘print split(/\s/)[-3 … -1],
“\n”’
210:13busybox
cat->busybox
chgrp->busybox
chmod->busybox
chown->busybox
cp->busybox
date->busybox
dd->busybox
df->busybox
dmesg->busybox
echo->busybox
false->busybox
getopt->busybox
grep->busybox
gunzip->busybox
gzip->busybox
hostname->busybox
kill->busybox
ln->busybox
ls->busybox
mkdir->busybox
mknod->busybox
mktemp->busybox
more->busybox
mount->busybox
mv->busybox
pidof->busybox
ps->busybox
pwd->busybox
rm->busybox
rmdir->busybox
sed->busybox
sleep->busybox
stty->busybox
sync->busybox
tar->busybox
touch->busybox
true->busybox
umount->busybox
uname->busybox
usleep->busybox
vi->busybox
zcat->busybox

Busybox does nearly every system administration type command I need, and
uses only 200K, Ruby uses over 3MB and that’s a huge chunk of what I
have to play with. I haven’t given up wanting to use it, but odds are I
just won’t have room.

Ben

Warren Brown wrote:

Interesting.  I have never heard it suggested that the Malatesta "logo"

was the inspiration for the dollar sign. Do you have any reference to back
up this claim? I’m not being antagonistic here, I am genuinely curious.

Me, too. I’ve never heard the name Malatesta except in an opera
I saw when I was twelve. Seriously. (Italian opera translated into
English – forget which.)

Well FWIW, I have always heard that the origin of the dollar sign was
early United States currency. Originally, this currency had a fairly thin
capital “U” overlaying a capital “S” to indicate that it was United States,
or “US” currency. Eventually the US ligature degenerated into the
double-barred dollar sign which was ubiquitous before the typewriter, and
later the computer, degenerated it even further into the single-barred
dollar sign “$” we use today. I have heard other theories, and many of them
even claim that the dollar sign predates 1776, although usually by only a
few years. But I have yet to hear anyone discount the “US” theory or
present a more plausible one.

If anyone has anything more definitive, I would be interested in hearing

about it.

I read once that the inventor/introducer of the dollar sign (and I’ve
lost the reference) is buried in (my home state of) Mississippi.

But if the dollar sign comes from Italy, then, umm, there must be
someone else in that grave. :smiley:

Hal

Is there any IDE for FXRuby?

Thank you

···

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

— Ruby Ruby ruby4lover@yahoo.com wrote:

Is there any IDE for FXRuby?

Look here:

http://www.linuxmafia.com/~rick/linux-info/applications-ides.html

(find Ruby). If I were you I’d just use “gvim” (or vim) using quickfix.

HTH,

– Thomas Adam

···

Thank you


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Ruby Ruby wrote:

Is there any IDE for FXRuby?

I think that the question you are really asking is, “Are there any GUI
builder/dialog editor tools for FXRuby?” And the answer to that question
is, “Not yet” (although I hear whispers here and there of people working
on such tools).

I looked at the link you posted below and found two
entries. The first entry was for BlackAdder and the
second entry, WideStudio. The BlackAdder says: (A
Ruby interpreter, debugger and ODBC support for Ruby
are not yet available. (Ruby is temporarily removed
until the Qt bindings are updated to Qt3, currently in
progress). BlackAdder is not free.

WideStudio is free and it claims to support ruby. I
will download it today and give it a try.
gvim/vim I use it as my exclusive Editor. I did not
know that it could be use for GUI programming.

I wanted to use FXRuby because it appears to run
everywhere, but I don’t want to be concerned with the
internal details about defining widgets.

Thank you for the information.

— Ruby Ruby ruby4lover@yahoo.com wrote:

Is there any IDE for FXRuby?

Look here:

http://www.linuxmafia.com/~rick/linux-info/applications-ides.html

···

— Thomas Adam thomas_adam16@yahoo.com wrote:

(find Ruby). If I were you I’d just use “gvim” (or
vim) using quickfix.

HTH,

– Thomas Adam

Thank you


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
design software
http://sitebuilder.yahoo.com

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends?
Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

— Ruby Ruby ruby4lover@yahoo.com wrote:

I looked at the link you posted below and found two
entries.

Yes, that’s how many my eyes counted, too :slight_smile:

The first entry was for BlackAdder and the
second entry, WideStudio. The BlackAdder says: (A
Ruby interpreter, debugger and ODBC support for Ruby
are not yet available. (Ruby is temporarily removed
until the Qt bindings are updated to Qt3, currently in
progress). BlackAdder is not free.

WideStudio is free and it claims to support ruby. I
will download it today and give it a try.

:slight_smile: Simplist thing to do :slight_smile:

gvim/vim I use it as my exclusive Editor. I did not
know that it could be use for GUI programming.

But of course!! Vim supports syntax highlighting :slight_smile: and quickfix mode is
excellent :slight_smile:

I wanted to use FXRuby because it appears to run
everywhere, but I don’t want to be concerned with the
internal details about defining widgets.

Then try looking at some of the more general editors for FX on the link I
gave you previously. Perhaps they’ll help?

Thank you for the information.

Not at all, you’re most welcome.

– Thomas Adam

···

— Thomas Adam thomas_adam16@yahoo.com wrote:

— Ruby Ruby ruby4lover@yahoo.com wrote:

Is there any IDE for FXRuby?

Look here:

http://www.linuxmafia.com/~rick/linux-info/applications-ides.html

(find Ruby). If I were you I’d just use “gvim” (or
vim) using quickfix.

HTH,

– Thomas Adam

Thank you


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
design software
http://sitebuilder.yahoo.com

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends?
Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk