skysight-inc/HackerNews huggingface dataset:
OCaml also does it better. Its split between .ml (implementation) and .mli (definition) files is taken directly from Modula-2 [1].

[1] https://discuss.ocaml.org/t/what-is-the-reason-of-separation...
Well let's say you know Kotlin well and program for the Android platform a lot. You can search Github for projects using the Kotlin language which contain the word Android, with the most stars like this:

https://github.com/search?o=desc&q=language%3AKotlin+Android...

We go down six and see Google's android architecture components. We click on it and click on pull requests. We look at what is open and what is closed.

We see a month ago someone sent a pull request which was merged -

https://github.com/googlesamples/android-architecture-compon...

If we go back more we can see other merged requests in the recent past.

This is a project with a "few recent merged pull requests". People sent a patch to the code in a pull request, and their branch was merged into the main code base.

While this example was Android and Kotlin, you can look at other languages you have more familiarity with, and other focuses. Projects with a lot of stars and/or forks are good candidates to look at, and you can sort by them. I did add the caveat recent though, as sometimes a project has been abandoned for a year or more, and there might be no active project owner to merge pull requests.
They must have some level of indirection in the resulting code to accomplish that like virtual inheritance. There is a price and this can be done in C++ too, but you have to opt into the cost.
Skinner box rewards you intermittently. You keep going however in expectation of more rewards.
ha ha - fair enough. Pretty much justifies Hashicorp's valuation ;)

But here's some stuff that's really missing. In Google's dashboard (and their API), you can add ssh keys after creation of an instance. Its a fairly basic functionality made possible by the "accounts daemon" (which is opensource https://github.com/GoogleCloudPlatform/compute-image-package...)

Azure doesnt have this, etc.
> It found that overweight adults who cut carbohydrates from their diets and replaced them with fat sharply increased their metabolisms. After five months on the diet, their bodies burned roughly 250 calories more per day than people who ate a high-carb, low-fat diet

Is it healthy in the long term to increase metabolism like this? Animal studies strongly suggest that calorie restriction is beneficial to longevity, and there is anecdotal evidence in humans (e.g. Okinawans). A higher resting metabolism means more aerobic respiration, which generates reactive oxygen species, which damages cells. Better to go the hard way and simply eat less.
I am not sure what you are trying to say. Thin Airfoil Theory and Vortex Panel Methods all predict zero drag. XFOIL predicts drag by tacking on a wake momentum thickness method.
Creative DIY ideas for birthday decoration
Birthdays are a time for celebration and no matter whose birthday it is in the family, it makes for an occasion to celebrate and have fun. Just like a birthday celebration is incomplete without a cake; similarly, the birthday venue is incomplete without decoration.

Balloons are one of the traditional yet most popular décor items, and without <a href="https://www.balloonsandsparkle.com.au/">balloon décor</a>, it is difficult to imagine a birthday celebration. Here’s a look at some of the creative DIY ideas for birthday decoration at home:

-Tassel Garland

The tassel garland can be hanged either at the mantel or on the walls. You just need to take colourful chart or crepe papers and make garland from them. Making the garlands can take some time, but they are worth the time and efforts as well as cost-effective.

-Festive background

You simply need to invest few dollars in tissue paper confetti for giving a festive look to the background. The confetti can be used to write any message of your choice on the wall. The good-old Happy Birthday is the best message that can be written by confetti papers on the wall. The confetti wall should be the main wall behind the cake table so that it becomes the centre of attention.

-Helium balloons

You can also order life-size helium balloons for the birthday party décor. The helium number balloons can be ordered if its 5th, 10th, or 25th birthday of a person. These helium balloons look spectacular, and you don’t need more of them for completing the décor. These number helium balloons can be placed behind the cake table near the centre wall.

These are some of the best DIY ideas for a birthday celebration that are easy to execute and don’t pinch your pocket. The illuminated and helium balloons can be ordered online at affordable prices in colours of your choice.

