Commit Graph

10500 Commits (c76a994f27aca61a81749b7d19b5419232419a6b)

Author SHA1 Message Date
Björn Lindqvist b9082ca7b1 FUEL: fallback to the all-words algorithm when search doesnt work
It's to hard to figure out the correct "in" and "usings" values for
fuel-eval-in-context when *fuel help* is looking at articles. Instead
of trying, fallback on the less precise word lookup algorith and
accept that it sometimes will lead you wrong.
2014-04-18 08:43:11 -07:00
Björn Lindqvist 385a8a0798 FUEL: remove fuel-help-short and supporting code
The feature is not used anywhere (not bound to any key) and the normal
fuel-help display works better than fuel-help-short anyway
2014-04-18 08:43:11 -07:00
John Benediktsson d3935d2ef3 add some libc usings for macosx. 2014-04-16 07:55:37 -07:00
Doug Coleman 721fd36d0f mason.test: Allow for a .factor-mason-rc which is loaded by maason.test. 2014-04-15 19:05:06 -07:00
Doug Coleman f6bfd23d84 imap: Fix docs referring to wrong boot rc file. 2014-04-15 19:04:53 -07:00
Björn Lindqvist 35fd1ad8cb FUEL: correct fuel-helps word lookup algorithm
e.g if you lookup help for pop you should see the help page for
sequences:pop not persistent.deques.private:pop
2014-04-14 08:38:33 -07:00
Doug Coleman bc89b6c7d5 imap: Add some combinators, fix up some docs, add docs, fix up unit tests. 2014-04-05 15:51:41 -07:00
John Benediktsson 5e129a8964 more libc fixes. 2014-04-04 08:03:46 -07:00
John Benediktsson b02710e88c images.testing: fix help-lint warnings. 2014-03-14 15:10:19 -07:00
John Benediktsson ab76deaf25 images: minor cleanup. 2014-03-14 08:26:05 -07:00
John Benediktsson aa2f21507d images.testing: change tests to require and use image-class.
This handles the case where you are testing image-classes that are not
registered with the images.loader.
2014-03-14 08:00:42 -07:00
John Benediktsson 4e206f4181 images.loader: optionally register "non-system" image classes. 2014-03-14 07:32:27 -07:00
John Benediktsson c24e15c0d0 Revert "extra.images: call register-image-class before testing, otherwise the wrong backend might be ran"
This reverts commit 775ca10e1e7330a2a56a10b972a2605a39d1f6e1.
2014-03-14 07:32:27 -07:00
Björn Lindqvist cf40218d13 extra.images: call register-image-class before testing, otherwise the wrong backend might be ran 2014-03-14 07:32:27 -07:00
Björn Lindqvist 13dc01dbc4 images.*: fix all image>stream words in extra so that they work with the added parameter 2014-03-14 07:32:26 -07:00
Doug Coleman 02976b249d imap: Better errors when not configured. 2014-03-13 03:24:28 -05:00
Doug Coleman 9710013460 oauth: Fix tests. Twitter API tolerates the extra ``/`` at the end of ``twitter.com``, so leave it in. 2014-03-13 03:23:27 -05:00
John Benediktsson 03b7e67547 fix some help-lint errors. 2014-03-12 20:08:15 -07:00
John Benediktsson daec237fea python.syntax: fix tests when run first. 2014-03-12 20:01:11 -07:00
John Benediktsson ed5bc3b8fa http.client: few more fixes. 2014-03-12 19:49:58 -07:00
John Benediktsson 712be93989 http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes. 2014-03-12 19:39:15 -07:00
Doug Coleman 7c06afa219 gdbm.ffi: Use alien library finder except on Windows until we can test if it works there. 2014-03-12 20:29:08 +00:00
John Benediktsson 6ed0db20fd python.syntax: fix py-import. 2014-03-12 07:27:39 -07:00
Doug Coleman 80d574af8c Leave oauth alone. Leave her alone!!!
Revert "Revert "oauth: Generate the oauth signature base string the way twitter does it.""

