skysight-inc/HackerNews huggingface dataset:
>Of course it would, that was one of the design goals of C++.
>C90 is mostly a C++98 subset, except for stronger type conversion rules (no implicit void* conversions), precedence order for operator ?: and typedef/struct namespaces.

I think either I don't understand something you are trying to say or you are confused. C being a subset of C++ (one of design goals) does not imply C++ is a subset of C. C++ code in general cannot be compiled with C compiler without rewriting.

>Yes, but COM is also callable from C by design. Also I have seen many codebases that have restricted C++ code to calling DX APIs, with everything else being compilable by a C compiler as well.

You have blah->Foo(bar); in C++. In C it won't compile by any design. That code has to be rewritten as blah->vtbl->Foo(blah,bar). It is not C code as you claimed. It won't compile with C compiler. It's C++.

>> Could you explain exactly how this works? ...
>1 - Rename .c translation units to .cpp, .cxx, .C

I asked how type checking disappears in this process, not how you compile C with C++....

>PGO data generated by the JIT compiler gets updated after each application execution and is used as input for optimization selection just like in an AOT compiler by a multi-stage compiler.

How can a JIT compiler obtain the PGO data in the first place? Is it running under profiler all the time? You realize that you've just refuted your claim about performance not being affected, right?
India is Winning Its War on Human Waste!!!

... unfortunately San Francisco is losing that same war.
I meant the food always comes out unevenly cooked. End result is usually super dry (almost dry burnt) on outside and not cooked enough on inside.
For functions of an interval (in the case of polynomial spline segments, usually {x(t), y(t)} for 0 ≤ t ≤ 1), what you want for an analog of a Fourier transform is to use Chebyshev polynomials. You can use a discrete cosine transform to convert between values at n points appropriately spaced (w/r/t the parameter) along the curve to and from coefficients of the Chebyshev basis polynomials of the form f(x) = cos(n arccos x), in just the same way you would use a discrete Fourier transform to convert back and forth between equispaced points on a periodic interval [0, 2π) and coefficients of trigonometric polynomials. All the same FFT speedup tricks apply, so you only need O(n log n) floating point operations for a polynomial of degree n.

See http://www.chebfun.org/ATAP/atap-first6chapters.pdf
Probably by the way they are broken.
Hah, after skimming a page or two (love the vim-inspired navigation keys, btw) I remembered why I stopped going: tons of random nudity. Nothing like browsing design inspiration at work and having NSFW content show up.
It's the same problem with ABS brakes

I get your meaning, but any difference with ABS isn't going to put you in harm's way (except some really rare cases of deep snow, where the effect of your tires pushing the snow provides extra resistance). All you have to do with ABS is trust it, but even if you don't it'll work out fine.