https://www.balloonsandsparkle.com.au/
Young children ride the subway alone to school, it’s a different world
Ah, thanks for the clarification. So the gist of your concern is that pre-existing naturally occurring sustainable production might get windfall profits- but and the demand is not enough to change the remaining production.

This is analogous to the situation in electricity n markets and hydro production btw. Old hydro dams built in the 50s produce power for customers paying extra for "green power" and the money doesn't go to investments in wind/solar.
Yep. Funding.

The nutritional science community is generally weak on data, because humans are expensive to study. This has led to prominent scientists cherry picking bad data and using correlation to back up shitty hypotheses. The Dr. Hall quoted in the article is a classic example of this. Attacking the study wherever he can, because it demonstrates how crappy his lifetime of low fat diet studies actually are.
It seems that the carbohydrate intake in these study is mostly based on processed carbohydrates, which are distinguished from unprocessed/lesser processed ones (like beans, fruits, and to a lesser extent rice). Those make a huge difference for our metabolism compared to white flour or industrial sugar. Fruits may contain a lot of sugar as well but it seems to make a big difference if sugar comes with fibres or not.
I think shift in tone really only started after Trump's election but the seeds were sown once the press realised the balance of power shifting away from them.
You wouldn't do that by sending an email to the account. You'd do that by logging in with IMAP and importing an email that way.
Because the reason you buy things on Amazon is because they get you the best deal and they get you the best deal because they get the best deals. They get the best deal by exploiting workers in American warehouses, exploiting workers in Chinese factories or exploiting the citizens of New York. Either way, exploitation gets you that deal. Those guys who aren’t as effective at exploitation as Amazon? Well, you don’t shop with them, do you?

Now if you weren’t a price or convenience-sensitive consumer who didn’t shop on Amazon out of moral conviction, I would at least respect your perspective. But if you shop on Amazon, I’m not sure you get to quote Yogi Berra.
> I'm criticizing exactly what you called out as an assumption - the methodology of the sample; namely that they survey's distribution matches the population distribution.

Yeah, I’m reading your previous comment, and I’m still not seeing it.
It's not that low carb high fat increases from healthy levels, but rather that high carb diets slow down from healthy levels.

But still a very interesting point you make.
Google Reader still hurts.
>We are working on our 2019 iteration of the compensation calculator currently, which will create additional metro areas, one of which will be for Portland.

It doesn't speak well that you need to be told which metro areas to add.

The US government had to address a similar issue and came up with a handy list of metro areas:

https://www.opm.gov/policy-data-oversight/pay-leave/salaries...

I find it a little odd that you would be so adamant about your compensation algorithm and not do basic due diligence exploring what others in the space have done in the space.

HN commenters shouldn't need to tell you what metro areas are missing - you should have proactively identified them.
That says it happens if you insert it using https://developers.google.com/gmail/api/v1/reference/users/m.... It does not say that this should happen because someone sent you an email.
In my country (France) bread used to be a staple of the diet and there was no obesity epidemic at the time.

Perhaps it has to do with total food intake. I live in Bangkok at the moment, rice is a staple food and Thais eat all the time (they remind me of Hobbits). Portions are small though, so perhaps that's why I don't see a lot of overweight people.
I believe that the core issue is that in public policy, people think healthcare like NASA rocket science and it's more like car-repairs.

A good rule of thumb is: if you are using legalities to define economics, you are on the wrong path.
From a much broader, evolutionary or theory-of-life perspective.. eating less would a be a step backwards, towards eating nothing - not existing, or pure entropic. Every advance in the development of life is a fight against entropic death- as organisms move farther and farther from this, there will be increasing forces of nature fighting in the opposite direction - that is a sign you are moving in the RIGHT direction.
Wow excellent work!
Hmm, with insurance Testim and IM are comparable in price for me (super cheap).
Thanks for the suggestion! I believe they have since shut down [0] and moved to Home Design 3D [1]. I'll give it a try.

