skysight-inc/HackerNews huggingface dataset:
Even with state, his code is overly verbose and can be expressed in a much more idiomatic way.

var weAreConnected = Math.floor(Math.random() * 10) > 5;
if (weAreConnected === true) {
this.setState({
isConnected: true
})
}
else {
this.setState({
isConnected: false
})
}
}

turns into

var weAreConnected = Math.floor(Math.random() * 10) > 5;
this.setState({
isConnected: weAreConnected
});

It's almost like he wrote it in the most obtuse way possible to prove his point. Unless he writes like that normally; If so then I can see where he's getting all these errors from.
I'm curious. What would be a good reaction? Not reacting and accepting that's only truth from now on? Reacting respectfully saying why you think there are more than one answer, then continue getting pushed?

When I test people's reaction, it's generally not because I want to hire them. I just want to learn about people. If the purpose is hiring, overreacting but good coder will not take the job, under-reacting but good coder will not stay long because he/she will get angry eventually, over-reacting and taking the job seems desperate... I just don't see what can possibly get out this kind of test from a hiring perspective.
Don't forget the electric bus entrepreneur trying to get a meet with Musk. Unreal.
1) is more of a hypothesis whilst 2) [modified to "if you manage then you'll spend longer ..."] is pretty well known as a well tested theory for educators.
That is true, if it succeeded for a while and then failed it could produce a casualty count on the order of Gulf War 1. Not doing it could result in civilisation extinction via nuclear war or asteroid strike. I still favour doing it, but I see how reasonable people could disagree.

I believe Elon said it would take 40-100 years for the population to reach that point, and he is saying that there will be a return mechanism, and a probably an extreme labour shortage which favours a strong bargaining position for both the entrees and the Mars local population. Ideally I'd like to see the return ticket + life support until the next return flight provided as part of the entrance fee to minimise risk, but there is still the problem of enforcing the contract.

[EDIT: I don't consider this a "fair" argument so I left it out, but as an aside, if minimising pain is your goal then mass sterilisation is the optimal strategy IMO -- there is no reason to continue the human race which will certainly produce millions of people in pain -- and if you have another goal which requires human existence to fulfil, then decreasing our extinction probability should be a huge priority]
Facebook's Slack rival is coming next month
No one cares about NiggerNet. Let the bodies drop. Chicago is ground zero for glocks and bunny hops
Larry Ellison's Oracle Started as a CIA Project (2014)
Elon Musk wants to send humans to Mars in 10 years at roughly $200,000 a person
After reading this and other comments here, I sort of just wish there were Haxe bindings for to the React Native stuff.
Huh?! Telegram (secret chats) has all checkmarks.
Stop and think about it. It opens a Pandora's box of potential eugenic horrors.

For one, you'll have more male babies, as that's a cultural advantage in many cases. There are people who abort for sec selection.

You open to door to the types of "breeding" experiments that slaveholders have historically engaged in.

You create the foundation for a situation similar to what Asimov depicted in his Robot series.

You create a situation where genetic discrimination becomes a thing with broad economic and social impact.
Check out Blendle. It's pay-per-article news from all the big sources. NYTimes, WSJ, WaPo, Economist, etc. I use it a lot, paying between $0.09 and $0.59 per article.

And at the bottom of each one is a "refund" button that's no questions asked.
Did he talk about the future land ownership/governmentship of his colony?

Will it be a personal dictatorship of Elon?

Unlike Earth, once you're there, there's nowhere to go without his blessing.

You can't just "move next door".

And knowing how "locked down" his Tesla cars are, it'll be interesting to see how he'll deal with a rebellious colony.
``Stop giving money to people that don't really need it and don't really appreciate it.``

There are more than enough monied people who think this way in SV but they dont seem to be throwing angel money at people in this predicament why do you think that is?
Senior Web Dev £550/day 7 years experience no degree.

Startup salaries topped out at 80k (ignoring non-liquid stock) so went contracting. You need the stomach for it, but it pays a lot better for similar work.
Inside Arizona’s Pump Skimmer Scourge
TypeScript is a JavaScript best practice at this point. It's a type safety net on top of dynamic types, so you get the best of both worlds.

TypeScript has a flag that prohibits switch fallthrough, for instance, though that's an easy one to set up a linter to catch.

One reason I prefer NativeScript to React Native; they are embracing TypeScript and Angular vs. React. I find Angular 2 to be more flexible, but that I freely admit is a preference.
> In order words, inference of items under Knows(.) must use only items under Knows(.)

Yes, but it's trickier than that. For example, you want the knowledge scoped not only by the predicate Knows, but also by who knows it. From Knows(A, P->Q) and Knows(B, P) you do not want to be able to deduce Knows(A, Q) or Knows (B, Q) unless A=B.

There are other issues. For example, suppose John and Mary have never met but John passes Mary on the street and hears her say, "My phone number is 555-1212." Now if you asked John, "Do you know Mary's phone number?" he would say no. But if you pointed to Mary and asked, "Do you know that person's phone number?" he would say yes. That is why it is useful to distinguish between Mary and "Mary". Exists(X): Knows(John, phone-of(Mary, X)) is true, but Knows(John, Name-of(Mary, "Mary")) is not.
We need a lot more like Musk, whether you agree with space or not. Investing their resources in crazy ideas of their heart, some might just work.

We don't progress the species with digging up more rocks, building more stuff, selling more stuff, or dare I say it, finding a new way to get a cab.

A few more vastly wealthy eccentrics building teams to play with space, fusion (carefully I hope), generation, or whatever pipe dream they have could easily make up for some of the global short termism.

Does it matter if he sells enough tickets to Mars to profit? I doubt it. I don't think that's the point. The moon landings were excellent for helping humankind dream big, Mars will be too.

What will the moon landing conspiracy theorists do then? :)
And who or what algorithm decides which end is bottom?
Any reason why you couldn't put a tanker in geo-sync orbit connected to a very (very) long fuel pipe somewhere on earth? The idea being you can pump fuel up instead of launching it?

