skysight-inc/HackerNews huggingface dataset:
Surely this is not true? It doesn't seem consistent with the IRS's guidance [1], anyway. You would simply value the expense in USD at the time of the transaction. There is no capital gain or loss.

[1]: https://www.irs.gov/individuals/international-taxpayers/fore...
A comment must get to get many downvotes before it is killed and hidden. [1]

The site has protections against voting rings [1], I guess it has protections against downvoting rings [1].

If you have a clear example, try to email the mods so they take a look hn@ycombinator.com

I (and many other users) upvote grey comments when they are not offensive or very wrong. (I also try not to downvote grey comments unless they are very offensive or extremely wrong.) So to kill the comment it is necessary to use even more robots.
I unfortunately quite hate the direction of not being able to write conforming programs that handle out-of-memory in a way that's distinct from terminating. That's a great default for a large majority of systems, but e.g. for a database server it sucks. When the system is configured appropriately (which is not the default, and has its own sets of problems, in particular with fork()), postgres e.g. handles the vast majority of out-of-memory cases gracefully, by just failing the query that encountered the exhaustion.

With this proposal, that's effectively impossible to do, without either being non-conforming ("with the additional restriction that any installed new_handler must terminate"), or not using any standard library code (which is proposed to not throw any exceptions: "For each standard function for which allocation is the only reportable error, make the function noex-cept").

It's practically impossible to use only explicitly checked allocations everywhere. One can do it for allocations that are more likely to fail (e.g. because they're large), but not for every small thing. In postgres, it's my experience that a very significant fraction of real-world allocation failures are on small allocations, not huge ones.

