[#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: Boid writeup idea

From: andrew mcelroy <sophrinix@...>
Date: 2010-03-28 02:30:32 UTC
List: ruby-talk #359791
On Sat, Mar 27, 2010 at 7:50 PM, thunk <gmkoller@gmail.com> wrote:

>
>
> Andrew,
>
> Systems are rather like languages.  I'm not sure there is any one
> reserved word/command that makes ruby "better" than another language -
> but somehow the sum of all the parts turns into something very
> powerful.
>

Ruby has its place. However, the programatic paradigm (functional, oop,
Procedural ,etc) and the syntax are only one aspect of a language. At some
point, you must look at how the language is implemented from a lower level.
Ruby does a lot stuff in the background. This is both a blessing and a
curse. It is no secret that Ruby isn't as fast as
a compiled language. There are pretty fundamental reasons for this.

>
> And yes, heads on, "get it done wise" this is an INSANE approach to
> any one  problem,  but it also has some general utility.   I'm
> struggling to keep the lines so there is a framework to get pulled out
> of it BUT that is not as simple as it might seem.
>



> What justifies the efforts, to my thinking, and this was a
> "requirement" from the git-go is this:
>
> 1   People experience things anywhere, anytime, anyplace
>
> How is this point relevant to a program? Is there data being collected
based off these obserations?


2.  Some people experience exceptional things of exception worth to
> other people  (We are all a big Swarm you know....
>

How does this get inputted into this proposed system? Is this a numerical
value system like a star rating or is it tagged?



> ((3   Text is based on language, we don't all share it.  We are
> overwhelmed by blobs of it. They get lost, confused, misunderstood, re-
> retranslated and eventualy just plain boring.  Our CPU based friends
> have a bigger contribution to make than dynamic tags to point to more
> of the same.))
>

There is an entire field of study within  information theory that deals
specifically with the issue of understanding large blobs of text.
Infact, the vast majority of the people studying that aspect of Information
Theory probably work for or contract indirectly with the NSA.
How does this proposed system contribute to resolving the loosely stated
problem?

>
> 4. In steps a "BOID" - its a crisp, clear, set of basic assertions
> that can be authored into a basic "form" by a "Expert Session" and you
> have the "Shell" for something useful.  Its a mini-plug-let.   Its a
> class.   Its a text file.   Its doesn't DO anything - it gets done to,
> but it makes a small contribution momentarily to something bigger -
> give me 1000 of these things and you can replace a average WalMart
> clerk, and an average "department"
> depth of knowledge wise.  (Like I heard myself tell Andrew - it might
> be in charge of "vacuum cleaners" and the individual Boid might be one
> of 100 dedicated to the world changing task of calculating the average
> monthly cost of filters for your house size / family, and number of
> long hair cats - ) Well Andrew didn't let me finish but he
> understood.
>
> If a program isn't crispt and clear, its either meta programmed, poorly
programmed, or both. I am not seeing the significants of what appears to be
an abstract factory pattern or plugin architecture.


> 5. Back to #1!   yes these things could get blasted at info on an
> exchange and so on BUT I think a salient point is getting
> transliterated out of things here: THE WEB DOES THE TIME/PLACE thing
> for us, the "most exciting" thing I see about these things is that
> they can put the Doctor's experience in Israel into a usable FORM (out
> pops the boid) - and that Boid can get fired!  at your Medical Records
> before your surgery in Boston.  Routinely - no midnight calls, no blue
> lights, just a Right Boid at the right time (but one of millions)
> making some sort of contribution to the world system.
>
> Its a probability thing, like a "Hero pet cat" - there are millions of
> them sleeping/eating/and pooping all across our country - eventually
> one of them is going to wake us up before a fire - well, something
> like that - if we bred smoke sensitive cats that were pre-programmed
> to jammer when there is smoke - they could be called fuzzy friendly
> feline Foids or something..... but they'd have a USE and if I have a
> point in this paragraph that is probably it.  And this isn't entirely
> off the wall because I'm learning from actual experience with really
> "pumped up patient records / 10 or so health conditions) that about
> 1/2 my boids DON'T FIRE - and that's at "two passes" - I'm seeing
> 3-4-5 passes for many problems domains.
>
> I would argue that pets have plenty of uses as is.
This is a end user problem not a pet entity problem. This again is fuzzy.

This sounds like event driven programming.


>
> BTW - I woke up thinking about the best name for this, and I think,
> unless there are working Boids somewhere that are offended by it, I
> like the "Boid" name best precisely because they contribute somehow to
> the confusion that must proceed the "ah ha" moment when it all clicks
> into place.  If really bright guys like Andrew  hear a phrase he
> thinks he knows, no flag goes up, and he thinks "oh another Rinda
> based sextuples" how boring is that?  These little guys are not
> pretentious - they are working class, pabst drinking, tv watching
> little worker boids that go to work and get something done.  (like
> their SwarmShepherd - me)
>

Boid has a very specific meaning to me. I can assure you that Rinda is not
the
first thing that came to mind.
Again, it sounds to me like useful idiots. That is these are limited in
individual scope, are given a direction, and do one task.
This correlates well with American Politics.


>
>


> and one last BTW - I have picked a domain with really good data for my
> commercial path - DRUGS - but the OTC / Herbal medicine based ones -
> the 380 or so officially sanctioned guys, some of which were used by
> Roman legion doctors, passed to the Arab lands, came back, jumped the
> ocean and are appearing on the counter at your neighborhood
> Walgreen's.  All of which I find fascinating.  I have a 300 page book
> by Canadian writers, based on German "monograms" the guts of which
> I've maybe 40% translated into Boidalese.   Give me a list of your
> health issues, and so far I catch all the matching conditions, and
> list all the contra-indications and give me 50 more boids and I'll
> list all the adverse effects.  They will easily estimate your daily
> costs and such if/when actual instances of these drugs are plugged
> into the system - all info readily available on the net.
>
> There is a lot of money in this field. I am surprised that Intel isn't
willing to fund it.
Have you talked to them?

Again, this sounds like an emergent Expert System. There is nothing wrong
with the idea, but its worth calling a duck a duck when it is a duck.
How is this not an Expert System?




>
> And that's my addition to Andrew's comments - I think he sees uses in
> domains near and dear to him and he has given himself a few hours to
> think about it, I've been staying awake nights for months working with
> it, he might be 100X brighter than I am but I don't think he's had the
> chance to think out what all makes up the value of the results.  the
> Doctor in Israel thing is highly concocted, but that's a life to get
> saved and there's is a point in there that nothing like that appears
> to me to be happening yet.  So if all the university stuff is so
> advanced, then WHY NOT?   The technology is just sitting there - it's
> in your plain Ruby without a single gem to pump it up until this gets
> connected to the Web.
>

I have spent the last 4 years thinking about async distributed systems.
I am not a AI researcher but I do work with statistical classifiers for
computer vision.
This system sounds like an expert system that asserts things in a
distributed manner.



> Sorry if I rambled.


>
> TheSwarmShepherd,
>
> thunk
>
>
> Andrew

In This Thread