[0] http://www.livecad.net/EN/

[1] https://en.homedesign3d.net/
You are code wizard
Some of both but mostly incentives to the drivers and riders, for example new driver bonuses are definitely not profit.
It should also be remembered that 1n 2009, FB took $200 Million Investment From The Russians At A $10 Billion Valuation.

FB also turned down other investments at the time.

Certainly raises questions about how much they ignored the Russian problem, at the very least, about competence.

[1] https://techcrunch.com/2009/05/26/facebook-takes-that-200-mi...
The cloud service price changes maybe. But I'm more focused on things like maps, and the services they shut down.

They can make statements about which things have promises and which don't, but it still causes worry until there's a really good track record.
Ask HN: Simple books and resources would you suggest on investing money?
I am a software engineer, few years into the job. Finance was not my subject in school. I probably make more that most of my friends in other industries but have no understanding of how to invest, manage money in the long term and be financially secure now, and at retirement. I don't want to find some guy/financial institute to just handle it, in case they mess this up. What are some basic books or other resources that helped you get better at this?
The way I see it, Zapier is a subset of IFTTT, but it's not the functionality that separates them, it's the approach.

For me it starts with the name -- IFTTT means absolutely nothing to the average non-technical user, it sounds like alphabet soup or maybe a standards body or something. Zapier also doesn't mean anything, but it means nothing in a easy to distinguish way from other things. The audience for IFTTT (which is obvious once you know the acronym and makes sense) is for developers where Zapier is generally for smart forward-looking non-technical to fully technical people in the right domain. IFTTT might get a crazy article or two in tech-focused publications and some fanfare from nerds but Zapier is the kind of thing that silently chugs along to be everywhere in ~5 years once product managers/leads, managers, business analysis people get a hold of it -- and the tech isn't even bad.

I don't work for Zapier, I don't push use or pay for their products, I have no connection to them except realizing when I first saw it that it was a excellent idea in a parched solution space with an above average to great implementation & UX.

[EDIT] - Thinking about this some more, Zapier is a subset of IFTTT the concept as in I could Zapier's functionality in the sentence "if X then Y", but that statement actually doesn't mean anything because you can maneuver X to be just about anything and Y to be just about anything. Zapier supports non-trigger based workflows from what I understand and so does IFTTT... so maybe they're more equivalent than anything with Zapier focusing on enterprise-level polished integrations.
This seems to be a theme with Google and Facebook, when they realize the machine they are apart of. I remember interviewing at FB. While the process was a mess, the interviewers were mind blowingly brilliant. I remember zoning out for a moment realizing how sad it is that our smartest people work for ad companies...
I know this comment risks coming off as snarky, but I mean it genuinely: Do you honestly believe the only advertising channels that exist are TV and in person? Is it possible someone on a tech-oriented site is this unaware of the advertising arena?
> If you reach for your waistband while they have guns drawn and pointing at you then you're gonna have a bad time.

And if you had a bad time, well, they can always claim you reached for your waistband.
About 10 years ago I was able to buy individual family health insurance coverage for a reasonable cost. It excluded a couple of key things, such as maternity coverage, which I didn't need anyway, and certain pre-existing conditions which I didn't have, so I was OK with that.

You can't buy a plan like that now, because of mandated coverage of things that not everyone needs.
This nugget made me want to laugh and cry at the same time:

"...if Facebook pulled down the Russians’ fake pages, regular Facebook users might also react with outrage at having been deceived: His own mother-in-law, Mr. Kaplan said, had followed a Facebook page created by Russian trolls."

