dtb trinity
trinity closed issue bonsai/harakit#41 2024-02-06 22:42:20 -07:00
rtfm(1) - manual pages
trinity commented on pull request bonsai/harakit#45 2024-02-06 22:36:54 -07:00
Makefile: removed configure and made library builds better

Should this be a RUSTFLAGS flag?

trinity commented on issue bonsai/harakit#8 2024-02-05 16:26:53 -07:00
qi(1): The qi shell

Should piping be done by the shell?

I've had an old program idea that I'm still working on called pspipe(1) - it pipes given commands. So pspipe [ cat ] [ less ] is equivalent to `sh -c 'cat…

trinity commented on issue bonsai/harakit#21 2024-02-04 10:00:54 -07:00
rpn(1) - reverse polish notation

We discussed bitwise operators not being useful for this calculator as it's floating point. I'm working on another RPN implementation (srpn(1) - simpler rpn) that might be nice for an Extras…

trinity commented on issue bonsai/harakit#21 2024-02-04 09:55:57 -07:00
rpn(1) - reverse polish notation

Comparisons might be tricky because it's hard to compare floating point numbers. 0.3 doesn't always equal 0.3 bit-by-bit. Maybe it would be better to have a ~= for equality ± some value and…

trinity deleted branch manpg from bonsai/harakit 2024-02-03 21:35:39 -07:00
trinity commented on issue bonsai/harakit#44 2024-02-03 21:35:21 -07:00
scroll(1) – pager

I have a particularly bad one in my source tree. It was less useful once I'd figured out I could scroll my xterms but nowadays I just use…

trinity commented on issue bonsai/harakit#41 2024-02-03 21:25:49 -07:00
rtfm(1) - manual pages

Could # headers be specifically for title/section metadata?

For example, roff:

.TH  PAGE 1

and my proposed equivalent usage in doc:

# PAGE(1)

Or PAGE 1 or…

trinity commented on issue bonsai/harakit#43 2024-02-03 21:04:17 -07:00
format(1): formatting strings for ouput

I see your point and agree.

trinity commented on pull request bonsai/harakit#36 2024-02-02 21:00:08 -07:00
rpn(1)

n can only ever be Invalid.

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:38:03 -07:00
rpn(1)

I would use ** for exponentiation as ^ is conventionally used for bitwise xor.

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:35:13 -07:00
rpn(1)

whitespace-delimited

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:33:43 -07:00
rpn(1)

In C - I can't speak as to how Rust does it - enums are basically #defines as they replace a given symbol with another symbol, though unlike #defines the symbol remains in the code rather than…

trinity opened issue bonsai/harakit#40 2024-02-02 07:55:34 -07:00
scrut(1) buffer overflow
trinity commented on issue bonsai/harakit#27 2024-02-02 07:39:01 -07:00
GNU yes(1) analogue

On second thought, I'm fully on board with dropping printf(1p) and using format(1). I wonder if the name could be better though - I still think "format" is vague.

I don't think out(1) is…

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:17:36 -07:00
rpn(1)

It looks like dc(1) historically also had this issue. I'd really like to not have it though and I might try to fix this myself.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

"Rpn evaluates a given reverse polish notation expression according to the conventions defined in rpn(7), printing the last item on its stack on completion."

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

"Otherwise, it reads a newline-delimited series of numbers and integers from standard input."

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

I would classify this as a bug, not a caveat, and refrain from mentioning implementation details in the man page.