Hacker News new | past | comments | ask | show | jobs | submit
Every country that calls itself democratic and free should open-source such software.

No need to support evil giants, it's enough to host it elsewhere.

The US was working towards this and then it was one of the first things taken down by DOGE.

https://www.wired.com/story/doge-direct-file-chopping-block/

https://github.com/IRS-Public/direct-file

A technicality: what is being open sourced here are the formulas used to compute value-added tax and other forms of business tax that were affected by the recent tax reform.

Although the Brazilian tax authority does develop software to file personal income tax, and provides it free of charge, that software is currently not open source.

If the formulas and laws are not accessible to the public directly is the law even valid.
loading story #50592060
We are getting to a points with LLM now that the tax formulas and etc are the important part now rather than the software itself.
loading story #50590624
loading story #50590515
It was also Intuit lobbying
Yes, they killed direct file, the motivations are fairly blatant. Open source makes so much sense for this, you can check it and raise issues, raised a few issues for the IRS repos myself (obviously, they were pretty fringe, but this will matter for n=few hundred people)
If you can file your taxes through a commercial app, why can't you do it through an open source app? Is it illegal? What's stopping a developer from making a free to use or open source tax filing app?
loading story #50591377
loading story #50589712
loading story #50589810
loading story #50589659
loading story #50591352
loading story #50590276
I mean, you can still file your taxes with pen & paper, using public information and snail mail. But I fear the day when we’re all forced to use some clunky software owned by a shady private company, entering sensitive data and selfies on our smartphones, with no idea where it’s being stored. I’d be happy if the government just left the current system alone before making it even worse.
It’s so bizarre that the US government doesn’t provide a way to do your taxes. At least for citizens.

I live in the Netherlands and the Dutch IRS provides everything I need to do my yearly taxes. Hell they fill in a whole lot of numbers automatically based on what they know about my salary from my employer. Before I owned my own home my yearly taxes took literally five minutes to fill in because of that. Just double checked some pre-filled numbers and done.

It’s not bizarre, it’s by design. Powerful lobby efforts and another sign of the corporate takeover of Washington. Inuit & others have spent millions to keep it this way.

At one point, the government tried to force them into providing free tax filing for folks with simple taxes… they used every dark art / black hat tactic to trick customers into paying for even the simple free option.

loading story #50590377
loading story #50592313
penny wise pound foolish. This is so unfortunate.
It wasn't a cost cutting measure...
loading story #50589532
loading story #50589214
It's ok, Elon's a lefty now.
Yes. Proprietary software that people are forced to use to access government services is a hidden tax. In 2026 the scope of automation is big enough for the governments to maintain in-house engineering teams and use every opportunity including open-sourcing to build better software at lower costs. Today we probably don’t even need to put them in non-profits or subsidiary companies to avoid government salary caps. There are enough people on the market looking for jobs.
> Proprietary software that people are forced to use to access government services is a hidden tax.

In Brazil, this software has been made available for free by the Government for at least 25 years. I say this because that's around when I started using it. It was like that for a lot longer. Versions for Linux, Mac and Windows.

What's different now is that they've open sourced it. Great move, and I highly support it! That said, it makes no difference in terms of cost to use the software.

I think you're confusing this with IRPF, no?
I did lot of open sourcing for city governments, but it brings more cost then keeping it internal due to presenting it, docs, meetings etc. Now some people claim you should do those things anyway but not to the same extent
It brings more cost if you want to do it the right way with fully documented internals and taking pull requests, but you don't need to do that.

You can just dump the code into a public repo with minimal build instructions and let people figure it out. Costs you absolutely nothing unless you decide to write your own license and forget to put in the liability waiver. And its infinitely better than keeping it closed.

I think City governments don't have the scale for it to be worth it to the same extent.

What I'm about to fantasize about is a "bucket list coding project" type thing, but I'd be happy to take a look at the famous IRS tax base mainframe code though. I'm a mainframe systems programmer and we hear stories about the "master file" and oodles of assembly code, which is right up my alley.

Could be transformed to C or C++ today for easier maintainability, but my guess is that they are maybe running without LE runtime services? So maybe that's why it's a challenge to upgrade? Still, it's possible, if you manually initialize libc with an assembler macro and setup your own prelude/epilogue for initialization, comedown, abort cleanups, register passing conventions, and put assembly thunks for all the places you are needing 24-bit memory etc or accessing certain parts of OS common state...

