skysight-inc/HackerNews huggingface dataset:
One way to solve the do/while(0) problem is by using a “statement expression”. It's a GCC extension, and I don't know the reason it has never been accepted into the standard. Here's how it works:

#define my_assert(X) ({ if (!(X)) error(); })

Another way is to use a lambda expression, and then call it immediately:

#define my_assert(X) ( [=]() { if (!(X)) error(); } )()

Because the lambda captures by copy, it will catch inadvertent side effects in some cases.

You can also use the conditional operator in this case:

#define my_assert(X) ( (X) ? error() : ((void)0) )
You've mentioned it yourself: Many of the people in these systems are likely underpaid. Systemic exploitation is the name of the game for a lot of the base infrastructure in our society.

I'm for communities helping each other, but in your moving example you think those workers have health insurance? Why do you have to sneak the tips?

I bet the bus drivers make a good amount of money though.
Having used the XMPP gateway I wouldn't call it a viable alternative
Generally, a big improvement in ability to focus, and a sustained mental clarity throughout the day.

Entering in ketosis was also an watershed moment, like an epiphany, with a sudden feeling of increased awareness. But it's hard to describe precisely, and I guess YMMV.
In the bay area, last year, it was $70 an hour (2 movers, 90 for 3) with a 3 hour minimum. I just packed my clothes into suitcases, they grabbed everything else into boxes and left it roughly where I wanted them at the destination.

It was under $500 with tips; while not trivial, it wasn't a higher-end service for sure.
Sounds ... vacuous. I don’t think some kind of revolution in finance is needed. This sounds like spin.
The problem is not with egos, the problem is that they have a preconceived notion that they are equal with their coworkers, and then suddenly find out they are not.

Had the designation been clear from day one and each individual pay scale evolved over time publicly, I seriously doubt there'd be the same issues.

In essence, a reveal all at once is the equivalent of a massive swath of promotions to one's co-workers and not to yourself (for the lower paid), all in one day - yeah, of COURSE it's going to harm team dynamics. That doesn't mean we should only promote people in secret though, right?

Transparent compensation is simply a more granular hierarchy of representative productivity and value to a company, and the respective compensation, than a simple job title. We don't lose our minds at the idea that some employees are junior, others senior, etc. So what's substantially different with a more granular system to what already exists?

Any employee should be able to ask "Why is Bob making more than me?" the same way they might ask "Why was Bob promoted to XYZ position instead of me?" And a healthy company should be able to answer the question with the reasons why for the former, just as a healthy company can answer the latter. If an employee is lagging in salary over time because upper management isn't seeing the same value as their equally experienced co-workers, this should be made clear to that employee so that they can find out why their efforts aren't having as much value, and either adapt accordingly, or find an environment where their efforts will be better valued.

Imagine a classroom where each student can see their own grade as a number out of 100, but has no idea what the average is, spread, etc. You could have a C student who thinks they are doing as well as an A student, because they have no context for how they are being graded. Yes, there will be drama with each student knowing the other's grade, but they'll better know their own relative performances.

At very least, we should have anonymous compensation transparency, where employees can know where their own salary stands in the company compared to tokenized other salaries, so the conversation can at least be "Why is #335 making more than me?" instead of "Why is Bob making more than me?". In small firms/upper management levels this won't be all that anonymous, but it could mitigate the drama in larger employment pools while still providing the contextual benefit.
Ok, so we are in agreement on that.

Hey, I started out being strongly critical, and now we agree. Rational discourse does work, at least some of the time.
I don't know what kind of homework assignments those companies give but I can't even imagine how something a candidate could code in a few hours could have internal use. It takes days for even new hires to start contributing useful projects, let alone a never-before seen candidate without knowledge or access to the codebase and internal systems.

The homeworks are mainly a time saving device on one hand, where they replace an hour of phone screen time for an engineer with hopefully less than 30 minutes of grading. For the candidate, they may take a couple of hours instead of 1, but they also allow for a more relaxed setting with use of IDEs, Google, etc. and no interviewer watching the typing and tapping their foot.
Hi Blake! Unfortunately we did not have time to finish all of the redirects for the old site, so we have both versions up at the moment. I expect to have the redirects working properly by the end of the week, here is the new location for that page: https://www.apollographql.com/docs/react/reference/index.htm...

Thank you for building the ember integration, I’ve met a couple people at GraphQL summit that are really excited about it!
Best case, this will make the media even more mediocre, as demonstrated by Clear Channel when the FCC killed the radio station ownership cap.

The worst case is more likely, unfortunately. Echo chambers will get louder and influence their believers even more. Information will be replaced with entertainment and propaganda. In other words, more of the worst of what we have now.
> I've considered that, but it's extremely annoying (and still not really possible with Relay or Apollo)

