Why Ruby does not nead an ide

On Mon, Aug 28, 2006 at 03:35:22AM +0900, Hal F. wrote:

M. Edward (Ed) Borasky wrote:

I wonder if there’s anything – an OS, a language, an editor, a
programming philosophy – for which we could get everyone on this list
to say, " sucks!"

MSDOS, COBOL, notepad, static typing?

I take it you missed the earlier discussion re: static typing, in which
some concluded it isn’t all bad.

Chad P. wrote:

I take it you missed the earlier discussion re: static typing, in which
some concluded it isn’t all bad.

I had a hard time filling in the last part, so I
put that partly for troll value.

I couldn’t think of any paradigm that came before
“structured programming.” GOTOful programming?
Unstructured programming?

Hal

On Mon, Aug 28, 2006 at 03:28:47AM +0900, M. Edward (Ed) Borasky wrote:

Chad P. wrote:

cake || eat

Uh … cake || eat? That’s an inclusive or, isn’t it? :slight_smile:

Good point.

!cake || !eat

Yeah … having just made fun of Eclipse and admitting that I should
learn Emacs to be a “real programmer” but haven’t moved beyond “vim”
because of 20 plus years of muscle memory, I wonder if I’m the pot or
the kettle. :slight_smile:

I wanna be the skillet.

I wonder if there’s anything – an OS, a language, an editor, a
programming philosophy – for which we could get everyone on this list
to say, " sucks!"

Windows ME?

Chad P. wrote:

I wonder if there’s anything – an OS, a language, an editor, a
programming philosophy – for which we could get everyone on this list
to say, " sucks!"

Windows ME?
If you bought a new PC with Windows ME installed, or if you wiped a
machine clean and installed Windows ME on it, it was probably at least
usable. But an upgrade from Windows 98 SE to Windows ME pretty much
guaranteed an unusable system. I ended up throwing out Windows ME and
dual-booting the machine Windows 2000 Professional and Red Hat Linux
7.0.

On Mon, Aug 28, 2006 at 03:48:36AM +0900, Hal F. wrote:

I take it you missed the earlier discussion re: static typing, in which
some concluded it isn’t all bad.

I had a hard time filling in the last part, so I
put that partly for troll value.

I couldn’t think of any paradigm that came before
“structured programming.” GOTOful programming?
Unstructured programming?

How 'bout just GWBASIC?

Chad P. wrote:

Yeah, 'cause things never add up.

160 GB of hard drive space cost as much as a month of a 1 pack / day
smoking habit. You could almost fit a whole Debian archive into that.
E.g. probably more software than most computer users will ever need to
use, in several versions, for 10 different computer architectures.

Computer storage space is so dirt cheap and available in mass quantities
it’s simply not possible to fill a large amount of it with only software
that doesn’t have humongous requirements on data needed at runtime.
Sometimes things just don’t add up. I’d be interested on how a non-edge
case workstation setup where they do would contain.

Hey, I just find all this OS vs. editor holy war stuff funny. If you
want to be offended, though, I can’t stop you.

[insert rusty fork / eye poking comment here]

David V.

M. Edward (Ed) Borasky wrote:

Total size of downloads: 165,416 kB

So, having done the empirical measurement of starting the bittorrent
download of the Win32 version (I’m sticking to my gaming partition while
on vacation), I got download speeds of 300-400 kB/s over a 4 Mbit
connection. The Linux x86-64 swarm needs some loving, but local Ubuntu
repositories still reach around 220 kB/s download speeds without a
problem. 10-20 minutes download time, not stellar, but fits into a lunch
break.

I’ve pulled single MP3 files that size through the connection. That’s
roughly two hours at 192 kbps - a not uncommon size for a DJ gig ripped
off webradio. And those sure as hell crop up more often than new Eclipse
versions.

It falls into the tolerance limit for me. YMMV. What’s important -for
me- is that Eclipse does deliver in features (and then some), and does
so without getting in the way for most of my usage scenarios - the only
necessary evil in the way to editing code I feel is setting up a new
project to tell Eclipse where in the filesystem to look when using Open
Resource. I honestly could care less about download size if it’s
downloadable in reasonable down-time, and about performance if it runs
fast enough on hardware I work on.

