Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12497

Re: lookup by EnumSet

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: lookup by EnumSet
Date 2012-02-28 09:31 -0800
Organization albasani.net
Message-ID <jij30o$k1i$1@news.albasani.net> (permalink)
References <3kmpk7lno3fehkr0o21b4dqvhoijmpehbq@4ax.com> <Co6dnVHJkbbSb9HSnZ2dnUVZ8vKdnZ2d@giganews.com>

Show all headers | View raw


On 02/28/2012 07:27 AM, Leif Roar Moldskred wrote:
> Roedy Green<see_website@mindprod.com.invalid>  wrote:
>>
>> I wondered how you would do it.
>
> I would put the data in a database and use SQL for the
> queries. Proven, and even more importantly, commonly understood
> technology that pretty much any Tom, Dick or Harry could maintain.
>
> If, for some reason, I actually had to implement the functionality in
> Java, my approach would vary depending on how complex the queries
> would be allowed to be.

And you can use Derby or some other extremely low-footprint, even 
runs-in-memory database. There are also key-value store frameworks that might 
do what Mr. Green wants.

I do think many of his attributes are not binary. "Fat"? How fat is fat? Isn't 
"average" a third state between "fat" and "thin"? Rubens's "average" would be 
the Paris runways' "fat" - how would you classify a woman who wears a size 7? 
5? 9?

Classification, especially fuzzy classification like Mr. Green might actually 
find more useful, is the purview of techniques like artificial intelligence, 
which work quite well adjunct to databases and in-memory stores, btw.

Syncleus dANN is a good open-source AI library. I know the guy behind it; he's 
a genius.
<http://www.syncleus.com/>

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

lookup by EnumSet Roedy Green <see_website@mindprod.com.invalid> - 2012-02-28 05:55 -0800
  Re: lookup by EnumSet Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-02-28 07:03 -0800
    Re: lookup by EnumSet Roedy Green <see_website@mindprod.com.invalid> - 2012-02-28 15:22 -0800
  Re: lookup by EnumSet Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-02-28 09:27 -0600
    Re: lookup by EnumSet Lew <noone@lewscanon.com> - 2012-02-28 09:31 -0800
      Re: lookup by EnumSet Robert Klemme <shortcutter@googlemail.com> - 2012-02-28 23:08 +0100
  Re: lookup by EnumSet Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-28 08:51 -0800
  Re: lookup by EnumSet Robert Klemme <shortcutter@googlemail.com> - 2012-02-28 23:08 +0100
    Re: lookup by EnumSet Robert Klemme <shortcutter@googlemail.com> - 2012-03-01 01:22 -0800
  Re: lookup by EnumSet Wanja Gayk <brixomatic@yahoo.com> - 2012-02-29 11:06 +0100

csiph-web