Commit Graph

23267 Commits (aa7f60ebbc9c87e09a9173e6916624e9c300052c)

Author SHA1 Message Date
John Benediktsson aa7f60ebbc math.functions: simpler without "simple-gcd". 2012-04-05 10:31:46 -07:00
Doug Coleman 23e00b9f85 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
John Benediktsson 1b8f1d9945 math: adding a fast-gcd that speeds up all ratio operations by up to 10 times for bignum ratios. 2012-04-05 09:17:52 -07:00
John Benediktsson 629677b772 vm: adding bignum_gcd primitive. 2012-04-05 09:17:35 -07:00
Doug Coleman f430475dc7 random: Add a k parameter for pareto. Add some unit tests. 2012-04-03 16:27:04 -07:00
John Benediktsson c1e0daf656 math.statistics: change 'var' to 'sample-var' and implement variance, covariance, and correlation. 2012-04-02 17:12:32 -07:00
otoburb 45870bfcd8 io.pathnames: removed dependency on environment.
I had an erroneous dependency on basis/environment.
2012-03-30 21:03:01 -07:00
otoburb f48ba4d2e1 io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/".
This mimics the same behaviour as "ls ~" in the shell, which expands the alias
as a directory, and not as a filename. For the specific edge-case where a
filename called "~" must have a path constructed to it (e.g. "./~" or "~/~").
2012-03-30 21:01:57 -07:00
otoburb 91d993cb2e io.pathnames: Added ~/ (tilde) prefix recognition as a special pathname.
vocab:, resource: and ~/ are special pathnames. Modified absolute-path word,
added test cases and updated io.pathname documentation.
2012-03-30 21:01:46 -07:00
John Benediktsson f874084682 random: adding triangular distribution. 2012-03-30 19:53:30 -07:00
John Benediktsson f88fff235f random: adding von-mises distribution. 2012-03-30 19:43:51 -07:00
John Benediktsson da687be68e random: implement gamma distribution, fix beta to use it. 2012-03-30 19:30:29 -07:00
Doug Coleman d4e0d9fd1c random: Change weibull-random-float to use alpha/beta parameters. 2012-03-30 18:38:18 -07:00
Doug Coleman 1942372eb5 random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie. 2012-03-30 18:04:45 -07:00
John Benediktsson ac0002f0ae random: 1 swap - was redundant. 2012-03-30 17:57:40 -07:00
John Benediktsson 273bc939c7 random: gauss-random-float is just normal-random-float. 2012-03-30 17:55:18 -07:00
John Benediktsson 1b2bf096f6 random: adding lognormal, exponential, weibull, pareto, gauss, and beta distributions. 2012-03-30 17:33:13 -07:00
John Benediktsson ce0e9aab98 math.vectors: separate "dot product" from "Hermitian inner product". Fixes #484. 2012-03-29 10:56:39 -07:00
John Benediktsson 42222fcaff Merge branch 'master' of github.com:mrjbq7/factor 2012-03-29 10:51:19 -07:00
Joe Groff e87c37ca0a io.files: check argv when initing resource-path 2012-03-27 16:58:12 -07:00
Joe Groff 1937aa9164 webbrowser: move to basis for tools.deploy.unix 2012-03-26 10:18:10 -07:00
Felix Kaiser 6b81c1f895 fix build for linux (issue #480). thanks, jcollado! 2012-03-25 14:45:17 -07:00
Joe Groff cb3e5ac2c7 parse -resource-path= during bootstrap 2012-03-25 14:02:32 -07:00
Felix Kaiser 38361b37ab fix build for linux (issue #480). thanks, jcollado! 2012-03-16 17:24:26 -07:00
John Benediktsson 633a83f88f wolfram-alpha: display error if query unsuccessful. 2012-03-07 17:55:23 -08:00
Doug Coleman 986f4208c3 units.imperial: How much is a liter? About eight gills. 2012-03-04 19:43:27 -08:00
Joe Groff 60650c8add ui.tools.listener: dumb hack to set listener font 2012-03-04 13:08:22 -08:00
John Benediktsson d2fb34f7da math.combinatorics: fix tests for next-permutation. 2012-03-02 10:05:57 -08:00
John Benediktsson 6cae745060 math.combinatorics: fix docs for next-permutation. 2012-03-02 09:55:22 -08:00
John Benediktsson ed37418a47 math.combinatorics: implementing "next-permutation". 2012-03-02 09:54:35 -08:00
Joe Groff a70c4eee44 audio.gadget: create/dispose clip on graft/ungraft 2012-02-22 15:46:45 -08:00
Joe Groff 7803daf4a8 add content-gadget hook for inspector
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff 8f3756c9d7 audio.gadget: printable audio play button 2012-02-20 23:49:01 -08:00
Joe Groff db28f69997 use clang when building w/ xcode >4.3; it's faster 2012-02-18 23:40:38 -08:00
Joe Groff 8ee0e1205d factor.sh: note xcode 4.3 command line tools req 2012-02-18 23:23:47 -08:00
Joe Groff cb28523e6e ui.gadgets.panes: add gadget-alt-text
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
Doug Coleman 4de748ff43 kernel: Change the example for with to be more clear. Division example credit goes to chezmax. 2012-02-16 09:49:08 -08:00
John Benediktsson 6203caf46f system-info.macosx: adding "Mountain Lion". 2012-02-16 08:30:56 -08:00
Guillermo Alcantara 7d2a473b3e Add the banner. It should give the instructions before asking for a guess. 2012-02-09 08:13:25 -08:00
Doug Coleman 74b1c8ba71 factor.sh: Install git instead of git-core for linux-deps.X 2012-02-07 12:57:52 -08:00
Doug Coleman 1fa68183c9 tools.ps: Add a simple Linux-only ps clone. 2012-02-03 17:30:34 -08:00
Doug Coleman 1280f4dfa2 unix.groups: Return an empty sequence if the user in 'user user-groups' doesn't exist. 2012-02-02 19:58:24 -08:00
Doug Coleman c282383adc unix.groups: Get the second parameter to getgrouplist from /etc/passwd. 2012-02-02 19:53:42 -08:00
John Benediktsson 53d45717e1 calendar: today is now midnight. 2012-02-02 19:47:05 -08:00
John Benediktsson f221b7b396 unix.groups: 64 ought to be enough, right? 2012-02-02 19:41:39 -08:00
Joe Groff dbbfdd7651 Revert "io.pathnames: Added ~/ (tilde) prefix recognition as a special pathname."
This reverts commit 4e10f09787.
2012-01-31 11:46:02 -08:00
Joe Groff 63f25a179e Revert "io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/"."
This reverts commit 251a2a19a6.
2012-01-31 11:45:51 -08:00
otoburb 251a2a19a6 io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/".
This mimics the same behaviour as "ls ~" in the shell, which expands the alias
as a directory, and not as a filename. For the specific edge-case where a
filename called "~" must have a path constructed to it (e.g. "./~" or "~/~").
2012-01-11 02:36:47 +00:00
otoburb 4e10f09787 io.pathnames: Added ~/ (tilde) prefix recognition as a special pathname.
vocab:, resource: and ~/ are special pathnames. Modified absolute-path word,
added test cases and updated io.pathname documentation.
2012-01-11 02:36:47 +00:00
otoburb a78c7b4577 client-docs: Updated HTTP PUT documentation typos 2012-01-11 02:33:05 +00:00