News for hackers. Stuff that matters.

suref

I'm trying to understand what makes this app so popular, I created my own notetaking-app and did a shown HN and got like 5 upvotes yet I have plently of features this doesn't have like nested folders, search, hotkeys, code tagging, tools for creating tables/code, uploads of pdfs, images and all of this completely free. It's almost like setting a price on the service makes people want to use it more. </rant>
Re:Stop Taking Regular Notes; Use a Zettelkasten Instead on Tuesday June 02, 2020 @08:34AM (#23390290)
Thanks, have worked out so far.
Re:Stop Taking Regular Notes; Use a Zettelkasten Instead on Tuesday June 02, 2020 @03:48AM (#23388683)
To me the most important thing in notes is to find what you want easily. Because of this I think having some sort of online system is needed, otherwise if you have the notes at different places you will in the end give up on it and also tags and search is a huge advantage. But in the end I don't think there are one system that fits all, Zettelkasten might work for some people while others want it another way, this hypothesis is strengthened by the continuous output of new notes software. For this reason I created my own system, fitting _my_ needs. As a coder I chose markdown to also have the functionality to add snippets and search those snippets. The markdown documents stays in a folder type structure to organize the content and be able to use the vs code command cmd+p that I'm very used to. This works for me, https://www.theorylog.com.
Re:Show HN: Verify JSON using minimal schema on Thursday April 16, 2020 @03:47AM (#22887105)
I built something similar for my latest webapp to validate json-requests in python, the syntax is like this:

    {
        "content": Required(str),
        "username": Required(str, validate=username_is_ok, transform=lambda x: x.lower(), 
                   fail_message="Username isn't valid"),
        "message": Optional(str),
        "some_list": Required({
            "name": Required(str),
            "date": Required(str)
        }, is_list=True)
    }
Then I can provide this in a hook to the request method.
Re:Show HN: Theorylog – Notes for Developers on Tuesday April 07, 2020 @03:43PM (#22806735)
Hello everyone,

For a long time I thought there must be a better way to utilize notes in your work. Physical notes are difficult to bring with you and "search" through and ordinary note apps often don't have functionality for math and code snippets.

For this reason I created this website where you can add the following:

Links:

The key thing here is that these links are searchable by the content they point to since they are scraped. This is useful for things that are hard to google and you want to keep for later use.

Markdown documents with additional functionality:

Here you can add:

* code snippets that are made searchable, independently of the markdown document, by adding description and/or tags.

* images

* math (latex)

* PDFs (converted to images)

The text inside the images/PDFs are also extracted and added to improve the search of the markdown document (this doesn't happen instantaneously though but can take a bit of time to propagate). The markdown documents are useful when taking notes since you can combine theory and code snippets while making both searchable.

Still in the early stages, feedback is appreciated!

Re:Things Markdown got wrong on Saturday April 04, 2020 @05:44AM (#22777273)
I'm currently working on a markdown system where I wanted to extend codeblocks to be able to incorporate more information. The `js:title=example.js` just doesn't cut it. Want I landed on was some sort of yaml-ish format:

    ```
    ***
    property1: ...
    property2: ...
    ***
    code
    ```
This way multiline properties are supported and I can also incorporate markdown inside the properties themselves.