Commit Graph

1335 Commits

Author SHA1 Message Date
Chris Masone
703ed765b2 Add ForceRunInDir()
This helper allows the caller to run a command in a given directory,
and panic on failure.
2015-12-21 15:45:24 -08:00
Chris Masone
4e38862186 file.MyDir() must return directory of caller
It was returning the directory in which the library code lives.
Whoops.
2015-12-21 13:50:02 -08:00
cmasone-attic
9efa948e9c Merge pull request #816 from cmasone-attic/file
Add some golang file manipulation utility functions
2015-12-21 13:32:07 -08:00
Chris Masone
b8086ef6d4 Allow panics to terminate tests in tools/file_test.go 2015-12-21 13:31:54 -08:00
Chris Masone
6cb6d3769a Add some golang file manipulation utility functions
Some dead-simple file manipulation functions.
2015-12-21 12:59:55 -08:00
Erik Arvidsson
e28852f4c0 Merge pull request #802 from arv/compound-set-missing-type-check
Add missing runtime type check to compoundSet Insert
2015-12-21 09:56:02 -08:00
Erik Arvidsson
429860c347 Merge pull request #797 from arv/js-invariant-prod
JS: Strip invariant calls in production
2015-12-21 09:51:20 -08:00
Chris Masone
a4258c4a68 Fix tagshow/package.json build phase
package.json still refers to build.sh, which has been renamed to
.npm_build_helper.sh
2015-12-21 08:33:34 -08:00
cmasone-attic
00af398cd1 Merge pull request #811 from cmasone-attic/script
Add she-bang to tagshow/link.sh
2015-12-21 08:04:50 -08:00
Chris Masone
a653e9db91 Add she-bang to tagshow/link.sh 2015-12-21 08:03:54 -08:00
Aaron Boodman
3e6dfd9979 Merge pull request #810 from rafael-atticlabs/updateTagshow
Update tagshow
2015-12-19 20:28:40 -08:00
Rafael Weinstein
5a67dabfdc Update tagshow 2015-12-18 20:45:13 -08:00
Erik Arvidsson
570e418438 Update README.md 2015-12-18 17:53:16 -08:00
Erik Arvidsson
cf295b1eac Merge pull request #800 from arv/pitchmap-ui-env
Pass in NOMS_SERVER and NOMS_DATASET_ID to pitchmap/ui
2015-12-18 17:38:16 -08:00
Erik Arvidsson
186cb44144 Merge pull request #808 from arv/js-ref-opt
JS: Change Chunk.p.ref to allow inlining
2015-12-18 17:37:48 -08:00
Erik Arvidsson
0f48d22442 Merge pull request #803 from arv/js-remove-for-of
JS: Remove usage of for-of loops
2015-12-18 17:37:15 -08:00
Chris Masone
b4973f5a01 Add shebang to pitchmap/ui/link.sh 2015-12-18 17:24:31 -08:00
cmasone-attic
6d53d3fcfb Merge pull request #807 from cmasone-attic/readme
Update webapp README.md files to mention PYTHONPATH
2015-12-18 15:23:01 -08:00
Chris Masone
f814130542 Update webapp README.md files to mention PYTHONPATH
If we didn't have to clean up symlinks before building, we wouldn't
need the little symlink library, and build.py files would have no
dependencies. But...they do :-/
2015-12-18 15:20:57 -08:00
Aaron Boodman
06f2dc6bff Update README.md 2015-12-18 00:50:34 -08:00
Aaron Boodman
703a8dbeac Update README.md 2015-12-18 00:33:22 -08:00
Aaron Boodman
d5e04f08c7 move sfcrime_importer and sfcrime_search into shared folder 2015-12-18 00:29:52 -08:00
Aaron Boodman
701524f358 Update README.md 2015-12-18 00:07:51 -08:00
Aaron Boodman
05fd83d2ce Update README.md 2015-12-18 00:06:35 -08:00
Aaron Boodman
0f5b1218ea Update README.md 2015-12-18 00:05:46 -08:00
Aaron Boodman
c598c9094f Update README.md 2015-12-18 00:05:27 -08:00
Aaron Boodman
9d5467c9ee Update README.md 2015-12-18 00:04:33 -08:00
Aaron Boodman
a54018bf67 Update README.md 2015-12-18 00:03:22 -08:00
Aaron Boodman
3586080b4f Update README.md 2015-12-18 00:00:10 -08:00
Aaron Boodman
171dd4c771 Update README.md 2015-12-17 23:57:39 -08:00
Aaron Boodman
ba9f32e089 Big docs update 2015-12-17 23:54:57 -08:00
Erik Arvidsson
96e80f4878 JS: Change Chunk.p.ref to allow inlining
Not sure why the old code did not get inlined correctly. With this
change `ref` no longer shows up in my profile. (It was the hottest
function before.)
2015-12-17 17:32:03 -05:00
Erik Arvidsson
89126c984b JS: Remove usage of for-of loops
Babel generates slow code for these. Use ordinary for loops when the
performance might matter.

