The fun part about being Canadian is that you get to compete with the entire world for remote jobs with Canadian companies, but no company based outside of Canada wants to deal with hoops required to hire a remote employee based in Canada if they don’t already have a presence here.
A Canadian payroll dependency chart
61–70 of 301 posts
Re: A Canadian payroll dependency chart
#62[flagged]
Re: A Canadian payroll dependency chart
#63Would be nice to have an open source implementation of this.
Yes but unlikely because this is an example of the Open Source "black hole" where nothing escapes because developers don't find such specialized business applications very interesting. This requires constant updating and maintenance because tax laws are always changing.
It's also exactly the kind of thing companies _wouldn't_ use open source for because if the code gets the tax law wrong they have nobody to transfer liability to. Once you have a corporate entity backing a subscription service, insurance underwriters can understand what's going on and you can finally manage your risks.
Re: A Canadian payroll dependency chart
#64[flagged]
>And to think, in the US we revolted because the king wanted to tax Tea 3%.... There is an important difference between then and now and it's called the US Congress. It wasn't about the amount of the tax on tea but rather the fact we didn't vote for it If we don't like the current tax system we have a surefire way to fix it, but we never actually take advantage of it (vote for someone else)
I’m not sure why I’m obligated to be bound by laws that I had as much to do with the passage with as the tax rules in Georgian era England.
Re: A Canadian payroll dependency chart
#65Earlier quoted context omitted.
Im in the same boat - would you mind explaining to us every other Friday folk why the employer match isn’t free money?
I'm wondering the same thing. The money has been going into my 401k for decades. When I start using it after retirement when I am 70 or so years old, is there some gotcha I'm not aware of?
Re: A Canadian payroll dependency chart
#66Are there any countries with good, reasonable tax systems? I'm only familiar with Canada and the USA, both of which are a bit of a mess, though seemingly in different ways. I'd be very interested in hearing what the process is like in other places.
Switzerland tax law is pretty straightforward and the cantonal (local government) tax authorities are known for being very helpful in explaining things to taxpayers in doubt, an experience I had more than once.
Re: A Canadian payroll dependency chart
#67That's funny, I made something similar a few years ago for the IRS https://nampas.github.io/tax-map/
Very very cool. Is there a word for a directional graph in this circular form? Also, is every edge unidirectional, or are there some bidirectional edges? I would hope (and assume) there's nothing bidirectional, but...
circo draws graphs using a circular layout (see Six and Tollis, GD '99
and ALENEX '99, and Kaufmann and Wiese, GD '02.) The tool identifies
biconnected components and draws the nodes of the component on a cir‐
cle. The block‐cutpoint tree is then laid out using a recursive radial
algorithm. Edge crossings within a circle are minimized by placing as
many edges on the circle's perimeter as possible. In particular, if
the component is outerplanar, the component will have a planar layout.
If a node belongs to multiple non‐trivial biconnected components, the
layout puts the node in one of them. By default, this is the first non‐
trivial component found in the search from the root component.Re: A Canadian payroll dependency chart
#68Earlier quoted context omitted.
>And to think, in the US we revolted because the king wanted to tax Tea 3%.... There is an important difference between then and now and it's called the US Congress. It wasn't about the amount of the tax on tea but rather the fact we didn't vote for it If we don't like the current tax system we have a surefire way to fix it, but we never actually take advantage of it (vote for someone else)
Nobody alive today voted for any representatives that ratified the 16th amendment, either. I’m not sure why I’m obligated to be bound by laws that I had as much to do with the passage with as the tax rules in Georgian era England.
because one, it's impossible to completely rewrite the system every generation. there's always going to be someone who wasn't born when the set of laws in place were made
and two, there's nothing about a law being old that means it can't be changed. if enough people feel the same way you do, then the law can be changed, the constitution amended, etc.
in fact the framers of the constitution WANTED it to be a living document, changing as technology and society changes. they'd likely be aghast at how little we have changed it and how people are clinging to it as a religious tome that is sacrosanct and must be applied as it and the world existed in the 18th century
Re: A Canadian payroll dependency chart
#69Props to the author. At this point, CRA should just post a reference implementation of all the formulas, so that small businesses can benefit from it.
It would be very nice if they would publish a libreoffice spreadsheet, yes. Heck, it would be very nice if they would create a libreoffice spreadsheet, even if they don't publish it. If they had to read their own document, it would probably be far better written.
Perhaps not; I've always had a strong impression, whenever reading documents derived from tax policy, that the "architecture" of such documents is the way it is mainly for maintainability.
Which is to say: the effective tax code at any given moment, is the emergent result of the interactions of all the current tax laws on the books. And there are many such laws. And those individual laws can be updated or repealed; and new laws can also come in that, through a few simple statements, make sweeping changes to the meanings of other laws.
As such, the tax-filing instructions, ideally, have to be constructed in such a way that they cope efficiently with someone being able to pull a single jenga-block out of the tower that is tax law, that topples over a whole slew of other instructions and definitions. The team of tax lawyers and technical writers that maintain the instructions should not have to sit down and rewrite every instruction on every schedule/form, just because one of the core definitions changes. Because that's gonna happen a lot! Every year, even!
If I was in charge of a team of (automation-minded) lawyers and technical writers maintaining the tax-filing instruction repository, I'd probably, ideally, want to factor out the instructions into separate modular files per law — with each file acting as a sort of Aspect-Oriented equivalent of Javadoc. (Or, actually, something very much like Inform 7. See e.g. https://i7-examples.github.io/Bronze/source_1.html)
So you'd see:
• Paragraphs that interpolate definitions as constants from other laws' modules;
• paragraphs that have implicit AOP hooks for other laws' modules to inject additional language into;
• the ability of a law to override specific sentences or wording of the language of the laws so far;
...and so forth.
This would be hell to read, but it'd sure make the job of dealing with changes in the law easy. (And it wouldn't be something you'd really read anyway — more often, it'd be something you'd carefully poke at, while watching the compiled result change live in a split pane. Like writing LaTeX in LyX.)
---
To be clear, I don't imagine that any existing set of tax-form language is actually maintained using some weird AOP DSL.
Rather, I imagine that the maintainers are manually doing the same business process that use of such an AOP DSL would formalize.
They're maintaining a very non-intuitive "storage architecture" for all the instructions that go into these forms, to minimize re-working when the law changes; and then — mostly manually, but maybe with a bit of Excel — collating them together into new schedules and forms each year.
And it's that "storage architecture" — despite not being something as rigid as source code — that still nevertheless forces the language of the instructions into the form you see at tax-filing time, with the weird grammatical shapes, the distant definitions, etc.
Re: A Canadian payroll dependency chart
#70That's funny, I made something similar a few years ago for the IRS https://nampas.github.io/tax-map/
Very very cool. Is there a word for a directional graph in this circular form? Also, is every edge unidirectional, or are there some bidirectional edges? I would hope (and assume) there's nothing bidirectional, but...
According to them/Wikipedia, the layout's name is simply "circular layout". https://en.wikipedia.org/wiki/Circular_layout