karissa: imagine you type 'dat init'. what should happen - it created a new folder called: '.dat', 'data.dat', or 'dat' (or something else)
karissa: also what do you think about the crazy idea of using package.json with our config under a 'dat' key (instead of dat.json)
karissa
ogd: will it adhere to the npm package.json?
spec
?
ogd
karissa: yea but we prob wont touch any keys except name, description, author and repository
karissa: all dat specific stuff will be under 'dat'. that way if there is already a package.json in a dir it will use it
karissa: but if we are first then npm can read ours later
karissa
hmm
ogd
karissa: i am ok either way. pro of dat.json is... simplicity? con is its yet another json file
karissa
i think it should be dat.json because it might diverge
ogd: how will the user interact with the .dat/dat folder?
ogd
karissa: thats what i was thinking. mafintosh suggested making it not hidden. i dont really think they'll go in there
karissa
ogd: if they are editing stuff inside it (like readme, dat.json, etc) then it makes sense to not have it be 'dotted'
yeah
ogd
karissa: the argument for making it not hidden is that it might have a ton of data, and its confusing UX to have that be hidden
karissa
ogd: yeah
ogd
karissa: cause users might be like 'what is taking up all this space'
therealkoopa has quit
karissa
yeah
im going to think about it a minute
therealkoopa joined the channel
therealkoopa has quit
ogd: for the berkeley talk are you planning on any walk through demos/
therealkoopa joined the channel
domanic joined the channel
ogd
karissa: depends on how far we get with the CLI in the next few days
karissa: but i can demo some of our pilot project use cases
karissa
ogd: ok. i was thinking it'd be useful to at least walk through a typical collab scenario in the beginning so they can grok it. even if the cli isn't done
ogd
karissa: oh yea definitely
karissa: we just had an idea for new cli
karissa: `dat move foo.jpg .`
karissa: would remove foo.jpg from the blob store and put it into the users current dir as 'foo.jpg'
karissa
interesting
ogd
karissa: and `dat copy foo.jpg .` would keep a copy of the data in .dat but make a copy in cwd
karissa: that way theres a easy story for 'i just cloned a dat with a big file in it and i wanna now use the file'
karissa: and move/copy are alternatives depending on whether or not you wanna have 2 copies of the file on your machine
karissa: and then for filesystems that support copy-on-write, or FUSE, we can do really cool stuff
karissa: because you can do a copy that actually takes up 0 space until you edit it
dat-core/master 25101b0 Mathias Buus: always expose meta
dat-git-bot has left the channel
karissa
ogd: so when a user clones a dat, i wonder if they're more likely than not going to be confused if the file isn't 'visible' in some way
blobs attached to rows are part of the data
but blobs attached to an entire dataset might more likely be breakdowns, models, visualizations
ogd: or might be data themselves as an entity (thinking non-tabular data stores)
ogd
karissa: the problem is.. if you dont keep the data in a blob store then you lose version control, and also the ability to seed that file to other peers
karissa: i agree though with your ux assessment
karissa
right i'm not really talking about technicalities but its a ux thing
making it 'appear' as though the file is there, or something.
might be useful
but idk, we still haven't really done user trials so its hard to say how people will use dat. but this is just my hunch that 'copy' and 'move' might be confusing for most domain specific experts
ogd
maybe if we can liken doing 'dat clone' to downloading a zip file
now you have a .zip but it isnt unzipped yet
karissa
mm
yeah
ogd
for example, if you do dat clone and a thing called data.dat shows up
karissa
when you cd in, what if you see each dataset as a directory, or something?
ogd
and when you clone you get output like 'Downloaded 4388 rows and 324 files into data.dat'
karissa
mm
yeah
ogd: i think it might be more likely to see like "3 files" in most cases
ogd
karissa: there could be different clone commands too
karissa: like one that downloads blobs into your cwd
karissa: and one that 'syncs' them into your .dat
karissa
ogd: mmm
ogd: yeah
ogd: like, development vs. fetch
ogd
so if you just wanna get the files and you dont care about having a backup copy locally
karissa
dat clone vs. dat download/fetch
I think differnt clone commands are a good idea
ogd
karissa: what if you could do e.g. 'dat download <hash>' and that would: fetch metadata for <hash>, then download all blobs in the db at the time of <hash>, at the correct versions they were at at <hash>, and puts the files into cwd
karissa
ogd: yep
ogd: sounds about right. you might also want the table as a csv.
ogd: im assuming ppl who use this are going to do one-off analysis or want to export their dat somewhere else
ogd
karissa: yea basically the people who are using other peoples dat repos to do the 'last mile' stuff
surprised we overlooked this use case so long haha