skysight-inc/HackerNews huggingface dataset:
I've written a lot of C++ at Google. Macros are used sparingly, e.g. for command line flags:

https://gflags.github.io/gflags/

They are discouraged for use in place of an API:

https://google.github.io/styleguide/cppguide.html#Preprocess...
Carbon Five | San Francisco, Santa Monica, Chattanooga, New York | Full-Time, Onsite | https://www.carbonfive.com

Carbon Five is a digital product development consultancy. We partner with our clients to create exceptional products and grow effective teams. We work with for numerous startups in addition to companies and organizations like Good Eggs, StitchFix, Autodesk, Hulu, National Geographic, and the San Francisco Museum of Modern Art.

To learn more about who we are, our engineering culture, and whether this is the right place for you, read our Key Values profile: https://www.keyvalues.com/carbon-five

Here are our open roles:

- Technical Lead: https://www.carbonfive.com/careers/tech-lead/?ref=hackernews

- Test Driven Web Developer: https://www.carbonfive.com/careers/web-developer/?ref=hacker...

- Test Driven Mobile Developer: https://www.carbonfive.com/careers/mobile-developer/?ref=hac...

Tech Stack: The majority of our work is in Rails, Node, and Java, but almost everything is up for grabs. The only tech we don’t work in is .NET and PHP.
I live in Seattle and use Centurylink and experience none of this. My children watch youtube all evening with no degradation of quality, even while my wife and I watch netflix. I have never experienced slowness with centurylink -- I wonder if there is some bad hop that the vpn is avoiding?
The race to create artificial leaf
Anyone doing anything with user agents should use ua-parser[0]. Don't even bother trying to do any of this yourself.

If ua-parser doesn't exist in your language, just pull the yaml file out of ua-core. That defines the regexes you should use and how they translate to browser versions (and os versions and devices).

[0] https://github.com/ua-parser
So basically, only people that are rich AND dumb fall though the cracks?

So what percentage are we talking? Single digits, I hope.
Some of these colored salts contain heavy metals

https://www.spexcertiprep.com/knowledge-base/files/AppNote_G...
Thanks. What in particular did you like?
According to Times Higher Education, Chicago is ranked 11th in the US and 8th in the World (different rankings...) while Columbia is ranked 2nd in the US and 14th in the World.

Rankings across every discipline will be different and vary based on the source but that's a decent estimate. The article notes one source has Chicago at #3 and Columbia at #5, with NYU at #30.

No Federal Judge is going to accept the Pearson's argument that Columbia is an obviously far inferior school. This argument would mean that the only acceptable sources of faculty would be Princeton, Harvard, Chicago and Yale (tied for 3rd with Chicago). Maybe they would accept Oxford and Cambridge as additional acceptable sources?

The overall complaint gives the sense that the Pearson's are exacting and highly litigious. Exacting on a $100MM donation is understandable, filing suit this fast is rather absurd. But both sides have lots of money for both academic research and lawyers so it will be entertaining at least.
It is faster than all other editors I've used, especially startup time and scrolling smoothness. So I think it is optimized.
Lots of vaccines require multiple doses and boosters, it isn't anything new.
And Alan Kay saw this coming from a mile away and said: "What a total stone age BS this is. We already did it better in the PARC". Instead of sending shitty text files to rendering engines to parse all their own way, we should send objects. Every object should have an URL and the users should interact with these objects. And he teamed with David A. Smith and six others and they made it happen... aand it had 2d objects and it had 3d virtual reality where objects from different servers interacted and everybody saw it was cool as hell, but nothing came out of it because the world is path dependent and network effects rule.

http://wiki.c2.com/?OpenCroquet

https://en.wikipedia.org/wiki/Croquet_Project

https://www.youtube.com/watch?v=XMk9IGwuRmU

TL;DR: Future was already here, but it could not communicate with the present.
Why should they be changing all the time?

Paypal already dominates the market. There's not much they need to do, and there's not much that needs to be done. It's an online payments system, not a game. It doesn't need to be innovative or different just for the sake of it.

