frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: RebalanceTool – an open-source website for DIY asset rebalancing

https://rebalancetool.com
1•kroneill•58m ago

Comments

kroneill•55m ago
I quit my Big Fintech job recently and wanted to start things off right by shipping my first open-source project.

Whenever I do Bogleheads-style investment rebalancing across multiple accounts (brokerage, IRA, 401K, HSA) I got tired of fiddling with a manual spreadsheets, so I built a tool to automate the task. There is maybe a paid product out there that does this but I couldn’t find a DIY solver that met all my needs.

To keep it a “pure calculator” and protect privacy, it runs entirely in TypeScript on the client side, with no backend. Users can save or load JSON scenario files locally.

The logic to compute trades was more complex than I expected. I wanted to enable the most generic scenarios (e.g. expressing limited fund options in 401Ks; supporting blended funds like VT or target date funds; allowing user-specified fund preferences within accounts) but a naive greedy algorithms can’t always find a possible solution. This isn't surprising since my old spreadsheet workflow sometimes led to dead ends where I’d have to backtrack try different fund placement choices before it all worked.

To solve this, the engine models the rebalance scenario as a linear program and uses YALPS (https://github.com/IanManske/YALPS), a TypeScript LP solver. Specifically the rebalance is modeled as a transportation problem with lexicographic optimization of prioritized objectives. The solver code is pure TypeScript with a thin CLI wrapper, and the web UI defers all the “money logic” to the solver.

I’ve had to resort to linear programming or min-cost flow a few times in my career when greedy algorithms didn’t work, in quite different settings (e.g. computing data layout in a distributed block storage system). It's great for computing a minimal “delta” to get to desired end state without having to code tricky backtracking logic yourself.

This tool is free, open-source, and requires no signup or registration to use.

GitHub: https://github.com/rebalancetool/rebalancetool

I’d love to hear feedback on the UX, linear programming approach, or any edge-case bugs.

Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs

https://clickhouse.com/blog/andy-pavlo-joins-clickhouse
1•nikolay_sivko•29s ago•0 comments

CEO

https://millstrategy.com/public/
1•kingofrome•55s ago•0 comments

Dualism

https://pluralistic.net/2026/08/03/andor/
1•hn_acker•1m ago•0 comments

Aviation Herald sued, posts retraction, but censorship demand follows

https://avherald.com/h?article=53c8958a
1•cf100clunk•3m ago•0 comments

Rebuilding Postgres for 300x faster analytics: batching, fusion, and SIMD

https://malisper.me/how-we-made-postgres-hundreds-of-times-faster-the-query-engine/
1•malisper•5m ago•0 comments

ClickHouse Labs, a new research group led by Andy Pavlo

https://xcancel.com/antibot/captcha
1•ggcr•5m ago•1 comments

WindowSwap

https://www.window-swap.com/
1•EndXA•5m ago•0 comments

The Future, Made in China

https://www.newyorker.com/magazine/2026/08/10/the-future-made-in-china
2•littlexsparkee•6m ago•0 comments

Researchers build tool to dissect how shape-shifting proteins work

https://medicine.washu.edu/news/finding-order-in-the-inner-chaos-of-our-cells/
1•gmays•7m ago•0 comments

Show HN: I built a faster, simpler Letterboxd alternative

1•ordinarily•7m ago•0 comments

Show HN: Best Million Startups, a directory of startups

https://www.bestmillionstartups.com/startups
1•thebrevn•8m ago•0 comments

1 in 6 public Claude Code configs contains a permission rule that does nothing

https://gist.github.com/sfox100/128e8ef9f68109efe1322a56c5e67977
1•sfox100•8m ago•0 comments

Chip motors' tiny electric LUV can drive itself home – with a little human help

https://www.designboom.com/technology/chip-motors-tiny-electric-luv-drive-microcar-remote-driving/
1•surprisetalk•9m ago•0 comments

Samsung bans smart TV apps that share users' internet connections with strangers

https://techcrunch.com/2026/08/03/samsung-bans-smart-tv-apps-that-share-users-internet-connection...
1•Brajeshwar•10m ago•1 comments

The EU AI Act is now in force: an engineering checklist

https://conformityengineering.com/
2•stevalsoto•12m ago•0 comments

Is This All About China?

https://www.rosshartshorn.net/stuffrossthinksabout/is_this_all_about_china/
1•rossdavidh•13m ago•0 comments

Are We Having the Wrong Nightmares About AI?

https://neurips.cc/virtual/2025/loc/san-diego/invited-talk/109606
1•fzeindl•13m ago•0 comments

bstr: A string type for Rust that is not required to be valid UTF-8

https://github.com/BurntSushi/bstr
3•tosh•13m ago•0 comments

Why personal iPhone apps are finally worth building • VelvetShark

https://velvetshark.com/why-personal-iphone-apps-are-finally-worth-building
2•LorenDB•16m ago•0 comments

How to plant a nuclear plant in Iran

https://www.digitaldigging.org/p/how-to-plant-a-nuclear-plant-in-iran
1•docdeek•16m ago•0 comments

Logue 1.0.1: on-device AI meeting notes, now stored as plain Markdown

https://github.com/bitwize-ai/Logue
1•westerosweb•16m ago•0 comments

You might want to build your WebApp in Canvas instead of HTML

https://hivekit.io/blog/why-you-might-want-to-build-your-webapp-in-canvas-instead-of-html/#hn
1•max_sendfeld•17m ago•0 comments

Tlbic v10.0: Now with a Concrete Pilot Design (Chapter 5)

https://drive.google.com/file/d/10LA9ozpOx8piZQ3Qnr7_iVG-p5dScQO3/view?usp=drive_link
1•michikawa59•18m ago•1 comments

Why Our Future Starts on Venus, Not Mars

https://archives.virebent.art/en/the-cloud-city-logistics-hub-why-our-future-starts-on-venus-not-...
1•speckx•20m ago•0 comments

Want less sprawl and more urban infill? Try a land value tax

https://www.volts.wtf/p/want-less-sprawl-and-more-urban-infill
1•specialist•22m ago•1 comments

Show HN: Glaux – Browser-Only AI for Hugging Face ONNX Community Models

https://glaux.rangan39.sh/
1•granganath•24m ago•2 comments

Built a 3D Neural Decode website interactive way to explore how AI models work

https://neuraldecode.vercel.app
1•balavenkatesh•25m ago•0 comments

Modelling Actors with Redex: Part I

https://eighty-twenty.org/2016/08/18/redex-iswim
1•tonyg•26m ago•0 comments

Show HN: PowerScope – a web based interface for the Power-Z KM003C

https://blog.oxplot.com/powerscope/
1•oxplot•26m ago•0 comments

Show HN: An interactive story about living on IRC in the '90s

https://eyearesee.winkingfig.com
3•sascotto•27m ago•0 comments