Yeah, great idea, Facebook. Let's protect the users from the outrage of having been deceived by... initiating a much bigger layer of deceit/coverup. That will totally work!
I'd like to see fashion better accomodate the solar requirements of our testicles.
Yeah, IMO that's another part of their genius business strategy -- all the SaaS apps that don't want to write plugin ecosystems or abide by an ever-changing list of interoperability specifications and want developers to love them can just pick one protocol (in the general sense of the word 'protocol', not the HTTP1/HTTP2/HTTP3 sense) -- Zapier's.

Then they can put "great interop" on their landing page, list some companies that Zapier interops with on their page, and be done.
The physician lobby is also a big part of it. The AMA was vehemently against Medicare.
It lets you connect data via clean APIs without needing to code. So new website signups can automatically go to mailchimp, and zapier can text high priority leads to your best salesperson, and the lead can feed into a bi tool, etc etc.
The general idea behind Facebook is that open communication is an inherent good.

But too open communication results in knee-jerk emotional assertions and brazen judgement.

As most drunks know, sometimes inhibited communication is better.
Way of the Wolf - Jordan Belfort
Any guesses as to when they will be acquired and by whom? I'm wondering to myself if the founders are interested in this... I'd like to see the product grow, so I hope not!
That’s Not my point. You would be able to store history and news and later being unable to rewrite it. A creditable source eg if you trust waybackmachine or some journalist or organization then you have a record that it happend... that is a step up from a screenshot. I believe there is a saying that the winner of a war writes the history and I believe we have seen many wars which tried to destroy information and history of a people. Or recently people/ companies trying to erase their internet history. A example would be simple system would be to log eg url to New York Times article you request and blockchain does the logging so perhaps it’s wrong what the journalist wrote but it’s true that they did write it.. and eg trump getting control of all all media in us would still leave a trail for historians even if us were fucked today ;)

See https://blog.archive.org/2018/04/24/addressing-recent-claims...

Besides that there is nothing that prevents us from in the future to store voice/video and digital/biometric signatures and whatever to document interviews or events. For some part it will still be based on trust of a source in others it will be based on evidence. In science based on ability to reproduce methods and data.
This is pretty dang cool, imo.
astrology tentative?.. ha!

"Millionaires don't use astrology, billionaires do."

> replication crisis

more like a paradigm crisis... Scientism ftl!
Again, if you have the Command Line Tools installed, it'll be under /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/. Xcode also has a copy, but I think fewer people have that installed.
I feel frustrated by the concept of software interview questions but only recently do I think I've figured out why. They feed my impostor syndrome.

They're often trivia that I'll never learn from my job, so if I didn't go to school for programming I won't know. Or they're specific to a domain I'll never touch so I won't know.

I don't think they're fundamentally bad (I used to), but I've never read one of these without coming out the other side feeling lower about myself.

Not sure I have a point. Just wanted to share.
I know, right? I met him a few times back in the 2000s and didn't see why he got so much attention back then. I think he is regurgitating some of the common talking points amongst the valley anarchists about how we live in a bubble. I don't disagree with the overall message but nothing new to see here.
The 180,000 people at GM today for 9.6 million vehicles per year is a bit like 40,000 at Apple producing 100 million iPhones an year. GM is now mostly an assembly plant company for parts made elsewhere plus marketing. Ford ran iron ore mines and rubber plantations. Total verticle integration. They even started Kingsford charcoal to use the hard wood scraps left over from car manufacturing that they grew on their own timerland.
I am video chatting a lot, and for some reason desktop-to-desktop in FB Messenger always struggle (mobile is fine usually). This worked instantly, nice.

Although I did notice my internet got cut off twice, usually this happens when I download torrents. Could the P2P of this be the reason for this?
Exactly this! Once Facebook became a broadcast medium, their responsibility changed. They don’t need to police me taking to my friends. But when content literally can travel around the world to millions in an instant, they have a very real responsibility that can’t be shrugged off.

