• Mark Vitt (unregistered) in reply to ParkinT

    First thought, holy ...., Second thought, time to leAve nOw = true Its' only gonna get worse

  • Nils (unregistered) in reply to Machtyn
    Machtyn:
    Ah! stolen thunder in the fr1st p0st.

    I was going to add that they forgot nO, yEs, yeS, yES, YeS, YEs, etc.

    And then imagine all those permutations of PoSiTiVe and NeGaTiVe.....

  • luptatum (unregistered) in reply to Nils
    Nils:
    And then imagine all those permutations of PoSiTiVe and NeGaTiVe.....

    Enterprise-grade code would do it like this:

    (1) Read a file of words that the user might type in. Suffix each word with a flag saying whether the word means 'true' or 'false'. (2) For each word, generate all possible combinations of upper and lower case letters. (3) Throw the combinations into an efficient data type, say, a map. (4) Look up the user input in the map. Extract flag. (5) Throw the map away to save memory. (6) Profit!

    Add patterns and buzzwords as required.

    Obviously the file in (1) is specified to be in CSV format so it can be generated from Excel. Sadly the spec never mentions the legal values for the flag, but don't worry, we will soon have some code that we can re-use...

  • Zoredache (unregistered) in reply to Tom
    The poop of DOOM: I'm sane (officially. Got a certificate saying I'm not nuts!)

    I know this is a cultural reference, but I can't remember to what. Is it Rimmer from Red Dwarf?

    The reference is from Howling Mad Murdock (Played by Dwight Schultz) in the A-Team series

    I believe have seen it enough places, I am surprised I couldn't find anything on tvtropes.org

  • Anymouse (unregistered) in reply to ParkinT

    Brillant (said Paula)

Leave a comment on “Truth Enough”

Log In or post as a guest

Replying to comment #:

« Return to Article