Commit Graph

12153 Commits (710b54869abb5077e7feb348b9d31fead79649e9)

Author SHA1 Message Date
John Benediktsson 840ecce776 talks.otug-talk: forgot a second $link. 2019-10-06 03:41:10 -07:00
John Benediktsson 85d7fc9d30 talks.olug-talk: fix link to new syntax _. 2019-10-05 16:40:57 -07:00
John Benediktsson 28f0f471d3 alien.data.map: fix use of _ for fry change. 2019-10-05 14:33:05 -07:00
Doug Coleman 78c3a99a31 zealot.help-lint: Add a help-lint for travisci that ignores a lot of flaky resource leaks.
Some work needs to be done with ensuring that resources are cleaned up before reporting resource leaks and exiting. In the meantime, we want TravisCI to be useful enough to catch help-lint errors, so ignore a bunch of errors that it might find. These leaks are still tested for in the more thorough mason CI.
2019-10-05 12:04:14 -05:00
John Benediktsson 9a8b1f8d8e monads: fix ordering of writer monad logs. 2019-09-29 07:16:03 -07:00
Doug Coleman 1935533b08 webapps: Update to https 2019-09-28 16:55:22 +00:00
Doug Coleman ea2600c3e8 mason.config: Update status url to https. 2019-09-28 10:56:40 -05:00
John Benediktsson 0a155def04 smalltalk: cleanup usings. 2019-09-27 08:26:02 -07:00
John Benediktsson 689c18c374 toml: minor cleanup, note a fixme for later. 2019-09-25 20:51:27 -07:00
John Benediktsson cc858f633f toml: some updates. 2019-09-25 14:41:06 -07:00
John Benediktsson cb854c0801 toml: adding support for Tom's Obvious Markup Language (TOML). 2019-09-25 14:24:05 -07:00
John Benediktsson df295d5ef9 ini-file: cleanup using \f\v escapes. 2019-09-24 20:13:40 -07:00
John Benediktsson 04f96c83f1 colors: moving some color definitions from extra/ to basis/. 2019-09-10 12:02:43 -07:00
John Benediktsson bf84e85126 numbers-game: simplify for readability. 2019-09-10 04:52:59 -07:00
John Benediktsson 001cb1746f cbor: cleanup tests a bit. 2019-08-20 16:45:23 -07:00
John Benediktsson 336da664ba cbor: read bignums, read/write timestamps and urls. 2019-08-20 14:48:03 -07:00
John Benediktsson 56fbf4643d cbor: support write of bignums. 2019-08-20 09:13:26 -07:00
John Benediktsson a7447cd783 cbor: support writing negative integers. 2019-08-20 07:41:54 -07:00
John Benediktsson 0b78157744 cbor: support read/write of simple values and tagged items.
Fix issue with long array lengths.
2019-08-20 07:34:29 -07:00
John Benediktsson 5aedc3cc57 cbor: add support for reading simple values and tagged data items. 2019-08-20 07:21:37 -07:00
John Benediktsson 63f1727ede cbor: fix empty bytestrings, add a bunch more parsing tests. 2019-08-19 21:32:17 -07:00
John Benediktsson 4ac8628a98 cbor: basic support for Concise Binary Object Representation (CBOR)
This is defined in RFC 7049.
2019-08-19 20:49:20 -07:00
John Benediktsson 1cba716637 gap-buffer: some cleanup. 2019-08-05 13:15:48 -07:00
John Benediktsson cad867a3e9 io.files.trash.windows: cleanup using. 2019-08-05 13:07:25 -07:00
John Benediktsson 4201c2149b boids: fix wrap-pos to wrap at row/col 511 instead of 510. 2019-07-26 18:38:08 -07:00
John Benediktsson 9135c82eb6 trails: use ``f`` to represent "invisible" points. 2019-07-25 09:19:23 -07:00
John Benediktsson 4b246b6130 math.extras: add test for stirling numbers. 2019-07-10 09:42:03 -07:00
Niklas Larsson c3197c36c3 math.extras: Fix stirling
Fixes #2149
2019-07-10 09:42:03 -07:00
John Benediktsson 81f2e9a0a7 sequences.extras: adding extract!.
It's similar to reject! but returns the items that were removed.
2019-06-28 11:27:23 -07:00
John Benediktsson 00a0edb199 raylib.demo: cleanup change-player-position. 2019-06-11 19:36:59 -07:00
John Benediktsson bc7680969f raylib.gui-demo: adding MAIN: 2019-06-11 19:18:26 -07:00
Jack Lucas a8200d61b2 Raylib: Add Raylib 2.5 + Raygui 2019-06-11 19:14:00 -07:00
John Benediktsson 74313e9b52 Revert "slides: make it work on windows (no gradients)."
This reverts commit 9d428cbcaf.
2019-06-08 18:47:41 +02:00
Alexander Iljin 3d56615d19 Revert "slides: fix illegible code snippets on Windows"
This reverts commit 4b1e2b8af8.
2019-06-08 18:47:40 +02:00
John Benediktsson 056d8acad4 cap: use locals to make screenshot simpler. 2019-05-20 20:15:53 -07:00
John Benediktsson 1b10b8dbf4 base32-crockford: swap stack effects and update tests. 2019-05-20 10:20:47 -07:00
John Benediktsson 53d404a150 base16/32/64/85/91: declare base>ch as fixnum. 2019-05-19 16:23:35 -07:00
Alexander Iljin 0007789795 continuations[-docs]: add the finally word 2019-04-22 21:57:51 -07:00
Alexander Iljin 4d5548d62d extra: cleanup USING: lists 2019-04-21 11:24:11 -07:00
John Benediktsson ba41385f10 extra: remove unnecessary yield. 2019-04-21 11:07:28 -07:00
Alexander Iljin 9063cfc61b sodium: use a more conventional parameter name 2019-04-14 08:42:54 -05:00
Alexander Iljin 18b896e54d sodium: add wrapper words for working with detached signatures 2019-04-14 08:42:49 -05:00
John Benediktsson 824fc16a0f base91: adding version of base91 encoding/decoding. 2019-04-05 13:43:05 -07:00
John Benediktsson 38e8c5aeb1 base16: adding RFC 3548 version of base 16 encoding/decoding. 2019-04-05 13:40:23 -07:00
John Benediktsson fa1f9aa5a0 base64/32/85: adding tests for all byte values. 2019-04-05 13:38:00 -07:00
John Benediktsson d89d4590ab game-of-life: adding deploy file. 2019-04-05 13:04:01 -07:00
John Benediktsson 103b15df97 base85: change alphabet to byte-array. 2019-04-05 13:03:19 -07:00
John Benediktsson 83d6c5b382 base32-crockford: separate Douglas Crockford version of Base 32. 2019-04-05 12:10:52 -07:00
John Benediktsson 77c5a4b7ff base32: adding authors.txt 2019-04-05 12:10:33 -07:00
John Benediktsson d53ef800e2 base32: change to RFC 3548 version. 2019-04-05 12:05:21 -07:00
John Benediktsson 66652c4903 geohash: adding first version of Geohash geocoding vocab. 2019-04-02 17:32:15 -07:00
John Benediktsson 338b739f30 base32: faster inverse operation. 2019-04-02 17:32:15 -07:00
John Benediktsson 88abc4e4c2 gravatar: wrapper for Gravatar.com service. 2019-03-28 13:50:35 -07:00
John Benediktsson 2bb6e58eb0 crontab: simplify logic max days of month. 2019-03-24 15:41:19 -07:00
John Benediktsson 6e1d23a931 crontab: better input validation for stuff like Feb 30 or Apr 31. 2019-03-24 13:32:57 -07:00
John Benediktsson 92bf1786de crontab: adding some Feb 29th tests. 2019-03-24 08:34:03 -07:00
John Benediktsson 6f8ee02569 crontab: test a lot more things. 2019-03-23 14:16:07 -07:00
Doug Coleman 357d504719 tests: Don't depend on license.txt not changing.
It's probably bad to have the year in the license file, but it's worse to depend on
the license never changing.

