[#358392] Increase significant digits in Float — Jason Lillywhite <jason.lillywhite@...>

If I want to increase my significant digits beyond 15 in a result of a

12 messages 2010/03/02

[#358431] A gem for handling temporary file(s)? — Albert Schlef <albertschlef@...>

I'm writing a program that needs to generate two or three temporary

21 messages 2010/03/03
[#358432] Re: A gem for handling temporary file(s)? — Paul Harrington <xenogenesis@...> 2010/03/03

Albert Schlef wrote:

[#358443] Re: A gem for handling temporary file(s)? — Albert Schlef <albertschlef@...> 2010/03/03

Paul Harrington wrote:

[#358486] Re: A gem for handling temporary file(s)? — Caleb Clausen <vikkous@...> 2010/03/03

On 3/2/10, Albert Schlef <albertschlef@gmail.com> wrote:

[#358485] Test::Unit::Omission - Unable to omit tests — Champak Ch <champaka@...>

I am trying to omit some tests while using the test unit framework. My

12 messages 2010/03/03

[#358551] Shared hosting recommendation? — Rafael Vega <email.rafa@...>

Hello!

10 messages 2010/03/04

[#358559] Limit number of concurrent running threads in pool — Joe Martin <jm202@...>

Hi

14 messages 2010/03/04

[#358576] A good portable text editor/IDE for Ruby? — Reiichi Tyrael <xxreiichixx@...>

I am searching for a good portable text editor or IDE for Ruby to use on

19 messages 2010/03/05

[#358586] Base-64 encoding--Just for the fun of it! — "Aaron D. Gifford" <astounding@...>

Yes, there's always:

10 messages 2010/03/05

[#358611] On what of these books is better to start to study Ruby? — Vlad Gerasimov <refermaker@...>

I have 3 books:

12 messages 2010/03/05

[#358634] Conditional keys in hash - out of the box? — "Sven S." <svoop@...>

Hi

12 messages 2010/03/05

[#358661] Why no TextMate for Linux? — thunk <gmkoller@...>

I spent some happy development time in "VisualAge" for Smalltalk +

42 messages 2010/03/06

[#358702] win32console 1.3.0.beta2 Released — Luis Lavena <luislavena@...>

win32console version 1.3.0.beta2 has been released!

17 messages 2010/03/07

[#358757] Shortest code — Prasanth Ravi <dare.take@...>

hi i'm a newbie in ruby and was test out some interesting problems in

18 messages 2010/03/08

[#358885] reading an UTF-8 encoded file — unbewusst.sein@... (Une B騅ue)

13 messages 2010/03/10

[#359008] Dir.glob problem — David Vlad <cluny_gisslaren@...>

In the program Im making I need to read some wma files into a variable

21 messages 2010/03/12

[#359031] Newbie Help : Object — Jerome David Sallinger <imran.nazir@...>

Hello,

14 messages 2010/03/13

[#359090] Overriding new? — Andrea Dallera <andrea@...>

Hi everybody,

19 messages 2010/03/15
[#359091] Re: Overriding new? — Chuck Remes <cremes.devlist@...> 2010/03/15

[#359093] Re: Overriding new? — Andrea Dallera <andrea@...> 2010/03/15

Hei Chuck,

[#359130] Recommended way to install Rubygems — Leslie Viljoen <leslieviljoen@...>

Hi!

64 messages 2010/03/16
[#359175] Re: Recommended way to install Rubygems — Eric Hodel <drbrain@...7.net> 2010/03/17

On Mar 16, 2010, at 03:22, Leslie Viljoen wrote:

[#359176] Re: Recommended way to install Rubygems — Lucas Nussbaum <lucas@...> 2010/03/17

(Please Cc me when replying, I don't follow ruby-talk@ closely enough to

[#359183] Re: Recommended way to install Rubygems — Nick Brown <nick@...> 2010/03/18

Lucas: Thanks for maintaining the Ruby package in Ubuntu!

[#359187] Re: Recommended way to install Rubygems — Lucas Nussbaum <lucas@...> 2010/03/18

On 18/03/10 at 13:36 +0900, Nick Brown wrote:

[#359200] Re: Recommended way to install Rubygems — Nick Brown <nick@...> 2010/03/18

Lucas Nussbaum wrote:

[#359204] Re: Recommended way to install Rubygems — Lucas Nussbaum <lucas@...> 2010/03/18

On 18/03/10 at 23:05 +0900, Nick Brown wrote:

[#359210] Re: Recommended way to install Rubygems — Rick DeNatale <rick.denatale@...> 2010/03/18

On Thu, Mar 18, 2010 at 10:21 AM, Lucas Nussbaum

[#359215] Re: Recommended way to install Rubygems — Lucas Nussbaum <lucas@...> 2010/03/18

On 18/03/10 at 23:45 +0900, Rick DeNatale wrote:

[#359230] Re: Recommended way to install Rubygems — Aldric Giacomoni <aldric@...> 2010/03/18

Lucas Nussbaum wrote:

[#359233] Re: Recommended way to install Rubygems — Lucas Nussbaum <lucas@...> 2010/03/18

On 19/03/10 at 02:49 +0900, Aldric Giacomoni wrote:

[#359171] Replace Text at Specific Positions Across Files — Shiny Hydra <slotriof@...>

Hello everyone,

12 messages 2010/03/17
[#359192] Re: Replace Text at Specific Positions Across Files — Robert Klemme <shortcutter@...> 2010/03/18

2010/3/17 Shiny Hydra <slotriof@guerrillamailblock.com>:

[#359198] Re: Replace Text at Specific Positions Across Files — Shiny Hydra <slotriof@...> 2010/03/18

> So your file has fixed width records? This is important to know,

[#359255] Grouping elements of an array — Steve Wilhelm <steve@...831.com>

I have an array of records that contain timestamps at random intervals.

24 messages 2010/03/18

[#359354] Living with a Swarm of Boids - A report from the front — thunk <gmkoller@...>

Hi,

15 messages 2010/03/20

[#359388] A plugin system using extend — Jean-denis Vauguet <jd@...>

Hi.

17 messages 2010/03/21
[#359394] Re: A plugin system using extend — Josh Cheek <josh.cheek@...> 2010/03/21

On Sat, Mar 20, 2010 at 9:46 PM, Jean-denis Vauguet <jd@vauguet.fr> wrote:

[#359398] Re: A plugin system using extend — Jean-denis Vauguet <jd@...> 2010/03/21

Thank you Josh. Actually I've already tested what you wrote and that's

[#359402] Re: A plugin system using extend — Jean-denis Vauguet <jd@...> 2010/03/21

Another idea I had is the following:

[#359410] Re: A plugin system using extend — James Edward Gray II <james@...> 2010/03/21

On Mar 21, 2010, at 2:13 AM, Jean-denis Vauguet wrote:

[#359420] Reading contents of all files from a Directory — Hawksury Gear <blackhawk_932@...>

Hello,

23 messages 2010/03/21
[#359422] Re: Reading contents of all files from a Directory — Jonathan Nielsen <jonathan@...> 2010/03/21

> I am trying to "Read Content" of all the files from a Directory. So far

[#359423] Re: Reading contents of all files from a Directory — Jonathan Nielsen <jonathan@...> 2010/03/21

> arr = Dir.open("K:/test").entries

[#359464] Re: Reading contents of all files from a Directory — Robert Klemme <shortcutter@...> 2010/03/22

2010/3/21 Jonathan Nielsen <jonathan@jmnet.us>:

[#360368] Re: Reading contents of all files from a Directory — Hawksury Gear <blackhawk_932@...> 2010/04/04

> If it is only for output purposes, we can actually do it in one line:

[#360370] Re: Reading contents of all files from a Directory — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2010/04/04

On Sun, Apr 4, 2010 at 3:06 PM, Hawksury Gear <blackhawk_932@hotmail.com> wrote:

[#360373] Re: Reading contents of all files from a Directory — Hawksury Gear <blackhawk_932@...> 2010/04/04

Thanks for replying ,when I am doing

[#360374] Re: Reading contents of all files from a Directory — Hassan Schroeder <hassan.schroeder@...> 2010/04/04

On Sun, Apr 4, 2010 at 8:16 AM, Hawksury Gear <blackhawk_932@hotmail.com> wrote:

[#360375] Re: Reading contents of all files from a Directory — Hawksury Gear <blackhawk_932@...> 2010/04/04

Hassan Schroeder wrote:

[#359662] index of string from beginning of line vs beginning of file — "Jesse B." <jessebos@...>

I am trying to write a basic script to implement "silent comments"

10 messages 2010/03/25
[#359663] Re: index of string from beginning of line vs beginning of file — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2010/03/25

On Thu, Mar 25, 2010 at 5:19 PM, Jesse B. <jessebos@aol.com> wrote:

[#359684] Ruby Summer of Code 2010 — Jeremy Kemper <jeremy@...>

Fellow Rubyists, I'm proud to announce the first annual Ruby Summer of Code.

20 messages 2010/03/26
[#359985] Re: [ANN] Ruby Summer of Code 2010 — Roger Pack <rogerpack2005@...> 2010/03/30

Jeremy Kemper wrote:

[#359697] Ruby and user documentation — Michel Demazure <michel@...>

Hi all,

20 messages 2010/03/26

[#359749] Boid writeup idea — thunk <gmkoller@...>

30 messages 2010/03/26

[#359909] return number of spaces at the beginning of a line — "Jesse B." <jessebos@...>

How would I find the number of spaces at the beginning of a line before

28 messages 2010/03/30
[#359925] Re: return number of spaces at the beginning of a line — Josh Cheek <josh.cheek@...> 2010/03/30

On Mon, Mar 29, 2010 at 8:41 PM, Jesse B. <jessebos@aol.com> wrote:

[#359941] Re: return number of spaces at the beginning of a line — Robert Klemme <shortcutter@...> 2010/03/30

2010/3/30 Josh Cheek <josh.cheek@gmail.com>:

[#359945] Re: return number of spaces at the beginning of a line — "Jesse B." <jessebos@...> 2010/03/30

This second post with the "spaces only" fix seems to meet all the needs

[#359961] Re: return number of spaces at the beginning of a line — Robert Klemme <shortcutter@...> 2010/03/30

2010/3/30 Jesse B. <jessebos@aol.com>:

[#360011] RubyDictionary - First Try — Max Schmidt <max.schmidt.privat@...>

Hello folks,

12 messages 2010/03/30
[#360035] Re: RubyDictionary - First Try — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2010/03/31

On Wed, Mar 31, 2010 at 12:40 AM, Max Schmidt

[#360033] Playing Games with "Ruids" — thunk <gmkoller@...>

46 messages 2010/03/31

Re: Why no TextMate for Linux?

From: David Masover <ninja@...>
Date: 2010-03-13 00:13:09 UTC
List: ruby-talk #359012
On Wednesday 10 March 2010 10:55:11 pm Seebs wrote:
> But if the CURRENT version meets my needs, great!

So long as the current version continues to work.

> It's not as if most people can realistically get a real feature change
> into vi.  Even most programmers would be unlikely to find it worth the
> time and effort.

Most likely -- but having the ability is important.

I'm unlikely to ever want to, say, burn an American flag, but it is important 
to me that I have that right.

> >  * You're tied to an OS which is notorious for breaking backwards-
> > compatibility.
> 
> lolwut?  I have things from OS X 10.0, written for PowerPC systems, which
> still run on Intel in 10.6.

And I've seen things break from 10.3 to 10.4 to 10.5.

> > - The next version of OS X is as likely as not to break the current
> > version of TextMate.
> 
> You have any evidence for this?  I've been using OS X as one of my desktop
> platforms for about a decade now, and thus far, I've had VERY few programs
> broken by upgrades -- and those were always things which I would have
>  expected to break, like low-level hacks into the window manager or
>  something similar.

It's been long enough since I've used OS X that it's possible I'm remembering 
low-level hacks. Then again, I remember even things like VLC would require at 
least 10.3, and this is when 10.4 was the latest. So...

> >    - Once you do upgrade, the new version of TextMate is as likely as not
> > to refuse to work on old versions of OS X, so you'd better upgrade all
> > your boxes at once.
> 
> Again, this claim "as likely as not" seems pretty implausible to me.  It's
> extremely unusual for anyone to make a tool like this not work on at least
>  the two or three most recent revisions.

Two or three is nice, still means you're going to have to upgrade when it's 
four, five, or six revisions out of date -- either the program or the OS.

Again, I don't mind this so much in open source, because in cases where an old 
version had some merit, and we think they screwed up the new version too much, 
we can fork the old version and maintain it. In particular:

> Do you have any kind of data to back this claim up, or is this just generic
> FUD?  If we're gonna be doing FUD, how about I warn people that they
>  shouldn't be relying on Ruby, because a new version of Ruby might break
>  existing scripts?

1.9 might, yes. But Ruby is open source. Don't like 1.9? Fork 1.8.7, or even 
1.8.6. I believe someone is currently maintaining a stable 1.8.6.

With proprietary software, that's not an option -- Microsoft wanted to force 
Vista on everyone, so they threatened to pull support for XP. That would've 
meant security vulnerabilities, among other things, making life difficult for 
those of us wanting to stay on XP -- no chance of any bugfixes. Microsoft 
maintains support for old version of Windows, but to a point -- beyond which, 
the community CANNOT take over.

Now consider the case of a killer app developed by a single individual. What 
are the chances he's going to expend significant time and energy maintaining 
old versions of TextMate when he could be working on a new version (and 
charging for it) instead?

Can you see why I might be more inclined to trust a popular open-source 
project developed by dozens (hundreds?) of people around the world, rather 
than a proprietary project developed by a single person?

> >    - Switching OSes -- to Linux, to Windows, to Plan9, to whatever -- is
> > out of the question for you.
> 
> I would consider that pretty normal for a lot of tools.  I expect to have
> to switch tools when I switch OS's.  There are exceptions,

My text editor of choice right now is Kate, and the entire KDE project is 
cross-platform. My other text editor of choice is vim, and it even runs on 
Windows, with some help. For school, I'm forced to use Java, so I use Eclipse, 
which is also cross-platform. Ruby is cross-platform. Rails is cross-platform.

My web browser of choice is Google Chrome, which is cross-platform. My other 
web browser of choice is Firefox, which is cross-platform. Third would be 
Konqueror, which is as portable as KDE.

For writing and publishing, I'm using OpenOffice and Scribus, which are both 
cross-platform.

For image editing, Krita or Gimp -- cross-platform, and cross-platform.

For remote management, I use ssh and rdesktop -- cross-platform, and... oh, 
there it is. I bet rdesktop doesn't have a Windows version, huh? That's OK, I 
can use Windows' native Remote Desktop client.

Whew. That was hard to find the one tool which isn't portable, and I'm not 
even sure about that -- it might run under Cygwin!

> > Framework?
> 
> If it was the right tool for the job, yes.
> 
> I'm making myself an iPhone app.  I dunno if I'll ever even get it to the
> point where I'd submit it to the app store.  I want it for my own use.  It
> is heavily tied to several proprietary frameworks.
> 
> So what?  Nothing else lets me do what I want.

Really? Android doesn't? That's interesting.

> > If not, why not, and why would you use a proprietary text
> > editor, or debugger, or _any_ proprietary programming tool?
> 
> I don't have a problem with proprietary tools, IF they do their job well
> enough to justify the hassles.

I tend to agree, yet I notice, again, a trend where people like that 
everything Ruby is open source, yet don't care to look for the same in their 
OS or editor.

And that is a big if...

> > I generally don't bother people about developing on OS X. It's annoying,
> > but most of the Ruby stuff is going to be general Unix stuff anyway, not
> > Mac- specific. But then, switching OSes is easy when your tools are
> > portable.
> 
> It is usually a bit of a tradeoff.  I'll accept some non-portability of
>  tools to get jobs done sooner and with less effort.

I'll do that, if it's enough sooner and enough less effort to justify the loss 
of flexibility. I'd much rather spend a bit more time and get it right the 
first time, using portable, flexible, open tools, so that I don't have to 
completely redo it if something needs to be changed.

There's always a tradeoff, I just find it interesting where people draw the 
line. For example:

> I am a moderately experienced Unix geek, but the shared disk used by the
> various computers in my house is attached to a box running OS X Server,
> because the cost of my time to set all that stuff up correctly is an
> order of magnitude more than the cost to have something where I click the
> "yes, make this available to Windows too" button.

sudo apt-get install samba

A fileserver is about the easiest thing to set up. I have to ask how much 
you're being paid where half an hour or so of your time is more valuable than 
the hardware markup for an OS X server.

In This Thread