I can also very well understand the decision to make RDT and RADRails
Eclipse plugins. Java development bloatware or not, it probably has an
amazing amount of resources for tool development included, and you don’t
have to reinvent the wheel with project management, version control
integration, code template support, and the list could go on and on. You
can concentrate on just making it support Ruby, and I could invoke the
DRY principle here, which probably holds more value than
not-quite-tangible lightweight / heavyweight “language attitude”
arguments when deciding how to implement a fairly complex tool. (SWT
also looks better than FOX if you’re being aesthetic.)

A fourth of the download size was Seamonkey. Which sounds a lot like a
packaging problem, or something on the Mozilla side of things. I can’t
believe you need all that to be able to embed Gecko into SWT.

PS: If trying out, go for Eclipse 3.1. 3.0 was rather slow, and 3.2 is
still early adoption and needs to have some kinks worked out.

David V.

Chad P. wrote:

Windows ME?

I know people who still use and adore that OS.

But how can we forget the archetypal failure in software development, MS
Bob?

David V.

On 8/27/06, M. Edward (Ed) Borasky [email protected] wrote:

Just as a side note, I don’t currently have Eclipse installed on my
Gentoo Linux “development workstation”. So, I did an “emerge -pv
eclipse-sdk” to see what’s involved, and edited the output file with Vim
:slight_smile:

It’s not really a fair comparison. If you built an Emacs with all the
capabilities of an Eclipse, it would make use of a large number of
platform-specific libraries that are already present for many other
purposes. Almost all the libraries listed in your emerge output are Java
libraries unrelated to Eclipse that provide similar features to those
native
libraries. The down side of using Java in this case is that many wheels
had
to be reinvented…note jzlib, for example. The up side is that those
libraries almost always “just work” without modification or even
recompilation on other platforms. The other half of this is some Gentoo
stupidness…since Gentoo builds everything from scratch, it pulls in a
vast
number of projects to build Eclipse that are in many cases not even
necessary for running Eclipse, since the tools to build Eclipse are also
written in Java and have many of their own dependencies…etc etc. I
rarely use Gentoo to completely rebuild Java apps, since it’s usually
totally unnecessary; prebuilt binaries will be exactly as fast and run
without modification.

It might be more fair to compare a prebuilt Eclipse, since Emacs
benefits
from most of the libraries and tools it needs already existing on most
*NIX
environments. On my system, where Java is prevalent, installing Eclipse
involves only a couple packages. Or perhaps compare Eclipse to building
Emacs and all its native library dependencies, including for example
libc.

Hal F. wrote:

MSDOS

Hey, no touching very successful home gaming platforms - IIRC, the DOS
scene shined on for quite a while after Amigas fell into pitiful
stagnation. The low resource requirements and the “flexibility” that
direct everything access provided are probably to blame in a large part
for home computing as we know it today. Maybe the system didn’t go the
Right Way, but it sure as hell went the Way that Worked.

cuddles his DOSBox protectively

David V.

Hal F. wrote:

GOTOful programming?

College freshman assembly? Hey, you could squeeze tens of CPU clock
cycles of performance using GOTOs instead of procedures when possible…

David V.

On Mon, Aug 28, 2006 at 04:16:01AM +0900, David V. wrote:

that doesn’t have humongous requirements on data needed at runtime.
Sometimes things just don’t add up. I’d be interested on how a non-edge
case workstation setup where they do would contain.

I don’t own any 160GB hard drives. I have no use for them. My largest
hard drive is exactly half that, and I have storage space to spare. I
like that situation.

I prefer to keep using what I’ve got until I need to upgrade to suit
some specific need, rather than running around looking for needs to
justify buying more hardware.

On Mon, Aug 28, 2006 at 05:02:21AM +0900, David V. wrote:

Hal F. wrote:

MSDOS

