HNHacker News
TopNewBestAskShowJobs

ananthakumaran

491 karma · joined December 15, 2010

website: https://ananthakumaran.in resume: https://ananthakumaran.in/resume github: https://github.com/ananthakumaran email: ananthakumaran@gmail.com
submissionscomments
ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
I have seen projectionlab before and agree with you. There are few tools on the forecast side. Most of them stop at budgeting. I do have plans to make retirement page generic (aka Goals/Target), but I am yet to figure out the details.

In an ideal world, double entry accounting would be your database and there would be lot of tools that use that and focuses on a specific niche. But we are far from that and everyone wants to create their own data island.

ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
I can try to improve import functionality, but Plaid etc is quite hard. I can't even figure out their pricing model from their page. So, as a free app I don't think it can support Plaid.
ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
I have replied at another thread, but there is no plugin support as of now. My country changes the rules every year and add grandfathering, xyz rules etc. I think, I have to figure out a DSL or some other way to make it general. This is something I am interested, but haven't figured out how to solve it yet.
ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
It is quite similar to Beancount Fava. I want to focus and improve some of the things like app distribution (desktop/single cli binary) and the UI (reporting) and make it accessible for more users.
ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
> One thing off the bat I noticed, it doesn't look like custom Tags are supported?

Not as of now, Tags are used only for recurring transactions as of now. I first need to figure out how to bring the filter into the UI. Everything now works based on Account names only.

ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
> One suggestion would be to make the country-specific pieces like tax calculations module so others can contribute their own.

This is something I have been thinking about, I need to figure out the base abstraction. Even the current implementation (which is basically written for my personal use cases) has too many conditions/grandfathering etc, I suspect it might not be accurate.

ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
The author is from India (myself) and this is how numbers are formatted there. Locale can be configured via configuration page, so it's just a matter of changing it to `en-US` if you want thousand separator.
ananthakumaran··on Show HN: Paisa – Open-Source Personal Finance Manager
There is import option available on Paisa, but I agree, it won't match YNAB level experience.
ananthakumaran··on Keep your files inside your VM
Tramps works well for simple use cases, like quick config edit or view some files etc. For full blown project development, I found numerous issues with tramp. Many plugins that work well with local files might not work well with remote files. This is not a fault of tramp though, just that not every plugin authors have time to support tramp well etc. At the end, I went with mosh + emacs setup which just works once you spend some time to setup[1] your terminal.

1: https://ananthakumaran.in/2021/07/31/emacs-remote.html

ananthakumaran··on Ask HN: Tell us about your project that's not done yet but you want feedback on
I am building a Web UI called paisa[1] to visualize personal finance data. We currently have very good command line tooling for this (ledger/hledger/beancount). A Web UI will make it even easier to see what's going on with your finances.

I am interested in knowing what are the common problems you face with command line approach that can be solved via a Web UI

[1]: https://github.com/ananthakumaran/paisa

[2]: https://paisa-demo.ananthakumaran.in/

ananthakumaran··on Ask HN: How do you manage your personal finances?
Currently it supports ledger and hledger natively. If your file is compatible with any of the two, it would work.

There is a clear separation between the cmd line tool and paisa. It should be relatively straightforward to add support for more. I will look into it later.

ananthakumaran··on Ask HN: How do you manage your personal finances?
I started with https://ledger-cli.org. Later built a GUI https://github.com/ananthakumaran/paisa on top of it
ananthakumaran··on How to store your app's entire state in the url
About 6 years ago I had to do this on a project. We had charts with a lot of options and we wanted them to be bookmarkable and shared between colleagues. We started with base64, soon moved to a custom encoding with version support https://github.com/ananthakumaran/u
ananthakumaran··on Understanding the N + 1 queries problem
This is a contrived example, probably not a real-world use case. The kind of issues I am dealing at work is much more complicated, usually involves more than 3 or 4 tables, serializers are referred by multiple other serializers etc. There is usually business logic involved as well in the query construction. I understand things can be improved, but it's not as simple as writing few queries by hand. ActiveRecord/ActiveModelSerializer provides good composability, but fails to handle N + 1 queries optimally, which is what I am trying to explain.
ananthakumaran··on Emacs 29 is nigh
I tried to use tramp based setup, but ran into many edge cases. Even popular libraries like flycheck doesn't support tramp very well. Eventually I found mosh and that settled the problem. Mosh + iterm2 + terminal emacs[1] combination works very well. Except a few missing features (fringe, variable font size/multiple fonts), nearly everything else works well.

1: https://ananthakumaran.in/2021/07/31/emacs-remote.html

ananthakumaran··on Tea: A new package manager from the creator of brew
Learning the syntax is the easy part, the language is quite simple with few rules. But, I agree with the other sentiments. It needs a better UX for it to be mainstream. There are few attempts being made[1][2], only time will tell

1: https://www.jetpack.io/devbox/docs/ 2: https://devenv.sh/