Add a dummy file to crc32, and for multi checksums, the file we were checksumming is
not really integral to the test since it's read into a buffer first.
2019-03-23 13:00:52 -05:00
John Benediktsson deb4b7c0d6 crontab: fix day-of-week to be OR instead of AND days. 2019-03-23 08:21:26 -07:00
John Benediktsson e4c94e7d98 checksums.multi: fix tests. 2019-03-23 07:20:31 -07:00
John Benediktsson ffbb4c8289 crontab: simplify (next-time-after) recursion. 2019-03-22 20:57:50 -07:00
John Benediktsson 3afc3447b4 crontab: simplify common code paths in (next-time-after). 2019-03-22 20:52:33 -07:00
John Benediktsson ea83c1c1ee crontab: constraint order is month, day, day-of-week, hour, minute. 2019-03-22 20:42:46 -07:00
John Benediktsson 0f0099b08d crontab: some more fixes. 2019-03-22 20:36:45 -07:00
Doug Coleman 3ea506e5b3 checksums.multi: fix test for 2019 2019-03-22 21:30:18 -05:00
Doug Coleman fed9249a90 zoneinfo: update to 2018i 2019-03-22 18:29:13 -05:00
John Benediktsson 799bf88daf crontab: some fixes and additional test case. 2019-03-22 15:20:46 -07:00
Doug Coleman d575ac084f resolv-conf: Parse edns0, refactor some words, and add a unit test. 2019-03-21 22:53:01 -05:00
John Benediktsson 26abdf4a23 regexp: try again to fix the issue with backslashes.
the new simple rule is inside R/ syntax all backslashes should be
escaped to allow easy regexp literal tokenization:

R/ [\/]/

but in the constructor <regexp> they shouldn't be:

"[/]" <regexp>

When the regexp is prettyprinted we make sure to visually escape the
backslashes in the raw regexp.
2019-03-21 13:29:15 -07:00
John Benediktsson ca9f74e993 Revert "crontab: instead of after= make it after."
This reverts commit a3d5e3ffcb.
2019-03-21 10:55:22 -07:00
John Benediktsson a3d5e3ffcb crontab: instead of after= make it after. 2019-03-17 09:24:47 -07:00
John Benediktsson 112263ca3c crontab: avoid next-time being minutes in the past. 2019-03-17 08:55:36 -07:00
John Benediktsson 49d9d21124 crontab: cleanup empty lines differently. 2019-03-16 16:48:41 -07:00
Doug Coleman 4403155dce machine-learning.data-sets: Load mnist data. 2019-03-01 23:14:59 -06:00
Doug Coleman 92648265d2 hacker-news: Add more endpoints to api. 2019-03-01 22:26:14 -06:00
Alexander Iljin 6105055b82 ulid-docs: format errors with $errors 2019-02-07 13:24:06 -08:00
Doug Coleman 184b614e89 protocols.tftp: Fix some bugs.
- needed pack-be
- tftp clients seem to send an ACK even before receiving an error for a missing file
- handles directories now, "File not found"

to improve:
- use the client/server pair as a key maybe
- handle file writing
- throw errors that are not io-timeout once we have a cross-platform timeout error object
2019-02-03 18:09:34 -05:00
Doug Coleman 447b46db97 tftp: Implement a client/server for tftp.
The server needs to handle multiple clients. Refactoring...
2019-02-03 14:51:52 -05:00
John Benediktsson c8da551a95 hamurabi: fix #percent-died. 2019-01-27 21:34:49 -08:00
John Benediktsson 82ad6cec2e base85: simpler pad math. 2019-01-26 07:14:09 -08:00
John Benediktsson 4fbc726b1a base85: change to not pad encoding, fix output bug. 2019-01-25 21:14:11 -08:00
John Benediktsson 1ff2722b15 base85: fix a bug with accidental extra characters in alphabet. 2019-01-24 19:21:29 -08:00
Doug Coleman d73fb5f80f webapps.planet: Trim using list. 2019-01-19 10:08:19 -06:00
Doug Coleman 42d84a4e29 math.blas.matrices: Fix for equal? 2019-01-19 10:08:07 -06:00
Doug Coleman 053daddfa6 webapps.pastebin: Fix quotation effect so deleting annotations works. 2019-01-12 15:28:36 -06:00
Doug Coleman cc540c3165 io.serial: Fix using list. 2019-01-12 10:43:34 -06:00
John Benediktsson 15fff4a1fd io.serial: use io.streams.duplex:with-stream. 2019-01-10 20:34:58 -08:00
Doug Coleman e4579d02e7 units: Add exponentiation operator and a d-cube. 2019-01-05 14:37:00 -06:00
John Benediktsson 2d0e716362 ryu: minor locals cleanup, don't use 5drop. 2019-01-03 21:29:53 -08:00
John Benediktsson aa67ab6ec4 ryu: faster and simpler using number>string for integer conversion. 2019-01-03 21:13:55 -08:00
Alexander Iljin b26fa1b318 ryu: accept some lint vocab suggestions 2019-01-03 17:05:12 -08:00
Alexander Iljin 47c3f7d56d lint: add suggestion to replace "-roll -roll" with 2swap 2019-01-03 15:36:34 -08:00
John Benediktsson d66ea1e09c base32: adding Douglas Crockford's Base 32 encoding/decoding. 2019-01-03 12:27:11 -08:00
Alexander Iljin bb1e6943e6 ulid: new vocab
This corresponds to commit 1bd3b5681bf1ba7155a42e75a937ec4b2520a202 of the
original repository at https://github.com/AlexIljin/ulid.
2019-01-01 14:22:52 -06:00
Alexander Iljin 94af9254bd ryu: add new vocab to convert double-precision floats to strings
This commit corresponds to commit 5e1591c3cbee3c667e400d936e924c0d25d55aeb
in the original repo https://github.com/AlexIljin/ryu (minus README.md).
2018-12-30 19:14:29 -06:00
Doug Coleman 1e2bb358c2 zoneinfo: Remove dumb unit test 2018-12-30 14:45:31 -06:00
Doug Coleman 5e710fa9f9 zoneinfo: Add updated files. 2018-12-30 14:26:17 -06:00
Alexander Iljin 738b17e143 totp: add new vocab 2018-12-30 12:23:17 -08:00
Doug Coleman 0f996e9342 random.xoshiro: Implement xoshiro256starstar.
It's rather slow because Factor doesn't have 64bit integers.