But in this case, you've got your mind calibrated to how you know your car can accelerate, and the safety of the maneuver is contingent on the car living up to it. But the stability control makes the car say, "no, I'm not going to do it", leaving you hanging out there in danger.
Previously: "the article mentions the previous earlier evidence as being from 115K years ago" (edit, oops, misread, this is way before anything we've heard about thus much less certain, forget about it).
Do you have a reference supporting "For most mainstream anthropologists"?

Do you have an explanation for why pre-Clovis humans didn't leave a ton of remains everywhere?
That's a common mistake, don't look at channels as queues, one thing is be buffered and other one it's working as a queue, actually buffered channels should be avoided at least you really need a buffer.
Do bones maintain whatever properties they're exploiting thousands of years after the animal's death? I'd expect they'd have different wear or fracture patterns if they were very old when worked.

You'd also expect a mixture of ages in close proximity. Even if all the bones being processed were old at the time, they presumably would have a mixture of 100kya, 50 kya, etc. bones jumbled together.
It does say the bot tries to secure the device and then resorts to bricking it if it can't. Not condoning the janitors actions but at least bricking isn't his first action.
Archived copy, which can be read without JS enabled:

https://archive.fo/V1Vtq
AMT is also a huge issue for parts of the middle class. It was originally designed to target upper class tax payers that would use loop holes. The problem is that it was never indexed for inflation, so now parts of the middle class suffer from the AMT
That's not how security works either. A single event does not mean something is insecure. As said before, mistakes and security holes happen every day. The totality of the situation is that Cloudflare is still more secure than you because they are better resourced with more people, time, money, connections, hardware and processes. Same with load balancing, which is not a buzzword, and something Google does better than you ever will.

I look for people who understand business trade-offs, how to effectively spend time and money, have a proper understanding of risk, and know when a specialized vendor is a better for non-mainline business functions.

What exactly are you going to do when you find a hole in the load balancing software you use? Or do you write that software yourself too? What about the OS? What about the hardware? What about the datacenter? What about the transit fiber? Do you just build your own internet then? No matter what you do, you're trusting other vendors at some point.

The only possibility is to look at the entire situation and assess the risks and costs - which from this conversation seems to be your biggest problem.
https://en.wikipedia.org/wiki/Estate_tax_in_the_United_State...

According to the IRS, a temporary stamp tax in 1797 applied a tax of varying size depending on the size of the bequest, ranging from 25 cents for a bequest between $50–$100, to 1 dollar for each $500. The tax was repealed in 1802. In the 19th century, the Revenue Act of 1862 and the War Revenue Act of 1898 also imposed rates, but were each repealed shortly thereafter. The modern estate tax was enacted in 1916.
Not to mention the whole concept of credit cards are based on that and here people do not even gamble. They spend the money with 100% certainty.
Companies that grant options could fix this in a heartbeat by extending exercise windows; they choose not to do that. Nothing to do with AMT here.

If AMT repeal would 'fix' stock options, companies will change the terms to 'break' them again because they are handcuffs, not payments.
Oh dear. Yeah, per that FAQ, the earliest advice from Dan was to just connect once or twice at the top of your app, but that early advice has been totally superseded by now. You should _absolutely_ go ahead and connect _any_ component where you feel that doing so helps simplify things, especially in terms of props passing.

I discussed some of the major aspects of Redux-related performance in my blog post "Practical Redux, Part 6: Connected Lists, Forms, and Performance" [0]. That includes info on why more connected components is generally better for perf, as well as usually making it easier to understand a given component's data needs. You may also want to read through some of the articles in the "Redux Architecture" [1] and "React/Redux Performance" [2] sections of my list, particularly the post "High Performance Redux" [3].

Hopefully that info helps. Please let me know if you've got any further questions or concerns I can help with!

[0] http://blog.isquaredsoftware.com/2017/01/practical-redux-par...

[1] https://github.com/markerikson/react-redux-links/blob/master...

[2] https://github.com/markerikson/react-redux-links/blob/master...

[3] http://somebody32.github.io/high-performance-redux/
I've done intentionally insecure things because I simply straight-up did not have time to do them correctly. Shared keys, shared password across an entire infra--lots of stupid things because my deadline wasn't moving and hours counted. The difference, of course, is that I retain control of my stuff and I'm not pushing things out to other people.

Pentests are, to be clear, great, and there are plenty of people who Dunning-Kruger their way through security decisions. But time is definitely a factor in this stuff.
Except, the AMT potentially affects many here directly and significantly. And the repatriation holiday potentially affects some of the big tech companies directly and significantly.
Outlaw the kind of data collection and abuse that keeps these services alive and plenty of reasonably-priced paid encrypted-cloud and/or locally-hosted options for all kinds of these free spying-enabled services would pop up quickly. The spy-vertising economy, which lives mostly on people not realizing just how bad it is and coordination problems in trying to counter it, makes it impractical to compete using other business models.
"Yea, nuclear has so far been the safest form of base load power we have ever used. Unfortunately anything at all related to nuclear is covered by the media orders of magnitude more than other power sources so people have an understandable perception that it is much more dangerous than other sources of power."

I thought it was telling that the only world leader who reacted to Fukushima by mandating the end of nuclear power wasn't a hippy but a physicist.

I don't see the problem being that nuclear can't be made safe. I see the problem being that operators are motivated to stretch the margin of safety in order to make a buck and lawmakers appear to be prepared to let them and the one thing nuclear operators will never, ever, ever, EVER stand for is allowing the privatization of that risk (i.e. let insurance companies instead of taxpayers shoulder the risk).
Yup. Exactly this.

Some measures suggest the current bubble is even bigger than the one in 1999. Or at least more broadly carried, in the sense that in 1999 the bubble was limited to a fairly narrow range of tech stocks.

This time it's all over the place. It's not limited to a few stocks. It's not even limited to the broader stock market or to subprime credit. Today even government bonds are in a very special place.

PS: it's also very interesting that so many people here in these comments think that shaving a penny off on order flow is all there is to say about HFT.

And the comments also make me wonder about the staggering popularity of ETFs. ETFs are much bigger than in 2007. In themselves a sound idea, I do wonder how things like the 3x Inverse Synthetic Foobar ETF consisting of 99% bond meat with 1% mystery spices will fare during a real panic.
I don't think it's unreasonable to hypothesize that a community that starts out fishing in nearby waters using rudimentary boats would, over the span of maybe dozens of generations, learn something about travelling longer distances over open water.

A dude recently crossed the Atlantic on a stand-up paddle board. Which is insane, but it proves you be a prolific seafarer with very basic watercraft.

http://www.mensjournal.com/adventure/articles/chris-bertish-...
There are lots of options to store to most cloud backends nowadays. Check out rclone and duplicity.
Yeah, it's pretty terrible. I kinda wish I'd preserved the namespace shortnames too, as it'd have made my point even better. Still, I regret nothing: XML is the JavaScript of data-interchange formats.
The FCC plan to undo its net neutrality rules
If I'm reading this right, I could make a partnership (LLC or S-corp) and use it for normal activities, investment, consulting, etc., and I'd pay 15% total. This is nuts. Heck, Uber and Lyft drivers could set up as passthroughs and save a bunch. This is nuts.

For the record: I think slashing the corporate rate is a good idea, but only if long-term capital gains are taxed high enough that the overall rate is reasonable.
Didn't know that. Awesome.
Show HN: Titanicdeath.com, would you have survived the titanic?
That's what's so exciting about it :-)
> The current exemption is more than $5 million. People saying that are full of shit.