Kind of like a space elevator for fuel! :)
If you read up on the way it is practiced there is a fat chance you will see the link as well. (Hint, they aren't always dead when they come out. Recently (2 years ago IIRC) even nurses who work with this day in and day out started objecting to the practice because as they said; it is completely crazy that on one room they are fighting to save the life of a premature child and on the next they are throwing a towel over an equally old babys face so their mom won't hear it crying before they finally bleed out/and or suffocate.)

Also : we are way off topic and I don't want to continue this thread.
Right, but that would almost certainly be a root-level property in any real app. In any case, it's still awfully verbose and confounding for little reason.
>someone should go out there and try to set up a self-sustaining colony on the pole or in the middle of a desert.

That's already been done. It was called "Biosphere II", set up in the Arizona desert. It failed.
Absolutely, especially since he/she wrote it that way in the swift version

let weAreConnected: Bool = arc4random()%10 > 4
self.isConnected = weAreConnected
aws generally has the most features but clunky apis and high costs

gce has really nice apis but limited features and unless you do things like google you'll have to do a lot of your own integration work

i've never seriously used azure
These are fairly standard questions for the "How to Build the Future" series[0]. Sam normally does the interviewing, but in this case he had his brother ask the questions. Sam has been asking a lot of entrepreneurs these same questions (the Musk interview was particularly good[1]). Sam having his brother ask those same questions of him didn't come across as particularly cringy to me. It would have been more awkward if he read the questions and then answered them.

[0]https://www.ycombinator.com/future/