If they are going to take the role of curator — which they have via their newsfeed algos, then they have become something other than a friend-to-friend sharing platform and they assume the responsibilities therein.
Yeah, I don't understand why people like to bring this point to vilify his character. It is not right to do that but you can hardly expect late teens or early tweens to be that sensible. Zuck just had the misfortune of being successful and his dirty laundry being aired in public.
The fact that the kernel TTY driver is responsible for handling erase in cooked mode leads to a wrinkle: in order to do that correctly it needs to know if you're using a multibyte character set, and if so, which one (because a single erase must erase an entire multibyte codepoint).

Linux uses the (non-POSIX) IUTF8 termios(2) flag to indicate a terminal is using UTF8. If this is set on a terminal which isn't UTF-8, you'll see some odd results - for example, in a terminal using the single byte character set ISO-8859-1 but with IUTF8 set and in cooked mode, if you type:

Ã¡Ã¡

and then backspace once and hit enter, the process reading cooked mode will recieve "Ã¡\n" - the erase has eaten two ISO-8859-1 codepoints because it thought that they were a single UTF-8 codepoint.

I've never used a non-UTF-8 multibyte terminal (like BIG5 or SHIFT-JIS) but I don't think erase would work correctly in cooked mode on such terminals.
OpenAPI Generator v3.3.3 is out with a refactored C# API client
What is quite worrying to me is doing hard, mundane work in an “easy” way (eg my job is subpar and I’m not sure what direction is moving in but I’ll just do what my boss says and work a little extra to make sure it’s really good). And I think that sometimes it’s pretty hard to pick hard work that will align right in the long term. I don’t know.
There is more to life than money in your pocket.
> Studies show it didn't change the outcome.

Nothing credible says that, or could say that. Counterfactuals of that nature are very hard and in an election that was decided by 70,000 total votes out of over 130,000,000 it's nearly impossible to assign causation.

> We still don't really know who hacked the DNC, whether it was Russia as a hand selected group of people from intelligence agencies included was likely, or whether it was an insider as implied by Assange and security experts who looked at how fast the information was downloaded.

Nah, we know it was Russia. The CIA said so from the beginning (learned via signals intelligence), independent security firms all said the same (by attributing the C&C servers and link shorteners to other attacks known to be from Russia), and the DOJ laid out the full detail in the indictments. We even know who specifically was sitting at the keyboard (presumably via Dutch intel who had literal real-time video access). The Bill Binney nonsense about download speeds was immediately discredited -- and further discredited once it turned out that the Russians were using US-based proxy servers.

> We know Russia did take both sides on issues like black lives matter to "cause division" We know they created a "Buff Bernie" meme, but it really feels like a massive excuse by the Democrats for an embarrassing failure.

They repeatedly expressed preferences for Trump, the divisions they were trying to cause were all for his benefit. They started targeting Marco Rubio and Ted Cruz, and then eventually moved on to anything that would harm HRC, such as propping up Bernie. The democrats obviously failed to win what should have been a very winnable election but to deny Russian influence at this point is to be deliberately obtuse.

If you have any doubt at all about the DNC hack, please just read the 'speaking indictment'. There's really no question at all: https://www.documentcloud.org/documents/4598902-DOJ-Russian-...
Goodwill is simply the difference between book value and price paid for an acquired company. For instance when Google bought YouTube for a billion it was almost all recorded as a Goodwill asset. Each year, Google must decide if YouTube continues to be worth at least a billion dollars, otherwise they may need to write down the goodwill, much like any other impaired asset. Buying companies are like buying other assets except they don't depreciate on the books and are called goodwill. Writedowns of goodwill are the same as any other asset impairment.

I really wish goodwill was called "acquisition premium" and everyone would get it.
> These signatures can be verified against an origin's certificate to establish that the exchange is authoritative for an origin even if it was transferred over a connection that isn't.

So not possible with TLS (unless you tunnel TLS inside TLS). I can't think of any killer use cases that would (IMO) justify the complexity, but Appendix A does list use cases.
What to do with the Confederate monuments (2017)