Fixes #754
2015-12-17 15:50:47 -05:00
Erik Arvidsson
72cf6d72de Merge pull request #801 from arv/remove-set-substract
Remove Set Subtract
2015-12-17 15:39:41 -05:00
Erik Arvidsson
a15ed4963b Add missing runtime type check to compoundSet Insert 2015-12-17 15:38:12 -05:00
Erik Arvidsson
1edbee5f34 Remove Set Subtract 2015-12-17 15:23:28 -05:00
Erik Arvidsson
e979a31275 Pass in NOMS_SERVER and NOMS_DATASET_ID to pitchmap/ui
Fixes #796
2015-12-17 14:56:12 -05:00
Erik Arvidsson
de0632be77 JS: Strip invariant calls in production
Fixes #742
2015-12-17 12:47:41 -05:00
Erik Arvidsson
201a8a46d6 Merge pull request #792 from rafael-atticlabs/betterCollections
JS Collection refactor, splore, crunchbase ui, & pitchmap update
2015-12-17 12:35:59 -05:00
Rafael Weinstein
6ee3b37cd3 JS Collection refactor, splore, crunchbase ui, & pitchmap update 2015-12-17 09:15:04 -08:00
Erik Arvidsson
efcffb55be Merge pull request #788 from arv/set-union
Implement Set Union
2015-12-17 10:34:41 -05:00
Erik Arvidsson
b8be6908f8 Implement Set Union
This is done by creating a cursor for each set. This is a cursor for
the actual values in the sets. We then pick the "smallest" value from
the cursors and advance that cursor. This continues until we have
exhausted all the cursors.

  setA.Union(set0, ... setN)

The time complexity is O(len(setA) + len(set0)) + ... len(setN))
2015-12-17 10:18:04 -05:00
Erik Arvidsson
5cb70f947f Merge pull request #793 from rafael-atticlabs/doneInternalType
Ensure sequenceChunker.Done() returns an internal type so that callers dont have to
2015-12-17 09:40:05 -05:00
Rafael Weinstein
27d5f0d240 Ensure sequenceChunker.Done() returns an internal type so that callers dont have to 2015-12-17 06:20:28 -08:00
cmasone-attic
82e7e51697 Merge pull request #787 from cmasone-attic/cleanup
Some compound{Set,Map} cleanup
2015-12-17 06:09:47 -08:00
Aaron Boodman
50de9e842e Merge pull request #791 from attic-labs/shove-fixens
shove: allow pulling from ref or ds head, like Git
2015-12-16 21:11:53 -08:00
Aaron Boodman
550462ae38 shove: allow pulling from ref or ds head, like Git 2015-12-16 20:40:22 -08:00
Chris Masone
a70c21116a Some compound{Set,Map} cleanup
Remove a bad comment, one-line a few things in Filter()
2015-12-16 15:57:22 -08:00
cmasone-attic
3163ff00dc Merge pull request #781 from cmasone-attic/mapfilter
Implement compoundMap Filter()
2015-12-16 15:50:37 -08:00
Dan Willhite
19228ba9d8 Merge pull request #784 from willhite/panics
Implement Filter on compoundList.
2015-12-16 14:06:57 -08:00