Now postgres is currently C (but that's imo more historical baggage than anything, and has pretty significant costs), but this would effectively prevent us from taking advantage of a lot of C++ if we ever decided to move.

FWIW, postgres OOM handling basically works by doing allocations via it's 'memory contexts', which check allocation failure (obviously only really possible if the OS signals them, requiring e.g. to explicitly change the overcommit settings on linux). Allocation failures are handled by switching to a memory context that sigsetjmp's to a higher level. That higher level then releases resources by bulk-releasing memory using the memory context mechanism, and handles other resources (locks, other resources) via the related resource owner mechanism. But that mechanism is - as far as I know - impossible to do in realistic confirming C++, because one cannot call all the relevant destructors.
The inside of my apartment peaked at 28°C when it was 40+°C outside. No AC. While that is still a little uncomfortable, I can power through that it it's just a week or two a year and blast a fan, and take a cold shower or two. As for some window-mounted (temporary) AC, no chance, I'd have to get permission to "build" it from the city first, which I won't unless it's a really good permanently installed one (so it cannot fall and hit somebody) aka "major" construction, and then from my landlord too.
You're citing a piece of literature that famously contrasts Kowloon Walled City [1] as preferable to Singapore, and yet you are confused why people are misinformed and uneducated about it?

1: https://en.wikipedia.org/wiki/Kowloon_Walled_City
Not this clickbait from 3 months ago again...
Plus Ctrl + [ = Esc. That's so ingrained by this point I don't even notice I'm doing it 90% of the time.
It isnt a competition. The point I was trying to make is that India not only has highly fertile land, but also a lot of it to theoretically feed its people without relying on others.

As you said, US has only a 3rd of the population. This is probably the reason they are the largest exporters of food in the world.
That's what I was saying. I was also saying you basically give up on a stable narrow interface when shipping header only.
Asus Debuts Hyper M.2 X16 Card V2 Supporting Four M.2 NVMe SSDs
1. Nationalise land owned by peasants. Kill protesters and imprison their families.
2. Coerce peasants to cultivate the land.
3. Take all the harvest. Can leave peasants to starve to the death, that's OK.
4. Profit!

https://en.m.wikipedia.org/wiki/Holodomor
I didn’t say the article had problems, but Singapore lacking electricity wasn’t one of them.
For our interests to align 100% always, yes, I would have to be a shareholder.

But if a business provides, say an online marketplace and I am a seller, then we do in fact have some interests in common: we both want me to sell successfully. And insofar as that goes, we are aligned.

If a business benefits financially from manufacturing environmentally harmful products, and I care about the environment, then I have zero expectation that I should trust them to act how I would like.
> Low cost (low to no subsidy needed.)

I've seen some estimates that all households in the USA, whether they have a car or not, subsidize roads a great deal.

This article is from 2010: https://usa.streetsblog.org/2013/01/23/drivers-cover-just-51...

Admittedly, gas tax by definition does not apply to "solo electric robocars". If no other mechanism for paying for roads exists, then 100% of roads' costs are subsidized for robocars.

I have to conclude that this is more of that "fusion in 10 years", "in the future electricity will be too cheap to meter", "jetpacks!" sort of futurism.
> At some point I switch to full Groovy projects, switching on static compilation

If you let your Apache Groovy scripts get too large before switching on static compilation, you often have to modify the types and logic in your programs before they'll even compile. This problem occurs because static compilation was only bolted onto Groovy for version 2.0 and there's an impedance mismatch between what's required for its dynamic and static modes.
Makes sense Texas is one flat windy state.
That is the solution! See? It's so simple it seems like a formulation of the problem itself!

The solution is to think of the input ('001') in terms of an n-dimensional cube, where n is the length of the input.

So for example, a binary logic with 5 bits ('01010') would require a 5-dimensional cube. From there, you check whether moving from one input ('00001') to an adjacent input ('00011') causes a flip in the output. If it does, you label it as "red", and if it doesn't, you label it as "blue". Then you merely find the vertex with the highest number of opposite colors, and the number of opposite colors is the sensitivity.
Please don't use HN for flamewar like this. Pretty much everywhere else on the internet is for that. We're explicitly trying to avoid it here, and we ban accounts that won't stop doing it.

https://news.ycombinator.com/newsguidelines.html
As a simple demonstration, here's an image of a 1px white-on-black line and a 1px black-on-white line: https://imgur.com/a/9d9Tu3x

It's axis-aligned and box-filtered so there are no shades of gray, which means gamma is irrelevant. The white-on-black line appears to have a greater thickness than the black-on-white line.

There's a lot of empirical research showing that reading performance is better with positive-polarity (black-on-white) text than with negative-polarity text [1, 2], probably because the higher overall luminance results in a smaller pupil size and thus a sharper retinal image [3]. So, white-on-black lines appear thicker than black-on-white lines because the eye doesn't focus as sharply on them. This is true regardless of which color space blending is performed in.

Given this fact, if one wants to achieve uniform perceptual line thickness for black-on-white and white-on-black text, a more principled approach than messing with color blending would be to vary line width or the footprint of the antialiasing filter based on the luminance of the text (and possibly the background). This is the approach Apple and Adobe have taken for years with stem darkening/font dilation.

[1]: http://jdobr.es/pdf/Dobres-etal-2016-Displays.pdf

[2]: https://www.uni-duesseldorf.de/home/fileadmin/redaktion/Oeff...

[3]: http://www.psychologie.hhu.de/fileadmin/redaktion/Oeffentlic...
I think you are making the classic nerd mistake of assuming the average person has done as much self educating as you have.
I live in Scotland, where the winters are long, and at worst we get a couple of weeks a year of a truely horrible heat/humidity combination.

I'm also well travelled, so well used to experiencing the joys of AC in hot countries.

Yet for some reason the thought of buying an AC unit (or even a fan!) has never once crossed my mind!

If I had thought of it though, I would expect the units to be expensive, and installation to be a pretty specialised (and therefore expensive) thing - the number of homes with AC in Scotland could probably be counted on one hand!

It's absolutely fucking horrible just now though, so I might at least look into it...
One person's anecdote (that we don't know happened) doesn't represent half of a country's population.

What't the GPs are doing are dismissing valid views from the other side by shouting racism. There's no proof or any real evidence provided that the other side is racist, just anecdotes.
Personal attacks will get you banned here. We've had to warn you many times about breaking the site guidelines. That's dismaying, and if you keep doing it we'll have little choice but to ban you. So would you please review them and follow them when posting here?

I realize it's not easy, but we need you to be scrupulous about it and contribute to preserving this community rather than wrecking it.

https://news.ycombinator.com/newsguidelines.html
People at the beginning of the 20th century were incredibly optimistic, only to be hit with loss of life on an unprecedented level in world wars. Things can improve in some ways and get worse in others. The climate of the planet that our grandchildren inherit will be worse than the one that we enjoy.
No, XR is a thing now. It's a general name for VR, AR and MR (mixed reality).

https://en.wikipedia.org/wiki/X_Reality_(XR)
The subcontinent, and especially India and Bangladesh, have ridiculous amounts of arable land. India has more than any other country in the world.
> Negative public opinion, multiple lawsuits, and ongoing issues with all keyboards in Mac notebooks released since 2015 have led Apple to launch a keyboard repair program that applies to all Macs with a butterfly keyboard, including 2019 models.

Kind of glossing over the rather important detail that Apple's keyboard repair program entitles you to an exact replacement of the same broken-ass keyboard design that caused your issue in the first place. If I remember correctly, they won't even upgrade you to their later-generation butterfly mechanism; if you go in with a membrane-less 1st-generation keyboard, that's what you get as a replacement.
Well we really don't have very good predictions for how much rainfall will occur over the next century, but we have no reason to believe that droughts will become standard. Especially since we just experienced record rainfall in the midst of the 4th hottest year in modern records.

There are ways to remove salt from ocean water. It's just almost always more expensive than extracting from the widely available fresh water sources on the planet.

As long as the water cycle is going, we'll still have fresh water.

Rainfall is good, but flooding is a localized issue. It's not a global concern. CO2 doesn't cause acid rain.
People need to be motivated by death in order to work, or so I'm told by many who argue against government programs to feed the needy.
Decoding VINs at TrueCar
You jest, but if they were trading outposts as mentioned, there may be be a grain of truth to this!
There's one other difference that makes the lower case "a" stand out. The other characters have a slight rightward lean(there's probably a technical term for that). The lower case "a" is the opposite, and it really stands out.
The corruption angle is interesting, but it's got to be better supported than this. Just flatly stating "the goal of the merger is to raise prices" is not enough. Are there mergers not motivated by that, at least in part? If either ATT or VZN disappeared in the near future, then this merger could be part of the chain of events leading to raised prices. Back in the real world, prices might go up but not because of anything the merged company has done. It's still number three. This merger is good for consumers, on balance. Not just for Sprint customers but also for the customers of the hundreds of MVNOs dependent on Sprint's ongoing operation.
The trouble is that life can get so much worse without everyone dying.
Please see https://news.ycombinator.com/item?id=20538796.
My understanding is that window mounted A/C units do not fit well into typical European windows that swing (instead of slide which I believe is common in US). Or maybe there is some other reason (e.g. permit stuff) for why I don't really see them.