ananthakumaran··on GitHub CTO – Biggest architectural mistake was going full microservice
I don't buy any argument that claims one is better than the other. Most of the projects start as monolith, but as time goes on, the project turns into a big ball of mud. There may be a few exceptions, projects that had strong tech leads to enforce boundaries. Have you run into projects where the test suite takes hours to run? So, at some point people decide to enforce the boundaries at the service level, by splitting the monolith to services. Maybe in the future communication between services will become a bottleneck. This might be a good trade off from some perspective. You reduce the blast radius of bad decisions from engineers and make it easier to rewrite services that were done poorly.
ananthakumaran··on Push-based outbox pattern with Postgres logical replication
Debezium supports outbox[1] pattern out of the box. All your application needs to do is to write to the outbox table and debezium will do the rest mentioned in the post and publish your events to kafka.

1: https://debezium.io/documentation/reference/stable/transform...

ananthakumaran··on We used Elixir's Observer to hunt down bottlenecks
recon and observer_cli are the tools I reach out first to debug any issues in production. In any other language, I usually think about how to reproduce the issue locally. With Elixir, I just get into a remote shell in the affected machine and live debug the issue, and there are cases where we applied hotfix by using eval right there from the shell. The idea of the remote shell itself is alien to most languages.
ananthakumaran··on Asdf Performance
It does work on m1, you might run into more issues compared to intel based Macs though. I wouldn't call nix painless. It might take some time to figure out the packages required, proper env variables to setup etc. But, once somebody in the team figures out the details, it will likely work for everyone in the team and others don't have to go through same pain. The whole setup is isolated to a single project and will not affect other projects. The setup for a old rails project pinned to a ruby version with few dependencies might look like below

    let
      pkgs = import (builtins.fetchTarball {
        url =
          "https://github.com/NixOS/nixpkgs/archive/c92ca95afb5043bc6faa0d526460584eccff2277.tar.gz";
      }) { };
    in pkgs.mkShell {
      nativeBuildInputs = [
        pkgs.ruby_2_6
        pkgs.shared-mime-info
        pkgs.mysql
        pkgs.libmysqlclient
        pkgs.imagemagick6.dev
        pkgs.pkg-config
        pkgs.cmake
      ];

      PKG_CONFIG_PATH = "${pkgs.imagemagick6.dev}/lib/pkgconfig";

      FREEDESKTOP_MIME_TYPES_PATH =
        "${pkgs.shared_mime_info}/share/mime/packages/freedesktop.org.xml";
    }
ananthakumaran··on Asdf Performance
I have been gradually moving from asdf to nix shell plus direnv combo. It handles system level dependent packages in addition to programming language version. Pinning the exact version is not a first class feature as of today, though possible by pinning the nixpkg to a specific commit. Hopefully nix flakes will solve this use case well when it is stable.
ananthakumaran··on Scrumdog – a program to download Jira Issues to a local database
I had used https://github.com/go-jira/jira in my previous job. custom-commands is a very useful feature. I had built a set of commands to filter out issues for different use cases. The command line approach was way faster than waiting for the jira page to load and click the correct set of filters.
ananthakumaran··on I made a virtual bookshelf
Let's say you want to use it in your personal website, you need to copy few files.

- public/js/book.js (all related js are here)

- public/css/books.css (css related to this page)

- books.html

The makefile contains two tasks

- book-json (convert goodreads csv to json)

- book-covers (gets cover images from goodreads)

This is the very high level picture. This is written for personal use and not designed with other users in mind, so you need to have some decent knowledge about css/js/html/nodejs to put together everything. Hope this helps.

ananthakumaran··on I made a virtual bookshelf
I shared the repo in another comment, feel free to copy anything (except the blog post content). I will add a LICENSE file to the repo later.
ananthakumaran··on I made a virtual bookshelf
All the information comes from the Goodreads CSV export. After I complete any book, I export the CSV file and run make task[1]

1: https://github.com/ananthakumaran/ananthakumaran.github.com/...

ananthakumaran··on I made a virtual bookshelf
self-plug: https://ananthakumaran.in/books
ananthakumaran··on GitHub Résumé: Service that creates a résumé based on your GitHub repos/activity
if anybody wants to see their resume but doesn't want to star the repo

1) type your username and go to the error page

2) run the following code via inspector "github_user_starred_resume = function() { return true }; run()"

ananthakumaran··on Sorbet and 100% cov makes Ruby refactoring possible
Having used both Ruby and Elixir, this is exact opposite of my experience. I would say Elixir/Erlang is one of the best language from observability/debugging perspective. Immutability, per process heap, ability to trace any module/function call in production (recon), remote shell etc make it trivial to debug most of the issues. I have found memory leak in production from 3rd party library in less than 30 minutes. Just looking at the process list sorted by memory will tell which library is leaking (in majority of the cases), as most of the processes has single purpose.
ananthakumaran··on Tell HN: Have just discovered that I can use any key as Ctrl on my keyboard\
I mapped caps lock and return on hold to ctrl. This makes the layout symmetric and can type the keys with other hand, similar to shift.
ananthakumaran··on Tell HN: Have just discovered that I can use any key as Ctrl on my keyboard\
xkeysnail if you use Xorg. For Wayland, (sway) I applied a patch to make it work. If the window manager exposes the current focused window, then it's possible to make it work with xkeysnail.
← PreviousPage 2 of 3Next →