[#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 =3D 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> w=

[#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: Seebs <usenet-nospam@...>
Date: 2010-03-15 20:05:14 UTC
List: ruby-talk #359118
On 2010-03-15, David Masover <ninja@slaphack.com> wrote:
> On Saturday 13 March 2010 12:05:06 am Seebs wrote:
>> It is not obvious that "buying" a thing necessarily in all cases entails
>> the right to manipulate it in arbitrary ways.

> Actually, that in particular was blatantly obvious until very recently.

Not necessarily for the best.

Consider what happens when you buy, say, a cat.  Do you have the right
to torture it to death over a long period of time?  Most people would say
you don't.

If you buy a house, do you have the right to, say, set fire to it?  Probably
not, especially if it's near other houses.

> However, I also occasionally speak up and make people question the tradeoffs 
> they're making.

And that's a good thing.  I think the reason this started out more
confrontational than it otherwise might have been is that, although it
may not have been intended that way, your posts came across as implying
that no one who had questioned those tradeoffs could possibly have
ended up choosing a proprietary editor.

> Again, take cell phones. I could simply refuse to buy a cell 
> phone, or I could get on my soapbox and try to convince others to stop buying 
> into these contracts. If enough people actually did start demanding cheaper 
> unlocked phones and shorter (or purely monthly) contracts, the end result 
> would be better terms for me.

I'm not sure of this.  It might be that the result would be more expensive
phones with shorter contracts, because the subsidies really do reduce the
cost of the phone.  Many cell phones are sold for less than they cost to
produce -- with the excess being covered out of the contracts.

I'd like to see more variety there, and conveniently, Google already did
the first variant -- if you buy an unlocked phone, you get a LOWER monthly
rate.

> It depends how much I care about it. You cited, as an example, hideous UIs. I 
> don't mind ugly UIs, as long as they're usable and get the job done.

I don't care much how they *look*, but when I talk about a "hideous UI", I
mean one that makes it harder to get things done.

For the canonical example, consider QuickTime 4, which introduced the worst
volume control ever implemented in a piece of software:  A virtual thumbwheel.
You clicked on it and dragged to move volume up or down, but it was a
thumbwheel, so you couldn't cover the whole range in a single drag the way
you could with a slider.

Interface features can make a HUGE difference in the usability of a program.
One of the reasons I use Pages, rather than OpenOffice or Word, is that it
is much more likely that I can get something done reasonably well, reasonably
quickly.  (If I need a lot more than that, I go to a markup language.)

>> But for some users, that upgrade treadmill may be worth it -- especially
>>  if, say, you gain enough benefit from a particular Windows-only app that
>>  it is more efficient to upgrade frequently than to make do with something
>>  else.

> The problem is, again, how frequently, and how much do you trust Microsoft?

I trust Microsoft roughly as far as I can throw them.

But here's the thing.  Right now, if an app that did something Very Important
To Me ran on Windows, and not on anything else, I might well run it anyway.
I wouldn't expect it to survive, but as long as "using it for a while" isn't
worse than "never using it at all", that's okay by me.

> For example, if your app broke on Vista, it now becomes a somewhat more 
> expensive proposition...

Sorta.  I have XP licenses around.

> It's not directly about the cost. It's about the risk, and about being forced 
> to trust a single external vendor -- which becomes that much worse when it's a 
> single person.

Okay, imagine this.  Imagine that I'm guaranteed that TextMate will cease to
exist as of Jan 1, 2011.  I mean, actually stop working, because this is
a hypothetical scenario.

And imagine that using TextMate to write Ruby code improves my productivity
by about 10% over any other tool I have access to, and that I write a lot of
Ruby code.

Long story short:  Buying a Mac mini, and a TextMate license, and using it for
those nine months, is probably a much, much, better deal than any other
alternative.

And if 10% sounds high to you, lemme tell you, it is not unreasonable at all.
I once ended up with a project which genuinely HAD to be done using Microsoft
Word.  I'd guess that it increased the time it took me to get anything written
by about 30%, maybe a bit more, compared to writing in anything else I can
think of; nroff, HTML, XML, SGML, Pages, OpenOffice, you name it.  It was
unbelievably bad.  I'm still amazed at how much it sucked.  And it cost me
a HUGE amount of time.  I'd guess that, of any given hour spent writing, at
LEAST 15-20 minutes was spent just fucking around with Word, and that's to
say nothing of the extra time introduced by crashes, compatibility issues,
and so on.

So, yes.  If I have convincing evidence that a tool's a big enough upgrade,
I'll use it even if I *know* that I'll stop being able to use it in a bit.
And in the case of TextMate, I would guess that the version I have right
now, with no further upgrades on my part, will still be usable to me five
years from now.

> Doesn't matter. Unless you've actually disabled it (or unless it's disabled by 
> default), I can still give you a malformed txtmt URL, so you still need to 
> either pay attention to the potential vulnerabilities (and actively disable 
> functionality like that) or keep yourself patched.

Well, yeah.  But disabling functionality I don't want is one of the first
things I do with most programs.  :)

>> What leads me to Ruby in the first place is that it's pleasant
>> to work with.  If I wanted something less vendor-dependant or less likely
>> to be suddenly changed out from under me, leaving me with no practical
>> support, there are probably half a dozen languages I'd be better off with.

> Interesting. I wonder what it is about those other languages that makes them 
> more suited to that purpose?

Well, as an obvious example, I use C because I can be pretty confident that
any OS out there will be able to run simple C programs.

But.  Note that this was qualified; *IF* I wanted something less
vendor-dependent...  (Actually, I wrote "less vendor-dependant", showing
that I still can't !*#@!@# spell.)  And in many cases, I'm willing to
accept some degree of risk because the payoff is good.

For instance, I use Ruby in preference to PHP, not because Ruby is less
vendor-dependent, but because it doesn't make me want to bleach my brain
after I have to read code in it.

> However, as Michal Suchanek pointed out, you can hire someone else to do so. 
> That is something which, again, is not necessarily an option for a proprietary 
> app.

Sure.  But it may not be an option for me in general, either.  I couldn't
afford to hire someone to mess with that driver, so the theoretical option
doesn't do me much good.

> The other advantage is one that a healthy community provides -- even if you 
> don't personally have the skills to, say, maintain a Ruby 1.8.6 fork, chances 
> are that if 1.8.7 really changed that much, _someone_ will have the skills and 
> inclination to make 1.8.6 continue to work.

Maybe.  But that brings you right back to the risk issue, and honestly, I
don't think it's enough better for me to care.

I've seen very, very, few "forks" that were viable enough to be worth the
hassle.

> On an open source platform, I guarantee that at some point, sheer 
> determination would've led me to patching it myself, or working around it. 
> Fortunately, it usually doesn't come to that, as I can switch easily enough 
> from KDE to GNOME to Fluxbox to whatever else -- more an incidental benefit 
> than a direct benefit, I'll admit.

Heh.  I've got one of those right now; there's an X.org bug that breaks
key repeat, and every Linux system available to me has a buggy version, and
none of them appear to plan to fix it.  Since rebuilding X is wayyyy too
much hassle, I've compromised on patching in a dodgy patch to WINE to
work around it for the one app I care about.

>> I got a jabber server up and running... It was a pain.  The
>> next time I do server stuff, I'll put in OS X server, click "enable chat
>> server", and have a working jabber server.

> Again, YMMV. For me, this was along the lines of:

> sudo apt-get install ejabberd

I was doing this a couple-few years back, and at the time, I had to
compile erlong and ejabberd myself.

>> It won't crash.

> Hasn't crashed for me yet.

ejabberd hasn't.  I tried the "official" jabberd before that, and it
was crashy.

>> It won't
>> have a mysterious bug that took me a dozen reboots to track down causing
>> it not to start up when started from /etc/rc.local even though it starts
>> fine when invoked from the command line.

> It starts from somewhere else, not rc.local, but it starts automatically when 
> installed and on every reboot.

Once there's a package for it, yes.  I was doing this before that, and it
was on a BSD machine, and there was some weirdness that made it not work
when started from rc.local until I fixed it.

>> I won't have to replace it with
>> a different one due to a crashing bug that no one cares about, or build
>> a programming language environment before I can use it.

> Nope, and nope. Erlang was auto-installed as a dependency.

See above.

> I did some initial research before picking ejabberd. I suppose that's also 
> worth some money.

Yup.  When I did this, ejabberd was new enough (and erlang was new
enough on the BSD machine) that I had to do some of that research myself.

> I'll agree with that, but this happens a lot more often when I consider 
> whether they're equivalent for my needs. I'll freely admit Photoshop is 
> probably still far better than The Gimp, but I'm also not a graphic artist, so 
> open source plus price wins. For most things I'll have to print, OpenOffice 
> wins -- some people need certain obscure features of Word, I like a big 
> "export to PDF" button, and again, open source, open format.

Yup.  One of the things I like on the Mac -- it is extremely difficult to make
a program for the Mac which can print, but can't export to PDF.  I don't think
I've ever seen it done.  And that's one of the cases where the proprietary OS
makes up for the weaknesses of a lot of software -- I am not dependent on
software vendors supporting PDF.  :)

-s
-- 
Copyright 2010, all wrongs reversed.  Peter Seebach / usenet-nospam@seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!

In This Thread