32 karma · joined Apr 26, 2012 (14y ago) · 37 submissions
comment 1y ago · link · parent
It does not have a large ecosystem of stack sharing, it's mostly aimed for those who write their own decks. You can compile it to a static binary and be sure that the decks you create work for a long time.
comment 1y ago · link · parent
Dpifke, beancounter looks nice, big and well tought out. I bookmarked the docs/ to have a more troughout look at it later.
Update: Had a more detailed look on Beancount.
comment 1y ago · link · parent
Static binaries generated by Go are indeed large, even if the source code here is under 30 lines with support to some additional minor features (US and Finnish day names, command line help, optional week headings, day counts and parameter handling).
Here are some more scripts to generate calendar.txt date format:
comment 1y ago · link · parent
According to mpcjanssen: "The suspending of the applications by Google #1102 and the continuously fixing breakage by Android API changes have reduced my Simpletask motivation to a very low level." [1].
[1] https://github.com/mpcjanssen/simpletask-android/issues/1110
comment 1y ago · link · parent
I installed it just to read the man page: """
LANG=C
Easter=Ostern
#include <calendar.usholiday>
#include <calendar.birthday>
6/15\tJune 15 (if ambiguous, will default to month/day).
Jun. 15\tJune 15.
15 June\tJune 15.
Thursday\tEvery Thursday.
June\tEvery June 1st.
15 *\t15th of every month.
May Sun+2\tsecond Sunday in May (Muttertag)
04/SunLast\tlast Sunday in April,
\tsummer time in Europe
Easter\tEaster
Ostern-2\tGood Friday (2 days before Easter)
Paskha\tOrthodox Easter
"""comment 1y ago · link · parent
[1] https://terokarvinen.com/2021/calendar-txt/calendartxt-gener...
[2] https://terokarvinen.com/2024/format-date-calendar-txt/dateg...
[2] https://terokarvinen.com/2024/format-date-calendar-txt/
Update: Added the template until 2400.
comment 1y ago · link · parent
Based on documentation, you can mdq for the chapter whose heading is "## Foobar"; or extract all lists in chapter "### Xyzzy".
Thanks, abound!
Update: mdq discussion https://news.ycombinator.com/item?id=43152704
comment 1y ago · link · parent
With some traditional GUI calendar software, I was often hunting and miscopying week numbers. Some software also had a weird (non ISO-8601) idea of week numbers.
In case you need calendar.txt after 2033, I wrote a small tool [2] to generate more templates.
[1] https://terokarvinen.com/2021/calendar-txt/calendar-txt-unti...
[2] https://terokarvinen.com/2021/calendar-txt/calendartxt-gener...
comment 1y ago · link · parent
Works with all file formats, from photos and movies to text files. Cross platform: Linux, Windows, Android, probably also Mac and BSD.
Update: And it's end-to-end encrypted and free, open-source software.
comment 1y ago · link · parent
One main benefit from git is also to work as an insurance against (user) errors, and make the whole process much more transparent. When I have used calendars with automatic synchronization, I would have enjoyed a "change log" to make sure that my timezones and meetings are not mistakenly modified by software.
For your dentist example, I would probably just use 'grep' or find in my text editor. After all, six months of days is very little text.
comment 1y ago · link · parent
Calendar.txt is indeed a personal calendar. So feel free to violate the spec as much as you need or want to. My main use for calendar.txt is editing with text editor, and thus, I have not given emphasis to automatic modification.
Time notation is ISO-8601 date and week number. In my view, ISO-8601 is an international standard and not tied to a specific country. I find it convenient to read and sort.
I use local time for physical events. For international calls, I just write down the timezone "13:00Z" or "11:00EET" (update: or mark it in my local time).
At-sign "@" for context was chosen to match todo.txt, as I also use that. As the calendar is personal, it does not need to be fully machine readble. But for your example on email addresses, you could still do it: @WORK email bob@example.com. The context starts with an at "@", email does not.
Full stop "." is easy to type on a cell phone. It's true that a rare char would be more suitable for automatic parsing.
Thanks for the ideas!
comment 1y ago · link · parent
In my work, similar events happen on the same week numbers in different years. The importance of week numbers probably depends on your area of work.
For me, one thing is a day. That's also the context I need when reviewing and planning. But if I remember correctly, previous HN thread on calendar.txt had a suggestion where someone had an event-per-line format, if you prefer that.
[1] https://terokarvinen.com/2021/calendar-txt/calendar-txt-unti...
comment 1y ago · link · parent
I use calendar.txt on a cell phone with Markor text editor. For my desktop, I just use micro editor on terminal, the same I use for most text editing tasks.
Bookkeeping using plain text files sounds both interesting and challenging.
comment 1y ago · link · parent
I use +plustags for multiday and recurring events. So for each line +grandma is visiting, I would add the tag +grandma.
I take similar approach with my courses, +tt for pentesting (from the word in Finnish). I found that for me, creating and validating recurring and multiday events was easier for me. Of course, your mileage may vary.
Smikhanov, you found copy pasting challenging. For me, copy pasting from some dedicated calendar software was a challenge. Copy-pasting with calendar .txt makes it easier for me to keep date, week number, weekday and the event together. And your comment on paper planners was on the spot, I wanted to catch some of their benefits, transparency and reliability with calendar.txt.
comment 1y ago · link · parent
https://web.archive.org/web/20250216110151/https://terokarvi...
comment 3y ago · link · parent
Multiple steps are required to get to readable or audible output: identifying a signal, identifying modulation and demodulating.
[1] https://terokarvinen.com/2022/ai-sdr-analyze-radio-signals-w... [2] https://muikkurf.wordpress.com/ [3] https://github.com/kajami/SDR-project
comment 3y ago · link · parent
Marymkearney, you could write a similar program for your grid calendar.
1. Print HTML start boilerplate. Start an HTML table and row (tr). 2. Read a line of calendar.txt. 3. Print contents of the day as table cell (td). 4. If day is Sunday (string matches "\bSun\b"), print row change (/tr, tr). 5. ... 6. Profit.
HTML is quite convenient for printing, and you can modify it with CSS. As an added bonus for Quinzel, you can copy your static calendar to your devices, and make any device show it - so you don't need to turn those pages. To make the static HTML file available to your devices, you could use syncthing or a web server in local network.
comment 4y ago · link · parent
Plain text takes very little space. Only 75 MB for MDN (Mozilla Developer Network), Devhints.io, tldr, Go by Example, some OWASP and some docs for specific software (Apache, Hugo, Django, Flask, Arduino, micro, Pandoc, Lua...). All Free and open source.
If you're preparing for offline, you could download it while you still have the net:
https://terokarvinen.com/2022/ks-kanasirja-offline-tui-dicti...
comment 4y ago · link · parent
2b3a51, interesting planning process. My system with calendar.txt and planning courses: I use week headings for marking the periods and period weeks (4p1). When reserving course days, I just put the tags there (+pw). Later, when I decide the main theme, I add it ("+pw deploy"). If there is a special channel, guests and other info, I add it as it arrives.
For past events, calendar forms a nice basis. At least for me, most of the stuff I plan, happens. I understand you add some insight there, maybe I should try that, too.
comment 4y ago · link · parent
Your syntax highlight sounds like a nice addition.
comment 4y ago · link · parent
They work nicely together. To check for all calendar events and todos for a project, I can 'grep +pw calendar.txt todo.txt'. This also shows the start and end date of the project (first and last event date)
Todo.txt is a great format!