This is what a typical catalog of A/C units looks like in Finland on couple of the largest online retailers:

- https://www.verkkokauppa.com/fi/catalog/10597c/Ilmastointila...

- https://www.gigantti.fi/catalog/kodin-tuotteet/ilmastointi-j...

Most ones are $500+ and out of stock for this summer, though I do see at least one "cheap" €499/$550 unit that is still in stock on the second link (Domair DOM100380). The more expensive ones and split heatpumps seem to be in stock as well.

I had a split A/C / heatpump installed in my apartment ~5 years ago for ~$2000 inc. installation. No permit was needed from the municipal facades committee as it is not visible from the outside (outdoor unit sits on balcony), just a permission from the housing company as a hole had to be drilled for the pipes. Without A/C indoor temperatures of well over 30°C (86°F) were typical for weeks during summers.
You're giving historical stats.

These are effectively irrelevant because they are from the time when the climate was still largely the same as it has been for hundreds of years.

The question is - what will be the yields in a world in which the seasons are disrupted?
I’ve been following the forums and more RAM is often requested. The Pine64 folks have stated that the SoC only supports 4GB RAM. I do wonder, though, about the utility of pairing the rather modest compute capabilities of the SoC with a large amount of RAM.
I spent some good hours implementing a physics (box2d) based Procedural Dungeon Generation Algorithm in C++. My implementation is based off of a very awesome blog post: https://www.gamasutra.com/blogs/AAdonaac/20150903/252889/Pro...