It’s easy with Relay. With Classic you render a RelayRenderer. In Relay Modern you render a QueryRenderer. Either way, you can issue more queries than just your root query and it’s as easy as rendering a React component.
This is kicking a dead horse here. IMO, almost everything about C++ is terrible in this day and age. I'm so happy Rust exists and is doing well. I'll do anything in my power to never again create another C++ project.
Some laptops have a BIOS setting for what that switch toggles.
DreamHash
https://dreamhash.com/?ref=reqzx
“DREAMHASH CLOUD MINING TECHNOLOGIES LTD”
15 Running Days earning interest forever. 9% DAILY
DreamHash is registered in the UK as “DREAMHASH CLOUD MINING TECHNOLOGIES LTD” with a registration number of 10750138
The argument they are making is that they can leverage data about a company to determine how it should be invested in and what steps need to be taken to ensure success. This will supposedly be scalable and reach areas where venture capital is not available. Reminds me of Accelerando.
There are over twice as many people in Africa as Europe, mind.
> saving the company money

Companies not over-paying for their resources is generally a pretty critical factor in them staying solvent and being able to employ people, rather than a nice-to-have.
> ...in fact, it's so much a better solution that I can't imagine Amazon hadn't considered it.

I agree that it seem a better solution to the one scenario you're mentioning: delivering packages.

But if you watch the video in the article [1], they describe other scenarios: "maybe let in your dog walker, a friend, or maybe to let in a team of cleaning ninjas"

I don't think it's too far-fetched to see the 'friend' here being actually your airbnb guest. Many airbnb homes already use a rudimentary lockbox with code, if the guest can now instead set up something on their amazon account and know they'll be able to get in (at least the initial check-in, and have a key waiting on the coffee table), it could make the experience smoother for the guests, and the host as well.

[1] https://youtu.be/wn7DBdaUNLA?t=30s
Video Games Are Destroying the People Who Make Them
Analytics jobs, some database use cases, machine learning, simulation... plenty of things could make use of huge heaps.
For those who aren't aware, "single opt-in" means, in effect, one isn't required to "confirm" a mailing list subscription.

For example: a "pop-up form" (what this article is actually about) appears, you type in your e-mail address, click the submit button, and you are now added to the list.

You might ask, "What is to stop someone from adding arbitrary e-mail addresses (such as those belonging to other people) to the list?". The answer is, of course, absolutely nothing.

As you might then guess, this was abused so much that "double opt-in" emerged. Double opt-in requires a "confirmation". If you've ever subscribed to a public mailing list (such as LKML, for example), you've seen this in action. After sending an initial "subscribe" message (or subscribing via a web interface), you receive an e-mail message requiring that you "confirm" your subscription by replying to it. The purpose of this is to prevent exactly the type of abuse described above.

MailChimp is, in my opinion, already one of the "worst" e-mail service providers, as far as the amount of spam goes. Just a week or so ago, I had an e-mail conversation with them about double opt-in and threatened to blacklist their entire IP ranges if it doesn't improve (NB: as part of $job, I manage several e-mail servers) -- this was after one of my own e-mail addresses was added to a new list without any opt-in whatsoever! Unfortunately, it looks like the level of spam will only be increasing and I suspect I will eventually have to do exactly that.

If you're a MailChimp customer and you care about "deliverability" at all, I would recommend you to begin looking at alternatives. I would have made that recommendation anyways (before learning about this change) but now I really recommend it.
There is no API yet.

Exactly! This is exactly what we are planning to do with all the data after we reach a meaningful number of users.
If you hire explicitly based on code with no way to gauge ability to collaborate with others, design, or probe business requirements, I really wonder how strong your team is and how competent you are as a manager.
Square Capital. They've made over $1B in loans.[1]

Also confirmed by a friend who works at Square. Internally they're pretty open about the business.

[1] http://fortune.com/2016/11/07/square-capital-1-billion/
There's a lot of research into genetic disposition for those who have experienced famine in their genetic lineage, stretching back 3, 4 or 5 generations within their blood line.

I assume your hypothesis to be largely true, but it is not racial.

But certainly there would be an impact on intelligence due to nurture, the cultural of the region, and whether intelligence and education are encouraged. Like you have specified, the intelligence, adaptability and rationality of people from disadvantaged backgrounds has to be impacted by where they live and how they're raised. To suggest otherwise would be nothing short of bullshit.

I personally haven't served in the Middle East, I dropped out of the Royal Marines at 16 weeks when I got my Residency Visa for Australia. My friends that have served and are currently serving, the story's they've told me of Afghanistan and Iraq of the locals in some regions is nothing short of horrifying. I don't see how a lifetime of their culture and lifestyle where pedophilia is encouraged and seen as normal could ever be undone when they move to a western country, in addition to how they treat their women and basic Human Rights. Though admittedly, a lot of these same criticisms can be argued against Saudi Arabia and I can't see many controls being applied there. You only need to look at how their Ambassadors treat our locals when they visit.