[
	1,000,000 <iota>
	1 2 3 4 <xoshiro-256-star-star> '[ drop _ next-256 ] map
] profile

Reference implementation: http://xoshiro.di.unimi.it/xoshiro256starstar.c
Debugging C code: https://paste.factorcode.org/paste?id=3949

Related issue: #1518
2018-12-29 13:27:41 -06:00
Doug Coleman b73f1bd8b1 mason.test: Help travisci complete the testing without false errors. 2018-12-24 19:23:53 -06:00
Alexander Iljin 2f605617a1 sodium: the add essential crypto-box-* words and a unit-test 2018-12-24 00:51:08 +01:00
Alexander Iljin 0f57380074 sodium: prepare some code for reuse 2018-12-24 00:51:08 +01:00
Alexander Iljin ce6f4ee249 sodium: move some words into the <PRIVATE> section 2018-12-24 00:51:08 +01:00
Alexander Iljin c84410f3c6 sodium.ffi: add the remaining APIs 2018-12-24 00:31:23 +01:00
Alexander Iljin edbe701626 sodium.ffi: add the year 2018 to the copyright notice 2018-12-24 00:31:22 +01:00
Alexander Iljin 682817bef8 sodium.ffi: fix source code formatting for consistency 2018-12-24 00:31:22 +01:00
Doug Coleman 9c29759775 sequences.extras: Allow row variables in loop>array etc. 2018-12-16 13:30:55 -06:00
Doug Coleman 17ed798178 *.txt: Add newlines, fix some spacing 2018-12-16 12:04:35 -06:00
Doug Coleman 00fd59aa39 notifications.macos: Notifications for macOS.
They don't seem to always pop up. I think the delegate needs to be set to respond to a message to always show the notification.
2018-12-16 11:38:14 -06:00
Doug Coleman f77d46f0c8 imap: Add a word to list all folders and fix a couple issues.
- Fix a bug where the regex assumes double-quotes around a string but Outlook doesn't put them.
- Fix all the \\ escapes in the regexps to look a little better.
- Cleaner looping for reading emails.

! Example query to get some spams
imap-settings get [
  "[Gmail]/Spam" select-folder
  "ALL" "" search-mails 10 head
  "(BODY[1] BODY[HEADER.FIELDS (SUBJECT TO FROM CC BCC)])" fetch-mails
] with-imap-settings
2018-11-21 19:27:42 -06:00
John Benediktsson d82ce045ea metar: fix for timestamps like "2124" meaning "2200". 2018-11-20 11:41:18 -08:00
Craig Allen 9804c3c744 fix absolute path on windows
append-path ignores the first argument if the second is an absolute path, breaks the vocab on windows
2018-10-24 09:46:48 -07:00
Doug Coleman 5a420cabc3 websites.concatenative: Update recaptcha to work with v2. 2018-09-26 02:23:47 +00:00
Doug Coleman e427f0f34e zealot.cli-test-changed-vocabs: Fix using and stack effect.
I changed the code in the wrong branch.
2018-08-26 20:24:45 -05:00
Doug Coleman faae03cdba zealot.cli-test-changed-vocabs: The ``test`` word tests all child vocabs in the hierarchy, ``test-vocab`` tests only the specific vocabulary.
This should test fewer vocabularies and find more bugs where vocabularies are expected to be loaded but aren't loaded.
2018-08-26 16:53:38 -05:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
Alexander Iljin 6b23c7c6d6 rosetta-code.ternary-logic: add a missing type cast to t= 2018-08-21 10:44:23 -07:00
Alexander Iljin f56ed221d7 rosetta-code.ternary-logic: remove useless type casts before drops 2018-08-21 10:44:22 -07:00
Doug Coleman 3f19ade4d3 webapps.help: All docs.factorcode.org traffic should go to https.
Per request on irc.
2018-08-12 17:54:17 -05:00
John Benediktsson 62fd7e3bbd tools.wc: use re-decode here also. 2018-08-01 21:03:40 -07:00
John Benediktsson ed9df3303d tools.cat: use re-encode/re-decode. 2018-08-01 14:25:25 -07:00
John Benediktsson 5e9b804d66 tools.cat: significant performance improvement using binary.
Before (using strings): 77MiB/s
After (using byte-arrays): 3.06GiB/s
2018-08-01 12:52:33 -07:00
John Benediktsson dbb9bb42ca odbc: add windows platform.txt. 2018-07-31 18:12:54 -07:00
Doug Coleman 102fe6154e ci.run-process platforms: getting uid/gid, so unix only for now 2018-07-21 15:28:43 -05:00
Doug Coleman 0655ed4e00 ci: Start new vocabs.
Add ci.docker for running commands in docker.
Add ci.run-process for running commands and capturing everything from their run.