Another interesting algorithm I've fiddled with was cellular automata. This method works extremely well to generate more organic feeling maps.
This is a situation where the probability that you unintentionally violate a serious law is high, the probably of that law actually being enforced against you is low, but the consequences if it is are extremely bad.

From an expected value perspective the result has a negative sign but a small magnitude, so you avoid it whenever you can but not if doing so comes at a significant cost. But low probability events with large negative consequences are the category of thing that worries people a lot; other instances in this category are things like plane crashes, child abductions, forcible rape and terrorism. It's not strictly rational to be as afraid of them as many people are.

However, in this case there's also the consideration that the probability of the law being selectively enforced against you has a lot to do with whether the government doesn't like you, so if you're the sort of person the government (or some plausible future government) might try to stick something to, then the "low probability of enforcement" side of the equation changes and you're in entirely different territory.

And we also generally, as a pro-social activity in solidarity with those populations, might want to err on the side of encouraging everyone to behave in a way similar to what those vulnerable populations would have to, to normalize it and make that sort of selective prosecution more difficult. At least as long as we continue to have these disproportionate penalties for what are in practice honest mistakes and everyday behavior.
> Using that definition, censoring all publications of a given group (say, black people) would not be censorship

It's not censorship, it's discrimination. Bad thing, but different. If it was censored because these people write about specific racial issues, it'd be censorship. If it's blanket denial regardless of the content, it's racial discrimination, not censorship. It doesn't mean it's not bad - one could argue it's even worse since it doesn't leave you any chance - you could probably talk in another way to route around censorship but you can't stop being black - but it's not that issue, it's a different one.
There is a non-zero chance PayPal will steal your money, but if you're just testing some ideas before registering a proper corp you might as well go that route.
If you pressed Command and Shift, you activated "Shift Lock"
|{Germany}| = 1
Colorado Moms Are Building the Childcare Community
But it is when we should do something, and stop debating whether anything is happening.
Where is the tweet?
Thanks - appreciate the data point. I just bought a house for about 0.8x a mid-career dev's annual salary, but worked really hard to find it (I'll be about 1.2x once I get it finished and rethatched, which is part of why it was cheap)

But I work remote and it's a risk to leave the city - growing up in northern California the idea of owning a home without an enormous amount of debt (and thereby meaning I had to decide to maximize income whether it meant doing what I wanted) was foreign.
I'm not happy about it, because I have Caps mapped to control, and last I checked, you can't map the bottom-left ctrl key to Esc. I actually don't have a MacBook anymore because of this.
> Until you use/exchange them, you aren't taxed.

As you're not a tax expert and neither am I, take my objection to this with a grain of salt, I think this is wrong though. When you have income from mining, that's income that should be reported at the market value of the coins at the time that they were income (when you received them.) AIUI they are taxed as income, and you should pay taxes for that income based on your regular (marginal) income tax rate. Once you've paid that income tax, you've established what's called a cost basis for capital gains. (This is also what you have when you have bought a coin rather than mining it. This is considered a "taxable event," even if the money you received in the exchange is never withdrawn from the exchange.)