But... and this is where my stance starts to unravel. We've enough shit in our own back yard. You only need to look towards Hollywood and it's protection of characters line Harvey Weinstein , and the BBC's protection of Jimmy Saville to know our own internal strife is just as bad.

Coming back to the Middle East. These stories have completely changed my perception which previously was almost entirely "provide asylum to everyone".

And to be clear, I'm as left leaning as they come and a proponent of the rights of refugees and asylum seekers to boot.

But the narrative that we should be fearful of some of the people seeking asylum in our countries from these regions is not unfounded. And there ought to be controls in place to protect us and indeed, the actual people we should be providing a safe haven to when they seek refugee status here.

The far left leaning would advocate that we provide everyone a safe region and our own countries safety and is second to our responsibilities as a world state.

= = = =
Some articles on famine and it's impacts on genetics:

How an 1836 Famine Altered the Genes of Children Born Decades Later

Edit: words, structure.

https://io9.gizmodo.com/how-an-1836-famine-altered-the-genes...

How your grandparents’ life could have changed your genes

http://theconversation.com/how-your-grandparents-life-could-...
Similar conversation: https://news.ycombinator.com/item?id=15544496
Why in the US do you have to rely on the employer to provide health insurance? So weird.
"You get some rich people from somewhere else who move in and throw all local culture and tradition away."

In 1492, Columbus sailed the ocean blue.
Just look at Queensland, Australia. The public discourse is basically owned by Murdoch, and the population is far more right-wing than the rest of the country.
Not necessarily. I once found out how much one of my team members made that started on the same day in the same role as I with the same amount of experience (the HR manager left his most recent offer letter open on her screen about a year and a half after we started). He was making about 66% more than I was (not an exaggeration) and our output was pretty comparable. Needless to say, modifying my behavior to be more like him wasn't the first (or 100th) thing that came to mind.

Was it fair? Who knows, it's not really possible to debate that because it all depends on your definition of "fair". But in my experience, it's not very realistic to assume that employee A sees what employee B makes and objectively understands how they need to improve to make what employee B makes. Especially since that's not really how pay is negotiated anyway.
oh wow, a whole new site :) I missed that in the announcement, and the only link I can find there is kinda buried in the conclusion. Might be worth making that more prominent or at least updating the links in the apollo-client repo's readme.

Excited to try out 2.0 soon!
They're pretty rampant in Canada. You usually get one of these types:

- Long home coding challenge (for no pay of course)
- Hours of whiteboard coding talk. If you're lucky it relates to the job at hand, most of the time it doesn't
- Doing coding tests online, either through their propitiatory app or through sites like HackerRank.
- A conversation type interview, where you talk about the job (have only had this one in my recent attempt. Didn't get past that phase)

Of the roughly 30 interviews that I've done in the last ten weeks, only one place ever asked about my github profile (which I don't have yet, currently revamping it since most of the code was years old and pretty meh). Almost every one of them had questions about my linkedin profile though.
So, in other words, you have zero source for policies known to work and there is no list you can point me to for known solutions.

Thank you.
A Guide to Setting Up Cold Storage for IOTA
I think the author is confusing the search for passion with the search for better information. If you can’t share code from past and current employers, and you don’t believe that your quick and dirty solution during the interview represents your best work, then a side project that shows a little carefully crafted code is one way to give a potential employer better information. And better information derisks hiring decisions. With perfect information, hiring decisiInd make themselves. It’s perfectly fine to prefer art projects to side projects in code, as long as you also accept the informational disadvantage and its repercussions.
Genius. Finally, someone it taking a "moneyball" approach to VC. The critical comments on this thread have missed the point.

Although the author is vague, it sounds like they built a system to analyze company metrics and thus screen investments at scale. This enables them to see more investments around the world, and makes it easier for entrepreneurs to "pitch" them, because they don't need to do the time consuming, typical Silicon Valley pitch process. Many more companies can get funded this way. And those investments will be less competitive and garner lower valuations (implying better returns). Again... genius.
If someone was making 100k more than me, do you really think I'd have to be a Vulcan to want to close that gap?

Seems like a bit of an extreme statement.
For sure - we've been super busy also organizing GraphQL Summit so it's been quite a week!
Serve a "blocked" page with some simplistic captcha to unblock?

If you see a lot of clients using the captcha, then consider backing it out...

Or maybe 302 them to an aggressively cloudflare cached copy of your site that's no-indexed?
How to Win a Data Science Competition: Learn from Top Kagglers
I had something similar where they had a test app online, but the test environment was broken to the point of it being non usable. Emailed them as to what was broken including error messages. Got an email cancelling my interview twenty minutes later.
Your peers drank the coolaid an you did not.

