4 ms·
Apple should buy you. This is the kind of new feature that I want out of an OS update. It's incredibly useful, but requires deep system integration to work per
by telekid 12y ago
Apple should buy you.
This is the kind of new feature that I want out of an OS update. It's incredibly useful, but requires deep system integration to work perfectly. Unfortunately, without access to private APIs, I imagine you're going to hit a wall sooner than later. For example, right now, moving a file breaks its relationship with a note, and an open file's notes aren't associated with the file's finder icon. I imagine those are both going to be tricky problems to solve.
With that said, congrats on an incredible idea, and a great early implementation. I hope it grows into something big.
- graeme 12y ago>For example, right now, moving a file breaks its relationship with a note, and an open file's notes aren't associated with the file's finder icon. That's interesting. Is there a workaround or quick way to transfer notes? I often rearrange files.
- samwillis 12y agoThey could be associated with a hash of the file rather than its path?
- Kimitri 12y agoOr maybe not. Every change to the file would break the note association. I think the most robust way to do this would be to bind notes to inodes instead.
- andrewflnr 12y agoThen it would change every time you changed the file. And if you try just (text match)||(path match) then you have issues with copied files. AFAIK the only reliable way to do this is to get notified when the file is moved or copied.
- ThomPete 12y agoThere kind of are it just requires a little more work on our end. We will hopefully be able to share that with people soon. Interestingly and anecdotally when moved around in dropbox it seems to keep it's relationship.
- graeme 12y agoDidn't work for me in Dropbox. But I'll be looking forward to the solution. The system is great so far, so I have no doubt you'll be able to continue improving it.
- ThomPete 12y agogreat thanks for the good feedback and I assure you as long as it's possible we will continue to improve this.
- burntcaramel 12y agoIf you haven’t already check out the 'bookmark data' methods of NSURL: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/doc/uid/20000301-SW34 https://developer.apple.com/library/mac/documentation/Cocoa/... However, I’m not sure if you can use these without the user choosing the file with an open panel, or with drag and drop. That’s what I had to rely on with my app Blik: http://www.burntcaramel.com/blik/ http://www.burntcaramel.com/blik/ Ghostnote looks great, by the way!
- ThomPete 12y agohey thanks so much for this.
- deleted 12y ago[deleted]
- kurige 12y agoAlthough it might annoy some users, a quick work-around might be to add a tag to the file. Tags on files/folders don't go away when you move or rename the file. Something like, "ghostnote:<ID>" where ID is some internal reference to the associated note. In fact... using this method you wouldn't have to store the URLs of files/folders at all.
- emehrkay 12y ago> moving a file breaks its relationship with a note How does OS X handle moving files while they're open/in use? One of the first things I stumbled upon when I started using the OS is that it was possible, while Windows would throw an error.
- hrktb 12y agoIn OSX/linux/unix the application uses the inode (a system level file id basically), which is independent of the path where the file is stored. This allows to move a file around, even trash, while applications can keep referring to it. This can be weird (if you delete a file in use, it won't be effectively deleted from disk until every application accessing it stop doing so)
- mateuszf 12y ago> This can be weird (if you delete a file in use, it won't be effectively deleted from disk until every application accessing it stop doing so) That explains why I can easily remove a running process on Linux, but it doesn't work on Windows.