Permalink
Switch branches/tags
Commits on Jan 9, 2011
  1. Trying to parse the command line stored in an evironment variable.

    I don't think getopt_long() can be safely called twice.  Or it's this code
    that's messed up.
    spc476 committed Jan 9, 2011
Commits on Jan 8, 2011
  1. Bug fix---interaction with --engine and --about

    Don't include any engines when doing --about.
    Sean Conner committed Jan 8, 2011
  2. Fixed bit field declarations

    Bit fields of one bit need to be unsigned for some platforms.
    Sean Conner committed Jan 8, 2011
  3. Merge branch 'enginelist' of ssh://lucy.roswell.conman.org/home/spc/s…

    …ource/Taht/Gnugol
    Sean Conner committed Jan 8, 2011
  4. Merge branch 'master' into spc

    spc476 committed Jan 8, 2011
  5. revised documentation

    Dave Täht committed Jan 8, 2011
Commits on Jan 7, 2011
  1. Bug fix parsing engines

    If you specify one engine, and it doesn't exist, an assert() tripped (which
    is why assert() exists) because no engine was actually added, yet the engine
    flag of the request object was set.  One line fix for that.
    spc476 committed Jan 7, 2011
  2. Moved engines.c to common

    It makes more sense (to me) to keep the shared libs all in
    one place and drive them from the common engine.c code.
    Dave Täht committed Jan 7, 2011
  3. Bug fix---forgot about --about.

    spc476 committed with Dave Täht Jan 7, 2011
  4. Updated the client with the new engine code.

    You can now search multiple engines; just specify each one on the command
    line with '-e', like:
    
    ./gnugol -e dummy -e google -e bing Sean Conner
    
    You get multiple results from multiple engines.  This is a
    "proof-of-concept" showing that multiple DLLs can be loaded and used.
    spc476 committed with Dave Täht Jan 7, 2011
  5. Changed format string to properly print out a pointer

    spc476 committed with Dave Täht Jan 7, 2011
  6. Added missing prototype

    spc476 committed with Dave Täht Jan 7, 2011
  7. Include nodelist here, and fix a typo.

    spc476 committed with Dave Täht Jan 7, 2011
  8. Compiler warning fixups

    spc476 committed with Dave Täht Jan 7, 2011
  9. No longer need these defines. Will remove file later.

    spc476 committed with Dave Täht Jan 7, 2011
  10. Compiler warnings cleanup, plus a few typo fixes

    spc476 committed with Dave Täht Jan 7, 2011
  11. Removed compiler warnings for code in src/common/

    spc476 committed with Dave Täht Jan 7, 2011
  12. Added nodelist code to Makefile

    spc476 committed with Dave Täht Jan 7, 2011
  13. Moved header file into proper place.

    spc476 committed with Dave Täht Jan 7, 2011
  14. Converted engines to use new Engine DLL API format.

    spc476 committed with Dave Täht Jan 7, 2011
  15. Added link list routines.

    spc476 committed with Dave Täht Jan 7, 2011
  16. Obsoleted most of the rest of gnugold

    Dave Täht committed Jan 7, 2011
Commits on Jan 6, 2011
  1. Reduced the gnugol.el compile error count to 0

    now I have to refresh my brain emac's old style lisp scoping which
    I still seem to inconsistently "get".
    
    Ah, well, hacking on the lisp code is better than convincing
    configure to work.
    Dave Täht committed Jan 6, 2011
  2. Say-gnugol is obsolete, and incompatable with my current say package

    While VERY useful to speak the results, I'd since moved to emacsspeak
    and am no longer maintaining this package in any form. I may
    revisit this package after I get the latest emacspeak to work again.
    
    Until then, abandon all hope, ye who entered here.
    Dave Täht committed Jan 6, 2011
  3. Non-crashing version of stackapps (for stack overflow.com)

    I have a low barrier for checkins at this point. If it doesn't
    crash, I'm going to push it out for people to try. It's
    pretty much entirely independent of the rest of gnugol so it
    shouldn't break anything.
    
    stackapps is ORG MODE ONLY at this point, as the big thing I'm coping
    with is that from a UI perspective:
    
    url SHORT TITLE Description Snippet more closely matches the
    kind of results I want to get from the web. Really long links
    in org-mode are hard to look at.
    
    This checkin also includes some extra gnugol.el functions that test
    this engine out AND compare the results to just using google's site
    specific search. It seems like what would work best would be a google
    site search + the json output.
    Dave Täht committed Jan 6, 2011
