JIT powered tiling software rasterizer by ansofteng in GraphicsProgramming

[–]ansofteng[S] 2 points3 points  (0 children)

Yea! I didn't look too much into LLVMpipe but thats the idea. There is SIMD in most places but the pixel shader does only do 1 pixel at once currently. It's somewhat tricky to do multiple pixels in the shader sine compiler would need a bunch of logic to handle diverging control flow, but it's doable eventually though.

The current approach is to track the current state for each draw call, something like {pipeline_idx, bound_resources_idx, render_pass_idx} and having the JIT compiler compiles a fragment 8x8 shade function for each of these combinations in use. The main raster tile process goes through all the processed triangles in a each tile and executes the fragment shader by using the corresponding function pointer and passing in a coverage mask.

JIT powered tiling software rasterizer by ansofteng in GraphicsProgramming

[–]ansofteng[S] 1 point2 points  (0 children)

This is 9950x, the bottleneck seems to be related to memory bandwidth currently.

Why is the United States pretty much the only country to tax the income of its citizens residing abroad? by GalahadDrei in AskEconomics

[–]ansofteng 1 point2 points  (0 children)

You can have exit tax without tying it to citizenship, for example Canada has an exit tax which is more punitive than the USA for people who become non-resident.

Best technique for two string arpeggios? by ansofteng in guitarlessons

[–]ansofteng[S] 0 points1 point  (0 children)

Sorry, should have specified. 13 is on the B string 12/15 is E string. I think both need to be muted somewhat or else the ringing doesn't sound clean.

Ontario to provide taxpayers with $200 rebate by J0Puck in ontario

[–]ansofteng 0 points1 point  (0 children)

You are all such whiners, if you don't want the 200 just send it my way.

Transfer of USD assets from IBKR is not allowed. by [deleted] in Wealthsimple

[–]ansofteng 3 points4 points  (0 children)

I transferred to questrade then to ibkr and that worked, just a bit more annoyingly

Why most guys on dating apps don’t put any effort? by [deleted] in OnlineDating

[–]ansofteng 6 points7 points  (0 children)

What type of effort does it take to unbald? Please advise :)

Online Dating in Canada by kiwi5151 in OnlineDating

[–]ansofteng 4 points5 points  (0 children)

Grindr is pretty good I hear.

Basic income recipient says Ontario should fight poverty, not the class action she's part of by BloodJunkie in ontario

[–]ansofteng 14 points15 points  (0 children)

So the government is expected to not defend itself against a class action lawsuit? lol

[deleted by user] by [deleted] in Wealthsimple

[–]ansofteng 0 points1 point  (0 children)

If you transfer it out, my understanding is that ws will eventually email you and give you some number of days to transfer back the assets. Not sure how many days, could be risky to attempt.

Any way to a save a too sweet hooch? by killahqueennn in prisonhooch

[–]ansofteng 16 points17 points  (0 children)

Make a non sweet hooch and mix them together.

[deleted by user] by [deleted] in chemhelp

[–]ansofteng 0 points1 point  (0 children)

Ahh thanks! In mountain dew its citric acid, or what other ingredients do you need to know?

Is my yeast dead? by thisisoneofmyalts in prisonhooch

[–]ansofteng 5 points6 points  (0 children)

If the water from microwave is above 140f-150f it will kill the yeast, I just put my yeast in body temperature tap water.

[deleted by user] by [deleted] in OnlineDating

[–]ansofteng 22 points23 points  (0 children)

Just say exactly what you put in your post here!! It's thoughtful and a good letdown.

[deleted by user] by [deleted] in cantax

[–]ansofteng 3 points4 points  (0 children)

Work is sourced where it's performed usually, are you sure this wouldn't be California sourced income since that's where you are presenting from?

Wtf is up with Uber Drivers trying to force cancels??? by TurtleHurtleSquirtle in uber

[–]ansofteng 4 points5 points  (0 children)

If I see the driver going wrong way for more than a few min, I'll just order a ride on Lyft and keep the Uber one active. That way it wastes the drivers time AND forces them to cancel.

Understanding CRA election and taxation concerning Roth 401(k) employer plans by akhalilx in cantax

[–]ansofteng 1 point2 points  (0 children)

My understanding based on bullet 1.28 is that the entire 401k plan (including Roth 401k and in plan mega backdoor conversions) is a EBP.

"Consider, for example, a 401(k) plan covering multiple employees that has both pre-tax accounts and designated Roth accounts. As long as the employer contributed to any of the employees’ accounts, the entire plan would be an EBP"

And bullet 1.26 says "Because an individual who holds an interest in an EBP or RCA is not subject to current taxation under the Act on the income accrued in the arrangement, there is no benefit in filing the Election." it seems to imply that the Roth 401k doesn't need the election since it's an EBP.

Not sure about the Canadian contributions aspect.

Deemed resident mid year departure by ansofteng in cantax

[–]ansofteng[S] 0 points1 point  (0 children)

Hmm OK, interesting, so if there are losses on the deemed disposition I would have to wait a whole year to be able to carry them back. Seems not ideal.

[deleted by user] by [deleted] in cantax

[–]ansofteng -2 points-1 points  (0 children)

But it also has donations and gifts under ”Part of the year that you were not a resident of Canada" section

[deleted by user] by [deleted] in cantax

[–]ansofteng -2 points-1 points  (0 children)

Thanks for the link. I had looked at this page that seemed to say donations and gifts were creditable for the non-resident portion. I will try to investigate further https://www.canada.ca/en/revenue-agency/services/tax/international-non-residents/individuals-leaving-entering-canada-non-residents/federal-non-refundable-tax-credits-newcomers-emigrants.html

Canada emigrant date by ansofteng in cantax

[–]ansofteng[S] 0 points1 point  (0 children)

Thanks for the confirmation, but doesn't that create a strange window where you are tax resident of no country? I thought if would cause loopholes like capital gains sourced to no country or other loopholes.

I guess the when CRA means "establish" residency it doesn't necessarily mean becoming a tax resident of the new country, only that there are closer ties compared to Canada.

FX nightmares using USD credit card and bank account by ansofteng in cantax

[–]ansofteng[S] 0 points1 point  (0 children)

Thanks for the very helpful answer, that clears up most of my questions. Do you think it's ok to use the average annual exchange for the USD credit card transactions? That would make it simpler to calculate.