Commit Graph

31163 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Doug Coleman 4df7773a58 io.files.windows: Reloading io.pathnames overwrites these two object
methods.

Make them windows methods instead.
2019-03-17 10:56:57 -05:00
Doug Coleman baafbb8b34 windows: Add all shell32 function stubs. Add more com. 2019-03-17 10:56:57 -05:00
John Benediktsson 112263ca3c crontab: avoid next-time being minutes in the past. 2019-03-17 08:55:36 -07:00
John Benediktsson 64d835e2bf parser: use ?first. 2019-03-16 20:33:40 -07:00
John Benediktsson 447e30ad41 ui.tools.listener: use ?first. 2019-03-16 20:33:16 -07:00
John Benediktsson b942caf3d7 io.directories.search: fix traversal test case cross-platform issues.
on Linux and macOS mojave they entries might traverse (a,c,b)
instead of (a,b.c) so we preserve the traversal method order
but sort for cross-platform testing.
2019-03-16 20:29:19 -07:00
John Benediktsson ada81e77f5 generalizations: fix funny mnapply/nspread* bug for n > 3.
It accidentally worked for n <= 3, now it purposefully works.
2019-03-16 19:58:07 -07:00
John Benediktsson d4fc53f10e models.delay: use restart-timer, it should actually be working. 2019-03-16 16:56:05 -07:00
John Benediktsson 49d9d21124 crontab: cleanup empty lines differently. 2019-03-16 16:48:41 -07:00
Doug Coleman 5048c39e0f build.sh: add compile/recopile to docs 2019-03-08 21:35:53 -06:00
Doug Coleman d6c3cff581 debian: Don't install gcc g++ on debian.
gmake assumes default CC is cc, CXX is g++ (not c++).
In order to make this sane (c++), we check if the shell variable CXX was set
and if so we honor it, else we set CXX to c++.
2019-03-08 21:19:33 -06: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
Doug Coleman 3f0ff53369 math.functions: add logit function and a test.
sigmoid is known as expit in scipy
2019-02-24 11:15:58 -06:00
Doug Coleman d70148e365 make: We don't need the flag. 2019-02-23 17:46:28 -06:00
Doug Coleman e639f23442 build.sh: Remove debug.. 2019-02-23 16:41:20 -06:00
Doug Coleman a9871b39aa vm: Fix DEBUG flag, make REPRODUCIBLE work like debug, minor fixes to build.sh
- ``make DEBUG=0`` caused debug mode because the check was ``ifdef DEBUG`` which is true even if DEBUG=0
- no need to ``#pragma message`` that we are doing a reproducible build imo
- clang warns about redefining builtin macros, turn the warning off for reproducible builds
- add ``./build.sh info`` as an alias for ``./build.sh report``
- show if we a reproducible in report/info
2019-02-23 16:23:33 -06:00
Cat Stevens 044f7bbe11 vm/master.hpp: optional reproducible VM compilation
The old behaviour of building with `__DATE__` and
    `__TIME__` is still the default, but now it's
    possible to use `-DREPRODUCIBLE=1` and the
    `REPRODUCIBLE=1` parameter to `make` and `nmake`.

Specifically, this replaces the value of
    `FACTOR_COMPILE_TIME` with the string constant
    `"[reproducible]"`. This is purely a cosmetic
    change.
2019-02-20 15:50:06 -05:00
Doug Coleman 29da71e2bf unix.kqueue: fix platforms. 2019-02-10 22:18:34 -06:00
Jack Lucas bddfb57dbe remove useless structure definition 2019-02-10 11:04:48 -05:00
Jack Lucas df90be1229 Fix stat so io test will finish 2019-02-10 11:01:31 -05:00
Jack Lucas 0c02a7c247 type name consistency 2019-02-10 03:28:28 -05:00
Jack Lucas 729518c5b1 Fix stat declarations, function: names, and dirent structure in ffi.freebsd 2019-02-10 03:24:34 -05:00
Doug Coleman 205018869b vm: Add freebsd32 support for completeness.
We need gmake on freebsd.
2019-02-09 19:40:54 +00:00
Doug Coleman 5d78ab55be basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back. 2019-02-09 18:50:15 +00:00
Doug Coleman 123327115d config.freebsd: Link the UI libraries into the Factor VM.
This should happen for other BSD platforms as well.
2019-02-09 18:49:29 +00:00
Doug Coleman 960ff85d31 build.sh: Add a compile option to compile only.
Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.
2019-02-09 18:48:42 +00:00
Jack Lucas c6c2377072 Fix typo in monitor file 2019-02-09 18:43:51 -05:00
Jack Lucas b259a2725c Fix monitor errors on startup 2019-02-09 18:38:20 -05:00
Doug Coleman d139924bf5 vm: Use the old FreeBSD os-freebsd.cpp so we don't need procfs installed (it's not mounted by default). 2019-02-08 22:07:02 +00:00
Doug Coleman 080303530a build.sh: Use gmake on FreeBSD and specify the number of cores. 2019-02-08 22:07:02 +00:00
Jack Lucas e3c189fa56 Fix merge error 2019-02-08 20:19:10 -05:00
Jack Lucas 6ab0996b1a Remove one mistaken author file 2019-02-08 19:20:20 -05:00
Jack Lucas 3154242a3a Re-add Freebsd Support 2019-02-08 19:17:30 -05: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 591a468800 assocs: Add ?delete-at. 2019-02-03 14:51:59 -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
Doug Coleman 3b5cbaff8c pack: Implement write-c-string for tftp.
Ruby has hella more string directives we could implement:
https://apidock.com/ruby/Array/pack
2019-02-03 13:34:33 -05:00
John Benediktsson c8da551a95 hamurabi: fix #percent-died. 2019-01-27 21:34:49 -08:00
Doug Coleman 16a79f1397 tools: Fix some issues and use base85. 2019-01-26 12:12:18 -06: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 0ae9b17734 mime.multipart: Simplify the code a bit.
Fixes #2107
2019-01-21 15:08:07 -06: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
John Benediktsson 4f240e0d25 timers: add test showing stopping timer doesn't stop a running quotation. 2019-01-15 17:31:14 -08:00
Doug Coleman 77515aa2a9 syndication: Remove dead code I added on accident.. 2019-01-12 18:06:03 -06:00
Doug Coleman f00bc7e08c syndication: Fix atom parsing.
This is the problematic feed:
  https://rfc1149.net/blog/tag/factor/feed/

Here's the validator saying it's ok:
  https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Frfc1149.net%2Fblog%2Ftag%2Ffactor%2Ffeed%2F
2019-01-12 17:52:55 -06:00