Hey, no touching very successful home gaming platforms - IIRC, the DOS
scene shined on for quite a while after Amigas fell into pitiful
stagnation. The low resource requirements and the “flexibility” that
direct everything access provided are probably to blame in a large part
for home computing as we know it today. Maybe the system didn’t go the
Right Way, but it sure as hell went the Way that Worked.

This is true, but . . . I let the MSDOS comment slide because of other,
better versions of DOS.

David V. wrote:

M. Edward (Ed) Borasky wrote:

Total size of downloads: 165,416 kB
[snip]

I only used the download size as an indicator of package size. I usually
get close to my Comcast 8 mbit download speeds from the Gentoo mirror
down the road about sixty miles at Oregon State University. :slight_smile:

I can also very well understand the decision to make RDT and RADRails
Eclipse plugins. Java development bloatware or not, it probably has an
amazing amount of resources for tool development included, and you don’t
have to reinvent the wheel with project management, version control
integration, code template support, and the list could go on and on. You
can concentrate on just making it support Ruby, and I could invoke the
DRY principle here, which probably holds more value than
not-quite-tangible lightweight / heavyweight “language attitude”
arguments when deciding how to implement a fairly complex tool. (SWT
also looks better than FOX if you’re being aesthetic.)

I think more to the point is that Eclipse has a lot of Java web
developer muscle memory behind it. Suppose you took someone used to
Eclipse and said, “OK – here’s Rails. You don’t need any of that junk.
Just open up a couple of konsole or xterm or cmd windows and a browser,
edit a couple of config files and Ruby scripts in vi or emacs or
notepad, and you’re on the air!” :slight_smile:

“Oh yeah? We don’t use ant, we use rake. We don’t use junit …” I’m
used to lightweight tools … a lot of people aren’t.

PS: If trying out, go for Eclipse 3.1. 3.0 was rather slow, and 3.2 is
still early adoption and needs to have some kinks worked out.

I don’t know if 3.1 is available in Gentoo, and even if it is, since
this is a hobby project, I think if I use Eclipse at all it will be for
the learning experience, and I’ll go with 3.2. What I need is something
that understands C/C++, Python and Ruby more or less equally well. What
I don’t need for this project is anything related to Java! And Eclipse
seems very much of the Java people, by the Java people and for the Java
people.

I did download and install KDevelop 3.3.4. It seems to have some Rails
support built in, though all I did was create a project just to watch
what happened. The only gotcha with KDevelop is that it’s probably Linux
only. I suspect it could be made to work (with a sizable performance
hit) under CygWin, since I’ve seen KDE made to work that way (with a
sizable performance hit). Right now KDevelop looks like my best bet,
although I haven’t looked at what the Gnome side of the house has to
offer yet.

Charles O Nutter wrote:

It’s not really a fair comparison. If you built an Emacs with all the
capabilities of an Eclipse, it would make use of a large number of
platform-specific libraries that are already present for many other
purposes. Almost all the libraries listed in your emerge output are Java
libraries unrelated to Eclipse that provide similar features to those
native
libraries.
Uh yeah … Eclipse is a Java IDE. As I noted elsewhere, “xemacs-sumo”
is also huge. And also as I noted elsewhere, I don’t use Emacs or
XEmacs.

The down side of using Java in this case is that many wheels had
to be reinvented…note jzlib, for example. The up side is that those
libraries almost always “just work” without modification or even
recompilation on other platforms.
Uh yeah … Eclipse is a Java IDE. :slight_smile:

The other half of this is some Gentoo
stupidness…since Gentoo builds everything from scratch, it pulls in a
vast
number of projects to build Eclipse that are in many cases not even
necessary for running Eclipse, since the tools to build Eclipse are also
written in Java and have many of their own dependencies…etc etc. I
rarely use Gentoo to completely rebuild Java apps, since it’s usually
totally unnecessary; prebuilt binaries will be exactly as fast and run
without modification.

I think Gentoo does have a pre-built Eclipse, though I think it’s only
3.2.