USE: ci.docker USE: ci.run-process
{ "run" "hello-world" } "docker" find-in-standard-login-path prefix
ci-run-process>autopsy autopsy.
2018-07-21 15:27:25 -05:00
Doug Coleman 279acbc53e io.launcher: Add process-lines word. 2018-07-16 21:02:11 -05:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman 7209d53c83 Revert "gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``"
This reverts commit 76f4678a96.

This breaks ``"cuda" load`` with circularity.
2018-07-10 02:06:54 -05:00
Doug Coleman f140d48e24 help.lint.coverage: Clean up test a bit. Hopefully this fixes an error on macOS in travisci. 2018-07-07 15:40:33 -05:00
Doug Coleman 0b0ead5135 yaml: Docs don't help-lint unless the yaml library is present.
We need a better docs system, after .98
2018-07-07 12:48:39 -05:00
Doug Coleman 76f4678a96 gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``
There might be a better way.
2018-07-07 12:33:08 -05:00
Doug Coleman 70537e86e4 fuel.help: Help test requires io.servers to be loaded, so load it. 2018-07-07 12:27:11 -05:00
Doug Coleman 79db3ca594 docs: fix docs for help-lint 2018-07-07 08:24:20 -05:00
Doug Coleman dadf462661 help.lint.coverage: Add yet another sanity test, clean up broken words after lint test. 2018-07-07 02:03:55 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman ff466b894a zealot.factor: Test against the clean branch if we are pushing to master. 2018-07-07 01:13:19 -05:00
Doug Coleman 9d911fab73 cli.git: Fix parameter order. 2018-07-06 21:22:26 -05:00
John Benediktsson 6e89e4ecab sequences.extras: fix bug in count-head, add some tests. 2018-07-06 08:07:11 -07:00
Doug Coleman 682e0b92e3 cli.git: Better branch names maybe.
zealot: use CI_BRANCH and set it in travis.
zealot.factor: Check against HEAD
.travis.yml: Travis seems to be terminating my command after the USING:.

