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
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
5d78ab55be
basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.
2019-02-09 18:50:15 +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
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
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
Doug Coleman
16a79f1397
tools: Fix some issues and use base85.
2019-01-26 12:12:18 -06:00
Doug Coleman
0ae9b17734
mime.multipart: Simplify the code a bit.
...
Fixes #2107
2019-01-21 15: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
Doug Coleman
c3569f02fa
io.sockets: When we throw an error upon failing to resolve a host, report the host name.
2019-01-12 16:31:13 -06:00
John Benediktsson
88617a9e65
io.monitors: cleanup using.
2019-01-11 08:19:59 -08:00
John Benediktsson
b66c23133e
heaps: cleanup using.
2019-01-11 08:19:50 -08:00
John Benediktsson
b7c43d6e04
models.delay: cache the timer, bug with restart-timer.
2019-01-10 21:41:34 -08:00
John Benediktsson
c2684d5875
io.streams.duplex: use >duplex-stream<.
2019-01-10 20:35:32 -08:00
John Benediktsson
75f36fa9c5
heaps: fix minor doc typo.
2019-01-10 16:47:45 -08:00
John Benediktsson
d29052c7b9
heaps: simplify code a little, use locals to expose heap-delete logic.
2019-01-10 16:44:22 -08:00
Jon Harper
1c28d326b1
heaps: add comments referring to pypy's heapq.py
2019-01-10 21:52:16 +01:00
Jon Harper
cc70de32a7
heaps: fix heap delete: sometimes we need to sift-down
2019-01-10 21:40:28 +01:00
Jon Harper
be24351a29
heaps.tests: remove dead code
2019-01-10 21:37:28 +01:00
Jon Harper
8a052aed92
heaps: check heap invariant during tests
2019-01-10 21:37:27 +01:00
Jon Harper
2a8643e936
heaps: bring back data-compare as heapdata-compare
...
It is useful in several places. Change the name because
0d7233f2da
changed the convention and data-* words now
operate on the data directly
2019-01-10 18:21:02 +01:00
Samuel Tardieu
2cfa457258
Fix bugs in heap-delete
...
When an entry is kept to be use later with `heap-delete`, its `index`
in the owning heap is automatically updated as the entry sifts up
or down.
However, if the entry is removed from the heap via either a `heap-pop`
or a `heap-delete` operation, its index is not invalidated and
the entry can still be used later with `heap-delete` and remove the
wrong element from the heap.
This patch invalidates entries when they leave the heap by setting
their index to `f`, and check the index in `entry>index`.
2019-01-04 07:27:28 -08:00
John Benediktsson
f8de0c1caa
db.sqlite: make sure select-tuple throws sql-table-missing etc.
2019-01-03 12:39:37 -08:00
Alexander Iljin
b8daf396e2
db.tuples[{-docs,-tests}]: add reject-tuples
2019-01-01 14:23:40 -06:00
Doug Coleman
4ba2ac3e78
Revert "db.tuples[{-docs,-tests}]: add reject-tuples"
...
This reverts commit 6cae2046b5
.
2018-12-30 22:29:54 -06:00
Alexander Iljin
6cae2046b5
db.tuples[{-docs,-tests}]: add reject-tuples
2018-12-30 20:31:35 -06:00
Doug Coleman
4db062cc1b
tools.directory-to-file: Fix using
2018-12-30 19:20:39 -06:00
Doug Coleman
ffcb7839f6
directory-to-file: Better nested syntax.
2018-12-30 17:08:00 -06:00
John Benediktsson
d9df9fc3cc
ui.tools.inspector: string inspection shows characters.
2018-12-30 12:51:10 -08:00
Doug Coleman
319e1e6ac3
editors.visual-studio-code: Don't memoize the vscode path and add code.cmd per melted's suggestion:
...
450730b612
2018-12-24 13:12:53 -06:00
Doug Coleman
9572c87646
io.standard-paths: Add yet another path for Windows.
...
My vscode is in ``C:\Users\erg\AppData\Local\Programs\Microsoft VS
Code`` for some reason and vscode stopped working. This fixes it.
2018-12-24 13:08:28 -06:00
Doug Coleman
08e5340c9d
furnace.auth: Rather have clean builds than loaded docs.
...
Fixes #2068
Fixes #2077
2018-12-16 12:35:31 -06:00
Doug Coleman
17ed798178
*.txt: Add newlines, fix some spacing
2018-12-16 12:04:35 -06:00
John Benediktsson
f879a012c5
ui.backend.cocoa.views: fix macOS mojave opengl issue with new windows.
2018-12-11 15:40:41 -08:00
Alexander Iljin
df7d4040bf
stack-checker-docs: fix articles "a" -> "an"
2018-12-04 18:43:32 -08:00
Alexander Iljin
6590e5d25d
stack-checker-docs: fix a typo
2018-12-04 18:43:32 -08:00
John Benediktsson
f3d1d785cd
xdg: remove memoize.
2018-10-19 22:28:15 -07:00
Benjamin Pollack
b52fc788bf
Support PUT and PATCH requests
...
Resolves #1431
2018-09-16 08:34:25 -07:00
Benjamin Pollack
84d480700c
furance.recaptcha: update to reCAPTCHA2
2018-09-14 20:58:52 -04:00
John Benediktsson
b246c06345
ui.gadgets.frames: default filled-cell to { 0 0 }.
2018-09-12 07:01:23 -07:00
John Benediktsson
91b17cb28b
furance.auth: fix some help-lint errors...
...
...if only loading furance.auth.
2018-09-07 15:25:50 -07:00
Pi
fd7e19b6a0
pick a better caret color for the dark theme
2018-09-07 10:02:25 -07:00
Pi
7a248c0cda
actually remove caret-color slot
2018-09-07 10:02:25 -07:00
Pi
7c383a52ba
make the caret color themeable
2018-09-07 10:02:25 -07:00
John Benediktsson
a51fd04d0b
editors.emacs: change emacsclient-args to fully override default arguments.
2018-09-03 08:06:26 -07:00
Doug Coleman
d4729bdde2
cocoa.messages: Add a Cocoa union type to import NSData.
...
Fixes bootstrap for macOS 10.14 for the error:
```
no-objc-type
name "("
```
Fixes #2059 .
2018-08-27 21:03:04 -05:00
John Benediktsson
4dcfefc0b9
timers: simplify stop-timer.
2018-08-23 20:37:20 -07:00
John Benediktsson
a27f560475
timers: fix issue with restart-timer after timer went off.
2018-08-23 20:32:01 -07:00
John Benediktsson
91e55dc02a
Revert "alien.data: Make with-scoped-allocation an $unchecked-example because it's breaking travisci"
...
This reverts commit 739fb5d94f
.
2018-08-21 13:12:28 -07:00
Alexander Iljin
0637557cca
*-docs: remove extra space character at the end of paragraghs
2018-08-21 10:45:52 -07:00
John Benediktsson
1b95fba178
Revert "io.files.temp: When using temp-file, it's possible that it fails since"
...
This reverts commit a274f99437
.
2018-08-21 10:44:10 -07:00
Doug Coleman
a274f99437
io.files.temp: When using temp-file, it's possible that it fails since
...
the temporary-directory does not exist yet.
Always check if the directory exists and create it if not.
2018-08-12 21:16:21 -05:00
Benjamin Pollack
2284178489
furnance.auth: fix documentation
...
The docs were attempting to reference the CouchDB auth provider, but
that fails, because the help vocab didn't include furnance.auth.couchdb.
Since the CouchDB auth vocab has some pretty serious caveats (see its
docs), remove it entirely for now.
Also fixes two minor typos in the furnace.auth.couchdb docs.
2018-08-12 11:12:22 -04:00
Mohamed Akram
ab53893cfe
help.tutorial: use array for test output
2018-08-04 17:24:39 +04:00
Mohamed Akram
6b97111735
help.tutorial: fix unicode vocabulary path
2018-08-04 17:23:29 +04:00
Doug Coleman
62f672c84d
editors.ui: merge the authors file hanging around on my local repo.
2018-08-03 10:39:30 -04:00
Doug Coleman
739fb5d94f
alien.data: Make with-scoped-allocation an $unchecked-example because it's breaking travisci
2018-08-03 10:38:42 -04:00
John Benediktsson
8d07e763d9
tools.hexdump: use re-decode.
2018-08-02 13:34:38 -07:00
John Benediktsson
dc25fe3688
ui.tools.listener: minor cleanup to completion stuff.
2018-08-01 21:08:43 -07:00
Doug Coleman
7999e72aec
Revert "lists: Add list literal doc example."
...
This reverts commit 47408528d0
.
2018-07-30 12:02:42 -05:00
Doug Coleman
6810fc42b0
Revert "lists: Add list literals."
...
This reverts commit ae74a794e1
.
The listener forces lazy lists, which is not what we want. We need a different approach for prettyprinting lazy lists.
2018-07-30 12:01:28 -05:00
Doug Coleman
3a5533dc44
layouts: Add 32bit? and 64bit? words.
2018-07-22 11:46:01 -05:00
Doug Coleman
12918ae2a5
escape-strings: Add a tag-payload word to make a string payload and tag.
2018-07-21 15:19:42 -05:00
Doug Coleman
279acbc53e
io.launcher: Add process-lines word.
2018-07-16 21:02:11 -05:00
Doug Coleman
39cbe60fd2
vocabs.platforms: Add <LINUX LINUX> sections that ignore code for the wrong platform.
2018-07-15 22:30:45 -05:00
Doug Coleman
47408528d0
lists: Add list literal doc example.
2018-07-13 22:58:57 -05:00
Doug Coleman
ae74a794e1
lists: Add list literals.
...
Fixes #2019 .
2018-07-13 20:36:50 -05:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Alexander Iljin
7298918029
windows.registry: add change-registry-value and delete-value
2018-07-12 23:33:14 -05:00
Doug Coleman
b21f9ed3eb
editors.ui: Make the editors ui its own thing.
2018-07-11 21:52:17 -05:00
Doug Coleman
cd2b8eee42
Revert "editors: Add a MAIN-WINDOW: to editors to easily reload editors."
...
This reverts commit cb4ca7cca4
.
2018-07-11 21:51:26 -05:00
Doug Coleman
cb4ca7cca4
editors: Add a MAIN-WINDOW: to editors to easily reload editors.
2018-07-11 21:41:46 -05:00
Doug Coleman
e17a352af3
system-info.macosx: Fix using
2018-07-09 09:10:27 -05:00
Doug Coleman
8a8399e633
tools.directory-to-file: Add a command-line program to make a directory into a file and restore it.
2018-07-09 01:59:58 -05:00
Doug Coleman
9b97da0658
calendar.format: Add a word to format time to a string for convenience.
2018-07-08 22:57:24 -05:00
Doug Coleman
97097fae2c
system-info: Add computer-name
2018-07-08 22:46:18 -05:00
Doug Coleman
565ac276cd
help.lint.checks: Ignore linux-monitors as not real leaks.
...
Fixes #2014 .
2018-07-07 17:32:06 -05:00
Doug Coleman
3ac520a8ec
io.pathnames: Add canonicalize-path.
...
The idea is to make a canonical representation of any path, taking into
account . and .. and unicode-prefix on Windows.
The use case is in a shell you have a current-directory and you can do
crazy commands like ``cd ../foo/bar/baz/../.././././`` and get the
canonical/shortened directory name. You can also use this word to
compare if two paths are the same.
2018-07-07 11:59:59 -05:00
Doug Coleman
f4ac9fcfca
cocoa.messages: fix docs..
2018-07-07 11:16:23 -05:00
Doug Coleman
57ee2553b3
grouping: Fix some spacing.
2018-07-07 11:14:57 -05:00
Doug Coleman
e5bd5f6719
help.lint.checks: Save lint disposables in hash.
2018-07-07 11:14:16 -05:00
Doug Coleman
79db3ca594
docs: fix docs for help-lint
2018-07-07 08:24:20 -05:00
Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -05:00
Doug Coleman
411a55314c
help.lint: Add a MAIN: to help-lint to test lint from command line like we already have for unit tests.
...
Also flush stdout for both MAIN: test apps.
2018-07-07 01:13:19 -05:00
Doug Coleman
06b07b9e9c
help.lint.checks: Fix regression in help-lint introduced in 8c158aa68f
.
...
We haven't been checking words in help-lint for two years! Ack!
2018-07-07 01:13:19 -05:00
Doug Coleman
e21125ac2c
tools.test: Print out test failures at the end of test main.
2018-07-07 01:13:19 -05:00
Doug Coleman
a3abec6f5c
ui.backend.windows: And fix the UI for LoadCursor.
...
Related to #2011
2018-07-06 21:26:27 -05:00
Doug Coleman
0f2466e6fb
windows.user32: Fix signature of LoadCursorW.
...
Also change a couple more that weren't exactly right.
Fixes #2011 .
2018-07-06 21:21:29 -05:00
Doug Coleman
0e51880199
math.matrices: Add some more matrix norms.
2018-07-04 16:14:44 -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
05c72e8690
factor: trim some long using lists.
2018-06-23 11:43:00 -07:00
Doug Coleman
06e85cc606
http.server: Actually use the port remapping instead of throwing it away.
...
For a port 8080 remapped to port 80, the ``or`` in this line looks like ``8080 80 or`` which doesn't get the remapped port.
Fixes #692 and #1992 .
2018-06-23 11:41:41 -07:00
Doug Coleman
2ca1b32580
help.lint.checks: remove debug to fix deploy 23
2018-06-20 06:49:25 -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
317ceee23c
tools.scaffold: delete from root cache but allow vocab to exist already.
...
If tools.scaffold fails, it is nice to rerun it to finish scaffolding anything it failed on and have it give you links to the files.
2018-06-15 18:09:21 -05:00
John Benediktsson
b854217796
tools.scaffold: quick fix for scaffold-vocab bug.
...
root-cache was getting added to with ``f`` and then subsequent check fails.
2018-06-15 15:51:45 -07:00
Doug Coleman
a33128a4b3
io.directories.search: link-info better than file-info because file-info can crash if the link is bad.
2018-06-13 22:31:39 -05:00
John Benediktsson
e19bb995fa
system-info.macosx: new code name Mojave.
2018-06-04 11:38:51 -07:00
Doug Coleman
aa87e69d25
Revert "VM: removing the unused callstack-bounds primitive"
...
This reverts commit c55a6ef873
.
This primitive is useful for fixing the macOS pthread bug and the javascriptcore library.
2018-06-03 22:12:28 -05:00
Cat Stevens
358eb29357
math.functions docs: add logn to "powers and logarithms" article
...
logn function was omitted from the subsections in "powers and logarithms"
2018-06-03 13:42:18 -07:00
John Benediktsson
0d7233f2da
heaps: simplify by using data vector directly.
2018-05-08 15:11:36 -07:00
John Benediktsson
9b2eac2942
math.functions: one line logn
2018-03-22 15:19:14 -07:00
Cat Stevens
4c96c9343c
basis/math: add logn to math.functions ( fix #1981 )
2018-03-22 15:11:45 -07:00
John Benediktsson
60fddddc0d
ui.gadgets.sliders: prevent negative elevator-length.
2018-03-22 10:01:14 -07:00
Doug Coleman
dc52e28f2f
windows.surface-dial: Add surface-dial COM interface.
2018-03-17 18:39:12 -05:00
Doug Coleman
123c5133f0
windows.com.wrapper: Fix up docs example so it runs.
2018-03-17 18:15:30 -05:00
Doug Coleman
1d1f827f9b
windows: Add some more win32 calls.
2018-03-17 11:19:02 -05:00
Doug Coleman
de43042ecf
editors.visual-studio-code: Fix command-line args url.
2018-03-16 18:22:57 -05:00
Doug Coleman
63a21cbdd1
io.launcher.windows: Actually support +new-group+ and +new-session+.
...
DETACHED_PROCESS doesn't do what we want. Also, the check for
`windows?`` in a Windows vocabulary is quite suspect.
2018-03-16 18:22:23 -05:00
Doug Coleman
f164f47e41
editors: Launch editors as child processes. Hopefully this is ok on
...
other platforms.
On Windows, VSCode gets launched as a child process, which kills the
editor when Factor exits. This is not what we want. Add an overridable
option to launch editors as child processes, which should get repated
when Factor quits.
The confusion comes from ``run-detached`` which itself just
waits until the child process returns (as opposed to "detaching" a child
process from the parent process, which is called +new-group+ or
+new-session+ instead).
2018-03-16 18:13:17 -05: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
c1f38d6864
Revert "fix a couple more tilde paths."
...
This reverts commit b139a896ef
.
2018-03-15 08:42:46 -05:00
John Benediktsson
1685c4537c
tools.scaffold: adding scaffold for error classes.
2018-03-14 20:27:17 -07:00
John Benediktsson
c4f9ae8071
tools.hexdump: fix tests for slightly changed output.
2018-03-14 15:52:40 -07:00
John Benediktsson
5acacf109b
unicode.collation: minor cleanup.
2018-03-14 15:46:10 -07:00
John Benediktsson
880ce3d4b5
tools.hexdump: smaller binary sizes without formatting.
2018-03-14 13:34:41 -07:00
John Benediktsson
ee83e0f0d3
tools.hexdump: don't require stream-length
...
for better stdin compatibility.
2018-03-14 13:29:47 -07:00
John Benediktsson
f83449b688
Revert "io.backend.unix: fix handle-length on stdin."
...
This reverts commit b54da0f22b
.
2018-03-14 13:29:47 -07:00
John Benediktsson
3f64af43e1
tools.hexdump: much faster hexdump.
2018-03-14 11:22:47 -07:00
John Benediktsson
4e872db628
tools.hexdump: adding deploy file.
2018-03-13 14:17:21 -07:00
John Benediktsson
70749aa736
tools.hexdump: support stdin hexdump.
2018-03-13 13:53:47 -07:00
John Benediktsson
b54da0f22b
io.backend.unix: fix handle-length on stdin.
2018-03-13 13:53:26 -07:00
John Benediktsson
5c69396fb3
tools.cocoa: fix use of each-method-in-class.
2018-03-13 13:28:35 -07:00
John Benediktsson
d259d7ccec
cocoa: cleanup ?-> syntax and implementation.
2018-03-13 13:21:21 -07:00
John Benediktsson
5e18e609b3
cocoa: change ?-> to always cache stubs in syntax word.
2018-03-13 11:57:40 -07:00
John Benediktsson
1bffdff33a
cocoa.touchbar: another experiment for the 10.11 build machine.
...
NSButton.buttonWithTitle:target:action: is 10.12 and later.
2018-03-13 11:29:16 -07:00
John Benediktsson
ade70ab813
ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax.
2018-03-13 11:09:55 -07:00
John Benediktsson
a4f6d43645
Revert "cocoa.touchbar: quick hack to experiment with 1t 0.11 build problem"
...
This reverts commit 9fbddec50e
.
2018-03-13 11:06:43 -07:00
John Benediktsson
4883242292
ui.backend.cocoa.views: cleanup some method signatures.
2018-03-13 11:05:18 -07:00
John Benediktsson
268dfecb0b
cocoa.messages: fix for ".cxx_destruct" selector name.
2018-03-13 10:38:33 -07:00
John Benediktsson
365584a644
cocoa.messages: bind classname.methodname selectors also.
...
We currently have a problem which is all selectors are assumed to have
the same method effect. The problem is we can have method collisions,
for example:
NSObject.load is { void { id SEL } }
NSBundle.load is { char { id SEL } }
So, this inferred wrong:
IN: scratchpad [ NSBundle -> mainBundle -> load ] infer .
( -- )
But now we can do this instead:
IN: scratchpad [ NSBundle -> NSBundle.mainBundle -> NSBundle.load ] infer .
( -- x )
It doesn't really fix the original problem, but its a way to workaround
it and added ``method-collisions`` to report on the conflicts.
2018-03-13 10:17:33 -07:00
John Benediktsson
9fbddec50e
cocoa.touchbar: quick hack to experiment with 10.11 build problem
2018-03-12 09:38:05 -07:00
John Benediktsson
551144b8a2
grouping: change chunking to throw bounds-errors in nth.
...
instead of the more confusing slice-error.
2018-03-05 16:57:52 -08:00
Alexander Iljin
e749734b01
ui-docs: add help for resize-window
2018-03-05 16:45:35 -08:00
John Benediktsson
cb71664787
checksums.metrohash: don't need uint8_t-array.
2018-03-05 16:29:10 -08:00
John Benediktsson
6ca7703831
ui.backend.windows: fix resize-window to use "adjusted" dimensions.
2018-03-05 14:57:50 -08:00
John Benediktsson
368a99b0e1
specialized-arrays: slightly faster nth-unsafe.
2018-03-04 20:48:10 -08:00
Alexander Iljin
1386b556af
windows.kernel32: add the FILE_* constants for GetVolumeInformation
2018-03-04 21:27:28 +01:00
Alexander Iljin
bc3a4ceb9a
db.types-docs: mention the +primary-key+ in the appropriate help section
2018-03-04 21:27:22 +01:00
Alexander Iljin
b197af9446
db.sqlite: support the +primary-key+ modifier
2018-03-04 21:16:15 +01:00
Alexander Iljin
97a2a9533c
multiline-docs: amend the help for /*
2018-03-04 21:16:07 +01:00
John Benediktsson
6f408e38bd
gobject-introspection: cleanup using.
2018-03-03 16:14:48 -08:00
John Benediktsson
75168c1964
gobject-introspection: using xdg vocab.
2018-03-03 16:13:23 -08:00
John Benediktsson
8d672a382a
checksums.metrohash: fix using in tests.
2018-03-03 16:11:33 -08:00
John Benediktsson
7a23242460
checksums.metrohash: adding a first version of MetroHash algorithm.
2018-03-03 14:17:45 -08:00
John Benediktsson
b2de82042c
io.encodings.8-bit: adding KZ-1048 and KOI8-U.
2018-03-02 16:09:21 -08:00
John Benediktsson
6d2abd0122
io.encodings.8-bit: adding cp424.
2018-03-01 10:48:08 -08:00
John Benediktsson
7836dc0fc9
quoted-printable: whoops tests needs latin2, not latin1.
2018-02-28 11:08:45 -08:00
John Benediktsson
6d1bb9e1ba
io.encodings.8-bit: reimplement M\ 8-bit encode-string.
2018-02-28 10:35:33 -08:00
John Benediktsson
f43f88e7f0
io.encodings.latin1: re-implement M\ latin1 encode-string.
2018-02-28 10:35:23 -08:00
John Benediktsson
1b3a07ca44
io.encodings.8-bit: save 37% memory space by "compressing" codetable.
...
Instead of a biassoc with from/to hashtables, we make a from array that
is 256 length, using indexing instead of hashing since we know 8-bit
characters are [0,255] and the to hashtable.
2018-02-28 10:22:13 -08:00
John Benediktsson
557a6cca69
io.encodings.8-bit: remove latin1 help for now.
2018-02-28 09:56:04 -08:00
John Benediktsson
e11009d1a8
Revert "tools.deploy: bump image sizes."
...
This reverts commit 980b426760
.
2018-02-28 08:56:01 -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
John Benediktsson
093e6411be
io.encodings.latin1: adding a memory efficient latin1 encoding.
2018-02-28 08:56:01 -08:00
John Benediktsson
7dd32181dd
io.encodings.euc: make encoding table read-only.
2018-02-28 08:56:01 -08:00
Björn Lindqvist
1887593b8e
tools.test: improved docs
2018-02-27 13:20:57 +01:00
John Benediktsson
5098628f57
tools.scaffold.windows: handle rename of touch.
2018-02-26 20:45:14 -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
43af9df6e0
tools.scaffold: rename ``touch.`` to ``scaffold-file``.
2018-02-26 17:21:27 -08:00
John Benediktsson
8af27125ec
use tilde paths instead of home append-path.
2018-02-26 17:17:15 -08:00
John Benediktsson
ca2612b906
io.encodings.8-bit: simplify by not implementing encode-string.
2018-02-26 15:19:53 -08:00
John Benediktsson
be5c7055ef
io.encodings.japanese: not used.
2018-02-26 15:02:44 -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
980b426760
tools.deploy: bump image sizes.
2018-02-26 12:13:35 -08:00
John Benediktsson
9cccb4de95
io.encodings.8-bit: adding CP874.
2018-02-26 11:45:11 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
f1030159af
io.encodings.iana: need IN: form for tests.
2018-02-25 20:25:37 -08:00
John Benediktsson
607de53ad3
more test IN: cleanup.
2018-02-25 15:44:16 -08:00
John Benediktsson
07d92b48e1
vocabs.refresh: slight cleanup.
2018-02-25 14:12:54 -08:00
John Benediktsson
4788bfba4c
vocabs.refresh: changing ``changed-vocabs`` to a hash-set.
2018-02-25 12:00:07 -08:00
John Benediktsson
d8813bf61a
help.vocabs: continue using convert-prefixes in $vocabs.
2018-02-24 18:11:26 -08:00
John Benediktsson
c48d3da8b5
tools.scaffold: revert previous commit.
2018-02-24 18:01:55 -08:00
John Benediktsson
b7d763a6e0
tools.scaffold: include vocab-root in error message.
2018-02-24 16:07:24 -08:00
John Benediktsson
68eb683387
tools.scaffold: make sure vocab does not exist.
2018-02-24 15:49:32 -08:00
John Benediktsson
c99ab4a652
help.html: cleanup using list.
2018-02-24 15:45:02 -08:00
John Benediktsson
cc0c5f2634
help.html: "no-roots no-prefixes" has a name, "filter-vocabs".
2018-02-24 15:45:02 -08:00
John Benediktsson
f96fb3bcc8
help.html: remove funky vocab-prefix hack.
2018-02-24 15:45:02 -08:00
Björn Lindqvist
3b36e969b2
math.statistics: the sample and population mean is the same
...
Afaik, the mean word works both for population data and for
samples. Which is different from standard deviations, where you have
different formulas for population and sample std.
2018-02-24 23:11:22 +01:00
Björn Lindqvist
97d9cee732
math.matrices: rename for consistency
...
Getting the sample cov matrix is actually much more common than getting
the population one.
2018-02-24 23:11:22 +01:00
John Benediktsson
3d1fff6572
db.tuples: use natural-sort in test case.
2018-02-22 14:23:22 -08:00
John Benediktsson
d573d44da1
db.tuples: simplify recreate-table.
2018-02-22 10:19:50 -08:00
John Benediktsson
da877c9e47
db.tuples: use recreate-table in tests.
2018-02-22 08:46:39 -08:00
John Benediktsson
a2ded18a0b
db.tuples: fix tests for select-me table not exists.
...
the first time run, the table can't be dropped because it doesn't exist.
2018-02-22 08:26:28 -08:00
Alexander Iljin
0d7fdb92b5
db.tuples-tests: add tests for each-tuple and update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
e3a2cf3a0f
db.tuples[-docs]: update copyright headers
2018-02-21 15:05:20 -08:00
Alexander Iljin
9e13db52a7
db.tuples[-docs]: add update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
16be5d0353
db.tuples[-docs]: add each-tuple
2018-02-21 15:05:20 -08:00
Alexander Iljin
e077aad163
db.{tuples,types}-docs: fix an indefinite article
...
Replace "a SQL" with "an SQL".
2018-02-21 15:05:20 -08:00