Comments (6)
Interesting. I also do similar things with Dnote to log TODOs for immediate future. I might work on this feature later. In the meantime, I will consider a PR.
Meanwhile, if you would like to fork it and modify for your personal use, please look at this file
https://github.com/dnote/cli/blob/49754b58a407024f5280ce1f132ad61bf5d8eb56/cmd/ls/ls.go#L137-L146
To build the program, please run go build
.
from dnote.
Hi @robertmartin8. Notes are already timestamped. You can see the timestamp using view
command.
▶ dnote v js 1
• book name: js
• note uuid: fd4f0711-8e69-4f33-85f0-5770c2e9575a
• created at: Sep 13, 2017 10:42am (AEST)
------------------------content------------------------
case declarations do not create a new scope
-------------------------------------------------------
Is this what we need, and any other way we can improve it?
from dnote.
Hi @sungwoncho, and apologies for the late reply.
I was thinking more as part of dnote ls
. So right now if I type dnote ls reactjs
, I get:
(0) all class-based React.Component elements must have a render
(1) in ES6, when the key and value are the same, you can just write { key }
(2) when possible, use array.map rather than for loops
What would be nice is to have an option to view the timestamps (perhaps instead of the indices), so something like:
$ dnote ls reactjs -t
(31/08/18 12:00) all class-based React.Component elements must have a render
(02/09/18 16:45) in ES6, when the key and value are the same, you can just write { key }
(02/09/18 18:30) when possible, use array.map rather than for loops
This is very much a personal preference thing, but I do think that this would greatly expand the functionality of dnote, allowing it to be used as a timestamped log. Often when I'm building projects I'd love to have a running log of what I'm trying, what I've just completed etc. dnote is the closest thing I've found, but it would be far more useful if I could see the timestamp right next to a list of the notes.
In any case, I respect your decision on your matter – this is a great project.
Best,
Robert
from dnote.
I think timestamps can help with spaced repetition. Let's think about it.
Often when I'm building projects I'd love to have a running log of what I'm trying, what I've just completed etc.
That is a use case I haven't thought of, and I agree that timestamped list can be helpful. But it wasn't clear from your example. Could you explain a bit further?
from dnote.
Sorry, the example was just meant to be what I envisaged a timestamp list would look like. With regard to the actual use case, imagine I'm doing some data science project.
(31/08/18 12:00) Need to update my feature engineering. Going to start by denoising the variables.
(31/08/18 13:05) Ran into a problem with data formatting. Normalised and removed missing data.
(31/08/18 13:35) Fixed the features, now testing performance
(31/08/18 13:46) Performance pretty awful, going to try [...]
etc
I appreciate that this is a pretty niche use, because I'm not sure how much people like to log what they're doing, but I personally find it useful to keep track of what I'm trying to implement and what bugs I face as I build the project. I could already use dnote
for this in theory, but it's not ideal without the timestamp. I also think that this kind of logging is useful for transparency w.r.t paid development work.
from dnote.
Thank you for the pointer, will have a go at modifying it – but I don't trust my Go ability to submit a PR ;)
Robert
from dnote.
Related Issues (20)
- How to install 32bits? HOT 1
- Internal Server Error When Syncing Notes HOT 1
- 403 when using dnote sync HOT 1
- Response 429 "Too many requests" again. HOT 1
- web interface HOT 1
- darwin_arm64 cli binary is broken? HOT 5
- Use OnPremises rather than OnPremise
- GPG encryption HOT 1
- Allow to disable upgrade check HOT 3
- Simplify by removing dependency on Cobra HOT 1
- homebrew install broken HOT 1
- How do I have dnote.exe on Windows connect to a dnote docker host? HOT 1
- Error relocating dnote, need musl(libc) release HOT 4
- Error: request() got an unexpected keyword argument 'chunked' HOT 1
- Autocompletion zsh script appears to be faulty HOT 2
- Glitch of chinese appearance in output of VIEW command HOT 3
- please provide an configuration option to change the location of dnote database HOT 1
- what about adding an option for simple auth for home server such as basic auth HOT 2
- Question: Find partial match HOT 1
- remove web interface part in makefile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnote.