Commit Graph

10188 Commits (662e215c7e74fc2b71c848fbb863803e6de41fac)

Author SHA1 Message Date
John Benediktsson 7162bfed57 math.hashcodes: consistent number hashing. 2013-03-16 13:53:58 -07:00
John Benediktsson d4b47612e1 geo-ip: fixing csv. 2013-03-15 08:26:01 -07:00
John Benediktsson e74f770b57 Use bl in more places. 2013-03-14 19:24:00 -07:00
Doug Coleman 15d720458a sequences, tetris, rosetta-code: Simplify some code. 2013-03-11 18:57:54 -07:00
Doug Coleman 247f57b828 sequences: More efficient longest and shortest by moving infimum-by/supremum-by into core. 2013-03-11 18:35:53 -07:00
Doug Coleman b51de731c2 zoneinfo: Update files. 2013-03-11 18:05:32 -07:00
Doug Coleman 224226e436 zoneinfo: Add helper words. 2013-03-11 18:05:11 -07:00
Doug Coleman 875e45a640 sequences: Add some short useful factors. Clean up the use of longest. 2013-03-11 17:47:52 -07:00
Doug Coleman 85a3966a9d combinators.extras: Add twice, thrice words. 2013-03-08 16:50:10 -08:00
John Benediktsson b015af4f33 benchmark.ant: fix hash-set constructor. 2013-03-08 06:15:37 -08:00
John Benediktsson 30cbce3f41 benchmark.linked-assocs: adding a linked-assocs benchmark. 2013-03-07 09:58:16 -08:00
John Benediktsson e008810677 trees.splay: use typed. 2013-03-06 18:42:06 -08:00
John Benediktsson 0fe01622de sequences.extras: adding sift! and harvest!. 2013-03-06 16:39:04 -08:00
Doug Coleman cadde9117c sets.extras: Initial checkin. Add setwise-xor word like setxor1d in numpy. 2013-03-06 10:00:13 -08:00
John Benediktsson cf4d639345 extra: use [-] instead of "- 0 max". 2013-03-05 18:17:17 -08:00
John Benediktsson 53992695e4 benchmark.randomize: adding a randomize benchmark. 2013-03-05 17:04:57 -08:00
John Benediktsson 482096e1df random.c: adding a "libc" version of random for performance testing. 2013-02-26 20:04:06 -08:00
Doug Coleman 9984d67d47 Revert "robots.txt: Bing bot spams gitweb...disable it hopefully."
Found another way.