Commits on Jan 5, 2011
  1. Added stackoverflow search

    After reading Joel Spolsky today
    
    http://blog.stackoverflow.com/2011/01/the-wikipedia-of-long-tail-programming-questions/
    
    and realizing how often I ended up on stackoverflow anyway,
    I figured I'd just write a gnugol engine that worked how I
    wanted. There's some good ideas that I wanted to put into the
    wikipedia engine (like, return an editable page), and you know
    it looked like you would be able to get a nice outline format
    from the thing in two json queries, which struck me as actually
    useful:
    
    * Question
    ** Answer
    *** Comment
    ** Answer
    *** Comment
    *** Comment
    * Question
    
    So I tossed off a working json engine in about 2 hours...
    
    FLAW 1:
    
    it's not a set of keywords you search for but a phrase.
    
    FLAW 2:
    
    a search takes 7-10 seconds using the "vote" sort. It appears that two searches are necessary in order to get the the format above, and I
    lost heart at the 7-10 second figure.
    
    using google's site: restriction parameter takes .379 seconds.
    
    Searching via the gnugol engine:
    
    * [[gnugol: ipv6][Search: ipv6]]
    ** [[http://stackoverflow.com/questions/166132/answers][Maximum length of the textual representation of an IPv6 address?]]
    ** [[http://stackoverflow.com/questions/2339381/answers][Converting C++ TCP/IP applications from IPv4 to IPv6. Difficult? Worth the trouble?]]
    ** [[http://stackoverflow.com/questions/420680/answers][How to store IPv6-compatible address in a relational database]]
    ** [[http://stackoverflow.com/questions/3200623/answers][How to read TENTATIVE flag of IPv6 Address ?]]
    ** [[http://stackoverflow.com/questions/186829/answers][IPv6 and ports]]
    ** [[http://stackoverflow.com/questions/53497/answers][Regular expression that matches valid IPv6 addresses]]
    ** [[http://stackoverflow.com/questions/2693709/answers][What was the motivation for adding the IPV6_V6ONLY flag?]]
    ** [[http://stackoverflow.com/questions/799060/answers][How to determine if a string is a valid IPv4 or IPv6 address in C#?]]
    
    Or: searching via google's site: parameter
    
    * [[gnugol: site:stackoverflow.com ipv6][Search: site:stackoverflow.com ipv6]]
    ** [[http://stackoverflow.com/questions/tagged/ipv6][Newest 'ipv6' Questions - Stack Overflow]]
       The ipv6 tag has no wiki, would you like to help us create it? Can someone recommend any tool for testing IPV6 server socket?
    ** [[http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses][regex - Regular expression that matches valid IPv6 addresses ]]
       Sep 10, 2010 I'm having trouble writing a regular expression that matches valid If I may skirt your question, do consider using your networking library's
    ** [[http://stackoverflow.com/tags/ipv6/hot][Hottest 'ipv6' Answers - Stack Overflow]]
       There is no IPv4 to IPv6 mapping that is meaningful. things like 0.0.0.0 and 127.0.0.1 are special cases in the spec, so they have equivalent meaning.
    ** [[http://stackoverflow.com/questions/444966/working-with-ipv6-addresses-in-php][ip - Working with IPv6 Addresses in PHP - Stack Overflow]]
       After searching around somewhat thoroughly, I noticed a slight lack of How about inet_ntop() ? Then instead of chopping things into integers, you just use a
    ** [[http://stackoverflow.com/questions/1162675/geolocation-with-ipv6][Geolocation with IPv6? - Stack Overflow]]
       Jul 23, 2010 I'm working on an IP geolocation library that uses the first three – The typical IPv6 allocation is a /32 (four octets) to an Internet
    ** [[http://stackoverflow.com/questions/774976/ipv6-address-ranges][ipv4 - IPv6 address ranges - Stack Overflow]]
       Following on from this post I am interested in searching IPv6 address ranges It is not correct to use IP addresses (neither IPv4, nor IPv6) in ranges.
    ** [[http://stackoverflow.com/questions/1602452/can-inetaddress-be-used-with-inet6-ipv6][java - Can inetAddress be used with inet6/IPv6? - Stack Overflow]]
       Yes. Using the method InetAddress.getByName( String name) for instance. From the doc: For host specified in literal IPv6 address, either the form defined in RFC
    ** [[http://stackoverflow.com/questions/186829/ipv6-and-ports][tcp - IPv6 and ports - Stack Overflow]]
       Oct 9, 2010 How do ports (or their functional equivalent) work with IPv6? They work almost the same as today. However, be sure you include [] around
    * [[gnugol: ipv6][Search: ipv6]]
    ** [[http://stackoverflow.com/questions/166132/answers][Maximum length of the textual representation of an IPv6 address?]]
    ** [[http://stackoverflow.com/questions/2339381/answers][Converting C++ TCP/IP applications from IPv4 to IPv6. Difficult? Worth the trouble?]]
    ** [[http://stackoverflow.com/questions/420680/answers][How to store IPv6-compatible address in a relational database]]
    ** [[http://stackoverflow.com/questions/3200623/answers][How to read TENTATIVE flag of IPv6 Address ?]]
    ** [[http://stackoverflow.com/questions/186829/answers][IPv6 and ports]]
    ** [[http://stackoverflow.com/questions/53497/answers][Regular expression that matches valid IPv6 addresses]]
    ** [[http://stackoverflow.com/questions/2693709/answers][What was the motivation for adding the IPV6_V6ONLY flag?]]
    ** [[http://stackoverflow.com/questions/799060/answers][How to determine if a string is a valid IPv4 or IPv6 address in C#?]]
    Dave Täht committed Jan 5, 2011
  2. Eliminated ../engine/*.so as a default

    Dave Täht committed Jan 5, 2011
Commits on Jan 4, 2011
  1. Fixed up the documentation a bit

    Craig Guessford had contributed an awesome new logo as well as a
    favicon, so most of the pages have those now. I'm not happy with the
    default formatting I get from org at the moment, but...
    
    Also moved a few pieces of the documentation from first person
    to third, and other cleanups.
    Dave Täht committed Jan 4, 2011
  2. trimmed out stray printf

    Dave Täht committed Jan 4, 2011
  3. Put in the utf-8 requirement

    Dave Täht committed Jan 4, 2011
Commits on Jan 3, 2011
  1. Made the INSTALL more clear

    Dave Täht committed Jan 3, 2011