“You make the rest of us look bad when you don’t donate your weekend to The Company. Wouldn’t you rather make Our Leader richer instead of being with your family?”
Haha, yes, I keep encountering your comments about R and Racket and have to do a double take to make sure you’re not me.

Would love to hear more about any data Racketeering you’re doing. I’ve been thinking of documenting up my wishlist for quanty things in Racket and maybe try implementing a data dsl in Racket.
I can't read it, is Israel included? And if so, are they included under Europe of Africa?

What about Egypt? What percent of the total is Egypt?
There is a way to read this where both companies are right, depending on which accuracy spec is being referred to.

Apple likely built Face ID to be more accurate than claimed. This is similar to what they did with waterproofing the iPhones, where for one or two years they were built to a higher waterproofing level than they were marketed as.

Imagine Apple's suppliers were building to a 1:2,000,000 accuracy rate, and they were told they could drop the accuracy to 1:1,200,000 accuracy rate. Bloomberg is right that Apple has allowed the suppliers to reduced accuracy, while Apple's statement that there continues to be a one in a million probability of a random person unlocking your phone is also true.

This is an uncharitable reading of the situation though, and I'm mostly inclined to take Apple at their word on this.
Ensure tastes awful. If I had to live on that for a week I'd go bonkers.
The T-34 was better than what the Germans had at the time.

The better German tanks came too late and too little, true.
A couple of pieces of legislation in the 1940s and 1950s had the effect of encouraging companies to offer health benefits in lieu of others forms of compensation. Seems to have just snowballed from there.
Especially if it's something on medium.com
I don't know how much culture China exported along the ancient silk road but I do know that China imported a lot of culture along it (e.g. Buddhism and other religions), so its importance on the Chinese culture can hardly be over-emphasized. The problem with the author's critiquing of Chinese propaganda is that he adopted a chauvinistic framework. In reality for the Chinese people cultural import is likely more important than cultural export.

Again if we remove the fixation on Chinese export and view the situation more objectively: Pakistan and the Middle East have the youngest populations in the world. If they can develop into manufacturing centers, it will not only alleviate the potential for radicalism. It will also compensate for the aging demographics of China, whether that is what China intends or not.
What's a Venmo?
That doesn't make it right.
> cherry-picking

The last two links are statistics.

> this isn't SV

You're right, Boeing is not part of Silicon Valley. Government & military employees also, as a rule, get generous benefits.

But that's all beside the point, which is that the cost of those benefits should be added in when comparing salaries.
Hi sumobob! Sashko here - open source lead at Apollo

I'm glad you've been having a great time using Apollo. I hope we've been up front with the idea that we have commercial products since the start, and I think monitoring and analytics are reasonable places to do that since pretty much all of these services are paid. We also provide paid support to large companies trying to move to GraphQL and Apollo.

On the other hand, I'm excited that having a business model will continue enabling us to build great tools, and open source as much as possible. We've been very careful to make sure that all of our tools are decoupled and flexible, and don't lock you into using any other part of the stack. For example, the monitoring in Engine is based on an open source specification called Apollo Tracing: https://github.com/apollographql/apollo-tracing

In fact you could turn on tracing in your GraphQL server and pipe that data into any service you want, so it's pretty straightforward to avoid using Engine if you don't feel it's a good value for you!

Happy to answer any other questions, we're going to keep working on our stuff!
Sashko
https://www.clickondetroit.com/consumer/how-venmo-became-a-v...
People are so desperate to find viable business ideas. We discuss to death MVPs, fake landing pages, articles describing how to find and validate ideas and find first customers.

Yet, no one notices when business opportunity stares them in the face.

Go and duplicate screenhero. It's not that hard (Screenhero was written by 4 devs and 1 designer). They did YC in winter 2013 and got acquired by Slack in Jan 20015, so it's less than 2 years.

You have a validated product that many people love and are willing to pay for and enough of a "outside of Slack" market to sustain a small company.

On launch you'll get free PR just by announcing "Screenhero alternative".

And if you do a good job, it's likely that Atlassian (or some other Slack competitor) will want to acquire you for a tidy sum.

Lot's of the hard code has been written for you (libraries for stun firewall traversal, vp8 for the video codec). You need to write a simple backend for matching people and 2 desktop apps (mac and windows).

It's not easy but it's also not a problem that requires breaking new ground, just solid engineering.

What we get instead are pleas to Slack to not kill stand-alone Screenhero and bemoaning that someone didn't write OSS (aka free) clone.
Connections matter mostly before. Once you have a rapidly growing business, everyone is your friend, and “connections” fly in.
That's no longer true:

https://fairygodboss.com/career-topics/pregnancy-maternity-l...

http://www.seattle.gov/laborstandards/ordinances/paid-sick-a...
Is there anybody out there? The past, present and future of SETI
Connecting Music with reality