There should be an easy way to upload source files to the snippets DB. Just put it up there, figure out what it is later. Stuff to transmit: -file contents -file name -path (probably a shortened one, not the full local path) Also, of course, user ID and date, but TB will add that automatically. First implementation idea: -Use a new snippet type (Source file) -Snippet name = path + file name -Content = actual file contents Further implementation details: -Command in TB interpreter is: upload src//<path-to-file> -Outputs snippet ID Second step: -Show if file with same contents is in DB already. -Or a file with same path. -Or both? Then probably it's not wise to upload again. A brain might actually know.
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
6 comment(s) hidden. show
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 736 | [visualize] |
| Snippet ID: | #10 |
| Snippet name: | Upload source file to TinyBrain |
| Eternal ID of this version: | #10/1 |
| Text MD5: | 2192e8976a946b10984fe6fde7435d69 |
| Author: | stefan |
| Category: | |
| Type: | Task description |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2013-12-08 17:58:57 |
| Source code size: | 736 bytes / 22 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1772 / 420 |
| Referenced in: | [show references] |