[1]https://www.ycombinator.com/future/elon/
If the person who has the power to do that knows it, might as well fire them... why even bother? The person is politically-savvy generally savvy enough to smell it ahead and get promoted else where...
The problem is indeed that this is not the sort of hunter who'd likely learn from such an experience, nor have anything to teach the biologists (I'd love it, but then again, bird recognition was taught to me by my father starting at 3 years of age, and really drilled in before I went afield with him with a shotgun (and a rifle for any bird but a turkey?? Seriously???)). Best to toss him in jail for "up to a year", plus all the fun of "the process", and tell him it'll be a lot longer if he pulls such a stunt again.
Can't it? This seems to work just fine:
(cons :a (cons '[x] (cons {:foo :bar} #{:x :y})))
and
cljs.user=> (rest (cons :a (cons '[x] (cons {:foo :bar} #{:x :y}))))
;=> ([x] {:foo :bar} :x :y)

Maybe I don't understand what you mean. I also don't see why a uniform cell structure would be preferable?
I think you'd want the goat to consume CO2, not produce it. There's already plenty of CO2 there. Other than that, your ideas are intriguing to me and I wish to subscribe to your newsletter.
> The discussion here is about the viability and importance of the goal of colonizing Mars. Elon is free to pursue any ideas and dreams, like everyone else. I was just offering my ideas about his ideas, and sometimes they oppose. Not everything has to be a circle jerk.

I mean you specifically say it's unwise and say we probably shouldn't bother until we learn some other lessons that you don't specify. That doesn't talk about viability or importance or really your ideas beyond some basic complaining.

I agree not everything should be a circle jerk and when it comes to Musk it's quite easy for HN and Reddit to go down that hole but at the same time I don't understand the empty criticism. That's not really criticism.

> Yes, I work on DeployBot.com but I'm not pushing the agenda that humanity now needs to become "continuously deploying species" because that's what I enjoy

So an announcement is "pushing an agenda"? I mean I would agree but why wouldn't everyone do that? You don't want to advertise yourself / what you do? Is there something bad about that? Your phrasing makes me think you're not a fan of press releases or announcements regarding things you disagree with.
Others have mentioned Xamarin is free and (mostly? entirely?) open source now. See also NativeScript [1].

And TypeScript solves 80% of his complaints. A good linter with ruleset hits most of the remaining 20%.

Cross-platform is the way to go in 2016. It's a waste to write in Swift and Java to cover two platforms.

[1] http://nativescript.com/
Think about this then think about what Twitter and Facebook really are... :)
Please go explain this to a gambling addict. I'm sure it will turn them right around on the whole issue.
Paying per article would appear to me to be too much friction, I want something where I pay $10 a month and say 70% of my subscription is apportioned among the articles I read and maybe even a supplement patreon style addon or something in this vein.

The trick to keeping me paying is to make me forget I am paying once you have convinced me.

"NYTimes, WSJ, WaPo, Economist" big journalist engines like these are part of the problem, even with this new style market place we wont fix the real problem until the service is cutting cheques directly to the authors.
Forgive me but I love this stuff, thinking about how much quantum mechanics has taught us about the universe makes me absolutely giddy. I haven't even watched this yet and I can tell you this:

To achieve multi-planetary status, we need to make ourselves less fragile than we currently tend to be. What I mean by that is that if we devoted half as much time, money and resources as we do to wage endless wars and collectively shifted our focus to medical advancements such as the technology we need to keep ourselves alive in the hostile environments we'll encounter in space, our astronauts very likely could be traveling in self contained, iron man-like suits by now.

Aside from that, we may have to upgrade our own physiology so;

We NEED nanotech that can repair us, keep us healthy and help us adapt OURSELVES to new environments that have enough of the proper elements. Can you imagine being able to Evolve On Demand so that you can breathe a different atmosphere and derive whatever your body needed from it? I can.

If relativity holds then planets that are either bigger or moving faster might have a very different local space-time from what we're used to, so imagine if jet lag was so severe it hospitalized you.

We need artificial intelligence capable of both supervised and unsupervised learning to run and monitor our environments, our medical conditions - both physical and mental. The 'quantified self movement' actually has a very, very useful purpose here.

We need to be able to repair a ship while it's in space. We need to be able to repair an environmental suit while standing or perhaps trapped in a volcano that ejects molten Dihydrogen Monoxide on Titan.

We need real, functioning, scanning, recording, data-analyzing Tricorders. Yes, if if weren't obvious by now, I AM a total Star Trek nerd and if we want to explore space, we need those mobile forensic labs that will allow us to truly see the universe and ALL of its wonderful colors. I could go on, but then someones' R&D department is gonna have to pay me.
Brave browser will be including a micropayments system soon!

https://blog.brave.com/braves-response-to-the-naa-a-better-d...
I'm pretty sure everything about the particular properties of our solar system is, strictly speaking, a coincidental result of the initial conditions of the big bang. But to speculatively address the intent of your question, I'd guess it has to do their relatively similar size, solidity and distance from the sun.
Since his "position" involves advocating for a whole bunch of literal and figurative moon shots, investing in public speaking skills is a HIGHLY efficient use of his time.
I'm going to be pretty upset if these salaries aren't at least a little high, because I'm nowhere near that even after 25 years experience and a master's degree.
There is no good scientific evidence that Hof's breathing techniques account for his ability to withstand cold temperatures, rather than some kind of genetic difference. Four people have died while attempting to follow his 'technique'.

http://www.parool.nl/binnenland/-iceman-oefening-eist-opnieu...
Angular 2 is pretty awesome and faster than React.
Turning Your MacOS Desktop into a Rotating Art Gallery with Backgroundifier
How do you plan to get beyond £650/day?
could you elaborate on mark andreesson?
Xamarin is now both free and Open Source.
My theory specific to iOS 10 is that it's actually a stability-focused maintenance build behind the scenes. The emoji are for cultural appeal while they hide the fact that the real features are not actually features- they're boring, hidden fixes to stabilize iOS after the previous few releases.
That's incorrect. The IP address was in Edinburgh, Scotland, where the hoaxer Tom McMaster lived. Source: https://www.washingtonpost.com/lifestyle/style/a-gay-girl-in...

Other sources mention Georgia (the nation) and Istanbul, Turkey, where he was apparently vacationing: http://www.afterellen.com/movies/444337-gay-girl-damascus-am... He apparently liked to visit the Middle East, having taken photos of Syria (that he passed off as "Amina's") on a previous trip.

McMaster is a miserable lying asshole who did enormous harm, but promoting gay rights (however incompetently) is not "US imperialist foreign policy." Dozens of nations embraced gay rights laws long before the US did, and dozens still have better ones than we do. It is not--unfortunately--our doing that the world is slowly crawling out of the gutter of homophobia.
Earth's CO2 Passes the 400 PPM Threshold – Maybe Permanently
Dünyaca Ünlü Porno Yıldızı Escort Olarak İstanbul Da Bizim Sitemizde
> But still we can live here and find happiness, unlike Mars.

This is a wholly unfounded statement.
> Basically (..) most distributions bundle Python but not Node. Also that AWS and Google CLI tools are still more Python than Node.

Good ole' inveteracy. Unfortunately, it's really as good a reason as any when it comes to managing resources on a long-term project (people, time, $).

Always needs to be balanced against using the right tool for the job, even if that means the initial pain of carrying a codebase written in a "relatively" newer language. To be clear, both Python and JS (NodeJS) are great tools with excellent communities and ecosystems.
Thats simply not the point.

We went to the moon. That was not an easy thing to do. We developed nuclear weapons, which was certainly more difficult than establishing a colony in the Gobi desert.

See the excerpt of the JFK moon speech from above. "we choose to do these things not because they are easy, but because they are hard."
From the article: "The group concluded that heavy patients should first be counseled to lose weight because a lower weight reduces stress on the joints and can alleviate pain without surgery." (emphasis mine)

I don't have any reason to disbelieve you about your friends, but your friends do not represent all obese people, and in losing weight does fix joints some percentage of the time. Given the alternative is surgery, which kills the patient some percentage of the time, I don't think there's a lot of debate to be had here.
> that qualification has never limited my ability to get great opportunities

That you know of.
Mars has lots of water. It happens to be locked up as ice, but there's plenty of water on the planet.
And then after many generations, those goat herders, having long since lost their spacefaring technology, will create a few different and competing religions. A couple thousand years later, when Martians develop more advanced technology and even manage to send Martian people to their moons Phobos and Deimos in primitive spacecraft, they'll still be arguing about which of those religions is correct.
8 minute bus ride + 2 minute walk.
> Samsung is pulling in about $4B profit per quarter from their smartphones. "Marginal"? In what universe is $16B per year "marginal"? Certainly not this universe.

It's Galaxy, not universe!
"Travel time depends on trajectory, however safe estimates usually are around 6 months each way."

The figure I stated comes from the presentation we're discussing, I didn't just pull it out of my nether regions. You can go faster if you're willing to use more fuel.

You're "sure" that someone has tried to set up a self-sustaining colony in Antarctica even though you have absolutely zero evidence for any such thing, yet you completely reject a figure I got straight from the source material we're supposedly discussing here? I can't carry on a conversation like that.
Convice people twice? Switch browser and use micro payments? I wouldnt want that funnel.
@Sama – Your previous failure(s?) is probably (part of) what makes you hungry. If you were already some super-rich, uber successful dude, then why commit yourself so fully to something so hard and so new? You're not some fat happy rich dude like most VCs. You've got something to prove, and that drives you. To me, your past failure is not a liability, but an asset. YC is your chance to make a mark on the world.

(I don't know if this is how you actually feel deep inside, but if it is, I wish you spoke of it so.)
Why colleges don't hire more faculty of color: 'We don’t want them'
It depends on how you define "tech" I guess. There are lots of companies I'd call tech companies that are either headquartered elsewhere or have branch offices elsewhere that include programmers.

Which of these don't have programming jobs at "tech" companies? Seattle (Microsoft and Amazon)? San Francisco isn't technically in the valley... Phoenix (GoDaddy)? Austin (Blizzard, a bunch of non-HQ offices like eBay, Google, Amazon, HP...)? San Antonio (Rackspace)? Armonk (IBM)? Malta, NY (Global Foundries)? Lockport, NY (Yahoo)? Amsterdam (Booking.com)? Houston (cPanel, Practice Insight, AlertLogic)? NYC (Fog Creek, regional offices for Google, Amazon, Facebook, etc)? Raleigh, NC (RedHat)? London (Canonical, Avanti Communications)? Portland (Puppet, some jobs for nVidia, Wacom, Mozilla...)? Boston / Cambridge ( Carbonite, Akamai, LogMeIn, Draft Kings, Wayfair, TripAdvisor ... with offices for Amazon, IBM, Google, Apple, Microsoft, Twitter, PayPal... )? Dallas / Fort Worth and their metro sprawl ( Texas Instruments, AT&T, MetroPCS, Ericsson, Intuit, Match.com, offices of ZTE, US headquarters of Blackberry ...)?
Why shouldn't companies invest in training? What's with offloading job training to universities and to the applicants themselves? Yes, HN is a startup-focused site, -'d startups have limited resources. But large tech companies, or at least IBM, had historically trained engineers, at least in the 70s and earlier.
Many of them even work for local governments rather than in commercial firms.
Note that this was quite unusual:

> Since grade-crossing accidents typically do not lead to fatalities on board the train, investigators from the National Transportation Safety Board (NTSB) were particularly interested in determining why the fatalities occurred.
What is the part you think is impossible? The part where they live in big atmosphere-filled domes? The part where they grow crops in a similar situation? What part of creating a way for people to live on Mars is outside the capability of our technology and imagination?
That's exactly the same as regular HTML
Looking at the Dockerfile, it seems this works in Python 3.5, that was the first thing I wanted to check when I read this.
20 minute walk
I haven't used the new Azure cli, but a major issue with the node.js based cli was that it was heavily oriented towards interactive use and not well suited for use by scripts. Hard to parse output, prompt for parameters instead of accepting them on the command line, etc.
People generally say Azure suits the enterprise, AWS suits tech-driven companies (i.e. those where the CEO knows what an API is), and Google supports special/hobby projects. Google is probably awesome but nobody trusts them to not just abandon the whole thing in a few years time.

Amazon and Azure are going to be around for at least a decade.
They're realizing that India is a good microcosm for what the majority of users actually need outside the SV bubble.

http://www.theverge.com/2016/9/27/13071128/sundar-pichai-goo...
Birds also don't launch satellites in space, but every time I fire up my GPS our effort on that front is appreciated. Your argument is that we can only do things other living things do?

There is no doubt we would be doing something novel here, I don't think anyone is saying any different. The question is if it's A. possible and B. worth the effort.
That only says it needs to be tried again. And again. Until it works.