This reverts commit 288156beb6bd09e4d00de03d0be6d41acbd30419.
2014-03-12 00:58:04 -05:00
John Benediktsson 16d66b8c77 Revert "oauth: Generate the oauth signature base string the way twitter does it."
This reverts commit e633caac716d58e7f94bf29b171e096df1c7b395.
2014-03-11 20:47:08 -07:00
John Benediktsson abf610b2e4 python: fix help-lint warnings. 2014-03-04 11:06:55 -08:00
John Benediktsson 14f43d8cb8 python: rename >factor to py>, rename import to py-import, minor stuff. 2014-03-04 09:39:02 -08:00
Björn Lindqvist 5157d84a6b python: set PYTHONHOME 2014-03-04 09:23:05 -08:00
Björn Lindqvist f69061f857 python: fix path to test file 2014-03-04 09:23:05 -08:00
Björn Lindqvist b4037ae336 python: improved docs, support for kwargs to methods and sets sys.argv 2014-03-04 09:23:05 -08:00
Björn Lindqvist 577edc79c2 python: support for kwarg functions 2014-03-04 09:23:05 -08:00
Björn Lindqvist ac28527d53 python: vocab split into subvocabs python.errors and python.objects for
easier maintenance
2014-03-04 09:23:05 -08:00
Björn Lindqvist eb612e25b0 python: More documentation, privatization of words in python.syntax 2014-03-04 09:23:05 -08:00
Björn Lindqvist 8bfd12c0f8 python: metadata files and a first stab at documentation 2014-03-04 09:23:04 -08:00
Björn Lindqvist 715d426ad3 python: word for converting python lists to vectors 2014-03-04 09:23:04 -08:00
Björn Lindqvist 8ed7fe02ac python: setup serialization between vectors and python lists 2014-03-04 09:23:04 -08:00
Björn Lindqvist d5c0e84fe2 python: setattr wrapping 2014-03-04 09:23:04 -08:00
Björn Lindqvist 981c26596c python: much improved syntax, $ sigil used to get object values 2014-03-04 09:23:04 -08:00
Björn Lindqvist a75a5d7458 python: syntax for methods and ditching of the auto-marshalling words, the syntax didn't turn out great 2014-03-04 09:23:04 -08:00
Björn Lindqvist 6a8fe41b90 python: compressed using lines 2014-03-04 09:23:04 -08:00
Björn Lindqvist 0af4fee085 python.syntax: vocab that makes python functions work like factor words 2014-03-04 09:23:04 -08:00
Björn Lindqvist 7b92bad65a python: the os module is considerably smaller on windows 2014-03-04 09:23:03 -08:00
Björn Lindqvist c18e968aaa python: several more builtin functions and refcounting fixes 2014-03-04 09:23:03 -08:00
Björn Lindqvist 65c1500812 python: more correct reference counting, handles ucs2 and ucs4, stdlib module wrappers 2014-03-04 09:23:03 -08:00
Björn Lindqvist 175a469e49 python: ucs2 and ucs4 2014-03-04 09:23:03 -08:00
Björn Lindqvist bd8d0b5d84 python: function needed to make both ucs2 and ucs4 python builds work 2014-03-04 09:23:03 -08:00
Björn Lindqvist da1ef0ae95 python: windows compat 2014-03-04 09:23:03 -08:00
Björn Lindqvist 446498c67a python: a thin ffi to Python, everything mostly works except for the cursed reference counting 2014-03-04 09:23:03 -08:00
John Benediktsson 13a84d1ff1 sequences.extras: adding replicate-into. 2014-02-27 14:31:25 -08:00
John Benediktsson 0fb0eaa1cf random: simplify using bitwise operations. 2014-02-25 15:59:51 -08:00
Doug Coleman e259e6830d color-picker: Show the hex value of the color because it's useful. 2014-02-20 00:13:34 -08:00
John Benediktsson ad63d24263 ip-parser: allow zeros in IP addresses. 2014-02-18 07:33:54 -08:00
John Benediktsson 6ecb291710 html.parser.analyzer: cleanup, fix find-by-class-id-between. 2014-02-17 15:17:24 -08:00
Björn Lindqvist 3c53214b43 html.parser.analyzer: when matching on classname, check that the tag has the given class 2014-02-15 14:56:56 -08:00
John Benediktsson e9e4115de1 assocs.extras: adding assoc-sift. 2014-02-13 20:08:12 -08:00
Doug Coleman 5ad200a41a twitter.prettyprint: Add user-profile. 2014-02-12 20:13:10 -08:00
Doug Coleman bc7680a914 twitter: Add user-profile and refactor a bit. 2014-02-12 20:13:10 -08:00
Doug Coleman 8437bf5033 oauth: Generate the oauth signature base string the way twitter does it. 2014-02-12 20:13:10 -08:00
Doug Coleman 918cb7bc34 twitter: Add mentions timeline. 2014-02-12 20:13:10 -08:00
John Benediktsson c9badc9dd9 ip-parser: prefer a cleaner maybe less fast version. 2014-02-09 20:09:39 -08:00
John Benediktsson c69005a324 ip-parser: faster ntoa and aton. 2014-02-09 15:45:28 -08:00
John Benediktsson bffeeed589 ip-parser: use byte-array in ipv4-aton to force fixnum math. 2014-02-09 11:07:31 -08:00
John Benediktsson c2c89152e3 geo-ip: change to use ip-parser for ipv4 lookup. 2014-02-09 11:00:38 -08:00
John Benediktsson dcf1e6b9f3 ip-parser: adding ntoa and aton words. 2014-02-09 10:58:47 -08:00
John Benediktsson a718127fd1 random: some cleanup. 2014-02-06 18:17:03 -08:00
Doug Coleman 03f4ad3943 twitter: Add home-timeline and home-timeline. 2014-02-05 20:33:12 -08:00
John Benediktsson 6fd5b9766b reddit: update tuples. 2014-02-05 13:50:38 -08:00
John Benediktsson fcf2d2cc40 imap: fix docs for rename-folder. 2014-01-16 18:51:24 -08:00
Björn Lindqvist 92d71a4a3b imap: privatizing the non-api words 2014-01-16 22:14:27 +01:00
Björn Lindqvist d20dc5e649 imap: documentation 2014-01-16 22:09:59 +01:00
Björn Lindqvist 34bab82cda imap: metadata files 2014-01-16 20:22:04 +01:00
Björn Lindqvist e05c1214bd imap: vocab for handling imap 2014-01-16 20:20:36 +01:00
Doug Coleman 7c93316fbe crypto.aes: <sliced-groups> is now just <groups>, add a missing using. 2014-01-11 11:13:39 -08:00
Fred Alger 67a71d0974 Initial commit of lookup-table AES implementation
In need of optimization and cleanup.  Uses 32-bit integers arithmetic
and seems to run very quickly (100k key expansions + encrypts in 3.88
= 400K/s encryption).  Based on p7zip's optimized C implementation.
2014-01-11 11:10:47 -08:00
John Benediktsson b5eae48068 sequences.extras: remove insert-sorted (can use versions in sorting.extras instead). 2014-01-08 11:50:35 -08:00
John Benediktsson db4e21cab2 sorting.extras: adding in-place insorts. 2014-01-08 11:49:43 -08:00
John Benediktsson 54cca48aca use swapd in a few places. 2014-01-05 20:30:38 -08:00
John Benediktsson 325d1bac2a sequences.extras: use either?. 2014-01-05 20:28:34 -08:00
John Benediktsson d23cb84ad4 grouping.extras: fix stack effect names for (group-by). 2013-12-19 09:07:46 -08:00
John Benediktsson 186f1e11d9 grouping.extras: group-by is faster with vectors. 2013-12-18 09:30:25 -08:00
Björn Lindqvist 066866c539 grouping.extras: new word group-by, like sql GROUP BY but is order-preserving 2013-12-14 21:11:39 +01:00
John Benediktsson 4f34e4dfbc splitting.extras: need to hint split-harvest. 2013-12-12 19:32:58 -08:00
John Benediktsson 71ad43c0ab uu: protect from invalid input. 2013-12-10 18:08:55 -08:00
John Benediktsson c68db22281 spider: reuse url ref inside fill-spidered-result. 2013-12-08 09:15:42 -08:00
Doug Coleman b4037edf48 spider: Don't try to parse non-html as html. 2013-12-07 11:43:32 -08:00
Doug Coleman 7fb1fc97ec html.parser.analyzer: Add javascript links. Clean up some code. 2013-12-07 11:43:32 -08:00
Björn Lindqvist 4f2cdd070c pcre: pcre_config returns a long for some parameters and int otherwise 2013-12-02 17:07:18 -08:00
Björn Lindqvist 7986d9edc9 pcre: pcre-fullinfo throws on error 2013-12-02 17:07:17 -08:00
Björn Lindqvist 175b00797c pcre: pcre-config throws bad-option on error 2013-12-02 17:07:17 -08:00
Björn Lindqvist 390838d21e pcre.ffi: using find-library to locate shared lib 2013-12-02 17:07:17 -08:00
John Benediktsson 657144019b msgpack: fix help-lint errors. 2013-11-27 17:36:38 -08:00
John Benediktsson 0c380fe863 pcre: fix help-lint errors. 2013-11-27 17:34:28 -08:00
John Benediktsson 0a3d24d1bb graphviz.render.windows: adding platforms.txt. 2013-11-27 17:31:25 -08:00
Doug Coleman d4ff5a42e6 Merge avondrak's graphviz branch. 2013-11-27 21:39:14 +00:00
John Benediktsson 2922b1a943 tzinfo: simplify magic check. 2013-11-26 14:33:49 -08:00
John Benediktsson 3eced27aee math.text.english: accidentally i's and j's. 2013-11-26 10:20:56 -08:00
John Benediktsson c1bb600335 math.text.english: support ratio, float, complex. 2013-11-26 10:19:15 -08:00
John Benediktsson 2370ed3918 grouping.extras: adding group-as and clump-as. 2013-11-26 08:22:58 -08:00
John Benediktsson 47e6b2e8fe bson: some cleanup. 2013-11-25 17:40:15 -08:00
John Benediktsson 344e57a838 benchmark.msgpack: adding msgpack benchmark. 2013-11-25 10:43:42 -08:00
John Benediktsson 39b7aa264e fix some uses of "1 tail" to be "rest". 2013-11-25 09:29:43 -08:00
John Benediktsson e4e349741b fix some uses of "1 head*" to be "but-last". 2013-11-24 20:42:30 -08:00
John Benediktsson c751d5f76c msgpack: use byte-array instead of strings, faster. 2013-11-24 11:02:36 -08:00
John Benediktsson 46b043c0b8 io.binary.fast: write generic be> and le> words. 2013-11-24 10:45:25 -08:00
John Benediktsson df47ff8289 pcre: handle long values in pcre-config and throw errors. 2013-11-23 08:58:52 -08:00
John Benediktsson 13294b49ef youtube: adding downloader for youtube.com. 2013-11-21 10:52:06 -08:00
Doug Coleman 7578a68af8 websites.factorcode: WTF typo. I blame Caltrain. 2013-11-20 23:21:12 -08:00
John Benediktsson 2e0eb977a2 cuesheet: adding parser for cue files. 2013-11-20 20:40:08 -08:00
John Benediktsson 6d9f5c7f00 colors: implement no-op color conversions. 2013-11-20 20:40:08 -08:00
Doug Coleman ad04c4bb1d websites.factorcode: Add Rackspace logo to bottom of front page in exchange for free open source account. Thanks Rackspace! 2013-11-20 20:33:32 -08:00
John Benediktsson ebf3b58ad3 pcre: stop using mirror and cloning matchers. 2013-11-20 16:54:56 -08:00
John Benediktsson 403e2b93d1 pcre: remove platforms.txt it works on windows too. 2013-11-20 14:55:09 -08:00
John Benediktsson 8a1b1c8fc5 pcre: smaller public interface? 2013-11-20 13:29:39 -08:00
John Benediktsson 239349f84b pcre: using private to hide implementation details. 2013-11-20 13:06:49 -08:00
John Benediktsson c81d1dc71f pcre: add platforms.txt to restrict to unix only. 2013-11-20 12:55:45 -08:00
John Benediktsson 84a74bfad0 pcre: fix bug with macosx . 2013-11-20 12:53:13 -08:00
Björn Lindqvist d3e2d64d5b pcre: ensure we aren't using 16 or 32 bit pcre because that's not tested 2013-11-20 09:04:29 -08:00
Björn Lindqvist ecf573995e pcre: filename for macosx 2013-11-19 18:13:39 -08:00
Björn Lindqvist 73ae09fa0a pcre: authors and summary files 2013-11-19 18:13:39 -08:00
Björn Lindqvist cdf60722f5 pcre: Stub documentation 2013-11-19 18:13:39 -08:00
Björn Lindqvist 27e40ec005 pcre: moved from basis/ to extra/ 2013-11-19 18:13:39 -08:00
John Benediktsson 7bbc457531 spotlight: fix bug with mdimport-with. 2013-11-18 16:50:40 -08:00
John Benediktsson cbbae71710 spotlight: add docs for "mdfind.". 2013-11-17 18:24:46 -08:00
John Benediktsson e29254b2c0 spotlight: adding Spotlight search wrapper for Mac OS X. 2013-11-17 18:14:17 -08:00
Doug Coleman 04c7051b61 tools.dns.public: Add some public DNS server ips and helper words. 2013-11-16 17:56:32 -08:00
Doug Coleman 903f3d0a18 tools.dns: Fix using. 2013-11-16 17:55:45 -08:00
Doug Coleman 8085e4e6ef dns: Add with-dns-servers to allow custom DNS lookups.
tools.dns: Add dns-host word to look up DNS from a specific server.
2013-11-16 17:12:30 -08:00
John Benediktsson 3ad4602b1c machine-learning: use bisect-left (new name for search-sorted). 2013-11-16 16:24:08 -08:00
Doug Coleman b611a370ff bson.reader: Allow reading a sequence of bson objects from a file. 2013-11-16 14:03:37 -08:00
Jon Harper 586bd22743 Fix doc link for furnace user-admin webapp 2013-11-03 15:19:20 +01:00
John Benediktsson 43905f3f3d math.factorials: adding "factorials" word. 2013-10-20 17:08:01 -07:00
John Benediktsson edc3351ca8 google.translate: using download-to. 2013-10-20 08:52:13 -07:00
Jon Harper 91fce8c90b rosetta-code.metronome: usage, validation 2013-10-17 13:35:06 -07:00
Jon Harper d067e50ef5 rosetta-code.metronome: parse command line 2013-10-17 13:35:06 -07:00
Jon Harper 19204e83b4 rosetta-code.metronome, simplify and fix script/deploy
Timers have 1 thread per timer, so it's ok to block. This removes
the need for a timer releasing a semaphore and another thread
acquiring the semaphore.