For those not in the know, on z/OS, LE (short for language environment, they didn't call it libc even though that's basically what it is because a lot of other mainframe compilers use it too and the dominance of C at the time on the platform was far from assumed for systems code, but is now probably the case) is basically "libc" (and specifically, here I'll be talking about the crt0 part). Without it you need to make your own allocators, handle all your own register save areas, etc. Back in the day when the IRS first computerized tax, the concept of a system wide "libc" you would link with didn't really exist. Every language had its own runtime library, and a lot of shops still wrote everything like it was a bare metal program using "OS" linkage which is a euphemism for basically linking the way the OS code does, not really "userspace" linkage like modern LE enabled XPLINK (much closer to the ABI and calling convention on a platform like x86_64 Linux, and much more efficient too in terms of padding arguments in registers) is.

Nowadays, you want to make sure the C runtime initializes first so it can clean up your messes (like, stuff that the runtime allocates during an uncontrolled failure), even if you are programming in assembly, and if not, at least you need recovery routines to jump to. Not always possible if you are accessing certain types of OS control blocks or low storage or addressing physically (running in DAT off part of the "nucleus" aka kernel), but still, would love to see the famous file.

And yes, the moment I saw who DOGE was bringing to the IRS to deal with this issue and that it was some hipster web dev groupie, I knew it was gonna flop. Probably ran away in terror when they saw what it was REALLY like programming in the 60s and the 70s as far as perf consciousness went. And that it always universally meant assembly (in a very historic and long lived, but also very CISC-y, ISA, although I suppose it was less CISC-y at the time) because compilers weren't great at optimizing yet.

Anyway, from my position of expertise, that's always been the one governmental piece of code that I thought would be on my bucket list. Who knows, I'll probably end up seeing it one day anyway if I continue consulting. Lots of consultants at the IRS needed to keep that same logic churning....but with more people who knows what you could do...if all the systems software engineers in the US were contributing you could probably get it into C or C++ using a modern version of either of those languages (the latest compiler is I think clang 22 on the platform, possibly even clang 23 for those who compiled themselves or are on a beta branch, so far from an ancient C compiler that doesn't support modern C/C++ standards, and far from the ones back in the days when the IRS code was being written that couldn't optimize well enough to fit in the much more limited memory and CPU budgets of the time.)

Such a task would be a Herculean effort ideally suited for an open source scenario, because you probably NEED every single person in the country that happens to know mainframe assembly and C or C++ if you want it to end up being a success. Especially in the assembly area, there really aren't that many of us, and we are spread out across all the big companies all over the country and can't coordinate a project like that so long as it's closed source.

> I'll probably end up seeing it one day anyway if I continue consulting.

Where are all of those hackers when you need them? Too bad this the tapes (punch cards? lol) containing that software aren't leaked.

It would probably not be on tapes or punch cards these days, probably on a big nvme flash storage array (before being loaded into the enormous memories of these machines, we are talking 40-64TiB) and then backed up off site to tape, or maybe they just use Amazon Glacier (which we all know deep down is just tape lol) for that and don't handle it themselves :).
Also, we are all busy getting paid lol! But if something like this were open sourced, I'd take half a year off and do it for free since it's always been sort of a legendary piece of code within the mainframe community. I promise I'm not the only one who would feel that way about it.
> forced to use to access government services is a hidden tax.

Describe. What is anyone forced to use.

It is a quite common case where a government offers a barely functional service, sometimes restricted only to certain certified providers, so that an user has to buy a proprietary solution or hire a consultant to get what they need. In Germany it is unthinkable for a startup to file taxes on their own, everyone goes to a tax advisor and uses the same software, Datev.

I do not know where are you from and what could be a relatable example for you, but I have seen it in different countries.

Requiring a tax advisor is not the same as directly being forced to use a certain piece of software.
A startup needing a tax advisor doesn't seem out of line.

Ordinar people needing a tax advisor instead of having a simple way of filing on their own is more the kind of tax being referred to up-comment.

In the US, filing taxes is free and easy.
How do you do it?
Yes the real problem with US taxation is TurboTax. Excellent analysis.
I recently learned about PIX and was kinda blown away we don't know there is a tidal wave of work being done to displace American payment processors outside the U.S.

https://whatispix.com/

loading story #50593144
loading story #50592739
loading story #50592784
loading story #50592663
I mean in my country government does the taxes for me, I just need to accept their calculation (or do nothing), unless I want to add my tax breaks, which I can do in 5 minutes thorough the web interface. The software itself is not open source, but there's no need for it. Nobody (except business owners) uses paid solutions.
Please tell us which country so we can all move there.
loading story #50592997
loading story #50591107
loading story #50590925
loading story #50591208
We should have the code documented in a repo and an approved llm to do the taxes where the government will forgive any errors and rectify. The current tax system is akin to the government throwing glue on the ground and allowing companies to charge for pulling you out every year
I wholeheartedly agree. But the fact is that most politicians are corrupt, even in the Western world. They call it "lobbying.
Yes! And it's not only evil giants, even in small countries there's dozens (or even hundreds) of software companies needing to adapt their software after laws pertaining to taxation or finance changes.

Open source and publish as a npm, NuGet etc. package.

Exactly. Versioned law, corresponding updates to tax software. I have written on exactly this, apologies for self promoting https://lexifina.com/blog/formalizing-tax-code-globally
>Every country that calls itself democratic and free

Maybe then they will catch up with tyrannical Russia where government provides all the necessary software for filing taxes for free (for over a quarter of century). Some of it (most of it?) is also duplicated as online services.

You have to support them or you go to jail. Same as the good giants.
It’s a long slog and frankly I gave up and got a proper job

https://web.archive.org/web/20170906160619/http://oss4gov.or...

It's jarring isn't it because the path to minimising human work, and improving the quality of what exists, is so blatantly clear in this domain