Hacker Newsnew | past | comments | ask | show | jobs | submit | ichverstehe's commentslogin

I am working on a lightweight notebook alternative which is literally just a Python script that can be viewed interactively. Maybe that could be useful? https://harry.vangberg.name/posts/pdit-the-python-un-noteboo...


Consider a notebook with a cell with two lines of code:

  [1, 2, 3]
  "foo bar"
The default in notebooks is to just render/show the value of the last expression (`"foo bar"`). In pdit, the value of all top-level expressions are rendered/shown:

  [1, 2, 3] #=> [1, 2, 3]
  "foo bar" #=> "foo bar"
In that way it is more like a REPL than a notebook, you could say.


ah I see, got it. Thanks


Allow me to plug Ankivalenz[1], my library that turns (structured) Markdown files into Anki decks, using a syntax like this:

  # Solar System
  
  ## Planets
  
  ### Color
  
  - Earth ?:: Blue
  - Mars ?:: Red
The best thing about it (for me) is that the header structure (and any parent list items) are added to the cards, e.g.:

  Path: Solar System > Planets > Color
  Front: Earth
  Back: Blue
This hierarchy makes it much easier to formulate succinct cards, in my experience.

The syntax also means that I can easily add cards from my regular Markdown notes, so regular notes and Anki cards live together.

[1] https://github.com/vangberg/ankivalenz/


Allow me to mention my project Ankivalenz[1], which turns structured HTML files into Anki decks. I use it with Quarto[2][3] to generate my Anki decks. Instead of having an unorganized "pool" of Anki cards, I can create hierarchical, well-organized notes and turn them into an Anki deck. This makes it easier to create Anki decks, but more importantly, it makes it easier to keep Anki decks up to date.

[1] https://github.com/vangberg/ankivalenz

[2] https://quarto.org/

[3] https://github.com/vangberg/quarto-ankivalenz


Definitely something I want to explore later on, if I can make the individual prototypes work well by themselves.


That's something I will have to look into. Thank you for the suggestions.


Very interesting, I will look into that. Thank you!


No plans to monetize. Contributions very welcome! :)


It does not seem to be developed anymore, but Readlang[1] does exactly that. It has been very helpful early on as I was learning Spanish and German.

[1] https://readlang.com/


I mixed it up with bevorzugen[1] I think. Will fix it, thanks! :)

https://en.wiktionary.org/wiki/bevorzugen


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: