Better HN
topnewbestaskshowjobs
Log inSign up

bbodi

144 karma · joined Nov 19, 2020 (6y ago) · 21 submissions

Submissions

1.

Show HN: Tinywm – a scrolling window manager for macOS, inspired by Niri(github.com ↗)

14 points · by bbodi · 1mo ago · discuss

comment 2y ago · link · parent

After years of procrastination, I've decided to dust off my little app, write documentation for it, and release the latest version, as it contains many useful improvements and features [0] that could be beneficial for many people.

[0]: https://bbodi.github.io/notecalc3/changelog.html

3.

NoteCalc 0.4.0(bbodi.github.io ↗)

4 points · by bbodi · 2y ago · 2 comments

comment 4y ago · link · parent

I am the author of NoteCalc, and it warms my heart that my project is mentioned here :)

As a sidenote I would like to mention that NoteCalc is still in active (but slow) development, though I do it privately, and the next big release will be definitely this year.

comment 5y ago · link · parent

If everybody adds his/her rust+wasm+calculator projects in the comments, let me jump in as well with mine :) https://bbodi.github.io/notecalc3/

Nice work btw!

comment 5y ago · link · parent

author here: I have zero experience with Visual Studio API, and honestly, looking at what a giant and slow mess VS became, I would not even try it :)

But providing a standalone desktop/terminal version is on the list.

comment 5y ago · link · parent

Hi, it would not be hard at all, at the moment for me it would be like 1 day of work. Honestly, I just don't see its benefit, you can always open it on a dedicated browser and use it as it would be a desktop app.

However, in the next release I might provide a desktop version.

comment 5y ago · link · parent

Since others already mentioned many fantastic alternatives, let me share mine: https://bbodi.github.io/notecalc3/

comment 5y ago · link · parent

Hi, thanks :)

Why WASM:

One of the primary goal of NoteCalc is to be easily accessible (e.g. it was mainly born because Soulver is MacOS only). So the browser-based client was obvious choice, and I chosed WASM for

- performance reasons

- to be able to use rust

- to avoid as much JS (and related technologies) as possible

Why Canvas:

I answered here: https://github.com/bbodi/notecalc3/issues/6#issuecomment-749...

In a previous versions, only the changed areas were re-rendered, but the code was much more complex and error-prone, and it did not bring any performance improvement, so now I just rerender everything, still excellent performance but much simpler code. However this is different for calculations, only changed/affected lines are reparsed and recalculated.

comment 5y ago · link · parent

Originally NoteCalc used a library for handling arbitrarily large numbers. Unfortunately, some operations were so slow that as a quick fix, I replaced the library with a lighter one without dynamic allocations (which is 96 bit integer with 28scale).

This serves well the primary goal of NoteCalc so I did not spend more time on it yet, but I am on the same page as you, and if NoteCalc will be feature-complete, I will give an other shot to arbitrarily large calculations/precision.

comment 5y ago · link · parent

yeah why not :) I added it to my todo.

comment 5y ago · link · parent

Thanks for noticing it!

Unfortunately it seems units cannot be applied to function results. It must be fixed, I noted down, thanks!

comment 5y ago · link · parent

One of my primary design goal was something like that: "My mother should be able to use this tool to calculate/plan her vacation expenses". (My mother is older and not a tech guru you can guess :)) So the primary focus are on simple calculations with meaningful context and immediate feedback. Nothing fancy.

Though, beside that, I think it provides some nice features. E.g. the matrix creation/editing functionality was born because I could not find a simple tool to double check my rendering calculations with.

comment 5y ago · link · parent

Yes this will be, thanks :)

comment 5y ago · link · parent

In your case syntax highlighting helps. Everything which is not part of a calculation is rendered as a simple text (greyish): [image](https://trello-attachments.s3.amazonaws.com/558a94779b3b3c5d...)

But yes I admit it takes some time to get used to the colors and their meanings.

Currencies and exchange between them are on my feature list btw.

comment 5y ago · link · parent

I take it as a huge compliment :)

Pasting should work with simple texts, what was the issue? Don't hesitate to open an Issue in GitHub if something does not work. https://github.com/bbodi/notecalc3/issues

comment 5y ago · link · parent

Thanks, you are right, I did not notice but yes it could be annoying.

The reason is that the content of the note is stored in the URL so it is easy to share it by sending the url to friends. So the URL changes basically on every modification.

I add it to the fixlist.

comment 5y ago · link · parent

Hi, Not yet, it is on my list, but unfortunately with a low priority.

But fortunately, the whole architecture was designed with the terminal in mind: - 99% of the functionalty is implemented as a lib, and just a tiny part is responsible for input and rendering, so it is very easy to write new frontend for it. - both the rendering and the input uses characters as a basic for coordinates, so it is easy to translate the render commands generated by the lib to the terminal.

19.

Show HN: NoteCalc(github.com ↗)

267 points · by bbodi · 5y ago · 76 comments

20.

NoteCalc: A handy notepad with a smart builtin calculator in the browser(bbodi.github.io ↗)

2 points · by bbodi · 6y ago · discuss