Commit Graph

3719 Commits

Author SHA1 Message Date
Aaron Boodman
2d0e9e7383 Update demo-p2p-chat.md 2017-09-19 11:46:18 -07:00
Aaron Boodman
f286c4ef49 Update quickstart.md 2017-09-19 11:42:54 -07:00
Aaron Boodman
05672e128f Update about.md 2017-09-19 10:54:28 -07:00
Dan Willhite
9e9759cb4d Add go syntax highlights to Go code and remove
Also remove reference to file in sample/go/quickstart/quickstart.go since we're no longer including it there.
2017-09-19 09:23:31 -07:00
Erik Arvidsson
6fcfeeb215 Optimize CSV Export (#3721)
This optimizes CSV export after the change in types.Value being backed
by byte slices.

Towards #3710
2017-09-19 00:48:21 -07:00
Aaron Boodman
2be441fffd Update quickstart.md 2017-09-18 21:13:14 -07:00
Erik Arvidsson
865f2498bb Update README.md 2017-09-18 16:20:15 -07:00
Dan Willhite
a0aa9b93cb Update demo-ipfs-chat.md 2017-09-18 15:49:59 -07:00
Dan Willhite
e9ab5b3ef9 Update demo-p2p-chat.md 2017-09-18 15:49:20 -07:00
Dan Willhite
06fbebfc27 Update quickstart.md 2017-09-18 15:29:08 -07:00
phritz
26d242789a remove double status bar 2017-09-18 12:10:26 -10:00
phritz
02f2392c9a remove double status bar 2017-09-18 12:10:11 -10:00
phritz
f3c6e855c2 linkify mailto 2017-09-18 12:04:40 -10:00
phritz
58c8f0abe3 fix typo 2017-09-18 12:03:18 -10:00
phritz
8280a82159 fix README links (#3718) 2017-09-18 12:02:05 -10:00
phritz
8266ee9e1e update README and navigation (#3717)
Reflects proposal in aaron's doc.
2017-09-18 11:58:58 -10:00
Dan Willhite
002246bf50 Update quickstart.md 2017-09-18 14:57:57 -07:00
phritz
01d5478837 update heading 2017-09-18 11:09:47 -10:00
phritz
c2c4ffa26d fix link 2017-09-18 11:09:02 -10:00
phritz
6558b697be prep docs/decent/ for demo release (#3716)
Updated content per aa's proposal, added olap use case directory.
2017-09-18 11:08:11 -10:00
Benjamin Kalman
a03416acba Reuse the "current" buffer in sequenceChunker (#3702)
Avoids memory reallocation.
2017-09-18 12:23:20 -07:00
wardn
386c3f3e3e NOMSFS: only build for darwin/linux (#3712) 2017-09-17 09:45:36 -07:00
Erik Arvidsson
b497bcc974 Make values be backed by []byte (#3694)
This makes all but types.Type be backed by a []byte.

The motivation is to reduce the allocations and the work needed to be
done when we read parts of a value (especially prolly trees).

Towards #2270
2017-09-14 17:45:08 -07:00
wardn
e6c5675a54 remove js implementation (#3705) 2017-09-14 11:51:03 -07:00
Erik Arvidsson
3cbaf56f23 Don't build blob-get (#3704)
it has been removed
2017-09-14 10:29:44 -07:00
Dan Willhite
10ec10dc00 Add ability to register HRSCommenters on Structs. (#3609)
Clients can register HRSCommenters to cause additional info
to be included as comments when generating the human readable
encoding for Noms Structs.
2017-09-13 17:21:08 -07:00
Benjamin Kalman
26eb9e3713 Don't write a sequence chunk if there is no parent (#3699)
In most cases this will avoid writing the root chunk of a prolly tree,
which is the behavior we're aiming for: a prolly tree might be used
inline in which case the root never needs to be written.

The solution in this patch is imperfect because it may unnecessarily
write chunks, but this is rare.

Fixes https://github.com/attic-labs/noms/issues/3645
2017-09-13 15:52:31 -07:00
Erik Arvidsson
3db7be5062 Clean up Type WalkValues (#3700)
Use good practice OO design 😝
2017-09-13 15:45:52 -07:00
Erik Arvidsson
8f95c25403 Remove some printf debugging from tests (#3701) 2017-09-13 15:36:42 -07:00
Erik Arvidsson
5ff6432c7b Add support for parsing values (#3688)
This allows parsing all Noms values from the string representation
used by human readable encoding:

```
v, err := nomdl.Parse(vrw, `map {"abc": 42}`)
```

Fixes #1466
2017-09-13 15:02:01 -07:00
cmasone-attic
d3be53d164 csv-invert: Perf improvments! (#3698)
Tweaking the main loop that processes list entries to avoid some
map assignments, lookups, and allocations saves 15% or so, resulting
in an overall savings of about 1m on the 6m runtime of our test
workload (as run on my laptop).

Towards #3690
2017-09-12 15:48:22 -07:00
cmasone-attic
1b5ac05793 csv-invert command line tool (#3689)
Takes the output of a CSV file imported as a List of Struct and
"inverts" it so that it's now a Struct of Lists.

Example:

List<Struct Row {
  Base?: String,
  DOLocationID?: String,
}>

becomes

Struct Columnar {
  base: List<String>,
  dolocationid: List<String>,
}
2017-09-12 15:05:31 -07:00
cmasone-attic
41f63a5a6a Stop noms sync from destroying locality (#3659)
This patch implements a new strategy for Pull() that pulls the chunks
from a given level of the graph over in the order they'll be
encountered by clients reading the graph.

Fixes #2968
2017-09-11 16:04:13 -07:00
cmasone-attic
14e95379af NBS: Fragmentation tool using new estimate of locality (#3658)
The new version of this tool now estimates the locality of a DB
written using the "grandchild" strategy implemented by
types.ValueStore. It does do by dividing each level of the graph
up into groups that are roughly the size of the branching factor
of that level, and then calculating how many physical reads are
needed to read each group.

In the case of perfect locality, each group could be read in a
single physical read, so that's what the tool uses as its estimate
of the optimal case.

Toward #2968
2017-09-11 15:34:17 -07:00
Aaron Boodman
a18bd984d1 Update importer.go 2017-09-09 19:59:09 -07:00
wardn
b213146428 fix csv-importer dest-type description (#3682) 2017-09-09 19:58:06 -07:00
wardn
af6000ee16 add vi .swp files to the gitignore (#3685) 2017-09-09 19:57:34 -07:00
wardn
79e285e5d5 explicit collection types (#3683) 2017-09-09 19:56:30 -07:00
Aaron Boodman
484587a2b4 Fix broken build (#3680) 2017-09-08 02:54:45 -07:00
Aaron Boodman
f0568592b8 Add import to p2p sample (#3679) 2017-09-08 02:10:01 -07:00
phritz
025609828e request set & list elements in batch (#3660)
When requesting a range of values read all the chunks ahead of time.

This works for indexed sequences. Does not include support for ordered sequences.

Work towards https://github.com/attic-labs/noms/issues/3619
2017-09-07 16:23:22 -10:00
phritz
4d7ac48736 move note about commutativity close to its mention 2017-09-07 15:54:58 -10:00
phritz
eeed68d598 add nav header to whats next 2017-09-07 15:51:04 -10:00
phritz
d6455016b5 add nav header to vision 2017-09-07 15:50:46 -10:00
phritz
794e9f1f9c add nav header to demo app 2017-09-07 15:50:06 -10:00
phritz
18fe206714 add nav header to how to use noms 2017-09-07 15:49:45 -10:00
phritz
829dc3b939 move nav above header 2017-09-07 15:49:13 -10:00
phritz
d72d0e8344 add nav header to about noms 2017-09-07 15:48:18 -10:00
phritz
f0077ccbf6 add example code
Hasn't been tested yet, none of this probably works.
2017-09-07 15:35:10 -10:00
Aaron Boodman
a25ea915a7 add a simpler p2p ipfs-chat (#3678) 2017-09-07 18:32:47 -07:00