I agree that paypal has a number of issues that need to be fixed (high fees for transactions and exchange, little/slow customer support, lack of transparency for many processess, questionable privacy agreements) but these problems have nothing to do with innovation. It would be nice for the near-monopoly to be broken, but it's adequate.
Australia does have a variety of no-jab, no-pay programs to promote pediatric vaccines, but I believe HPV vaccine (which is given later) is not included in them
Pretty weird. I feel I can make the biggest impact by mentoring junior devs. The faster they get up to speed the better for everybody.
Apple Park: What employees told 911 after walking into glass walls
(Cervarix) is more than 96 percent effective against disease associated with strains 16 and 18

... but those are the two strains that Cervarix is specifically designed to prevent against!

In other words, that's admitting to a 4% failure rate where not only did the HPV infections occur despite those subjects being vaccinated, but they proceeded to cause disease (aside from the HPV presence itself).
It certainly changes it, although I’d be far more likely to compare this case with you giving me a car with instructions telling me to pick certain people up and drop them off at certain times, or you’ll take the car back.
Also, I noticed that it requires WebGL so without modern and supported by WebKit graphic card it won't work. Why is OpenGL necessary for a text editor? I don't understand.
I don't think this represents a planned obsolescence scheme, just stages of progress in the development, testing and approval of successively better vaccines.
This sounds really off, and much different than my experience. Honestly, if there's a place in the world that produces quality C++, it's google.
That's the crazy thing about mobile ads. I've clicked on hundreds, if not thousands of the things. Never once was it intentional
It is a $50B a year target for 12 years, so ya if he "pumped" up the stock by pretty much doubling the current market cap 2 full times over the next 4 years then he could "dump" it straight away. So the argument is that taking the company from ~50B to $650B would create such shareholder value that it would be worth it. It is actually tied to revenue and profit as well.

> Tesla has set a dozen targets, each $50 billion more than the next, starting at $100 billion, then $150 billion, then $200 billion and so on, all the way to a market value of $650 billion. In addition, the company has set a dozen revenue and adjusted profit goals. Mr. Musk would receive 1.68 million shares, or about 1 percent of the company, only after he reaches milestones for both. [1]

[1]https://www.nytimes.com/2018/01/23/business/dealbook/tesla-e...
Performance: you can get rid of all those bridge casts without the need for an inter-procedural analysis. However, since C# also supports structs, generic instances of structs can be (and most of the time are) inlined to realize struct performance benefits.