It might be more fair to compare a prebuilt Eclipse, since Emacs benefits
from most of the libraries and tools it needs already existing on most *NIX
environments. On my system, where Java is prevalent, installing Eclipse
involves only a couple packages. Or perhaps compare Eclipse to building
Emacs and all its native library dependencies, including for example libc.

Well, since you’re a Java developer, what is your reaction to

“OK – here’s Rails. You don’t need any of that junk.
Just open up a couple of konsole or xterm or cmd windows and a browser,
edit a couple of config files and Ruby scripts in vi or emacs or
notepad, and you’re on the air!” :slight_smile:

“Oh yeah … We don’t use ant, we use rake. We don’t use junit …”

On 8/27/06, M. Edward (Ed) Borasky [email protected] wrote:

Uh yeah … Eclipse is a Java IDE. As I noted elsewhere, “xemacs-sumo”
is also huge. And also as I noted elsewhere, I don’t use Emacs or XEmacs.

You missed my point entirely. And it’s great you’re able to use vi or ed
or
whatever other minimalist environment to do whatever you do. If I choose
to
use a nailgun to build a house and you choose to use a hammer, both
approaches are valid.

I think Gentoo does have a pre-built Eclipse, though I think it’s only
3.2.

You didn’t measure that, you measured the contrived case of building
Eclipse
from scratch, which isn’t useful. How much does it take to build, say,
Mozilla from scratch? A lot.

Well, since you’re a Java developer, what is your reaction to

“OK – here’s Rails. You don’t need any of that junk.
Just open up a couple of konsole or xterm or cmd windows and a browser,
edit a couple of config files and Ruby scripts in vi or emacs or
notepad, and you’re on the air!” :slight_smile:

Valid and correct. RadRails is overkill for folks that don’t have need
of
Eclipse’s other features, but it doesn’t mean that a Rails IDE wouldn’t
be
useful. If a bunch of editors and terminals works well enough for you,
so be
it. Others will have their own needs. Neither camp is “right”. Black and
white, meet grey.

“Oh yeah … We don’t use ant, we use rake. We don’t use junit …”

I like Rake better. One of my pet projects is to create rake tasks to
work
in concert with JRuby as a replacement for Ant. And JUnit is no more
complicated than test/unit. There are many tools for the job. People
should
use what works best for their own purposes. This is why I work on JRuby,
because I believe the Java world needs Ruby and apps it has spawned to
continue innovating.

From: “David V.” [email protected]

Hal F. wrote:

MSDOS

Hey, no touching very successful home gaming platforms - IIRC, the DOS
scene shined on for quite a while after Amigas fell into pitiful
stagnation. The low resource requirements and the “flexibility” that
direct everything access provided are probably to blame in a large part
for home computing as we know it today. Maybe the system didn’t go the
Right Way, but it sure as hell went the Way that Worked.

Apologies in advance for contributing to the [OT]ness…

Background: I’ve used MSDOS since PC-DOS V1.0, and also
got heavily into Amiga starting at V1.0…

I don’t think it was lack of direct access everything that
killed the Amiga. The OS was an impressive marvel of simple
layers with respect to hardware access. If you wanted to go
lower-level, you could, legally, just peel back a layer and
use lower-level access, in harmony with the rest of the OS.
Windows → Screens → ViewPorts → Views → Supplying your
own gfx-coprocessor display lists → To actually requesting
(borrowing) a chunk of hardware registers from the OS and
giving them back (disk, blitter, copper, color, sound…)
→ or, just taking over the whole system as many games did.

Direct access wasn’t hard on the Amiga; indeed the OS was
layered so you could usually get whatever level access you
needed (down to banging the hardware registers directly)
without taking over the system. (But you could still take
over the system easily if you wanted.)

Personally what killed the Amiga in my view was bitplanes.

:slight_smile:

Or, more generally, that the OS was structured around a
very specific gfx and sound hardware architechure that
was a work of genius and a superlative feat of
flexibility and economy in 1985, but which didn’t scale
well.

