Hacker News new | ask | show | jobs
by thesuitonym 483 days ago
You make a good argument on why to use a plain text calendar, but not why you shouldn't use the `calendar(3)` format. I think this really speaks to the problem of discoverability that standard Unix tools have. A lot of problems have already been solved by those tools that are included on every BSD, every Mac OS computer, and most Linux distributions, but nobody knows about them, and there isn't really a good way to see what already exists. Sure, you could browse `/usr/bin` to see what's available, and I guess that's the Unix Way, but it's unwieldy.

It would be cool if there were a crash course on this stuff, but even that wouldn't work well, because the first time you use a unixy system, it would be too much information to retain, and subsequent times you're likely to just gloss over all this stuff.

Perhaps the only real solution is asking about what you want to do on messages boards, and hoping some weird old curmudgeon who is familiar with the small program you want to use sees your question.

2 comments

Based on the man page, calendar(3) would not suit my use well. It's quite different from calendar.txt. But I'm happy to hear that you use it.

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
"""
Very recently, I tried using a combination of nail(1), and calendar(1) on OpenBSD as an email and calendaring combination for home use. "nail" is provided by the OpenBSD s-nail package and provides an extended POSIX mailx style environment. calendar(1) is part of the base OpenBSD distribution.

It worked far better than expected. The only thing missed was age calculations for birthdays. I never figured that out. Using the Emacs Diary provided that sort of thing though.

I've since moved to KDE Kontact for mail/calendaring. It works more smoothly if you do a lot of calendar sharing with others, but I could see going back to nail(1)/calendar(1) if Kontact disappoints.

>Perhaps the only real solution is asking about what you want to do on messages boards, and hoping some weird old curmudgeon who is familiar with the small program you want to use sees your question.

I'm an AI curmudgeon in general but this is a place where LLMs really excel. You ask "how do I do x thing I want to do" and it either tells you, from the morass of docs it knows about, or it hallucinates and you find out ten seconds later when there's no man page for the command -- and then you fall back to traditional methods.

Either the LLM gives you a discoverability shortcut, or you're back where you started, anyway.