Have you looked at land, livestock, infrastructure, and equipment costs they tax? People saying that are not "full of shit" and an unexpected death can ruin not only the farming family but the folks they hire.
They exercise the options.
> by both rule and statute they'll need a filibuster-proof majority to pass most of these policies

Couldn't the republicans use reconciliation (in which only a simple majority vote is needed) to push tax reform?
Jonathan Demme, dead at 73
This would be great. When I was doing small side consulting work outside my day job, I would have to pay 1/3 of my net revenue in taxes. I always thought that was very steep if you only making a few thousand on the side.
Do you have a belief that politicians somehow do know these things well enough to make decisions across this spectrum on your behalf?
They really missed an opportunity for a headline:

"FFFFOUND gets LLLLOST"
An example of this which always gets me with nuclear power is the waste problem. The fact that the waste remains dangerous for tens of thousands of years is always held up as a huge problem, completely ignoring the vast quantities of extremely poisonous chemical waste produced by other industries which lasts forever.

"This waste is dangerous." "OK, guess we'd better be careful with it."

"This waste is dangerous for the next 10,000 years." "Holy shit! We need to build a high-tech underground fortress to contain it!"
Not the web version. Other versions are in the works. Stay tuned.
The article is literally about Twitter cutting off access to developers who sell their data feeds to government for surveillance purposes.
I was interested in COBOL while doing my MS in CS (coming from non-CS undergrad) but the problem was tooling and projects. I gave up after trying to track down z/OS, install hercules and get all that tooling set up. There is more to learning development on these old applications than just COBOL though, you need JCL and other applications/tools that go along with it. I ended up giving up because it just became too much of a hassle.