On PCs, by comparison, any gfx or sound hardware (beyond
the internal speaker beep) came on a plug-in card, from
day one. MGA, CGA, VGA… Soundblaster… One could
upgrade video and sound by plugging in a card.

I was still writing Amiga games when DooM came out for
the PC. One could buy an 8-bit graphics card for the
PC and play DooM. There was just no practical equivalent
on the Amiga… The thought of trying to implement a
game like DooM in 8 or even 6 bitplanes… A nightmare.
Some folks made some demos, as I recall, and they ran
predictably slow.

There were certainly other factors in the Amiga’s
demise… but I think the entrenchment of its aging
hardware architecture, and the difficulty for any third
party to develop a plug-in gfx or sound card that was
compatible with the OS, was a huge nail in the poor
platform’s coffin…

Haha… OK… /me reaches for Kleenex… :slight_smile:

Regards,

boing!

Am Mon, 28 Aug 2006 03:48:36 +0900 schrieb Hal F.:

I couldn’t think of any paradigm that came before
“structured programming.” GOTOful programming?
Unstructured programming?

Could “spaghetti code” be called a paradigm?

Rörd

On Mon, Aug 28, 2006 at 06:36:01AM +0900, Charles O Nutter wrote:

On 8/27/06, M. Edward (Ed) Borasky [email protected] wrote:

Uh yeah … Eclipse is a Java IDE. As I noted elsewhere, “xemacs-sumo”
is also huge. And also as I noted elsewhere, I don’t use Emacs or XEmacs.

You missed my point entirely. And it’s great you’re able to use vi or ed or
whatever other minimalist environment to do whatever you do. If I choose to
use a nailgun to build a house and you choose to use a hammer, both
approaches are valid.

Screw that. Real programmers use echo, cat, and redirects.

M. Edward (Ed) Borasky wrote:

I think more to the point is that Eclipse has a lot of Java web
developer muscle memory behind it. Suppose you took someone used to
Eclipse and said, “OK – here’s Rails. You don’t need any of that junk.
Just open up a couple of konsole or xterm or cmd windows and a browser,
edit a couple of config files and Ruby scripts in vi or emacs or
notepad, and you’re on the air!” :slight_smile:

I’d scream very loudly and castrate anyone that would try and take
project management, working sets, and the consistent CVS / SVN handling
of the source control tools with a wooden spoon. I tried text-editor
only Rails. (Didn’t know about RadRails yet.) Broke within two days and
did an ‘aptitude install kdevelop’ :stuck_out_tongue_winking_eye:

Seeing as J2EE actually pays my bills, that muscle memory isn’t going
anywhere fast.

And Eclipse
seems very much of the Java people, by the Java people and for the Java
people.

To avoid misleading, I’ll admit that it is. At least plugin wise, JDT
does get by far the most attention from the core team past the
integration work to make CDT behave nicely with Callisto. Although
managed make CDT projects work surprisingly well to build wxWidgets
based programs, and CDT plays along with the Cygwin GCC and everything
around it quite nicely. Since only Java and now also C/C++ and various
J2EE web development related languages are supported first-class, Ruby /
Python / Perl support is only as good as the communities around the
respective plugins make them. Here (if not sooner) my knowledge ends, it
would probably take someone from the RDT / RadRails team to judge just
how much the facilities of the language-neutral Eclipse Platform they
made use of / have yet to fully exploit. Rakefile integration could be
nice along the lines of the Ant integration (run as rake task launches).
Integrating the database development tools of Eclipse 3.2 even nicer -
exporting / importing / automatical synchronisation between the Rails
database config file and the tool configuration.

Right now KDevelop looks like my best bet,
although I haven’t looked at what the Gnome side of the house has to
offer yet.

From a brief look at it, precious little. The Gnome equivalent to
KDevelop seems to be Anjuta. Anjuta’s support for programming languages
besided C and C++ isn’t - one of the reasons making it very hard to
decide which of the desktop environments to use. (I abhor any
applications that don’t integrate with the desktop.)

David V.