Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Set Notation Handling

by tradez (Pilgrim)
on Mar 28, 2005 at 18:43 UTC ( #442898=note: print w/replies, xml ) Need Help??

in reply to Re: Set Notation Handling
in thread Set Notation Handling

Hrmm, might wanna check the link to know what I meant by "set". I am more talking like I have a Golden Image definition tool, that has an input of type text in html that needs to have a set way to have ranges and values typed in for validation purposes. Set notation being like [0,5000) for a way to say "all values from 0 up to but not including 5000."

"Every official that come in
Cripples us leaves us maimed
Silent and tamed
And with our flesh and bones
He builds his homes"

- Zach de la Rocha

Replies are listed 'Best First'.
Re^3: Set Notation Handling
by dragonchild (Archbishop) on Mar 28, 2005 at 18:55 UTC
    I have a major in math - I know what you were talking about. Try using a hash before declaring it unusable.

    Remember - you're building a data structure against which to compare items. So, memory is not a major issue for this tool. Thus, translation of [0,5000) is very simple - my %x; $x{$_} = 1 for 0 .. 5000-1;

    Frankly, I think you haven't fully described what it is you're trying to build. You describe an auditing tool for 250M transactions/day in your original post, but now you want to have the auditing criteria be input via a webform. Those aren't very compatible. Auditing tools really should be auditing against the specifications. If your specifications are determined by inputs into a webform, then nothing can help you.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

      The "Golden Image" i speak of is user defined. By engineers tweaking parameter setting to find the best value, and then deciding what this parameter should be optimally set to. They then input this into my tool, and my backend tools that gather the snapshots of the markets, check these returned values against the user defined golden image.

      "Every official that come in
      Cripples us leaves us maimed
      Silent and tamed
      And with our flesh and bones
      He builds his homes"

      - Zach de la Rocha

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442898]
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-02-21 23:35 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (288 votes). Check out past polls.