This reverts commit 7500504bc0.
2013-02-24 10:30:05 -08:00
Doug Coleman 0b3ada1763 robots.txt: Bing bot spams gitweb...disable it hopefully. 2013-02-24 10:23:33 -08:00
John Benediktsson c35694cf40 rot13: adding some tests. 2013-02-22 09:50:26 -08:00
John Benediktsson 1524d43c9c sequences: define a single "?set-nth" that is used. 2013-02-20 10:42:21 -08:00
John Benediktsson 55cfbf072f sequences: fix uses of set-nth-unsafe. 2013-02-20 08:01:06 -08:00
John Benediktsson f8f5feed4a sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing. 2013-02-19 16:52:40 -08:00
John Benediktsson 5262c8a1ae benchmark.timers: adding a timer benchmark. 2013-02-19 15:39:50 -08:00
Doug Coleman 10a4413bec colors: Inline >rgba methods. 2013-02-19 10:09:47 -08:00
Doug Coleman 1eb930b671 maze: Refactor to use fry + replicate. 2013-02-19 10:09:46 -08:00
Doug Coleman 924cc23ed0 rosetta-code.top-rank: Use collect-by instead of defining it as group-by. 2013-02-05 09:42:57 -08:00
Doug Coleman bc651331bb twitter: Update API url. 2013-02-01 07:13:08 -08:00
John Benediktsson df0c03eeb8 io.streams.peek: use namespaces. 2013-01-21 18:09:40 -08:00
Doug Coleman a4ac126d1f io.streams.peek: Implement peek and peek1. 2013-01-21 15:33:57 -08:00
John Benediktsson 233e84bdf4 tools.which: cleanup code a little. 2013-01-11 11:37:59 -08:00
John Benediktsson 00584264d5 tools.which: adding some docs and cleanup. 2013-01-11 10:20:19 -08:00
John Benediktsson 4e518d642d google.search: these moved to classes.tuple. 2013-01-07 06:50:15 -08:00
John Benediktsson a9d7359b9e webapps.mason: fix for new 2x logo. 2013-01-03 11:32:32 -08:00
John Benediktsson 879e7a0ff4 help.pdf: add some more help pdfs. 2012-12-16 17:10:02 -08:00
Doug Coleman be661c89e3 machine-learning: Add transform protocol. Add label-encoder, label-binarizer. 2012-12-04 11:45:24 -08:00
John Benediktsson aeb108a8c6 machine-learning.data-sets: cleanup a little. 2012-12-04 10:29:11 -08:00
John Benediktsson 4487cf3976 machine-learning.data-sets: adding the linnerud dataset. 2012-12-04 10:21:04 -08:00
John Benediktsson bb3d028d30 machine-learning.data-sets: load commonly used test data sets. 2012-12-04 10:00:02 -08:00
John Benediktsson 53382f4472 math.extras: return new arrays to protect users from others. 2012-12-04 09:06:30 -08:00
Mighty Sheeple ebdfc1efd3 webapps.mason.version.data: Already inside a transaction, don't make another. 2012-11-30 18:52:42 -05:00
John Benediktsson a1f94696d7 websites.factorcode: higher resolution logo for retina. 2012-11-30 15:38:23 -08:00
John Benediktsson 9c295e679e New icons for Factor. 2012-11-30 15:26:21 -08:00
Doug Coleman fa2d49dd44 machine-learning: Add stratified-samples for getting multiple samples. 2012-11-28 09:13:16 -08:00
Doug Coleman 44cb0106cc machine-learning.rebalancing: Don't use a distribution for equal rebalancing. 2012-11-17 12:52:55 -08:00
Doug Coleman 0a9774248f machine-learning.rebalancing: Add a way to rebalance an X,y dataset to N samples with an equal or skewed distribution. 2012-11-17 12:39:54 -08:00
Doug Coleman e8ee07a7ba arrays.shaped: First stab at an n-dimensional array class. 2012-11-14 22:42:45 -08:00
John Benediktsson c4637b5d79 math.extras: adding unique-indices. 2012-11-07 17:05:06 -08:00
John Benediktsson f0999e83dc sequences.extras: adding flatten1. 2012-11-07 17:02:22 -08:00
John Benediktsson 1d6209e80e assocs.extras: adding assoc-invert. 2012-11-07 17:01:37 -08:00
John Benediktsson 1e413edf3a math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
John Benediktsson 4e4dd58c40 cap: make screenshots work on retina. 2012-11-01 16:30:20 -07:00
John Benediktsson e5d325df44 images: adding "2x" images. 2012-11-01 16:11:55 -07:00
John Benediktsson 688f088faf assocs.extras: use min-length in zip-as. 2012-10-30 09:50:53 -07:00
John Benediktsson 4bdb40574a sequences.extras: adding a (slow) arg-sort. 2012-10-29 17:45:33 -07:00
John Benediktsson 8eb4d2723f io.streams.zeros: write only 'n' zeros. 2012-10-26 07:48:51 -07:00
John Benediktsson 8b87b0ab57 io.streams.zeros: adding authors.txt. 2012-10-25 22:00:35 -07:00
John Benediktsson bba382bd5c io.streams.random: stream-copy disposes, so we don't need to. 2012-10-25 22:00:02 -07:00
John Benediktsson cff606f474 io.streams.random: moving random-file here. 2012-10-25 21:47:42 -07:00
John Benediktsson 032458e5d7 io.streams.zeros: adding zero-file. 2012-10-25 21:46:11 -07:00
John Benediktsson 7847b55cea io.streams.zeros: adding @erg's zero-stream. 2012-10-25 21:43:52 -07:00
John Benediktsson ca315e7996 io.random: adding "random-file". 2012-10-25 21:40:43 -07:00
John Benediktsson 916d912492 io.streams.random: adding @erg's random-stream. 2012-10-25 21:37:58 -07:00
Doug Coleman 4a5885bca1 machine-learning.one-hot: Use the example from my blog post as a unit test. 2012-10-25 18:16:22 -07:00
Doug Coleman 3ec9dc94da machine-learning.one-hot: Start a machine learning library with a feature from scikit-learn. 2012-10-25 16:17:26 -07:00
Doug Coleman 01227b3331 sequences.extras: Add set-nths and set-nths-unsafe for setting many indices in a sequence to the same value. 2012-10-25 16:14:07 -07:00
Doug Coleman 563c15e530 sequences.extras: Add head-as, head*-as, tail-as, tail*-as. 2012-10-25 11:38:31 -07:00
John Benediktsson 83712ad87e io.directories: defining "?delete-file". 2012-10-25 10:07:15 -07:00
Doug Coleman 2ce0db5681 tar: Don't throw an error if the file does not exist to unlink. 2012-10-25 08:35:34 -07:00
John Benediktsson 6e572cfff1 io.files.acls.macosx: finish separation of ffi vocab. 2012-10-24 20:28:54 -07:00
John Benediktsson d1920b50a9 io.files.acls.macosx.lib: removing redundant vocab. 2012-10-24 20:23:54 -07:00
John Benediktsson 91582b752c cgi: add some docs. 2012-10-24 19:20:02 -07:00
John Benediktsson d4f3a0a2cc tools.which: adding the "which" command. 2012-10-24 19:20:02 -07:00
Doug Coleman 12df557b11 tar: Fix pax_global_header. Make symlinks work, do them at the end. Untars the linux kernel again. 2012-10-24 18:58:44 -07:00
John Benediktsson bf8628bc78 io.files.acls.macosx: works! 2012-10-24 17:04:47 -07:00
John Benediktsson 98e37c52f1 io.files.acls: cleanup. 2012-10-24 16:51:07 -07:00
Doug Coleman 3399ddccd2 io.files.acls: Add what I have for acl support on macosx. 2012-10-24 16:44:57 -07:00
John Benediktsson 8cfc758735 terminal.linux: fix using. 2012-10-24 16:02:11 -07:00
John Benediktsson 4eb4ce395b terminal: adding "terminal-size" vocab. 2012-10-24 13:40:39 -07:00
John Benediktsson f835bb01f4 io.random: bit faster using set-nth-unsafe. 2012-10-23 19:30:20 -07:00
John Benediktsson a0d1c036ea io.random: much faster version of random-lines for large n. 2012-10-23 19:03:34 -07:00
Doug Coleman 633e4531a2 io.random: Fix off-by-one error. 2012-10-23 16:55:17 -07:00
John Benediktsson f36ee26f82 io.random: cleanup using "each-numbered-line", implement "random-lines". 2012-10-23 16:11:07 -07:00
John Benediktsson 8e137839db sequences.extras: implement "insert-nth!". 2012-10-23 16:10:15 -07:00
John Benediktsson 896d75e305 io.random: rename to "random-readln". 2012-10-23 15:25:08 -07:00
John Benediktsson 50016099a5 io.random: adding a "random-line" word. 2012-10-23 15:24:03 -07:00
John Benediktsson 22f8d09220 benchmark.udp-echo0: "over over" is just "2dup". 2012-10-23 12:16:12 -07:00
John Benediktsson 87f55eb033 Change "3dup drop" to "2over". 2012-10-22 20:45:15 -07:00
John Benediktsson 24778bf705 colors.yiq: adding YIQ color support. 2012-10-22 15:20:03 -07:00
John Benediktsson 20a398ec16 colors.hsl: adding HSL color support. 2012-10-22 15:19:51 -07:00
Doug Coleman 7aef52fd62 opencl: Make it compile at least. Throws error -38 on my linux box. 2012-10-22 14:03:22 -07:00
Doug Coleman 89c262982c tools.dns: Show ipv6 ips in host command. 2012-10-22 09:47:36 -07:00
Doug Coleman 67e63615bd dns: Factor out filtering a and aaaa. 2012-10-22 09:47:35 -07:00
Doug Coleman 3582a6c624 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson 4ac24fb585 colors.cmyk: make sure cmyka is a color. 2012-10-21 12:34:52 -07:00
John Benediktsson 4fe22de451 colors: fix using list, silly auto-use. 2012-10-21 12:09:59 -07:00
John Benediktsson 032a69dec0 colors.cmyk: adding some docs. 2012-10-21 12:06:40 -07:00
John Benediktsson 4d75add92e colors.cmyk: adding support for CMYK colors. 2012-10-21 12:02:30 -07:00
John Benediktsson 8cf23c71ac ip-parser: minor cleanup. 2012-10-18 17:01:49 -07:00
John Benediktsson 6776388c8f ip-parser: adding a "ping-compatible" IP address parser. 2012-10-18 15:54:45 -07:00
John Benediktsson 5f4bf4513b math.extras: implement "search-sorted" and "weighted-random". 2012-10-05 14:48:05 -07:00
John Benediktsson 19ac40f0d9 assocs.extras: adding if-assoc-empty. 2012-10-04 04:08:44 -07:00
John Benediktsson 351ae54366 project-euler.150: bit faster with inline. 2012-09-28 19:21:23 -07:00
Doug Coleman dc64c13670 libsvm: move to code-factor repository as it's not done yet. 2012-09-27 17:04:10 -07:00
John Benediktsson 622240f209 libsvm: make unix-only for now. 2012-09-27 12:29:50 -07:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
Doug Coleman 13db482b7f libsvm: Make it go. 2012-09-26 18:11:14 -07:00
John Benediktsson 7aeae251bc sequences.zipped: adding zip virtual sequence. 2012-09-26 18:07:53 -07:00
Doug Coleman d751c87283 libsvm: Make a binding to libsvm. It can call train, but the result is 'null' still. 2012-09-26 17:14:17 -07:00
Doug Coleman 48184779ea math.extras: Call (gini). 2012-09-26 16:25:20 -07:00
John Benediktsson 9d813ef1a9 math.extras: simpler herfindahl. 2012-09-26 15:43:15 -07:00
John Benediktsson ddbffb6375 assocs.extras: adding "of". 2012-09-26 15:41:36 -07:00
John Benediktsson 2bf2bd0ee2 assocs.extras: fix using. 2012-09-26 15:34:31 -07:00
John Benediktsson c1fe403b98 assocs.extras: move assocs extras words here. 2012-09-26 15:33:40 -07:00
John Benediktsson 1fe94e4184 math.extras: adding exponential-index. 2012-09-26 15:29:08 -07:00
John Benediktsson 30382dbf4a sequences.extras: adding map-product. 2012-09-26 15:28:59 -07:00
John Benediktsson 905e26e9e0 math.extras: adding the Herfindahl measure. 2012-09-26 15:25:45 -07:00
John Benediktsson 35677bc5fa math.extras: remove variable effects from cum-reduce for now. 2012-09-26 15:20:18 -07:00
John Benediktsson 35bd1a4bbc math.extras: invent "cum-reduce" concept for gini. 2012-09-26 15:11:41 -07:00
Doug Coleman 9f4f76ab8c sequences.extras: Make sure assoc-reduce is working on an alist. 2012-09-26 09:10:28 -07:00
Doug Coleman 768611d130 math.extras: Add sum-cum-sum. Change concentration-coefficient to be more straightforward. 2012-09-26 09:07:57 -07:00
Doug Coleman 1cf27a2af9 math.extras: Fix concentration-coefficient. 2012-09-25 17:54:24 -07:00
Doug Coleman d5e26ee76d math.extras: Faster gini. Leaving this as a separate patch for comparison. 2012-09-25 17:52:27 -07:00
Doug Coleman 59e97e1587 math.extras: Add gini and concentration coefficient. 2012-09-25 17:46:05 -07:00
Doug Coleman 4d2eaf98c1 sequences.extras: Add assoc-reduce and friends. 2012-09-25 17:20:41 -07:00
John Benediktsson 2f4573b6f4 readline-listener: fix tab completion to complete from where the pointer is. 2012-09-25 14:13:42 -07:00
John Benediktsson 2da0e52525 math.extras: adding docs for ramanujan. 2012-09-25 10:50:09 -07:00
John Benediktsson b601d154c1 math.extras: fix spelling of stirling, add ramanujan approximation of factorial. 2012-09-25 10:48:09 -07:00
John Benediktsson 6303ed9106 readline-listener: change matching to use prefixed. 2012-09-25 09:37:50 -07:00
John Benediktsson 92396ffc4b readline-listener: adding better support for tab completion. 2012-09-25 09:11:05 -07:00
Doug Coleman e1b8eaa9fa hacker-news: Use ui-running? 2012-09-24 15:08:30 -07:00
Doug Coleman 556c54e4f9 hacker-news: Use white text in terminal. Use black foreground text on logo. 2012-09-24 14:05:33 -07:00
Doug Coleman 0bac24565e hacker-news: Fix using 2012-09-24 13:54:50 -07:00
Doug Coleman ff030b9c55 hacker-news: Clickable banner. 2012-09-24 13:48:01 -07:00
Doug Coleman 350bf5d316 hacker-news: Fix hacker-news. for job ads. 2012-09-24 11:32:12 -07:00
Doug Coleman b6ff02f53b reddit: Remove dead code. Print domain. 2012-09-24 11:01:49 -07:00
Doug Coleman cd78e15e97 hacker-news: Initial checkin. 2012-09-24 11:01:49 -07:00
John Benediktsson b9c2307bd6 reddit: add slots to subreddit, cleanup private interface. 2012-09-24 10:32:27 -07:00
John Benediktsson 1d8f4a3a34 reddit: rename "subreddit-top" to "subreddit.". 2012-09-24 09:55:18 -07:00
Doug Coleman 833fde5671 reddit: Make clickable links to comments, users. Move (subreddit) -> get-subreddit. 2012-09-24 09:42:30 -07:00
John Benediktsson 2c0ff7473d reddit: adding colors to subreddit-top. 2012-09-22 19:18:45 -07:00
John Benediktsson a7e3a2b024 reddit: adding a Reddit API wrapper. 2012-09-22 13:50:25 -07:00
John Benediktsson b9b5c6e927 coroutines: 4-space style. 2012-09-22 12:57:46 -07:00
John Benediktsson fa310fe054 bit.ly: add more of the API. 2012-09-22 12:54:51 -07:00
John Benediktsson 0c68baf6b5 cgi: adding a vocab to support using Factor in CGI scripts. 2012-09-22 12:46:13 -07:00
John Benediktsson f998138268 help.pdf: generate PDF files from help articles. 2012-09-22 12:31:21 -07:00
John Benediktsson ccf46b6846 pdf: adding a pdf render vocab. 2012-09-22 12:24:47 -07:00
Doug Coleman ba2cf19e5a sequences.extras: add filter-all-subseqs, filter-all-subseqs-range, map-like 2012-09-20 17:46:34 -07:00
Alex Vondrak 8a476f591f compiler.cfg.gvn.tests: fix unit tests now that more vregs get copy-propagated 2012-09-19 17:28:13 -07:00
Alex Vondrak d58d467434 compiler.cfg.gvn: experiment to scan for available vregs when rewriting
instructions instead of relying on the availability of the canonical
leader; untested
2012-09-19 17:28:13 -07:00
Alex Vondrak 3ff0b1a1ec compiler.cfg.gvn.testing: some helper words for debugging CFGs directly 2012-09-19 17:28:13 -07:00
John Benediktsson 346e1f4cf8 sequences.extras: adding reverse-as. 2012-09-19 13:29:59 -07:00
John Benediktsson ffbe20556b sortign.extras: use second-unsafe. 2012-09-19 10:33:52 -07:00
John Benediktsson 2643ecc646 benchmark.unicode: add benchmark for unicode case conversions. 2012-09-19 10:33:51 -07:00
John Benediktsson 8b49518349 benchmark.flip: adding a benchmark for the "flip" word. 2012-09-18 18:40:17 -07:00
Alex Vondrak 4c53c971c1 compiler.cfg.gvn.math: missed some availability checks that were causing math.vectors.simd.tests to fail (issue ) 2012-09-18 00:07:10 -07:00
John Benediktsson a206daacde benchmark.continuations: more continuations. 2012-09-14 14:59:17 -07:00
Doug Coleman 700ca426d1 compiler.cfg.gvn.testing: Add one more platforms.txt 2012-09-13 10:09:29 -07:00
Doug Coleman ece7a4177a compiler.graphviz: Add platforms.txt until someday when graphviz win64
binaries are easy.
2012-09-13 08:51:39 -07:00
Alex Vondrak 2573e4c672 compiler.cfg.gvn.tests: test that gvn is, in fact, global; also, minor test of gcse modulo register availability 2012-09-12 15:14:12 -07:00
Alex Vondrak 0634eaefae compiler.cfg.gvn.tests: add a new 'fixme' unit test for a deficiency in the gvn algorithm 2012-09-12 15:14:12 -07:00
Alex Vondrak 419c15dd4f compiler.cfg.gvn.tests: to fix remaining regressions, added ##peeks so that vreg uses actually had defs (and thus would be available during gcse) 2012-09-12 15:14:12 -07:00
Alex Vondrak c29b0cc897 compiler.cfg.gvn.tests: ##phis now get converted into ##copy insns, so unit test had to change 2012-09-12 15:14:12 -07:00
Alex Vondrak 112824c9e3 compiler.cfg.gvn.tests: fix test-branch-folding 2012-09-12 15:14:12 -07:00
Alex Vondrak c14141a6b5 compiler.cfg.gvn.tests: fix the old, single-basic-block tests from
compiler.cfg.value-numbering (which was nearly all of them) to work with
new gvn interface
2012-09-12 15:14:12 -07:00
Alex Vondrak 383fa08c53 compiler.cfg.gvn: merge changes from value-numbering-tests into gvn-tests 2012-09-12 15:14:12 -07:00
Alex Vondrak fb83bf2d6a compiler.cfg.gvn.avail: add a FROM: to clarify collision over change-at word 2012-09-12 15:14:12 -07:00
Alex Vondrak f2638c99dd compiler.cfg.gvn: merge in applicable changes from compiler.cfg.value-numbering 2012-09-12 15:14:11 -07:00
Alex Vondrak 2456f90eaf compiler.cfg.gvn.math: re-enable distribution for final pass 2012-09-12 15:14:11 -07:00
Alex Vondrak a11e1bb95a compiler.cfg.graphviz & compiler.cfg.gvn.testing: change output slightly 2012-09-12 15:14:11 -07:00
Alex Vondrak d86d44023a compiler.cfg.gvn: fix copyrights 2012-09-12 15:14:11 -07:00
Alex Vondrak 270de14e22 compiler.cfg.graphviz & compiler.cfg.gvn.testing: png -> svg 2012-09-12 15:14:11 -07:00
Alex Vondrak 0bcff5d642 compiler.cfg.gvn.alien: use next-vreg on final iteration, which seems to fix a bug 2012-09-12 15:14:11 -07:00
Alex Vondrak 2f1fdaad6c compiler.cfg.gvn: forgot to make certain defs available 2012-09-12 15:14:11 -07:00
Alex Vondrak 7de3ec13e5 compiler.cfg.gvn.comparisons: missed a spot for with-available-uses? 2012-09-12 15:14:11 -07:00
Alex Vondrak b99a90f138 compiler.cfg.gvn.avail: make with-available-uses? short-circuit 2012-09-12 15:14:10 -07:00
Alex Vondrak 6855e0bb15 compiler.cfg.gvn: fix special vreg insn handling 2012-09-12 15:14:10 -07:00
Alex Vondrak 2abb38463a compiler.cfg.gvn: enable rewrites & ##phi processing 2012-09-12 15:14:10 -07:00
Alex Vondrak 78141b4ae5 compiler.cfg.gvn.comparisons: next-vreg not a problem here; only used for temps (not defs) 2012-09-12 15:14:10 -07:00
Alex Vondrak d5dc989fd8 compiler.cfg.gvn: found infinite loop issues when rewrites define new vregs 2012-09-12 15:14:10 -07:00
Alex Vondrak 774264b9f9 compiler.cfg.gvn: add simple gcse (avoid rewriting & ##phi handling) 2012-09-12 15:14:10 -07:00
Alex Vondrak a9aebc2854 compiler.cfg.gvn.avail: kludgey fix for odd problem with updating avail sets 2012-09-12 15:14:10 -07:00
Alex Vondrak b90187a7b0 compiler.cfg.gvn: try to clean up availability issues (untested) 2012-09-12 15:14:10 -07:00
Alex Vondrak a0c569c876 compiler.cfg.gvn: move ##phi handling to the value-number method 2012-09-12 15:14:09 -07:00
Alex Vondrak caab84061d compiler.cfg.gvn: annotate portions of code where availability will be an issue 2012-09-12 15:14:09 -07:00
Alex Vondrak e379feeb45 compiler.cfg.gvn.expressions: ##phis in different blocks should not be congruent 2012-09-12 15:14:09 -07:00
Alex Vondrak 68f577bfa1 compiler.cfg.gvn: clean up 2012-09-12 15:14:09 -07:00
Alex Vondrak f29bebaa0e compiler.cfg.gvn: gut it down to just identifying value numbers for now 2012-09-12 15:14:09 -07:00
Alex Vondrak d81d3c8b68 compiler.cfg.gvn: convert expressions, graph, and misc to before the half-baked avail stuff 2012-09-12 15:14:09 -07:00
Alex Vondrak ffe70b55e9 delete compiler.cfg.gvn.redundancy-elimination 2012-09-12 15:14:09 -07:00
Alex Vondrak 09c6a2c040 compiler.cfg.gvn: some poorly thought-out attempts at redundancy elimination that don't work; committed for posterity 2012-09-12 15:14:09 -07:00
Alex Vondrak 3d66cc52fb compiler.cfg.gvn.testing: separate out test-gvn to skip graphviz output for each GVN iteration 2012-09-12 15:14:09 -07:00
Alex Vondrak 25b0fb5c03 compiler.cfg.gvn.avail: minor simplification 2012-09-12 15:14:08 -07:00
Alex Vondrak 040f43854b compiler.cfg.graphviz: add block numbers to labels 2012-09-12 15:14:08 -07:00
Alex Vondrak a3ea32ed3e compiler.cfg.gvn.redundancy-elimination: horrific tinkering that doesn't even work 2012-09-12 15:14:08 -07:00
Alex Vondrak cb742f24d1 compiler.cfg.gvn.redundancy-elimination: rough draft 2012-09-12 15:14:08 -07:00
Alex Vondrak 454c2f245b compiler.cfg.gvn: preparing for avail-based redundancy elimination 2012-09-12 15:14:08 -07:00
Alex Vondrak cce1f9d859 compiler.cfg.gvn.testing: minor fix 2012-09-12 15:14:08 -07:00
Alex Vondrak 1adfdc5fd6 compiler.cfg.gvn.alien: clean up destructive rewrites 2012-09-12 15:14:08 -07:00
Alex Vondrak 60abd53808 compiler.cfg.gvn.slots: make simplify-slot-addressing non-destructive 2012-09-12 15:14:08 -07:00
Alex Vondrak 3787f64422 compiler.cfg.gvn.comparisons: fix premature cfg modifications 2012-09-12 15:14:08 -07:00
Alex Vondrak d6641eddb3 compiler.cfg.gvn: with the change to vreg>vn, must check-redundancy on *any* insn that defs a vreg 2012-09-12 15:14:07 -07:00
Alex Vondrak ad0a2e78b3 compiler.cfg.gvn.misc: simplify ##phi rewrite 2012-09-12 15:14:07 -07:00
Alex Vondrak 4b28eeaf21 compiler.cfg.gvn: move ##phi junk to proper vocabs 2012-09-12 15:14:07 -07:00
Alex Vondrak 67053cd540 compiler.cfg.gvn: I'm stupid; don't think a separate assoc is needed 2012-09-12 15:14:07 -07:00
Alex Vondrak 087329bbec compiler.cfg.gvn: refactor 2012-09-12 15:14:07 -07:00
Alex Vondrak b64d116582 compiler.cfg.gvn.testing: clean stuff up; get full, proper graphviz output 2012-09-12 15:14:07 -07:00
Alex Vondrak 6c09bd0cd5 compiler.cfg.gvn.testing: add basic graphviz output 2012-09-12 15:14:07 -07:00
Alex Vondrak 0e7fb629f5 compiler.cfg.gvn: move crappy test code to compiler.cfg.gvn.testing 2012-09-12 15:14:07 -07:00
Alex Vondrak 4008edfdf8 move compiler.cfg.graphviz & compiler.cfg.gvn from basis to extra, just to keep organized 2012-09-12 15:14:07 -07:00
Doug Coleman ce63288c07 sequences.extras: Add unit tests. Fix using. 2012-09-11 14:54:51 -07:00
Doug Coleman 7113cc77f9 sequences.extras: Add loop>sequence, loop>array 2012-09-11 14:30:04 -07:00
John Benediktsson 6023712f05 sequences.rotated: adding rotated virtual sequences. 2012-09-11 10:35:21 -07:00
John Benediktsson 9e18953a5e circular: fix minor typo in copyright url. 2012-09-11 10:35:21 -07:00
Doug Coleman 1bd36d5991 sequences.extras: Add first=, first?, etc 2012-09-10 12:10:33 -07:00
Doug Coleman 3014b1828a math.transforms.bwt: Simplify two places in bwt. 2012-09-10 08:52:42 -07:00
John Benediktsson 9fe9437445 math.transforms.bwt: adding inefficient versions of Burrows-Wheeler transform. 2012-09-09 11:38:59 -07:00
John Benediktsson 4f3622849d sequences.extras: adding "all-rotations". 2012-09-09 10:37:24 -07:00
John Benediktsson 7e9f3d665b math.cardinality: adding a cardinality estimator. 2012-09-08 14:00:36 -07:00
John Benediktsson ec4aaee505 sequences.extras: adding "map-from". 2012-09-07 14:00:04 -07:00
John Benediktsson 4e46d15bcf sequences.extras: adding "arg-where". 2012-09-06 12:28:16 -07:00
John Benediktsson 10111b5850 sequences.extras: fixes, add "arg-max" and "arg-min".
Change supremum-by/infimum-by to return first largest or smallest element.
2012-09-06 12:25:08 -07:00
John Benediktsson e94857db50 benchmark.sort: make the numbers-to-sort at parse time... 2012-09-06 07:54:29 -07:00
John Benediktsson ffab88d5e9 benchmark.random: no need to write the file.
Also, add random-unit and random-32 to benchmark.
2012-09-06 07:53:41 -07:00
John Benediktsson ebbfa70e87 benchmark.sort: changing to not depend on benchmark.random. 2012-09-05 21:03:52 -07:00
John Benediktsson 4a9688079a sequences.extras: adding "until-empty". 2012-08-31 15:01:01 -07:00
John Benediktsson 5af4627e18 math.extras: adding "until-zero". 2012-08-31 15:00:53 -07:00
John Benediktsson a454b2e384 math.extras: adding moving-count. 2012-08-31 11:04:12 -07:00
John Benediktsson 629a5b7bf3 sequences: some minor performance improvements. 2012-08-30 11:33:57 -07:00
John Benediktsson 9eaf91de16 literate: adding some tests. 2012-08-29 17:59:07 -07:00
John Benediktsson e623888a5f literate: adding some literate programming ideas. 2012-08-29 12:17:25 -07:00
Doug Coleman 2b9f4668b6 images: gdiplus had a resource leak (file descriptor). change stream>image to dispose of the
stream no matter what.
2012-08-25 11:44:40 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 8810576465 io.streams.256color: adding support for bold and italic. 2012-08-23 15:20:44 -07:00
Doug Coleman 17782f45ab xkcd: Print images inline. 2012-08-17 16:49:41 -07:00
John Benediktsson d7f95a481c mason.release.archive: fix extension name on release binaries. 2012-08-17 11:53:51 -07:00
Doug Coleman 2503984e35 xkcd: Typos. 2012-08-17 10:42:33 -07:00
Doug Coleman 8354921226 xkcd: XKCD Literals. Duh. 2012-08-17 09:48:03 -07:00
John Benediktsson fa80248919 rosetta-code.bulls-and-cows: digit> is better. 2012-08-13 18:17:03 -07:00
John Benediktsson 2b0e0934a6 graphviz: fix test errors on the mac. 2012-08-13 17:59:09 -07:00
Alex Vondrak 3167a95c51 graphviz: add some unit tests (stuff from the gallery) 2012-08-13 17:35:24 -07:00
John Benediktsson dda43cc647 webapps.mason: show all the configured build machines, not just the failing ones. 2012-08-13 16:21:32 -07:00
John Benediktsson 9e93cd0e13 sequences.extras: moved 2each-index to extras for now. 2012-08-09 16:36:35 -07:00
John Benediktsson 9e14799181 sequences.repeating: fix repeat bug. 2012-08-09 15:07:45 -07:00
John Benediktsson 378feb5324 sequences.extras: adding even and odd indices virtual sequences. 2012-08-09 12:49:29 -07:00
John Benediktsson 79ee220d6c math.transforms.fft: bit simpler, faster. 2012-08-09 12:34:02 -07:00
John Benediktsson d6aa829a06 math.transforms.fft: specify algorithm. 2012-08-09 08:56:47 -07:00
John Benediktsson 034b5a255d math.transforms.fft: using 2map-index to simplify. 2012-08-09 08:36:26 -07:00
John Benediktsson 13ceaa069e sequences.extras: adding 2map-index. 2012-08-09 08:36:17 -07:00