-
consider automatic formatting support ala
go fmt=>eslint --fix -
add NPM style guide with versioning info
-
determine how to handle internal
@stdliblinks in READMEs=> use pkg name as unique identifier and use tools to autoupdate READMEs with desired link (e.g., to GitHub README for pkg or to web docs, etc)
-
create an
docs/install.mdfor developers- julia
- R
- python
- golang
- boost
-
determine a browser testing strategy
- could run into memory issues if all numeric tests are run for all functions, etc.
- one possibility is to loop through all files and run each individually (browserify, testling, and repeat)
- may have to punt browser testing to individual repos (!) => that is too late, as module would already be deployed
-
std polyfills?
- typed-array
- ...
-
add unit tests for all pkg CLIs
-
how to handle browser tests for non-browser fcns
- e.g.,
fsfunctions likefs/exists, orcwd - one option is to simply skip tests (which is most likely appropriate for most cases)
- another option is to use a virtual fs backend in which, to a user, fs commands "behave" just like in Node (which is appropriate for other contexts; e.g., a browser REPL with a virtual filesystem)
- e.g.,
-
migrate JSDoc; use one of
-
debug eval sources
-
livegrep for
stdlib? Maybe have sthg hosted? Would be an advance over GitHub search as GitHub search often shows results which happened far back in commit history, when what you want is results from the current state of the repo. -
See tinycolor
-
consider changing
isNumbertoisNumeric -
prngs
- Tyche
- pcg
- random123
- sfmt
- randamu
- gsl
- rand_r
- collection of lcgs
- Lehmer LCG
- lcgs
- better rngs for JavaScript
- d3-random
- gauss-random
- lcg-random
- randy
- randgen
- random.js
- seed-random
- random-js
- seedrandom
- xsrand
- modulo bias
- diehard tests
- dieharder
- RNGTest.jl
- ziggurat
- Matlab's randn
- Gaussian random number generators
- V8's previously poor implementation
- xorshift+
- chrome thread
- thenextweb
- hackaday
- betable post
- estimating pi
- xorshift scratch
- randint
- rc4 encryption
- xorshift-add
- tinyMT32
-
Makefiletarget to run test fixtures- detect script type; e.g.,
R,python,Julia,Golang,C,C++, orJS - can be as simple as filename extension
- of course, may also want to use a shell script to run tests (
.sh) - for files without an extension, assume executable
- run the script
- may want to
chmodthe script, so do not need to know the system alias for the runner environment (e.g., Julia =>julia) and can leverage internal shebang - if part of CI, would allow continuous testing against an updated fixture space and would also allow continuous testing that fixture runners work
- detect script type; e.g.,
-
should
utils/function-namesupport generator functions?- a separate function?
-
replace
requirestatements of external compute modules -
tests for top-level
tools; e.g., JSDoc templates, etc -
deploy
platocomplexity report to gh-pages- similar to JSDoc source docs
-
type-ofshould check fortoStringTagsupport -
generic
is-finiteutil should include note about how differs from globalisFinite -
create better examples for constants
- e.g., how and why and in what contexts a constant may be used
- e.g.,
float64-max-exponent=> useful for randomly generating numbers across the entire range of possible numbers (sort of, as only 1. decimals => logspace)
-
investigate textlint
-
project stats
- use ndu to visualize dependency size
- use disc to visualize browserify output (see also browserify-size)
- cost-of-modules
- get-nps
- could do something akin to issue stats but locally and/or only including project modules/repos
- later project stats can be displayed in a separate webpage
- see visualcinnamon.com for inspiration
-
FIX: security vulnerability when using
rm -rfin Makefile rules -
Makefiledoes not list top-levelexamples; is this intentional? -
add Saucelabs with zuul (?)
-
may be useful: browser-repl
-
module to identify equations in README files
- parse
- generate svg
- generate html
- commit
- insert into readme (replace anything already existing)
- similar to Makefile test targets, include a target to filter and selectively update README equations
-
jsdoc HTML template
- needs a total refactor
- browserify pipeline
- mathjax
- see documentation.js and turf
-
tailor Mathjax config
-
a project reference manager?
- something akin to bibtex; i.e., a centralized list of references which can be globally referenced (e.g., IEEE754, as the Wikipedia reference, etc)
- an individual module, when created, would get the global link included in the README
- an individual module could override a reference by including a different link, but having the same "tag" in its README
- academic markdown and citations
- scholdoc
- scholarly markdown
- scholarly markdown guide
- R markdown
- Citeproc JSON
- citeproc-js
- bibjson
- multimarkdown
- tidying Markdown reference links
- ...
- separate bib doc(s), which can be readily converted to JSON (e.g., TOML or YAML), thus allowing comments (or maybe even a JSDoc like syntax and something akin to typedefs)
- in Markdown, use citation markup strategy similar to scholarly markdown
- given a Markdown file, create a list of two things: the unique citation identifiers used throughout the text and any citations included in the
linkssection - ignore internal links to other Markdown sections
- if an id is found in bib docs, use that reference
- otherwise, leave the existing ref as is
- as part of this, should be able to lint
- once finished, save to disk
- does require a separate build step, but can be automated
pre-pushor viawatch - how would we distinguish (in markup) between just wanting a link and wanting a full-blown reference citation? => maybe if within a
referencessection, similar tolinks
-
consider standard-version
-
add to contribution guidelines
- bluebird
- optimization killers
- HTML5 Rocks
- v8-perf
- chrome devtools
- monomorphist
- constant propagation
- loop invariant code motion
- dead code elimination
- inlining
- loop unrolling
- verify results
- http://mrale.ph/blog/2013/08/14/hidden-classes-vs-jsperf.html
- http://mrale.ph/blog/2012/06/03/explaining-js-vms-in-js-inline-caches.html
- http://mrale.ph/blog/2012/09/23/grokking-v8-closures-for-fun.html
- https://www.youtube.com/watch?v=65-RbBwZQdU
- http://mrale.ph/blog/2012/12/15/microbenchmarks-fairy-tale.html
- http://mrale.ph/blog/2014/02/23/the-black-cat-of-microbenchmarks.html
- http://mrale.ph/blog/2013/04/29/performance-tuning-as-weather-forecast.html
- https://floitsch.blogspot.de/search/label/V8-optimizations
- https://floitsch.blogspot.com/2012/03/optimizing-for-v8-inlining.html
- https://mathiasbynens.be/notes/javascript-benchmarking
- https://github.com/sq/JSIL/wiki/JavaScript-Performance-For-Madmen
- http://mp.binaervarianz.de/JS_perf_study_TR_Oct2015.pdf
-
in all tests (and examples), replace
Math.randomwith a seededlcg- for tests, be sure to record the seed so that failed tests can be debugged
- could have seed be an environment variable, so could be set in CI environment
- module to get a seed; one method used could be to check env var
-
investigate nbind
- could be useful for, say, Boost bindings
-
Deploy a webhook server to aggregate 3rd party tools notifications (?)
- Travis CI
- AppVeyor
- Codecov
- Code Climate
- Circle CI
- GitHub
-
make Travis and Appveyor build badges the same dimensions
- currently, Appveyor includes a logo
- could use shields.io
-
consider using svgo to minimize eqn svgs
-
C++ style guide => use
*.cppand*.hpp -
find inspiration for the JS style guide from C++ core guidelines
- include ESLint rules for each (where applicable) guideline
- include references (e.g., perf, fast elements, etc)
-
add code climate badge
-
consider using tools for linting files other than JavaScript
- alex
- retext-readability
- css linting and stylefmt
- list of style guidelines
- see autopep8 for automatic formatting
-
on src doc build for
gh-pages, also do the same fordevelop; e.g.,/docs/src/develop, which could map tohttp://a.b.c/docs/src/develop- would allow a "preview" alongside current prod
- will also want src docs for each version
-
investigate whether bit operators would be better for
is-evenandis-odd -
browserify transform to load all "man" pages (e.g., readmes or actual
manpages)- allow help docs to be loaded into a browser for interactive environments
- store in local storage (?) or in-memory
-
load modules into a REPL
-
man pages can be READMES (or not; may require separate
usage.txttailored to REPL env) -
can these be dynamically compiled/transformed at runtime, or will startup time be too slow
-
dynamic would be nice, as then would not need to maintain a separate collection of
mandocs- need some way of determining which modules are exposed in the REPL (could possibly parse the context files a la browserify, find
requirestatements, and build), finding their READMEs, transforming, and then building a hash table for printing in the REPL
- need some way of determining which modules are exposed in the REPL (could possibly parse the context files a la browserify, find
-
-
help(blas.copy)(orhelp("blas.dcopy")or? blas.dcopy(like Julia)) -
with
maps, should be able to use function reference (symbol) as key -
refs
-
ASCII charts
- should be able to create an isomorphic API with browser charts
- ability to open chart in browser
- sparkly
- jstrace/chart
- bashplotlib
- node-cli-graph
- ASCIIPlots.jl
- asciiplot
- node-clear
- ansi-escapes
- node-charm
- gvz
- UnicodePlots.jl
- TextPlots.jl
-
ASCII tables
-
should be able to load a REPL context in a browser
-
meaning, should be able to fairly seamlessly have a session in a terminal which is "transferred" to a browser context, including shell history and, say, charts (ASCII to an SVG equivalent)
-
would allow "sharing" a REPL sequence (work in the terminal; load session to browser; generate page; send link/page; recipient load and can start where sender left off)
-
black-screen terminal emulator
-
see hyperterm
-
-
README to man doc (see above)
- cannot directly print a raw README, as will contain markup
- will need to transform into plain text
- writing manual pages
- formatted man page
- ubuntu
- linux
- man-n
-
interactive JSON editor
-
REPL incremental json
-
enginesfield- have a script which mines the individual
package.jsonengine fields and determines, in aggregate, the supported engine range for all pkgs and assign as the engine range for the "aggregate" - can also lint (search pkg deps, check engine field, and see if compatible)
- have a script which mines the individual
-
intro how-tos
-
evaluate using inch for src code documentation evaluation
-
link gitter to slack (prob requires a hook server)
-
investigate xonsh
-
investigate async but awaitful
-
list-modulesMakefile recipe- can be used in conjunction with dep analysis to see which modules are not required by a file, etc; e.g., which modules are not included in a namespace.
-
list-required-modules(name?) Makefile recipe- should analyze
requiregraph (alabrowserify) to determine dependencies - should work for a single file or a directory
- for directory, may want to dedupe (flat array), a tree result which states which modules require which modules (similar to a node dependency graph), or, for every found module, the deps for that module (array of arrays)
- see automation/package.json item below
- a tree representation could be useful as would allow metrics such as tree "depth", in which we can identify files/modules/pkgs with "deep" trees
- should analyze
-
investigate npm-publish-please and
np(Sindre)- not sure a separate tool is necessary, but may find inspiration
-
REPL startup file, similar to
startup.m- either command-line option or via a REPL config file
- could possibly use
configstore, or something similar, to cache the config
-
to browser (see tools/simple-http-server)
- bpipe
- bcat
- hcat => could be inspiration for piping data to a chart
- scat
- browser-run
- budo
- simple-html-index
- http-server
- ecstatic
- glance
- wzrd
- serve-static
- st
- chart-stream
-
cross-platform open browser
-
ability to run examples in a browser => Makefile target
examples-browser- can use
simple-http-server(or evendisposable-http-server) - packify
- option to stream to multiple browsers (tabs) in parallel (akin to parallel builds)
- would also be nice to have editor support (e.g., keyboard shortcut to run current file in a browser)
- can use
-
build step which runs examples in browsers and catches any errors
- could possibly listen on
window.onerrorto trap uncaught exceptions - setup similar to
testling, but without needingTAPoutput; basically, do any errors occur or not - will probably need source maps, otherwise will be difficult to debug
- as a half-way measure, could intercept
consolemethod calls, pipe back to server, and then keep a rolling log cache; when an error is received, could stop running examples and print the cache
- could possibly listen on
-
bring
globin-house -
review CoC for more community oriented policies
- add note about right to delete offending comments, etc; e.g., Chakra core
-
add JSDoc style guide to JavaScript style guide
-
include annotations
// Strict equality: // returns 3.141592653589793 // Approximate equality (use roundn(x) and then strict equal): // returns ~3.14 // Deep equal: // returns {'a':[1,2,3]} // Deep equal (mutation): // x => [ 1, 2, 3, 4, 5 ] // Deep equal: /* returns { "a": [1,2,3], "b": {"beep":"boop"} } */ // Deep approximately equal: /* returns { "a": [~1,~2,~3], "b": {"beep":"boop"} } */ // Wild card continuation: /* returns [ "beep", "boop", ... ] */ // Deep equal (matrices): /* returns x[':'] = [ 0 0 0 0 ] */ // Deep approximately equal (matrices): /* returns mat[':'] = [ ~3.1. 0 0 ~3.1. ] */ // Wildcard (matrices): /* returns A[':'] = [...] */ // Deep equal (ndarrays): /* returns x[':,:,0'] = [ 0 0 0 0 ] x[':,0,:'] = [ 0 0 0 0 ] x['0,:,:'] = [ 0 0 0 0 ] */ // Type equality: // returns <boolean> // Type equality: // returns <string[]> // Type equality (instanceof): // returns <RegExp> // Type equality (instanceof): // returns <RangeError> // Type equality instanceof): // returns <Foo> // Type equality + deep equal: // returns <Float64Array>[ 1, 2, 3 ] // Wildcard (string): // returns '...' // Wildcard (array): // returns [1,...,10] // Wildcard (object): // returns { "a": ... } // Options: // returns true || false // Options: // returns <Error> || null // Formatted (string) (?): // returns => printf('%f', ?) // Wildcard: // returns ... // Throws: // throws <TypeError> // Output to terminal: // beep // Output to terminal: // ... // Output to terminal: // {"beep":"boop"} // Output to terminal: // <boolean> // Insert figure: // +> <figure data=?> // Insert figure: // +> plot(x, y)var fs = require( 'fs' ); fs.readFile( '/path/to/beep.js', onRead ); function onRead( error, data ) { if ( error ) { throw error; } console.log( data.toString() ); // => '...' }
$ node ./bin/cli ... ...
$ node ./bin/cli e.g., 2016-05-24 08:42.34 Beep boop blah blah.
-
examples of modules, functions, constants, regexps, etc.
-
need a convention for client-side and server-side only examples
-
could use
@browseronlyand@nodejsonlyspecial annotations, akin to@privateand@public
-
-
electron ui for creating a
stdlibbundle (could support rollup, webpack, browserify) -
for browser REPL, use a virtual filesystem
fsand other filesystem methods should remain the same- difference is that files are not written to disk, but to, say, IndexedDB
- would allow for an "isomorphic" REPL and the ability to run all tests and examples on both the server and client
- filer
- os.js
- filesystem API
- emscripten
- idb.filesystem.js
- filer.js
- browserFS
- browser-sync-stream
-
Add Markdown style guide, including notes about comment annotations, equations, etc.
-
Add note about ES2015 features in JS style guide
- Backward compatibility is important
- Only use if can polyfill
- Must provide a polyfill
- No compile steps
-
Function matrix across different environments (equivalents)
- matlab
- python
- julia
- go
- r
-
C/C++ linting
- cpplint: tied to Google Style Guide
-
Julia linting
- lint.jl: no apparent CLI (and very slow :|)
-
doc viewer
- modified
SimpleHTTPServerwhich serves READMEs converted to HTML - for equations, instead of SVG, use MathJax
- could also insert live figures (main, as margin notes)
- an extension would be to make the code samples interactive
- gateway to running benchmarks, tests, and examples in-browser
- how would we annotate for reactive documents? inline comments? spans?
- how would we annotate asides/notes? maybe not necessary for standard module READMEs. Possibly via spans.
- modified
-
remark-insert-svg-figure plugin
- requires codifying a comment markup syntax, which can take inspiration from how equations are documented in Markdown
-
make inittarget- can setup
makie - if have
make list-cli-modules, can usenpm linkto install cli utils - setup git hooks
- install deps
- run tests, test-coverage, benchmarks, lint, etc
- can setup
-
add a
run.sh(build.sh?) file intest/fixtures, which would provide a common entry point for running test fixture runners. Currently, need to know the lang to run. And while the name is the samerunner.*, the procedure for running the scripts is not. A common entry point would abstract away the differences.- Delegating to a script would mean that each script would assume aliases (e.g., use
Rscriptto run R code, etc), but could vary depending on the author/host system. In this case, centralization (e.g., having this knowledge inmakewould make more sense).
- Delegating to a script would mean that each script would assume aliases (e.g., use
-
JS style guide
- declare functions using function declarations; also include another note about anon functions
- use strict section should add notes re: node vs browser
- use self section should include note about dynamic scoping of
thisvariable - status code example has a bug (send should be status)
- examples should use native built-ins, rather than implicitly rely on modules such as
requestandexpress - comments: "compared to multi-line"
- all style guide code should be runnable
- add note about module order (external before internal, etc)
- add note about not using
/**unless JSDoc - add note that module description should propose action (e.g., "Test ..."), while function descriptions should be in active tense (e.g., "Tests ...")
- add note about file naming conventions (no uppercase, use of snake-case) => need to put in separate style-guide, as not JS specific
- see #79
- add rule to JavaScript style guide about not using built-in functions, especially math functions, linking to various accuracy issues and highlighting that browsers often sacrifice accuracy for speed
- add rules about not using
Number,String, andBooleanconstructors - add rule about using source URL directives in eval'd code
- add rule about including decimals when working with numbers; e.g.,
3.0 - principal of least abstraction => part of "The Stdlib Way" (inspired by The Unix Way)
- add note about
if(){return;}else{return;}being unnecessary indentation
-
README link to "live" (e.g., gh-pages) docs (badge)
- may also apply in reverse, going from "live" to source
-
check that JSDoc annotations include
@throws -
need a convention for defining README examples which are for illustration purposes only and not meant to be run
- e.g., an example which is path dependent and cannot be known ahead of time, as it depends on user environment, etc.
-
add
__stdlib__field topackage.json- allowing setting whether a module is browser-only, nodejs-only, etc and whether a module is suitable for a REPL context, etc.
-
proposal: add
@syncand@asyncJSDoc annotations to document synchronous and asynchronous functions, respectively -
investigate
bpkgas a package manager forbashscripts- could be useful for test runners, etc.
-
investigate starscope
-
profiling
- v8-profiler
- node-inspector
- node-webkit-agent
- node-stackvis
- devtool (blog post)
- --prof-process
- v8-profiling
- chrome://tracing/
- v8 profiler docs
- v8 perf
- v8 performance profiling
- node-tick
- node-tick-processor
- v8 profiling
makerecipe- bring the V8 log processor in-house (tools, wiki, outfile, node-tick)
- heatline
-
analyzing the dependency network => should be able to perform a similar analysis internally
-
sine browser example
- could do something similar for other trigonometric functions
-
stability badges
- may be good to have stability badges for methods / modules in order to indicate if a particular API is experimental, stable, locked, or otherwise
package.jsonfield =>"stdlib":{"stability":"experimental"}
-
makie(andmake) target to initialize a module (copy files from snippets to a destination directory) -
use signed commits
-
string similarity measures?
-
more datasets => some are not that interesting; others possibly
-
write own
deep-equalalgo- when complete, replace any use of
chaifor testing
- when complete, replace any use of
-
evaluate bithound
-
utils/copy
- should
preventExtensions,seal, andfreezebe extended toobjectsbeyondObject,Array, and class instances? WeakMapsupport (?) => not convinced this is viable due to weakly held references; i.e., getting a list ofkeysrequires maintaining a separate list.WeakSetsupport (?) => seeWeakMapaboveSymbolsupport => requires the ability to get primitive value- structured-clone-algorithm
ArrayBuffersupportBlobsupportFileListsupportImageDatasupportImageBitmapsupportFilesupport
- should
-
research pull-streams
-
see makefile for the frontend for possible inspiration for frontend tasks
-
should
float64-signbitreturn aboolean(like Julia) or a1or0? -
licenses utilities
- licensee.js
- license-checker
- .licenserc
- licenserc.js
- licensing
- licenses
- licensecheck
- nlf
- license-to-fail
- license-list
- as part of public docs, can generate a list of deps and their licenses; can do the same for
stdlib/lib/**modules, so that all licenses for the individual mods/deps can be viewed together - recipe to plot license distribution as a bar plot (?) => could be part of public facing docs
-
investigate test-all-versions
-
rr: record and replay framework
-
Investigate the concept of markembed for embedding content in Markdown files
-
Use cases for
remarkplugins:- reference management
- conversion to RST
- conversion to HTML
- figure (static) insertion (similar to equations)
- appending/removing sections en masse
-
GitHub issues as a blog
-
sync-request => useful for REPL
-
include a creditcard validation module?
-
adventures / workshoppers
-
build script which reruns the latest commit on
developeach day => helps ensure, even in the absence of fresh commits, that we are testing the environment, etc. Would need to be a cron job triggered from a remotely hosted service. (note: this means that themasterbranch should never run the dep check to ensure up-to-date dependencies; otherwise,mastercould fail for non-test related reasons)- for dep check, build script which acts similar to greenkeeper => creates/updates branch, if check deps fails, auto-installs, runs full build (tests, examples, etc), and checks if fails.
-
plot svg components should have factory methods
-
investigate nfty for sending desktop notifications for long-running commands (e.g.,
Makefilerecipes => would need to check if CI environment) -
Annotations overlay,
xvalues with text
-
Evaluate check-build
-
Evaluate rewind
-
see webtorrent-desktop for electron inspiration
-
30-day challenge => should be able to do sthg akin using stdlib
-
svg components: move
methods/render.jstorender/index.js -
sparkline rug plot
-
review stem and leaf unicode plot
-
add unicode sparklines to namespace => requires abstract interface
-
refactor plot electron renderer
-
ability to "plot" tables?
-
Should plot
autoRenderbe "opt-in", rather than "opt-out"? -
remarkjs for Markdown slide shows for workshop slides?
-
Visual intro to machine learning
-
Refactor
makeworkshops recipes -
mbtaviz and Github org
-
create separate discrete and continuous distribution namespaces (at same level as general
distnamespace) -
Investigate hyperterm
-
math-input and mathquill
-
For Nightingale's rose dataset, generate an SVG figure with code, rather than use a static image
-
bats: bash automated testing; could also be useful for testing CLI scripts or urchin: shell tests
-
investigate using now for deploying demos requiring a Node.js server
-
Google trends data => note, this needs to be under an appropriate license before being used (currently unlicensed)
-
investigate iron-node
-
See casual for dataset inspiration
-
GitHub issues Gantt diagrams
-
gh-board - kaban board using GitHub issues
-
investigate docstrings: useful or not?
-
For running electron tests, see atom-test-runner
-
Add dev guide for developing on windows
-
add a Makefile (and
makie) recipe to show disk usage for a given directory -
see ava.js for supporting docs (e.g., github templates, build scripts, etc) inspiration
-
create a bot which tails NPM for math related modules
-
bot which tails RSS feeds of select math repos and each day retrieves
- number of stars/watchers
- number of issues (total, open, closed)
- number of commits
- number of contributors
-
investigate pkgfiles as a dev tool to determine which files will be published to npm
-
investigate slow-deps as a dev tool to analyze dependency install times
-
consider including governance docs
-
investigate jailed for running JS code in sandbox (and also vm2)
-
Non-node platform detection?
-
may be worth investigating klipse for live code editing
-
See if anything good from here
-
ability to create a gist from the repl
- part of tools
- auto browserify scripts? Or create
package.jsonwhich installs individual pkgs
-
processas astdlibutil (or some other namespaced) module (or maybe, likecwd, the individual props as mods) -
Add tool to detect whether a function can be optimized => note that this is Node.js/V8 specific
-
GNU parallel for distributed tasks
-
investigate vm2 for sandboxing
-
For
master,develop, and PRs intomasteranddevelop, run full build sequence; for all other branches, is it necessary to run full sequence or just, say, tests? or maybe for other branches, only run tests, examples, benchmarks for files which changed (similar togitpush hook)? -
Linter for dirnames (akin to filenames)?
-
convert filename linter to use plugin architecture?
-
generate random strings based on a regular expression
-
timed tape tests...useful?
- once
tapeis brought in-house, could make part of the lib
- once
-
Consider setting up jenkins for CI (notably Windows)
-
investigate mancy
-
semver regex
-
Could this tutorial (and associated tutorials) be made interactive?
-
Image datasets
-
Consider replacing
testlingwith tape-run -
ccount but generalized to array-like objects
-
print-object-as-tree utility
-
Consider something like credits
-
NLP data (note: ambiguous licensing)
-
Fix SOTU raw text where
\&mash;was converted to a single hyphen- -
Consider using shrinkpack to create reproducible, more reliable, and faster builds in CI environments
-
pkg which can generate an Anscombe dataset
- simulator
-
Electoral college box scores
-
Electoral college votes by state
-
datapackage.jsonschemas -
Does
is-typed-arrayneed to address symbol toStringTag? Ditto for which-typed-array?- yes
-
single-line-stream
-
is-utf8, is-valid-utf8, strip-bom-buf, strip-bom-stream, has-bom
-
bring
minimistin-house -
bring
JSON.parsein-house to provide better error messages. Can default to native and, on error, re-parse with userland implementation to provide more extensive error messaging. -
see static-eval
-
perf improvements for
dirnameandextname. -
A constrained RegExp implementation?
-
fs-walk(see alsoos.walk);fs-walk-folder-tree;module-walker -
readdirp, mkdirp, rmdirp, etc.
-
dependency docs (static site; use simple server)
-
make recipe to read a dep readme and launch in an electron window/browser
-
reserved words and reserved words and keywords
-
a branch (based on
master) which every month is run against every single Node version since0.10.0(may want a separate Jenkins server for this) -
Given an import-require tree, should be able to statically detect cyclic deps and flag
-
pkg keyword force/network diagram where edges are pkgs and nodes are keywords
-
Anything worthwhile?
-
working remotely adapted for project communication
-
node-help: repl docs
-
envify => when browserifying environment dependent tests to be run in the browser, can use to inline env vars
-
typed array binary string
-
should http/s-server support graceful shutdown? If so, should update some of the tests which had to manually close connections
-
more images: good photos of cats, interesting features for training models, etc
-
git stats
-
link checking
-
commitizen: in place of
git commit- See also lint
- angular convention
-
is-iso-8601 (see here)
-
Generate a diff before publishing to
npm -
loc per language over time (requires investigating repo at each commit;
git log, extract commit hash, checkout each hash, run script, move to next hash, etc) => use Node to manage async -
classifying commits based on commit message keywords
-
Determine a means to distinguish source code, comments, and empty lines when computing SLOC
- use to derive a comment-to-source ratio
- can extend to source-to-test ratio
-
AWK hist fcn
-
bring
tapein-house -
lint bib for duplicate ids. If identified, need to search for all references using duplicate ids and disambiguate/update
- tool to allow searching for author name and return list of refs with identifier so an author can easily find an identifier without needing to search the raw bib file.
- requires bib parser
-
power-divergence and other associated tests
-
for each push, run an analysis to determine if any SLOC changed. If only comments and/or docs, don't run unit tests.
- may still want to run linting of docs and, e.g., JSDoc comments
-
batch generation of exponential RVs?
-
life expectancy by country
-
robust arithmetic?
-
stable JSON stringify
-
Sieve of Erastothenes, stack overflow, Sieve of Atkin, Sieve of Sundaram
-
fast algos, fastpow, CORDIC, trig, math-prims, ACML, l2approx, fast approx, fast and accurate sine and cosine, rosetta commons, jmonkeyengine, fmath, fastermath, SkipCTS, see also Julia fastmath
-
Consider more specialized folders for
base/specialpackages (see MATLAB's functionlist) -
as part of the repo dashboard, a plot of build volatility per branch (pull data from various CI)
-
data structures
-
during decomposition, each pkg has own gh-pages branch and each README HTML should have a tree menu linking to other pkg repo docs. Requires tree menu tool to support a tree having links, rather than inferring from dirs.
-
inspect-code and vm2 and browser-module-sandbox
-
compute bus factor over time
-
compute degree-of-authorship
-
Integrate IRHydra as part of dev toolset
-
Jaccard similarity for git commits
-
ulp, ulp, ulp, ulp, float-distance
-
PRNG test to check for bit correlation
-
styledoc for documenting CSS
-
chakra node build
-
See float-hacks for possible "fast" and/or approximate math algos
-
treemap to visualize source
-
test images
-
Compute the half-life of code (months) (see Julia) => interesting extension would be per author
-
evaluate fastapprox (see also node bindings)
-
Another way of determining number of pkgs/tools over time is to clone repo, checkout each commit, and run analysis
-
use git blame to determine loc per auth per pkg
-
approx cbrt and fast cbrt
-
crypto non-crypto hash function djb2 and here (may also be interesting to implement others)
-
Investigate vintage-streams
-
regular expression generation
-
ability to search for issues from CLI for deps/pkgs
-
WYSIWYG Markdown editor for internal rendered Markdown files
- different rendering modes (GitHub, www, etc)
- save to disk
- load from pkg dir
- communicate over socket (some tasks may be capable of being done entirely client side)
- live linting (md, code blocks)
- eqn rendering
- fig gen
- live code blocks
- see dillinger (joe mccann)
- markdown to JSDoc comment (e.g., for writing up math implementation details in source code)
-
Similar concept once ndarrays?
-
See quantifiedcode (software map)
-
US/UK spelling variations
-
ESLint plugin for browser compat
-
contributor graphs
-
investigate threads
-
nat lang date/time parser
-
Consider adding Dockerfile(s) (repl, workshop, etc)
- applies mainly to server based applications
-
problematic strings
-
fivethirtyeight data
-
Blog/tutorial inspiration using gov't data
-
consider using Stryker for mutation testing
-
syncsplit and syncthrough
-
should blas.dasum use pairwise summation?
-
Fortran style guide
-
oec data
-
bring Buffer polyfill in-house (will either need to include Object polyfill or be paired with a typed array polyfill to support older environments)
-
consider prebuildify and node-gyp-build
-
determine feature detection strategy (i.e., when do we rely on an existing (optimized) BLAS implementation? when do we compile ourselves?)
-
determine strategy for using existing optimized BLAS
-
Issue rank dashboard
-
Use of
nowto create a microservice api -
WASM at autodesk
-
command exists
-
REPL chat bot (could, e.g., use AWS lambda)
- similar to
?orhelp, could have a chat prefix - or could enter chat mode; to exit, user must type keyword (e.g., "bye", "ttyl", etc)
- translate NL queries to doc searches (e.g., how do I plot in the terminal? how do I set the x-axis label?)
- could rely entirely on local code, but using sthg like AWS would allow collecting usage statistics (e.g., what types are queries are most common, etc)
- similar to
-
integrate collection of REPL usage statistics (opt-in)
- provide disclaimer regarding metrics collected, etc
- point to source code so people can inspect themselves
-
kill processes
-
open datasets
-
ML in other languages
-
Seeing theory
-
Stanford JS crypto
-
zlib: both JS and native add-on
-
an interactive version
-
in-house prez framework
-
investigate pkg for creating a single binary executable
-
a built-in terminal-to-gif recorder
-
Generating random integers
-
Add a destroy method to http/s servers
-
Browser workshop framework (similar to Google Codelabs)
-
simple server
-
ndarray
-
terminal sparklines
- toJSON => needs chart spec
- colors
- ansi-256-colors
- would require escaping to work in the browser
- ansi_up
- ansi-to-html
- but could also detect env and use ansi escape when in terminal mode and use HTML elsewhere (?) => no, too brittle.
- maybe this should just be a user concern
- support ndarrays
- dimension, only 1d?
-
basic stream utilities
- make
utils/debuga standard stream (clinameoption; does this module need split and join?) - split => tests
- join => example
- map!!!!!!
- cat
- rand
- from-array
- duplex-json-stream
- related => into-stream
- concat-stream => this is essentially an end sink stream
- pump (?)
- end-of-stream
- something akin to stream-combiner2
- duplexer2
- mississippi
to-consoleor maybeto-log(provide own logger, with default being console using util-inspect) => write stream which writes each chunk to console (either normal or object mode); if object mode, use util-inspect and allow setting of depth- tap-stream and inspect-stream; see also sculpt#tap
- guide to node streams
- vstream => instrumented streams
- through2-concurrent
- log
- ndjson and nldj
- one-way multiplexing
- xhr-write-stream
- utf8-stream
- make
-
kmeans/dbscan
-
blas routines
-
all built-in
Mathmethods -
kde
-
hist
-
csv/tsv/dsv
- d3-dsv
- node-csv
- csv-parse
- csv-spectrum
- csv-parser
- paratext
- read-csv (file) vs from-csv (stream) vs parse-csv (string or buffer) => some overlap between these
-
plot cli (requires
split) -
rects
- x
- y
- orientation: vert, horz
- width calc'd via
x[i+1]-x[i]
-
xAxis, yAxis -> true/false; whether to create or not
-
xExtendedTicks?
-
validation; instead of a sep validator folder, when providing an object, just set the props to validate; also allows moving etc files to prop folders
-
line -> area
-
readme
-
svg components: move
methods/render.jstorender/index.js -
refactor plot electron renderer
-
Should plot
autoRenderbe "opt-in", rather than "opt-out"? -
plot svg components should have factory methods
-
provided index to
isDefined -
setting properties should only trigger a
changeevent when the desired value is different from the existing value -
Sort properties/options in alphabetical order
-
Add intro description to each component (e.g., annotations, defs, ...) stating purpose and use case
- decomposable software
- multiple build systems
- broken math
- backward compatibility (and countertrends)
- The REPL (why matters)
- mining git repos
- open open source reporting
- what can be done at standards level to better facilitate math
-
incrspace
-
linspace, logspace, incrspace as generators (?)
- should support option to return data of a specified type; e.g.,
float32, etc. - returned value should be compliant with
abstract-ndarray
- should support option to return data of a specified type; e.g.,
-
remainder (see c) and rem
-
equivalents to various low-level Julia funcs
-
blas routines
-
svg2png without promises and cleaner
-
stream module (e.g., flow-split, flow-join, flow-mean) => /utils /math etc
-
number theory fcns (see starred repo)
-
str manip utils
-
Avogadro's number
-
Add credit card fraud data
-
testing for
sinlnexpsqrttan
-
- lookup
-
- cppreference
- how would the
FLOAT_RADIXbe supplied?
-
int32-to-uint32
-
fast pow
- may need to research
- integer variant from V8
-
feature detection utils
-
port
https-server -
pipe viewer
-
downloads-folder along with
tmpdir,homedir, etc -
next-tick
-
linux utility equivalents
- cat, mv, rm, ls, touch, etc.
- allow for swapping out when using browser virtual filesystem, allowing isomorphic apps (although, filesystem data would prob not be copied to browser)
-
- break into separate mods
is-pdf-file, etc.
- break into separate mods
-
move
is-urimain regex to separate module? Would allow for capturing parts of the scheme. Needs evaluating. -
kmeansas anEventEmitter -
bring
debugin-house; see also diagnostics -
utility to convert R
DESCRIPTIONfiles to JSON => would streamline getting test fixture R dependencies -
accumulators
-
incrmkurtosis (windowed)
-
incrmskewness (windowed)
-
buffer-indexof and buffer-split => see issues
-
base math
swap(assume array-like) and genericsswap(check for array-like) -
hex to ascii
-
arc4 cipher as a stream
-
float64-to-hex -
object inspector; also, Node.js
utils.inspect -
random/uuid; various versions -
custom error classes
-
sort methods, both numeric and general
-
units
-
Interesting mod => potrace
- Square root without division
- Reciproot Algorithm: correctly rounded?
- reciproot implementation
- glibc sqrt
- IPython: A System for Interactive Scientific Computing
- IPython: Sloan Grant
- Why not use core streams
- Why JAVA floating-point implementation is bad for everyone
-
when testing numeric code, would be interesting to test against multiple platforms (ala test fixtures); e.g., Julia, Python, R, Go, Boost, etc.
- ability to run against multiple versions of alternative platforms
- compare results for each alternative platform version
- would allow flagging regressions or improvements in the implementations of other platforms
- would be part of a comprehensive CI before publishing
- suppose could also be done at the individual module level during separation
- generate plots showing results across all platforms
-
a tool which reports which paths are not imported by a file
- use case is ensuring that modules which should be exported by an aggregate file are exported
-
for JSDoc docs, ability to run benchmarks for any given method
- UI button to run benchmark
- per method/module/etc (similar to having a button to view source)
- would allow users to test the relatively speed of pathways within a function; e.g., for
erf, how fast do particular input values compare to other input values? - note: naive benchmarks would only provide a single value =>
erf(10); but this approach is flawed. Need to cover a range of values; otherwise, you could be testing a special case! - would allow another avenue for crowdsourcing benchmarks
-
if every module wrapped as a stream, then, via linking, terminal becomes a REPL
-
ability to invoke with arg
$ erf 5 <number> $ erf 5 1. 13 1 <number>\n<number>\n... (could have option to specify delimiter)
-
ability to pipe
$ cat x.txt | erf ... -
may want to prefix with
stdlib-<fcn>to avoid conflicts with built-ins -
tools script could crawl the project and auto create aliases and links
-
-
for modules like generic stats functions which may accept a variety of inputs requiring tailored implementations, instead of dynamic code generation, another possibility is to dynamically compile static code and write to disk
- would allow static analysis
- easier debugging, as can set breakpoints, etc. => some inspectors support using a pragma to allow debugging
eval'd code, thus debugging is possible as is; nevertheless, visual inspection is easier if non-compiled - would allow for the use of JSDoc annotations, not possible when using dynamic code generation => can, but akin to documenting a "virtual" function
- would lead, however, to a much larger codebase
- in
make init, could configure to "watch" and dynamically recompile generated files - to discover and identify compile targets, could add a "stdlib" field to a module's
package.jsonwith a configuration setting relevant to the type of compilation to perform (could lead to a proliferation of tailored settings, which is not necessarily a good thing)
Will need a tools directory in individual repositories to
-
house
Makefiledependencies -
include CI scripts
-
house doc tools
- JSDoc templates
- JSDoc typedefs
-
Populate individual module contributors automatically by extracting author info from
gitcommits?- main author could be populated based on highest number of commits? most changes? responsible for most lines of code?
- most lines of code may be best heuristic as likely that the author is thus most knowledgeable/owns the most code
- over time the main author could change...is this a problem? => prob not, as the new author should be most familiar with the relevant code
-
populate scripts similarly for all modules
-
augment
keywordswith universal projectkeywords -
can add
testlingconfig, if needed -
populate git urls based on destination repo
-
should be able to scan module code to determine dev and main deps and add them to the
package.jsonbased on what is installed in the main repo- dependency-check
- uses
node-detective - node-detective
- apparently relies on outdated mods, but may still work
- node-source-walk
- uses more recent
acornversion - if a dependency is already included in the
package.json, keep that dependency, thus allowing local override of a dependency - how will that work in terms of dep install within the context of the larger project?
- module-deps
- list-broken-requires
- detect-import-require
-
can updating the version be automated?
- Read
licensefield inpackage.jsonand generate the appropriate license
-
Ideal vs reality
- @stdmath/base/special/erf
- @stdmath/base-special-erf
- @stdmath/generics/special/erf
- @stdmath/generics-special-erf
-
Under the @stdlib scope...
- @stdlib/math-base-special-erf
- @stdlib/math-base-core-float64-to-binary-string
-
References on root
global