Also, when running in with-ui, the quotation must return for the UI
to actually start, so the previous method didn't work
2013-10-17 13:35:05 -07:00
John Benediktsson 16e3bac2d3 math.unicode: implement unicode math symbols. 2013-10-15 11:23:20 -07:00
John Benediktsson f4ade1c5f2 sets.extras: fix USING. 2013-10-14 15:28:24 -07:00
John Benediktsson e4e4eb38c5 math.extras: inline kahan+. 2013-10-14 14:06:19 -07:00
John Benediktsson 946cfdda75 msgpack: support streaming writes of arrays and maps. 2013-10-14 11:50:18 -07:00
John Benediktsson 56412dc6f9 msgpack: adding some docs. 2013-10-14 11:44:40 -07:00
John Benediktsson e2d4a1c3c8 math.extras: label kahan+ stack effects to match pseudocode. 2013-10-14 11:15:48 -07:00
John Benediktsson 99883a348b msgpack: support for MessagePack protocol. 2013-10-14 11:04:34 -07:00
John Benediktsson 7e9cd33be5 uu: support for uuencoding and uudecoding. 2013-10-13 17:23:33 -07:00
John Benediktsson d06dc0996d math.extras: adding map-kahan-sum. 2013-10-13 08:40:50 -07:00
John Benediktsson b9df0a7582 math.extras: adding the Kahan summation. 2013-10-13 08:27:58 -07:00
John Benediktsson fbc43abfdf wikipedia: support other languages. 2013-10-12 17:11:43 -07:00
John Benediktsson f6bd67ab46 sequences.extras: adding change-last and change-last-unsafe. 2013-10-12 16:40:51 -07:00
John Benediktsson adc3ee4c81 http.client: using http-request*. 2013-10-12 10:57:08 -07:00
John Benediktsson 39fd41b69a http.client: use new http-post* word. 2013-10-12 10:29:34 -07:00
John Benediktsson 435f54cf59 http.client: use new http-get* word. 2013-10-12 10:25:42 -07:00