Creating a new flapping bird game is exciting for students because it can give them an opportunity to create something from nothing. You aren't going to get that opportunity doing COBOL development. You will most likely spend the rest of your career doing maintenance work rather than any greenfield development. There is nothing wrong with that but not everybody likes the fact they can't create something new.
Ask HN: How many of you are using windows phone?
I still use windows phone 8.1, for a number of reasons. It just works, lack of apps means I don't get distracted, and I love pinning things. Also I'm cheap and can't be bothered to upgrade.

Increasingly I feel like the last person on HN with a Windows Phone. Am I?
Litecoin doubled in the last 2 months.
IMHO, it will happen again in the next few months.
How do you think SegWit activation will affect litecoin?
One of the pieces of evidence that proponents of human overhunting of megafauna point to is the seeming correlation between "arrival of humans" and "extinction of megafauna" on most continents. Drawing that out by a few thousand years on one continent in particular weakens the correlation dramatically.
It's more like you are the only fish is a small pond that they want to put an ocean liner into.

Startups by their nature seem to rarely have the correct amount of resources for projects/sprints/etc. Anytime you try to cram five gallons of shit into a one gallon bucket, there are going to be repercussions.

Some people thrive on that environment, others like more traditional, better staffed and funded environments. Each to their own I guess. I feel sorry for this guy and his family, no job is worth that.
The article referenced 'Cuneiform' which I had to Google. It's neat to see that languages evolved the same way math was developed and similar to how software programs grow as a series of expanding abstraction:

> Emerging in Sumer in the late fourth millennium BC (the Uruk IV period), cuneiform writing began as a system of pictograms. In the third millennium, the pictorial representations became simplified and more abstract as the number of characters in use grew smaller (Hittite cuneiform).

Software is very much a natural extension of the brain and how we processed the world around us.
Banks get by on a long term strategy of supporting gambling. A loan to invest is the same whether it's in a small business, a house, or stocks. In fact, the first two are even riskier because they aren't liquid so they can't get out in turbulent times like they can with a margin call.
If one views the problem as one of lawlessness, then it certainly looks that way, and certainly there are people like that. I view the problem as one of safety: drive 25mph through school zone because kids, drive 80mph on freeway because safe. Regardless, if you continue to drive at 65mph when everyone else is doing 75mph, then you are making accidents more likely. This is no longer the moral choice. This is just righteousness.
The LLC would pay 15%, but then you would pay your normal individual rate on top of that: 10%, 25%, or 35%. If you selected the LLC as a pass through entity, you could avoid the 15% tax on the LLC, and would pay your regular individual rate.
Libreboot Applies to Rejoin GNU
it's important to note, (western) government decisions already are algorithmic. We simply aren't privy to many of the steps involved, and our ability to influence outcomes is limited by the elitism of representative democracy and the stifling regressive nature of bureaucracy.

Edit: that isn't "regressive" as leftists confusingly redefine it, it's the dictionary definition. Might be important to note in a political comment.
More coverage of this can be found on ArsTechnica. A few more details are given that the NPR report omits.

https://arstechnica.com/science/2017/04/unknown-humans-were-...
You've been extremely helpful!
No. The product is going to be out of warranty, the manufacturer is going to refuse to replace the device, and suddenly a customer is out hundreds or thousands of dollars out of their own pocket. IoT devices are not cheap.

I find it reprehensible that the Gizmodo author (who is using his position as a journalist to encourage criminals) and HN commenters are applauding this hacker as if he's a hero of the people, fighting for a better future. He's directly harming individuals who have purchased products. This is not a friendly reminder to manufacturers to get their shit together. It's some guy illegally connecting to, taking control of, and bricking computers.