[[
[0K$ ./factor -run=zealot.cli-changed-vocabs
io.pathnames
vocabs.loader
cli.git
modern
modern.out
modern.paths
modern.slices
sequences.extras
web-services.github
zealot.cli-changed-vocabs
zealot.factor
zealot

travis_time🔚155cd3d8:start=1530762416088842089,finish=1530762475370504525,duration=59281662436
[0K
[32;1mThe command "./factor -run=zealot.cli-changed-vocabs" exited with 0.[0m
travis_time:start:2ac2d2d0
[0K$ {:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\\"$line\\\" [ load ] [ test ] bi\" ; done"}
/home/travis/.travis/job_stages: line 78: {:./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e="USING=: No such file or directory

travis_time🔚2ac2d2d0:start=1530762475377510994,finish=1530762475383948090,duration=6437096
[0K
[31;1mThe command "{:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\"$line\\" [ load ] [ test ] bi\" ; done"}" exited with 127.[0m

Done. Your build exited with 1.
]]

zealot: test on cli.
travis: Load zealot so we can use it quickly twice. Also fetch origin/master so we can ``git diff`` against it.
2018-07-05 00:13:02 -05:00
Doug Coleman 96f2470e5d zealot: Get a list of changed vocabs from the last run until now.
Also add a word to get a list of vocabs that changed between any two git revs.
2018-07-04 20:20:20 -05:00
Doug Coleman d35df269d8 modern.out: fix load error.. 2018-07-04 20:19:54 -05:00
Doug Coleman 76e50c3479 cli.git: Add more git commands. 2018-07-04 20:19:31 -05:00
Doug Coleman e01d1133be modern: core-vocabs should not return the broken test vocabs. 2018-07-04 19:05:37 -05:00
Doug Coleman 256f0ed4a4 modern: Add to extra/ some version of modern that has the modern.paths vocab.
For travisci.
2018-07-04 18:47:14 -05:00
Doug Coleman 138d150da2 zealot: Add a second CI type system to compete with mason.
This is for testing PRs against changed vocabs.
2018-07-04 18:35:24 -05:00
Doug Coleman 1a084d2293 webservices.github: Add more commands needed for zealot. 2018-07-04 18:33:37 -05:00
Doug Coleman 725bbf9e45 cli.git: Allow git commands from within the directory and from without.. 2018-07-04 18:32:34 -05:00
Doug Coleman 000f3eab07 sequences.extras: Add count-head and count-tail 2018-07-04 18:32:19 -05:00
Doug Coleman b1e179106b gap-buffer: fix using.
I'm cooking something up for travisci for this...
2018-07-04 18:05:40 -05:00
Doug Coleman 9af298fd49 gap-buffer: resurrect! gap-buffer/cursortree still needs to be ported.
removed in c1792d169e
2018-07-04 16:10:39 -05:00
Doug Coleman 211d69561a escape-strings: Add a way to find the shortest lua-string escape.
Also add a way to escape a string as either 'foo "foo" or [[foo]] depending on which delimiters will do the job.

Add a couple helper words to assocs.extras
2018-06-30 00:39:39 -05:00
Doug Coleman 7fdb8fcab5 macho: Only test the vm-path on MacOS, but still let the macho library work on any platform.
Also testing TravisCI on a branch without a boot image -- it should use master boot image.
2018-06-25 23:02:59 -07:00
Doug Coleman b1ea62a626 macho: Update the structures for macho and add a unit test.
``vm-path dylib-exports`` passes on my machine now.
2018-06-25 17:06:55 -07:00
Doug Coleman 05c72e8690 factor: trim some long using lists. 2018-06-23 11:43:00 -07:00
Doug Coleman 33a1b7625e cuda.demos.hello-world: We need a byte-array from map-index. 2018-06-23 10:51:38 -05:00
Doug Coleman 88e58f9da8 factor: fix a few issues with new patch. 2018-06-19 23:39:33 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman c477757fa0 xkcd: Everybody stand back. I know regular expressions. 2018-06-16 19:26:47 -05:00
Doug Coleman 042bbccd1a s3: Fix get-object to allow signing. Add sorted-bucket to sort by time. 2018-06-14 19:46:47 -05:00
Cat Stevens c3356476f9 finish up fixes to help.lint.coverage 2018-06-06 16:36:17 -07:00
Doug Coleman 2e65fabf30 assocs: kv-with word. 2018-06-03 21:33:55 -05:00
Doug Coleman a96ad1b227 html.parser.analyzer: find-classes-named word. 2018-06-03 21:33:55 -05:00
John Benediktsson 5ad9c55f47 game.input.demos.key-caps: more fun with button texts. 2018-05-03 19:52:16 -07:00
John Benediktsson 2a8e8ba025 decimals: fix stack effect for decimal>float. 2018-04-19 15:23:04 -07:00
John Benediktsson 89fa8e09ee pong: use different colors. 2018-03-22 13:18:51 -07:00
John Benediktsson 3feed5b192 minesweeper: adding games tag. 2018-03-22 10:10:36 -07:00
John Benediktsson 2c8d378b66 pong: adding demos tag. 2018-03-22 10:10:26 -07:00
John Benediktsson 97477294f4 flatland: moving back to unmaintained.
has some confusing bugs with "above?" and "below?".

needs to be cleaned up and tested better.
2018-03-22 10:01:54 -07:00
John Benediktsson 26488b37ed pong: fix some bugs, cleanup, little fancier. 2018-03-22 10:01:28 -07:00
Doug Coleman 653af68a8e Revert "use tilde paths instead of home append-path."
This reverts commit 8af27125ec.
2018-03-15 08:45:12 -05:00
Doug Coleman 7941b033f7 Revert "help.pdf: use tilde paths."
This reverts commit 9276c26f4c.
2018-03-15 08:43:13 -05:00
Doug Coleman c1f38d6864 Revert "fix a couple more tilde paths."
This reverts commit b139a896ef.
2018-03-15 08:42:46 -05:00
Doug Coleman 97ea4ccb17 Revert "mason.build: Can't resolve path ~/builds/factor, not sure how this ever"
This reverts commit 0e88bd305e.
2018-03-15 08:41:06 -05:00
John Benediktsson c5a7ce216b game-of-life: simpler wraparound logic in count-neighbors. 2018-03-14 15:46:10 -07:00
Doug Coleman 0e88bd305e mason.build: Can't resolve path ~/builds/factor, not sure how this ever
works...

Can't use normalize-path because git.exe doesn't recognize the Windows unicode
path prefix.
2018-03-14 16:17:09 -05:00
Doug Coleman a16707b176 mason.release: Sign the .dmg on macOS.
Fixes #1896.
2018-03-14 14:07:30 -05:00
John Benediktsson 252ce232cf game-of-life: little bit more. 2018-03-12 08:47:31 -07:00
John Benediktsson bf010ba1a5 game-of-life: cleanup play/stop and some count-neighbors. 2018-03-12 08:43:05 -07:00
John Benediktsson 18a3bd0c4c game-of-life: use row directly in next-step. 2018-03-11 17:05:47 -07:00
John Benediktsson b29a99d03f game-of-life: cleanup using. 2018-03-11 11:59:13 -07:00
John Benediktsson 6a215adbbb game-of-life: even faster by factoring out the neighbor rows. 2018-03-11 11:48:35 -07:00
John Benediktsson ac1029e8eb game-of-life: more ugly faster code. 2018-03-11 11:31:20 -07:00
John Benediktsson 0a9752fcc9 game-of-life: more speed in count-neighbors. 2018-03-09 16:58:11 -08:00
John Benediktsson 7179394ea0 game-of-life: count-neighbors needs circular wraparound logic back. 2018-03-09 16:53:05 -08:00
John Benediktsson 5e7bfd7cc4 game-of-life: flip scroll direction. 2018-03-09 16:32:08 -08:00
John Benediktsson 25fc79a40c game-of-life: faster com-random. 2018-03-09 15:53:29 -08:00
John Benediktsson 0c9086b385 game-of-life: fix inevitable bug in faster code. 2018-03-09 15:29:22 -08:00
John Benediktsson 9e563c4103 game-of-life: ugly code that makes next-step faster. 2018-03-09 15:04:23 -08:00
John Benediktsson c24779d27e game-of-life: small updates. 2018-03-09 14:32:30 -08:00
John Benediktsson efb2f0ed55 game-of-life: implement scrolling and resizable windows. 2018-03-09 14:24:50 -08:00
John Benediktsson 17eabacd2b game-of-life: experimental Conway's Game of Life. 2018-03-09 12:13:07 -08:00
John Benediktsson e37b530338 crontab: adding first version of crontab parser. 2018-03-09 12:08:49 -08:00
John Benediktsson 074d4e9d0a minesweeper: fix stack effect in adjacent-flags. 2018-03-06 16:02:20 -08:00
John Benediktsson 2dc44cd360 minesweeper: reduce duplicated code in count-neighbors. 2018-03-06 16:01:33 -08:00
John Benediktsson 02e231633e minesweeper: reduce duplicated code for click/mark/open cells. 2018-03-06 15:50:47 -08:00
John Benediktsson 1386489bbc minesweeper: re-use click-cells-around. 2018-03-05 09:05:20 -08:00
John Benediktsson 3c7b0825db minesweeper: adding docs for middle-click. 2018-03-05 08:57:42 -08:00
Philip Dexter 9a994e1bd9 minesweeper: add classic middle-click functionality 2018-03-05 08:52:26 -08:00
John Benediktsson 39602240da checksums.multi: making these checked $examples. 2018-03-04 17:49:52 -08:00
John Benediktsson 8dece633e6 checksums.multi: fix $slot help-lint error. 2018-03-04 17:47:01 -08:00
John Benediktsson e6c9e76db4 checksums.multi: use resource: to make sure test works. 2018-03-04 15:28:18 -08:00
Alexander Iljin 156f69b3a3 checksums.multi: new vocab 2018-03-04 14:43:53 -08:00
John Benediktsson e0d53267f5 minesweeper: adding deploy file.
right now it includes too much stuff so the file sizes are a little big.
2018-03-01 10:45:32 -08:00
John Benediktsson ac5980d55b io.encodings.detect: fix tests. 2018-02-28 15:10:43 -08:00
John Benediktsson c8d1b756d4 dbf: use substitute instead of replace in parse-numeric. 2018-02-28 09:56:12 -08:00
John Benediktsson 0ab7ed6979 io.encodings: use new latin1 instead of 8-bit encoding from file. 2018-02-28 08:56:01 -08:00
Björn Lindqvist fa2a0dc779 machine-learning.data-sets: renaming slots in the data-set tuple
"features" is a better name for the slot than "data"
2018-02-27 13:20:57 +01:00
Björn Lindqvist b672ed91fb math.affine-transforms: some docs for the vocab 2018-02-27 13:20:57 +01:00
John Benediktsson 93bd01109d project-euler.060: solution for #60. 2018-02-26 20:43:35 -08:00
John Benediktsson ce1de81ec6 cleanup a few resource paths. 2018-02-26 17:38:07 -08:00
John Benediktsson b139a896ef fix a couple more tilde paths. 2018-02-26 17:33:36 -08:00
John Benediktsson 9276c26f4c help.pdf: use tilde paths. 2018-02-26 17:29:10 -08:00
John Benediktsson 8af27125ec use tilde paths instead of home append-path. 2018-02-26 17:17:15 -08:00
John Benediktsson d32d06577d io.files.trash.unix: use xdg vocab. 2018-02-26 17:16:43 -08:00
John Benediktsson b74e8d3c22 Revert "io.encodings.8-bit: adding CP874."
This reverts commit 9cccb4de95.
2018-02-26 12:30:11 -08:00
John Benediktsson 9cccb4de95 io.encodings.8-bit: adding CP874. 2018-02-26 11:45:11 -08:00
John Benediktsson 216057d255 minesweeper: ignore space keypress for hint cheat. 2018-02-26 11:32:04 -08:00
John Benediktsson 7c5012da67 dbf: beginning to parse dBase database files. 2018-02-26 10:32:53 -08:00
John Benediktsson 85b69b5b49 io.encodings.8-bit: more encodings, and reduce hierarchy. 2018-02-26 10:21:35 -08:00
Björn Lindqvist 923944f41e machine-learning.decision-trees: more thorough tests 2018-02-24 23:11:22 +01:00
John Benediktsson fa91537935 minesweeper: minor doc edits. 2018-02-24 13:01:17 -08:00
John Benediktsson 5cb675486f minesweeper: adding some help docs and cap timer at 999 seconds. 2018-02-24 12:20:00 -08:00
John Benediktsson 57f69157b1 minesweeper: simpler hint mode, type more to disable. 2018-02-24 09:49:38 -08:00
John Benediktsson ade235e25a minesweeper: adding XYZZY hint like the original. 2018-02-24 08:15:56 -08:00
John Benediktsson b8ce63491f minesweeper: some fixes to keep correct flag when winning/losing. 2018-02-24 08:13:30 -08:00
John Benediktsson 8f42570ba6 minesweeper: grid sizes were off by one. 2018-02-23 20:46:05 -08:00
John Benediktsson 2a9b40f033 shapefiles: add tests verifying roundtrip save-and-load. 2018-02-22 10:15:03 -08:00
John Benediktsson 2e69bdf17c shapefiles: implement save-shapes. 2018-02-22 10:14:20 -08:00
John Benediktsson 84f8449771 shapefiles: reorganize a bit, and add ``load-shapes``. 2018-02-22 09:45:36 -08:00
Doug Coleman 435ce60165 assocs.extras: fry can easily curry the top item of the stack. 2018-02-20 01:21:28 -06:00
Doug Coleman f3934d53c7 assocs.extras: go nuts on the crazy assoc words. 2018-02-19 23:04:33 -06:00
Doug Coleman 0b4ec06460 python: Fix docs for when python dll is missing. 2018-02-19 17:09:59 -06:00
Doug Coleman 9c72ab89b2 python: Fix like three thinko bugs but it works now. 2018-02-19 16:32:25 -06:00
Doug Coleman f2a86e0bae python: Fix unit tests -- only test when library is loaded.
Also reformat some unit tests that have a quot as the stack output.
2018-02-19 15:01:08 -06:00
Doug Coleman 7a729b7637 python: Only call the init if python is actually present.
Fixes #1952
2018-02-19 10:41:46 -06:00
Doug Coleman 310a4a247c alien.libraries: load-library is misnamed, refactor library-dll.
load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.

If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.
2018-02-19 10:38:21 -06:00
John Benediktsson 75b0289e74 shapefiles: reorder words to match read-shape enum list. 2018-02-19 08:13:00 -08:00
John Benediktsson 010d0ef2de shapefiles: fix stacke effect names in read-shp. 2018-02-18 16:12:31 -08:00
John Benediktsson a2d76ffda9 shapefiles: use null-shape singleton for... null shapes. 2018-02-18 16:08:18 -08:00
John Benediktsson d910ed5572 shapefiles: more cleanup. 2018-02-18 16:06:42 -08:00
John Benediktsson a90ef73d6b shapefiles: cleanup, simplify a bit. 2018-02-18 15:54:39 -08:00
John Benediktsson 827cee0c8d shapefiles: adding parser for ESRI Shapefiles. 2018-02-18 15:48:21 -08:00
John Benediktsson 1c59001abc named-tuples: few more test cases. 2018-02-18 08:17:10 -08:00
John Benediktsson a3e1364c4f named-tuples: make work with bignum indices. 2018-02-17 18:34:32 -08:00
John Benediktsson fb382b52c7 sequences.modified: little bit more cleanup. 2018-02-17 17:08:24 -08:00
John Benediktsson baddc58f93 sequences.modified: simplify M\ summed modified-nth. 2018-02-17 17:03:39 -08:00
John Benediktsson 8cfeab92f3 named-tuples: use ?offset-of-slot in M\ named-tuple at*. 2018-02-17 12:56:43 -08:00
John Benediktsson 0f0ca3ecf7 named-tuples: mention assocs in summary.txt. 2018-02-17 10:02:45 -08:00
John Benediktsson 0ea0285e33 named-tuples: experiment to treat some tuples as sequences/assocs. 2018-02-17 10:00:34 -08:00
John Benediktsson d64536e43c minesweeper: better smiley faces. 2018-02-16 16:14:39 -08:00