If you buy something using your crypto asset as payment, or if you exchange them for currency, then you might also owe capital gains tax based on the difference between the cost basis, and the price/value you received for your sale. (If the price went down after your cost basis, then instead you have a loss, and so you don't owe capital gains.)

If you bought something, and the price went up between when you mined and when you made the purchase, then in addition to the income tax, and the capital gains, you will _also_ owe sales tax on the purchase, unless the seller collected the sales tax. (Although unless you are running a scheme to systematically undermine sales tax, and they have you with assets which can't be explained any other way I am not sure how they can ever prove that you owe that sales tax.)

When you are paying capital gains, the usual capital gains rules apply. If you have held the asset for longer than a year, you pay the long-term capital gains tax rate which is lower. The rules are (and this is the point where I'm talking way above my pay grade, but I think I've done my homework) first-in first-out, no like-for-like exchanges, which means if you sell some BTC and receive some ETH as payment, those are two taxable events. (The BTC sale is taxed at the capital gains rate for the USD value of BTC, and the ETH asset establishes a new cost basis at the USD price for ETH.)

If you have held the asset for less than a year before it is sold, then you pay the short-term capital gains rate. If you are not paying capital gains, and your aggregate transaction volume for the year on any given (compliant) exchange is above 10 or 20 thousand dollars, then you are very likely to be on their radar.

If you have losses over the whole year, and no corresponding gains to cancel them out fully, then you can take the excess loss against your income for a deduction in income taxes (subtract the taxable value lost from your income).

Please don't take my word for it though, I have someone that does my taxes for $200 or $300 and I use http://bitcoin.tax to extract the data from the exchange and provide them with the data in a form that they won't balk at. But you can take this as some free tax advice from someone who filed and paid their crypto taxes last year (and obv. also took the loss this year!)
Just had a quick look in the UK, and the cheapest decent AC unit I could find was around $450 USD, and that was for a standalone unit (couldn't even find a window mounted one).
Why would that be necessary?

They grow lots of wheat in the US upper midwest, and it gets damn cold there in the winter.
So you mean unless you think an idea in words, you are not doing anything conscious? Does that mean I play a real-time video game entirely unconsciously? Because I don't think "I need to go there and do this" in words, I just do it.
> I don't agree that I need to come up with anything beyond raising the idea that we should stop thinking that government can/will solve this.

Oh yes you do. Certainly you think we can have an alternative to government for a reason? Care to share that with us?

Besides, government or no, the only way to fix the problem is through collective action. Not destroying our environment needs to be a social norm. Whatever is required to stop the current train wreck needs to become mainstream. Otherwise, we'll just continue our merry way until our civilization collapses in a couple decades. Worst case, I'll be alive to see it.

So. Besides begging our governments to do something, what do you propose? Overthrow them? Obsolete them? Ignore them? How? What would we need to succeed?

We can vote with our wallets (or feet) all we want, if we don't get over 80% of the population onboard, it just won't work.
Please don't take HN threads further into regional flamewar.
I am in the group that prefers new functionality; I can build state-of-art $10M business from the scratch in 3 months but if you ask me to debug old stuff for longer periods of time, I'll most likely leave or underperform. It's good to know what people you have on your team instead of assuming certain traits.
I guess I disagree with that usage of downvote. Shouldn't you reply to the comment and engage if you disagree? A downvote seems like it indicates something else, poor community behavior. I'm open to being wrong and I think it should be clarified.
Invisible Women
Well, "we" don't all eat bacon and wear the skin of cows. What's strange about wanting to respect other living beings and avoid harming them? This is also not incompatible with the belief that a human life should come first, e.g. in your heart valve example.
It's not just a matter of the paperwork being too burdensome; free coffees at church are simply not income. Neither is $20 in a birthday card from your grandma. Of course, there are grey areas where it's much harder to draw the line, but it's wrong to suggest that the IRS would tax every transaction if it could.
We've had to ask you repeatedly to stop breaking the site guidelines. If you keep doing it we're going to have to ban you. I don't want to do that, so would you please review https://news.ycombinator.com/newsguidelines.html and use HN as intended?