I've seen him referred to as a greyhat. No. Everything about this is strictly blackhat. This hacker deserves prison time. What a piece of lowlife scum. It really does sound like a 15 year old getting off on making waves, rather than someone who gives a damn about security.
All the foods you list are primarily carbohydrate sources. Humans are incapable of synthesizing proteins and (some) fatty acids. I would suggest it costs a lot more if you consider protein and fat sources and opportunity costs of preparing them.
To understand that an assignment doesn't run that slow, you need to be told that.

Not really. You just try it, and notice it ran instantly. You don't really have to care how it happens to run behind the scenes, as long as you have a working model of the semantics. That's the entire point of most abstractions, to make it so that you don't have to think about all the details when you don't want/need to.
An enterprise valued at more than $5 million, with lots of employees, is not a "family farm", at least not in the traditional sense.

I totally agree that a tax on inheritances above $5 million will tend to impact family owned businesses worth $5 million though.
The person bricking IoT's isn't getting money from that. If they did, I would hope they or you did, I would hope each of you would donate to charities.
I'm not entirely sure that what you listed is the reason SpaceX has been making such progress; NASA seems perfectly willing and capable of making cutting edge engines (or rather, their contractors do). Whether or not their organization has the risk-taking and agility to change approaches like SpaceX does, that's another matter.

However, I don't think in rocketry that "throwing propellant at the problem" is ever a solution, as propellant has weight. Efficiency is indeed incredibly important, because adding more fuel means having to lift more weight, which means you need a bigger engine, which needs more fuel to run, etc in a vicious cycle. One of the solutions of course, is to burn more of it at once (ie. multiple engines), but there's limits to what's feasible. (speed/atmospheric considerations.) In other words, it's not a linear matter of throwing more propellant. Costs can go up, quick.

Coming around to the issue at hand, I can absolutely see having a high minimum threshold for a fusion power plant, where the plant needs to be large enough to generate a sizable return (excess power) for it's initial outlay, but also be able to make the maximum return (high consumption) of that power generated. You can build a massive plant in the midwest, but if the demands on it are quite low, then the economics of it doesn't work out.

That means that the economically feasible scenarios for a fusion plant at this time are probably quite limited. I'm sure that will improve greatly over time. But it seems to be that the author's point is that right now, even assuming the technological issues are solved, it is probably isn't as cost-effective as some make it out to be.
Bloomberg's article says "It also imposes a one-time tax on about $2.6 trillion in earnings that U.S. companies have parked overseas." - So, I am a bit lost also on this plan getting Apple to repatriate.

https://www.bloomberg.com/news/articles/2017-04-26/white-hou...
You don't need SASS, you can just use CSS. But SASS would make your life a little easier if you hand the time
Raising the standard deduction is nice.

Ideally I'd like to see it drastically raised, like no tax on each person's first $30k. I'm surprised the democrats have never tried to push a policy like this, its the type of policy that would get support from many republican voters.
And I'm only using now.sh's free tier for the backend.
> Do stock options holders need to pay tax even if they have not added actual money to their bank account?

Yes. The options are converted into shares, which is considered a taxable event by the IRS. Ordinarily this isn't a problem because you can sell some fraction of the stock that you gained to pay for the taxes. But if the company is not public, you have no easy way to sell the shares.

> If I don't have the money in my bank account yet, how can I pay this huge amount of gains tax even?

That's exactly the problem. Many employees at unicorn startups are stuck in "golden handcuffs." If they leave, they oftentimes can't exercise their options due to the taxes, in which case they lose them. This forces them to stay in the hopes that one day the company will go public and they can exercise their options.
FCC announces plan to reverse Title II net neutrality
So the privacy and rights of many should be violated because of the actions of a tiny minority?

I'd argue that any minute amount of good that comes from this is by far and away out balanced by the abuse of those with access (and in the UK there is a tendency for creeping escalation with such powers) and the violation of privacy of innocent people.
A Primer on Bézier Curves (with interactive animation) -
https://news.ycombinator.com/item?id=14191577