Ease of programming: your generic type bindings don't disappear at run-time and can be used run-time logic decisions, basically violating Bracha's law (types shouldn't influence run-time behavior), but I found it incredibly useful for meta-programming reasons.
This may seem stupid but couldn’t you just reverse the stuck pods back to the station the departed from?
"Eggs: $7.99/ 5 dozen (13.3 cents/egg) = $.40/day"

Wait, does that mean 3 eggs/day? That would be asking for troubles (cholesterol).
We are also making a Data Science position available.

Data Science | San Francisco (On-site) | $90k-120k
https://www.uncountable.com/hiring-data-scientist
I am pretty convinced that high end watches ($5000+) will be around for a long time. In terms of functionality a smart watch is probably better but I just like mechanical watches and I know a lot of people who feel the same way.
The commenter is welcome to his opinion but I think it's pretty wrong. Google has a few internal frameworks for things but mostly they evolved before the standard library had reasonable standardized equivalents and in cases where the standard has grown to encompass these things there's been orderly migration towards using the standard equivalent where it makes sense. It's a quite well maintained codebase with good sensible standards and review process as well as teams of people whose sole job it is to go through to analyze and migrate whole swathes of the code base for improvement.

Plus alot of Google's internal stuff is being open sourced: https://opensource.googleblog.com/2017/09/introducing-abseil...

You can waltz through that code as well as other open sourced things and judge for yourself on the quality.
Best Way to Add a Music to Instagram Video
No, it projects a 50% reduction in disease caused by HPV without giving supporting science. The bivalent vaccine does not prevent infection with other strains (it can't; it doesn't work via recruiting the immune system like most vaccines do).
Interop is another advantage of the erasure model. Getting a version of Scala to run with reified generics on the CLR is a huge, perhaps impossible, undertaking. And if you can't do that, interoping with generic C# code becomes really hard. On the other hand, Scala interoping with Java code, generic or otherwise, is much easier.
Today, Google Search itself uses that.

Try using Google.com from Firefox Mobile and from Chrome Mobile, and you'll see a major difference.

To get 95% of the functionality working, you need to fake a Chrome UA. In 2018.
> Why should countries compete? What’s the point? What benefits does it bring to their residents?

> You don’t have to be a socialist to understand this concept. We all need governments for the tough stuff.

I'll answer. The benefit is that it allows for freedom of choice for residents. If some people like certain qualities of a given country, they can move there. If they like other qualities of a different country, they can move there instead.

Different people want different things in their society, and thats OK. We do not need a one size first all world government that forces the minority to accept the opinions of the majority.

We do indeed need government for many things, but different people disagree about those things, and how much the government should be involved and thats ok! Everyone can better get what they want if they are given the choice to move around between countries.

There are, of course, barriers to entry as not everyone can move to a new country at the drop of a hat, but it is still not as difficult as it might seem. I've lived in a dozen different states in the US, for example (yes, states are not equal to counties, but they really are quite different, and have many different laws).

With freedom of movement in the EU, at least, it is particularly easy for residents to move around.
In Erlang the actors are lightweight processes are much smaller than OS threads. I wouldn't worry.
> Why is OpenGL necessary for a text editor?

Why not? Modern desktops are all hardware-accelerated anyway.
Take a look at vim/emacs. They are anything but simple.
consider how many pixels a 5k monitor has.

try drawing a 5k monitor full of true type fonts in software sometime.
Hardware acceleration of rendering is more energy-efficient and less resource intensive than CPU-based software rendering.
> Now, Java also added a number of nice things that C++ didn't have - such as an array knowing its own length, array bounds checking, and other features geared towards protecting the programmer from stupid mistakes.

C++ has bounds-checked arrays that know their length if you want (hello, std::vector<T>, or roll your own if you don't like that one). It just doesn't endow the C arrays with it (for good reasons). The C compatibility of C++ means that C++ interoperates easily with C API's without the overhead of FFI.
I think that to attract real money, you'll have to set up some system whereby marketing rights of the creations revert to some administrator set up by the fund, and the proceeds split in a weighted fashion given the proportion of each donor.

You could create a baby angel fund...so a cupid fund?
Great 3blue1brown video to accompany this – Thinking Visually about Higher Dimensions:

https://www.youtube.com/watch?v=zwAD6dRSVyI
It's fundamental to rust's view of ownership and borrowing of data. It's not just strings, but it's everything. Strings represent a single exclusive owner of mutable data. &str represents one of possibly many read-only shared references to the internal data of a string.

Once you understand this concept you see it over and over. It's how every type in the language works (unless that type implements the Copy trait).

I actually think this is something really fundamental and amazing the more I think about it. Most languages, like Java, tell you to make defensive copies of your data because you never know who will be modifying it later. Also most languages will enforce that all strings are always immutable, to prevent people from needing to make defensive copies. Rust just naturally handles this with it's ownership and borrowing rules. And then the very same concept is what makes concurrency safe.
I do. I live in MSYS2 on Windows. Can't stand VS or powershell, and I've invested so heavily in the GNU toolchain over the years that having the option on Windows is a no-brainer for me.

I use Make for everything from frontend builds (don't like grunt/gulp) to rust apps. The better I get at Make, the more I love it.
Ahaha hahahahaha ‘wag their dicks..’ hahahahah
I think they made the right choice at the time. Targeting devices smaller than desktop computers about 5 years before C# (in a time when Moore’s law was in full swing), they had to cram the jvm in much smaller systems than C# targeted.
no need to be aggressive dude, op was just askin'
I notice some videos play fine at 1080p60, while others auto-throttle down to 360p. I wonder if this indicates that YouTube videos can be stored on a variety of datacenters (with a variety of paths between them and CenturyLink). Google's video quality report also rates CenturyLink in Seattle as "standard definition" [1]. I don't have Netflix, but I just scored 910 Mbps on fast.com (Netflix's speed test), so I think their connection to Netflix must be good.

A quick Google search reveals a thread of similar stories: https://www.reddit.com/r/centurylink/comments/5y1jzy/does_ce...

[1] https://www.google.com/get/videoqualityreport/
Check the dates again. The quadrivalent (4 strain) vaccine was licensed before the bivalent (2-strain Cervarix) vaccine, and Cervarix is inferior in other respects. Yet medical systems paid $50-2000 a dose for hundreds of millions of doses, knowing that it was obsolete.
Isn't this setting up a bizarre incentive where every time each of the entities feels it isn't getting it's fair share of Elon's attention, that they have to bribe him with some massive stock grant?
Musk's entire strategy revolves around using luxury vehicles for the rich to directly fund R&D of battery and EV tech.

That's been the gameplan since day 1.
Check out Textadept. It's an editor written largely in Lua.
>A preposition is a very bad word to end a sentence with.

"Ending a sentence with a preposition is something up with which I will not put."
> I don't understand how you can attach strings (i.e. conditions ) on gifts, telling the receipt how they can or cannot use the gift.

You do it with a contract, the same way you attach conditions on anything else in life. It's the obvious way, and it's done all the time.

There are a lot of specific rules relating to specific contract terms you can or cannot agree to, specific conditions that might make the contract invalid, implicit clauses that may apply even if not explicitly stated, etc., that's not really relevant here. But in general, yes, absolutely, if you and someone else sign a document that says you'll do X, and they have to do Y, and there's no coercion or fraud, and neither X nor Y is something illegal, then yeah, you have to do X, and they have to do Y. It's hardly hyperbole to say our society is built on this notion. And "I give you a bunch of money and you do these specific things" is hardly an exotic form!

> This would be akin to telling my dad that I will gift him a car for his birthday, but on the condition that he can never sell it or rent it out or re-gift it to his friend.

Correct. Which is a thing you could do, and which people actually do all the time, sometimes with just a verbal contract, sometimes with more formal contracts.

What's confusing or surprising about this? It's just how our society (and legal system) work. Why would you think you couldn't do it? Why would you think that people wouldn't do it?
While cool I'm not sure a 3D interface to a Wiki was ever the future. Thank god.
Can you elaborate on how expanded broadband would prevent YouTube from catering to it's advertisers?
Unfortunately it's not very good. Sometimes it works, sometimes there's regression. Acid2 is still broken sometimes.

https://github.com/servo/servo/wiki/ACID2-Status
The subsidies are directly funding R&D of battery/EV/aerospace technology. But this way, the rich people buying the cars are also funding it, as well as the investors buying equity. The tax incentives are working precisely as they were designed, and for every dollar in subsidy there’s probably $9 more in outside investment coming onboard.
The hypothesis about dietary cholesterol causing heart disease has been debunked.

"Previously, the Dietary Guidelines for Americans recommended that cholesterol intake be limited to no more than 300 mg/day. The 2015 DGAC will not bring forward this recommendation because available evidence shows no appreciable relationship between consumption of dietary cholesterol and serum cholesterol, consistent with the conclusions of the AHA/ACC report."

Source: https://health.gov/dietaryguidelines/2015-scientific-report/...

(Office of Disease Prevention and Health Promotion, U.S. Department of Health and Human Services - ODPHP)
Dude. Your group definition Is based on how you define your filter function. That is essentially a group. Users are filtered off the group string in which they belong. Read the code before you respond like a child.

There is zero terminology related to implementation. NOT A single function was defined. All it is are function signatures analogous to your classes.

Read the pseudo code and understand it before you criticize there is enough information in the user tuple type to filter off of users and emails.

You think you are seeing over complexity but my code is actually more simpler and straightforward then your code. NOT to be insulting but you can't see it not because the code is complex but because you lack knowledge.

I'll tell you this. I completely understand your code and I completely understand my code. My judgement is less biased. Respond to me when your level of understanding reached mine.

Nothing gets my blood boiling more then deliberatr ignorance. Read and understand my code before you bitch.
y u take ball-lightning-particle from me ::sad-face::
Ask HN: Idea March
EDIT: HN experiment. Every Month, a thread will be started to share product ideas. Why? Because many people have ideas they will simply not have the time to implement, and many need product ideas to work on.
Beware the man with no female friends
Dietary cholesterol is actually not bad - check out this article for a good overview https://chriskresser.com/the-diet-heart-myth-cholesterol-and...

Have been researching this for a long time. It was hard for me to believe at first, but the science is sound.
I'm not sure what you mean by creations or real money - there wouldn't be any fund.

I'm just talking about buying low cost computing devices for kids who want them so they can learn and be inspired and have fun.
You made me chuckle.
Someone else? I said people. There is no reason to pay attention to everything in this world. In an ultra connected society, limiting ones' attention span is an important skill. Being obedient is common in those that are hyper vigilant about their perceived performance. These are the students that get straight As then commit suicide.
It's total wishful thinking, but I wish would take another stab at designing the Web with the benefit of 30 years of hindsight.

Pretty soon we're just going to be executing WebAssembly blobs and that will be that.
With Microsoft producing MSVC/C2 compiler with Clang frontend, I am surprised they did not abandon the MSVC at all - they have a hard times even at supporting C99, not to mention modern C++ technologies. And all those tools and plugins built around Clang/LLVM. MSVC is a legacy of XX century and should be abandoned for good.
Does anyone have any recommendations for learning to write modern, idiomatic C++? I used C++ in college for data structures and algorithms, so I have some familiarity with the basics. But we were mostly restricted to using C++98, and I'm not sure what the best practices look like these days with the changes introduced in 11, 14, and 17.
> I get white rice as a status symbol, but I don't get white rice and white rice only.

White rice has traditionally been seen as the "main dish" of a meal. Many people, even younger people in their 20s, follow this line of thinking. Here are a few facts in no particular order:

1. Rice is placed on the left of a set meal (https://i.imgur.com/n29o2Dh.jpg), with miso soup on the right. Traditionally, the left side is the "higher" position.

2. In a set meal, everything that's not rice is generally referred to as "okazu," or "side dish." (https://en.wikipedia.org/wiki/Okazu)

3. A meal consisting of a bowl of rice with some kind of flavored salty flakes (furikake, https://i.imgur.com/hDAqndf.jpg) is considered a perfectly complete meal.

4. You ask "why no meat . . . even for the emperor" -- this is sort of a cultural blind spot for foreigners, I think. We think "oh man, meat, this is an honor!", but for a long time in Japan, meat was not only difficult to obtain, but was also seen as unclean in some ways (https://www.kikkoman.co.jp/kiifc/foodculture/pdf_09/e_002_00...).

4a. Butchers, for example, were of the untouchable (burakumin, https://en.wikipedia.org/wiki/Burakumin) class for dealing with slaughter. This perception even exists today, to some extent, especially in wealthy families.

Anecdotally, there is even a continuing modern perception of meat as "unhealthy" and "a sometime treat," even among younger people (say, in their 20s). People laugh at me for eating ~100-200g of chicken, pork, or beef per day and often point to that as the cause of my being overweight, seriously suggesting that I should instead eat 100-200 grams more of white rice per day.
Reddit Is Finally Reckoning with How It Helped Spread Russian Propaganda in 2016
But that's also the restriction for Chrome. Only edge, IE and Safari get 1080p support for browsers. Which proves to me that I don't need 1080p really since I hadn't noticed.
It was done before and it didn’t work. https://news.ycombinator.com/item?id=8613446
Musk already owns tons of Tesla story and should be motivated by that. There's absolutely no evidence that additional equity would motivate him more. On the contrary, there is plenty of evidence on the diminishing marginal utility of wealth.

Like much CEO pay, Musk's pay package is more about status than about motivating him.

Or is someone really going to try to make the case that he's kinda half-assing it right now?
Many LED bulbs have performance issues, especially in fixtures.

There’s such a large market now it’s hard to identify quality product. Good news is that the prices have fell to the point that the ROI in energy savings is very short.