News for hackers. Stuff that matters.

ichverstehe

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...
Re:pdit: The Python Un-Notebook for Coding Agents on Friday February 13, 2026 @07:50AM (#47002130)
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.
Re:Hashcards: A Plain-Text Spaced Repetition System on Sunday December 14, 2025 @01:55PM (#46265680)
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/

Re:Anki-Fy Your Life on Saturday March 18, 2023 @02:20PM (#35211698)
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

Show HN: Musikalia, an iOS Music Player for Kids

https://apps.apple.com/us/app/musikalia/id1633437142

Hi HN!Yesterday I finally released Musikalia, an iOS music player I built for my son, so he could be in charge of the music. It is my first SwiftUI project, and I have been (very) slowly building it since December '21. It aims to be fun and easy to use for small children, while not being another addictive app. We are using it almost daily, and in our (n=1) experience, it achieves just that: my...

( Read More... | no comments | on HN )
Re:Show HN: Text editor with inline English-German dictionary on Saturday November 19, 2022 @10:15AM (#33670834)
Definitely something I want to explore later on, if I can make the individual prototypes work well by themselves.
Re:Show HN: Text editor with inline English-German dictionary on Saturday November 19, 2022 @10:14AM (#33670831)
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

Show HN: Text editor with inline English-German dictionary

https://github.com/vangberg/foreign-dispatch/tree/main/autocomplete

HiWhen you are learning a new language, you need to practice different skills: reading, listening, speaking, writing. I find writing to be the hardest activity, not least because I have to look up words in the dictionary all the time, and that is a frustrating context switch.Here is an experimental CodeMirror-based editor, that lets you look up translations inline. Type @ followed by the...

( Read More... | 16 comments | 2 points | on HN )

Show HN: Generate Anki cards from your notes

https://github.com/vangberg/ankivalenz

Hi!To help me prepare for a biology test, I made a Python app, using the excellent genanki package[1] to generate Anki cards directly from my Markdown notes. Cards are created from list items, using delimeters like `?::` to separate the question/answer (or front/back) from one another.Example:---# The Solar System- Number of planets ?:: 8## Planets- Mars - Color ?:: red ---This will create...

( Read More... | no comments | on HN )
Re:Interactive course about “everyday” data science on Monday July 18, 2022 @06:55AM (#32136723)
I just spent half an hour in an airport reading the first chapter. With only a bit of knowledge of Bernoulli distributions, I found it very informative and well written, moving forward at a nice pace. The tiny tests made me reread a few things I had glossed over initially, forcing me to understand it a little better. Good job.

It would be cool if you provided links to further reading on the various concepts, for extracurricular studies.

Overall the style and ethos feels similar to Pluto.jl, which I think puts you in good company :)

Bonus points for working almost flawlessly on mobile (the table with 0’s and 1’s overflowed and was pushed offscreen.)

Re:Workflows in my note app Skrift on Thursday February 03, 2022 @02:46AM (#30189808)
Please do copy! I have experimented with tree based interfaces as well, and have also found that they become unmanageable.

The row/column approach works well, but eventually breaks down when working with dozens of notes at the same time. I am trying to figure out a way to efficiently group notes[1], but have hit a bit of a wall. Looking forward to seeing what you come up with :)

[1] E.g. my attempt to have multiple workspaces, while neat in theory, wasn’t great to work with in practice: https://twitter.com/ichverstehe/status/1347896632424198144 - having everything at the same level works better. My next attempt might be some sort of grouped tiles with autoscaling.

Re:Workflows in my note app Skrift on Wednesday February 02, 2022 @12:46PM (#30181063)
OP here.

When I started building this a year and a half ago, this was my plan. Since then, (1) there has been an explosion of note apps and (2) I realized that I do not really feel enthusiastic about building out commodity features needed for that. Instead, I am slowly building for myself, experimenting with different ideas and workflows[1], and sharing them on my blog, with the hope that someone else picks them up.

Alternatively, if I wait long enough, the "note app" part will become a commodity itself, and I can implement the interface/workflows on top of it. Quarto[2] looks promising in that regard. Their visual editor[3], which is used in R Studio, is really good.

[1] As an example, I at some point played around with a zooming user-interface: https://twitter.com/ichverstehe/status/1347896632424198144

[2] https://quarto.org/

[3] https://quarto.org/docs/visual-editor/

Re:Exploring Databases Visually on Tuesday April 06, 2021 @06:08AM (#26710075)
I'd love to test this, at any stage. Email in profile.
Re:Rails Is Not For Beginners on Thursday December 08, 2011 @02:14AM (#3328115)
Sinatra, Cuba[1] etc. can finely be used for larger apps as well. It may require some more discipline upfront, but the notion that those are only usable for small hacks is moot. In fact, I have found it easier to introduce new coworkers (without prior knowledge of either) to medium sized (5k LOC) Sinatra apps than Rails apps the same size.

[1] https://github.com/soveran/cuba

Older »