Better HN
topnewbestaskshowjobs
Log inSign up

barchar

147 karma · joined Mar 12, 2014 (12y ago) · 144 submissions

Submissions

comment 5d ago · link · parent

Even with qualified dividends buybacks are much better from a taxation perspective because shareholders aren't being forced to take the income.

Buybacks will select for frequently traded shares that have little gains, as well (this is just another way to say the above).

Ofc the elephant in the room w.r.t. capital taxation is tax advantaged retirement accounts, which have much, much higher contribution caps than was ever intended (how many people can save 80k net per year? Not many). Something like 75% of all public equity (by value) is held in advantaged accounts and exempted from capital gains taxes completely.

comment 1w ago · link · parent

I do wish they could use the system database on windows. Windows does maintain this data, but it's not in the same format.

The C++ date-time library goes and loads the system copy of ICU (which is updated via windows update) and pulls the tz data from ICU's calendar api.

comment 1w ago · link · parent

I think there's some work on that, getting at least slice and trait object ABIs that you can use in DSO interfaces.

comment 1w ago · link · parent

Rust encourages a kind of generic programming that can result in generating too much code.

The compilation model is vastly, vastly, vastly better than languages like C++ and C, though, and it does compile much faster than an equivalent C++ build (doesn't count if you download precompiled binaries of your c++ dependencies)

comment 1w ago · link · parent

try disabling at least some debug-info for your dependencies.

use cargo's --timings option to identify the slow crates, then use measureme to figure where rustc is spending time.

try fiddling with detached debug-info, dwp files can be smaller than their constituent dwo files.

ensure really small "template wrappers" are inlined.

lower the number of compilation-units you use.

For incremental builds I have found it can _sometimes_ be effective to split out larger dependencies into a dynlib. You create a dylib crate that re-exports said dependencies and your executable depends on that. Ofc things like generics from the offending libraries will still end up in your executables; Though I think there is a way to mitigate this a little.

This mostly helps with link-time, and saving space if you have a bunch of executables (using the argv[0] trick will help more, though).

comment 1w ago · link · parent

Well, you probably need to be doing extremely well to get to IPO in a situation where that structure is a possibility.

It's not really surprising that companies that print huge amounts of money with fairly little need for funding do well.

comment 1w ago · link · parent

"The working class is the original and fundamental economic class. . . . The function of the investing class is to serve the members of the working class by insuring them against loss and by providing them with desired goods." - Levy

". . . the justification for the existence of the investing class is the service it renders the working class, measured in terms of wages and desired goods. The contrary is not true. The working class does not exist to serve the investing class. The working class has the right to insure itself through organizations composed of its members or through government, thereby eliminating the investing class." - Levy

Jerome Levy was a committed ideological capitalist.

From that perspective the idea that workers need to be reminded to suffer is like saying insurance companies need to stop paying so many claims to remind us of the risk of house fires....

comment 1w ago · link · parent

It's something of a collective action problem even beyond power relations. My motivation to work less than 40h just isn't that high since everyone around me is working 40h too.

Also has to do with demand for savings. The US has a bunch of mostly accidental policies that juice that demand.

comment 2mo ago · link · parent

LLVM does do bit pattern tracking. Referred to as value tracking or known bits analysis.

I’m not sure if the vectorizer uses it a ton, but isel does (though maybe not heavily for vector ops)

comment 2mo ago · link · parent

No, there is no credit risk, they print the money.

comment 2mo ago · link · parent

You can do this with non intrusive lists too. See c++’s merge/splice/etc. You can store the iterators in some other place as you do this, making it quite handy on occasion.

comment 2mo ago · link · parent

It’s strange, every startup offer either is obviously a horrible scam or comes from a place of fairness and is sold like a total scam.

I guess being honest brings about too many opportunities for people who don’t understand the finances to make (or be perceived to make ) promises they can’t keep. So you might as well just get into a race to present the most ridiculous stuff possible.

comment 2mo ago · link · parent

Pref shares do get diluted, they are however senior to common stock so they get money FIRST if there’s not enough to go around. There is some cap on this and sometimes it’s pretty high. Huge pref overhangs are, indeed, a problem.

Pref shares with a 1x preference are still worth like 10x common stock in early stage companies and it’s common for employed to get fucked by this.

Founders don’t get preferred shares (I think it’s really, really rare). There is founder pref stock, which is somewhat different. It’s common for founders to cash out some shares along the way, though.

comment 4mo ago · link · parent

It would cost an extreme amount. The only reason to do something like that would be to defer capital gains into retirement while protecting your position.

You can use a collar for this at somewhat reasonable cost. Not sure how rolling that would compare to just using it to defer until you can cheaply sell and buy some fixed income ladder. Probably badly.

Also, there’s no capital gains to defer if you use a retirement account, which will be a better place for fixed income anyway.

comment 4mo ago · link · parent

I mean homeownership (with the intent to occupy the home yourself) causes this misallocation by itself. The proper policy remedy would be to prohibit people from owning their own home until it was a very small portion of their net worth.

I think this policy has been crafted in a lab to have both very few financial losers and yet make literally everyone mad.

comment 5mo ago · link · parent

It is worth about what it's worth, and that's not zero, but the difference between the median realized value and the mean realized value (upon which the price is set) is much higher than for public equities.

The above means it can be an irrational bet to take the startup equity if the price you pay in opportunity cost is high relative to your bank. This problem gets worse the longer you stay after that first vesting, but is mitigated by the extrinsic option value of your options (which goes away when you leave and exercise)

comment 5mo ago · link · parent

You can use the rerere-train script in the git repo to populate rerere from existing merges. I use this when something in a merge has regressed a big feature branch and I need to bisect. I can train rerere then rebase on the 2nd to latest merge-base, all while still doing no extra work if there isn't a regression.

comment 5mo ago · link · parent

This is only sorta true, the total dilution from SBC is very small for most tech companies with some outliers (cough snap cough).

They may not purchase on exactly the vesting date but they certainly do offset the issued shares with buybacks. I think they can choose to reduce those buybacks without as much rigamarole as they'd need to issue new shares for funding, so they can effectively used that as a "back door" way to raise money. I think it might juice their P&L a little too, but I doubt that's why they do it.

comment 6mo ago · link · parent

The annual price-appreciation of a home is usually lower than the risk-free rate (and thus the HELOC rate). If you "pay yourself" rent and use that to pay the HELOC down then it can make sense I suppose.

It's just leverage and it depends on the returns you're getting on the loan. Renting is also a kind of leverage though so if you own a home outright it might make sense to lever up. If you want that kind of leverage while still having the position in the house then an I/O loan is probably the easiest way to do it.

comment 6mo ago · link · parent

If you have public REITs active nearby you can do this comparison for real: if you buy ~1 unit's value in shares of that landlord you will probably own about 1/<however many units they operate> of the company and receive someplace around the rent of that unit in dividends and capital gains.

The government subsidies for investing in the stock market are also pretty nuts, and the TCJA hosed owner-occupants by limiting the interest deduction, the gains exclusion, and raising the standard deduction.

If you invest you get to deduct any interest against investment gains (even better: you can just not pay any interest), you pay ZERO capital gains taxes on up to ~$80,000 of (real!) contributions each year (with no maximum excluded gains), you can defer $22,000 of (real!) income to literally whenever, AND you can take the standard deduction every year (including in retirement when you wouldn't have had any income to deduct had you paid off a house).

comment 6mo ago · link · parent

It seems like public (REIT) landlords haven't really been making an above market return. Admittedly they have constraints that private landlords don't, but they also own a metric shitload of rentals.

comment 6mo ago · link · parent

You are also not a charity and need to pay _yourself_ profits on the home you own yourself. Otherwise you're no different from a landlord offering below-market rent.

comment 6mo ago · link · parent

Renting also has hedges embedded, and every hedge can be a risk position.

In particular the interest rate options in foxed mortgages are pretty expensive and it only hedges the cost of a particular house not housing in general.

Housing cost is correlated with local incomes so in some ways it's doubling down. In particular recessions are deflationary in the immediate aftermath.

comment 6mo ago · link · parent

Many high cost-of-living places have this property. People bid up owner occupied home prices even when rents can't support them.

comment 6mo ago · link · parent

It's not true that paying off the mortgage makes it more advantageous to buy, home equity creates portfolio drag.

comment 6mo ago · link · parent

Eagh, the leverage really isn't that cheap, and you can think of renting as giving you cheap leverage too (it's just your borrowing the house instead of the money).

comment 6mo ago · link · parent

This article does not mention the opportunity cost of all the home equity you accumulate, which is frequently a big component of the overall cost of ownership.

comment 6mo ago · link · parent

The saying is "workers spend what they earn and capitalists earn what they spend".

Capitalists don't need worker demand to support their own consumption; spending out of profits directly supports profits overall.

It would be something of a consumption race to the bottom, however. They wouldn't be any better off vs if we supported adequate demand for everyone, but they might control a bigger slice of the (much) smaller pie.

comment 6mo ago · link · parent

If they've eliminated all the jobs then presumably the economy has the idle productive capacity required to either produce the goods demanded by ubi recipients or produce the (real) capital required

comment 7mo ago · link · parent

The central sections of link were expensive because they're built through the center of the earth with really huge stations, some of this is to avoid impacting cars but much is just to get elevation changes. The connection over lake Washington required a lot of money and work too, as it's a floating bridge.

The less complex sections were mostly on-par with other us cities.

12345