skysight-inc/HackerNews huggingface dataset:
A problem is the author doesn't seem to care that much about portability, how can you even say that Swift is an alternative to RN?

Was curious about counter arguments and came upon this : https://medium.com/@reicheltp/dev-diary-4-why-i-left-xamarin...

A little old but I think I prefer RN's disadvantages over Xamarin's
Anyone who hasn't seen the Netflix documentary on Ben Johnson should watch it, yes he took steroids and got popped for it, come to find out he had been taking steroids all the time and the tests were easy to beat, the story goes he only popped positive because Karl Lewis snuck a contact into the testing room to spike Ben Johnsons water before giving a sample. Have any doubts watch the documentary and watch Karl Lewis when asked about it and his response, he doesn't deny it at all and suggests that if that did occur it was fair play.

As to Lewis himself being clean, again watch the documentary there were only about 2 runners in that era (regularly making the finals) who were clean, the athletes know better than anyone.

Objectively Lewis was a full grown man and out of no where his jaw grew, displacing his teeth and he got braces to fix it as an adult. Jaw growth and braces were indicative of the steroids used at the time in the 80's and was common place with the track stars, who prior to jaw growth had perfect teeth.

Even in modern times in track what gave Russia's state sponsored doping program away was the simple fact that non doped athletes would be doubled over from fatigue at the end of events and the Russians would be smiling not even out of breath, like the article suggests world class is world class and so like I suggest the athletes will simply be in the best position to know when something is out of the norm.

As to Bolt, what makes him special as a sprinter is his size, once thought to be a detriment (like the article says), but he wasn't/isn't a freak, it is more along the lines of self fulfilling prophecy. Take Russia and China for example where they just pluck kids from school who are identified based on certain physical traits and go into state sponsored athletic training camps. Moreover, When you were a certain size you were just over looked by everyone including the coaches and put into different events, now that Bolt has broken the mold, tons of kids more inline with Bolt's body size are/have been identified and given the proper support and coaching, so in the near future we will see more and more sprinters similar to Bolt's measurements. This will inevitably lead to new world records in the short term without the need for genetic modification or peds.
It varies. At my company people seem to see Google on a resume as a positive indicator but I don't hear the same thing for other big name companies.
Am I the only one that sees much danger in the 'meetup IRL' button mentioned in the middle of this?

While I very much agree that something needs to be done to encourage making real friends in real life (possibly some kind of sonar app based on short range peer to peer?), I think trying to get opposing sides in a heated debate together is less than wise.
> Everyone stopped saying React is fun after Redux.

From my understanding managing state is a fundamentally hard problem, and Redux just make it very explicit and avoid the confusion of a state living in multiple places.

Did not try Vue but is the state management simpler?
I agree, but the previous comment did say "a great desktop UI". Simple ones are definitely easier in something like QT of course, great ones are not.
I typically summarize this to fellow professionals shipping mobile apps as:

"We optimize for measurable engagment as a proxy for customer satisfaction, which is itself often suggested as a proxy for product value. This is a terrible mistake and it makes us optimize for novel forms of addiction."
Mark Zuckerberg’s paternity-leave plans are a step toward a more fair workplace
or

this.setState({ isConnected: !!weAreConnected })
Gated Reverb
Misleading reporting. The author truncated the actual MLB rule 7.08a, which reads in full:

7.08 Any runner is out when—

(a) (1) He runs more than three feet away from his base path to avoid being tagged
unless his action is to avoid interference with a fielder fielding a batted ball. A
runner’s base path is established when the tag attempt occurs and is a straight
line from the runner to the base he is attempting to reach safely; or
(2) after touching first base, he leaves the base path, obviously abandoning his
effort to touch the next base;

By (2), the runner obviously abandoned his effort to touch the next base after touching first base and should have been ruled out.

http://mlb.mlb.com/mlb/downloads/y2012/Official_Baseball_Rul...
This looks really cool and is potentially perfect for something I'm working on at the moment. Thanks for sharing.
Four-year professional visas get green light in Thailand
Completely agree. Everyone here is acting as suing Facebook (and suing successfully) is something that will happen to all of them with great probability.

Why do you even care? It's a great framework and if you don't want to use it under the license then don't. But why ranting about they should change the license?

I can understand why FB is licensing the way they do. I also would be pissed off if I would get sued for some nonsense all the time and would take an opportunity to potentially reduce that.
What the original Apple iPhone almost looked like
Have is different from use, in practice. I should say that In the real world Go libs actually pass the errors up while my experience with other languages has been shaking my head at the useless errors that I get back from the libs.
PHP does indeed have features that make it more suitable for writing server side page templates, and JavaScript has a unique position in client side web development.

But I see very little in terms of features or problems they solve that distinguishes Java, JavaScript, Go, Scala and C# from each other when it comes to writing Web backends. It's essentially a cultural choice. So comparing them (and many others) is totally fair game in my opinion.
I was a slave to my phone, for many years. It was needed for business. Today, I do have a smartphone, but I think it is in the car. I'm not actually sure where it is.

I have no apps, other than what came with it. In fact, that's one of the reason I picked a Windows phone. Nobody makes apps for it. Really, it does all I want.

I make calls, text, email, take pictures, and browse the web when I am bored and not home. I sometimes tether it and use a laptop. That's pretty much it.

It gets lost, the battery runs out, and I don't care. I'm okay with that. There are already a bunch of ways to communicate with me. I even have a landline.

It's not that bad, compared to what I witness others doing. I see people, out with others, and many of them remain glued to their phones. A friend recently informed me that people will use their phones, not as cameras, while having sex at those live cam sites.

I'm not actually sure how I'd feel if the missus pulled out her phone and was posting to Facebook during sex.

Speaking of Facebook, I don't have anything like that.

Anyway, it seems that we have all these outlets to communicate, but the majority of activities barely seems to meet that definition. But, I digress.

I guess I'm trying to say that I am also happy to not have a phone addiction. I don't even answer either of my phones, unless I have a reason to do so.

It has been about ten years that I haven't needed to give a phone permission to interrupt me. It feels pretty good.
>At what level of government control over the economy do you draw the line between socialism and capitalism?

No level, where do you get this idea that Socialism and capitalism exist on a scale between government control over the economy and no control over the economy? I can't imagine what would arouse such an opinion. Marx never said "Socialism is when the government does stuff, and the more stuff it does, the more Socialist it is". That's complete rubbish.

>It can't be 100%, that's called communism.

No, it's not. Communism, like other anarhcist ideologies, has no "government control", and this is painfully obvious by reading Marx's discussion on the self-regulating sphere of activity.

And this is of course ignoring the fact that in Marx's time, Socialism and Communism had the same meaning. Their distinction is almost entirely a Leninist one.

Here's the thing: Socialism isn't about government control over a capitalist economy, and it's not about acting like a capitalist but on a global scale. That's called state capitalism.
Then don't comment on threads to strangers online if you genuinely don't care.
That's about the amount of employees I'd expect, actually. You might be surprised at how many products or engineering initiatives can be accomplished by an efficient 300-500 person team.
Interesting that it seems to be all on the stats side and less on engineering.

For anyone that wants to get the background for any of this I highly recommend ISLR (and ESL as a reference). http://www-bcf.usc.edu/~gareth/ISL/
As far as I can tell, it's just something that will be added eventually. Given that Fuchsia OS applications are written in Flutter, and Fuchsia is meant for all form-factors -- phone/tablet/desktop, this is clearly something that is eventually going to be required.
>Besides, there is no pure socialist or capitalist society on earth.

Yes there is. All nations on earth adhere to the capitalist mode of production, entailing the following: primacy of wage labour, capital accumulation by the owners of the means of production, majority capitalist control over the means of production, the existence of private property and the fact that commodities (which have use and exchange value) are produced rather than simple good (which have only use value).

This is what Marxists mean when they talk about the difference between capitalism and Socialism.

>China and venezuela are both socialist countries.

Why? What precisely makes them socialist, and by whose definition? North Korea calls itself "democratic".
> Why would Facebook, or any "attention seeking" Internet company for that matter, do this? You can even tell the interviewer is skeptical. If he had suggested, say, that we should take our business to consumer companies whose business models don't rely on attention grabbing, that would've at least been a start. Instead he suggests we "become more self-aware" and "transform design."

I think a lot of people are reluctant to take this line of thinking to its logical conclusion: that we've made a monstrous and unconscionable mistake.

Recognizing that mistake for what it is demands that we own our parts in its genesis and solution. Neither will be terribly profitable.

Still, the grain of truth that consumers themselves could radically change the landscape by changing their habits is not wrong. It's just not realistic either. The entire point of hyper-metrics-driven mobile and web app design is to figure out what makes users do what YOU want, not what they would normally do.
For a single expression some of it can be omitted:

{ do { if (condition_expression) template_evaluation }}

But I gues thats not really better.

I'm hoping jsx will eventually default to `do` expressions though, and then it becomes

{ if (conditional_expression) template_evaluation }
I'm curious because there are still consequences here which weren't resolved while you fixed yourself.

How long were you seeing or in the private clinic?

What did you mom think?

How is your mom?

> I joined the company of a good friend of mine, which is outside the tech world, doing half of the hours I used to do and get the same amount of money.

That sounds like an impractical luxury, I'm glad that is working for you.

Would staying with your other girlfriend have helped? You were bored of it then, and your new slogan "Love it, leave it, or change it" seems to be not new at all, it is exactly what you did before.
Title should have been —Why I dislike JS as a Programming Language instead of swift—
> If my employer wants to let me develop in React, all the better for me.

Is your employer _aware_ of this particular razor blade in the candyfloss?

I know managers should check these things with legal but most of the time people sort of assume that since it's open source and everyone else is using it - it must be fine.
This article raises so much unfounded FUD it's hard to believe the author is serious.

1. Uncertain Roadmap - Does anyone seriously doubt FB's commitment to RN? When they themselves dogfood it? Or is it more likely they are just too busy making progress (since as the author points out they release every 1-2 weeks) to release a multiyear ROADMAP?

2. Patents - Is anyone here planning on suing FACEBOOK? Who amongst us has the team of lawyers to undergo that? This is for 99.999% of people not a legitimate concern. This is an RMS concern.

3. Javascript - New versions of Javascript address the vast majority of this. Type errors? Use well supported Typescript or Flow

4. Dependencies - This is a result of the Javascript communities overly enthusiastic packaging efforts. This is not an apples to apples comparison, but of all the cons mentioned, sure this is legit.

5. Alternatives - ...and Windows Phone? Seriously? I was rooting like hell for MSFT, but this is just not a thing. I'd rather cover 99.6% of users twice as fast than 99.999 of users painfully using Appcelerator
I suspect you and I agree on more than we disagree.

> Bollocks. This is the case in quite a few countries but America is an exception to this rule.

I was speaking to you, the individual jacquesm, not your tribe. I was trying to be "that guy" who always says, "now let's not rush to judgment" all while the mob is grinding their axes and reaching for their pitchforks.

> When Hans Reiser was accused of the murder of his wife I was one of very few people on HN asking for people to hold back their judgment until the facts were in and until he was declared guilty.

I think I was too, (I hope I was too, it was a long time ago, I don't remember). Too many lazy folks rush to judge after they're fed whatever line they get in the media.

> So, if you want to take a stand here and advocate that this person, who used his car to attempt to murder dozens and who successfully murdered at least one person and who is on the record as being a supporter of a group of people which has made no bones about their willingness to do violence and of who we have some pretty good video of him doing that particular deed of which he stands accused them I'm fine with that, that's your right. In the meantime the accused has his name plastered all over the media and he's going to have a hard time even finding a jury that is not already roughly where I am: that if he's going to plead 'not guilty' he's going to have to pull an outside size rabbit out of his hat.

I can't rush to judge the guy even though there's video evidence showing vicious killing. He might have chosen the wrong day to go off his meds and was insane that day. Let the facts come out and pray justice is properly served.

Whether he's guilty or not, I don't want to live with him. I want him put away forever at the very least, irregardless of his motives or frame of mind when he went on the rampage.

I simply won't call the guy a murderer until he's judged that way, but other than that I hope we don't disagree much.

> And if you are really so concerned about the rights of the accused put in a cent or two towards protecting their privacy in the media until they've been found guilty, you know, like countries do that really care about protection of the individual against the tyranny of the mob.

America is so screwed up, I know. The bloodsuckin' media whores, corporations getting the finest government they can buy, the broken culture. It's enough to drive me to the bottle.

I can't do much to fix the brokenness, but I can at least speak and encourage others to the good. Based on what you've written in the past, I think your heart in the right place, and I don't think I can lecture you where good is concerned.
I couldn't agree more. I wouldn't accept that from even a junior developer and yet you can easily find "senior" devs writing this crap. It seems like some devs will never understand that less code is better or that ease of reading matters. This is either lack of skill or laziness, neither of which are acceptable.
I keep a working Apple 2e on my hobby bench. It's fun to do things with. So open. It's amazing.

To me, Jobs did us a favor. I use my phone, nice laptop, a mix of Apple, Android, Linux, Windows to do amazing things, talk with people around the world, etc...

Total win.

Stuff we take for granted today... science fiction made real. No joke.

What I think should have happened is Woz continued with the Apple 2 line. Jobs didn't need to kill it to get his vision out there.

I got a GS to to tinker with, but haven't hooked it up yet. Too much going on. But, it hints at what would have come.

Today, people are always doing what Woz did. It's fun to build or run a little micro. One can get right to the bits, control things.

It may well be that Apple could have continued right along, a parallel to the PC, and had that happened, we may well have seen the product of that being the reference, or standard hack / hobby platform.

Now, we do have the Raspi. It's not bad, but it's also not easy to make effective use of it low level.

Something with roughly that amount of compute power, but accessible in that open Woz way, would be just perfect.
The CDN thing is an issue too.

Using a local DNS resolver instead of Google DNS helped my PS4 speeds.

The other "trick" if a download is getting slow is to run the in built "network test". This seems to reset all the windows back even if other things are running.
I'd like to read some more compelling arguments. Or for example, a story about how someone's life is influenced by social media and how it could have been better.

It's not that I cannot understand this, and see where things can go wrong. It's that I can't seem to convince others of it.

The same holds for privacy issues. The arguments are all true, but just not compelling enough.
Take a look at Esterel[1], and its current incarnation, SCADE[2], which is used for avionics.

[1]: https://en.wikipedia.org/wiki/Esterel

[2]: http://www.esterel-technologies.com/products/scade-suite/
Can you elaborate on the whole "day one" thing? Sounds interesting.
Interesting point.

As I don't have much experience in this area: Can you elaborate on some use cases for layouts other than AoS and SoA?
> By comparison, the potential improvements achievable by doping effort are relatively modest. In weightlifting, for example, Mike Israetel, a professor of exercise science at Temple University, has estimated that doping increases weightlifting scores by about 5 to 10 percent.

Based on how blatant the difference is in other contexts (most obviously modern bodybuilding), I'm guessing that's actually the difference between people who got caught and people who didn't get caught, not the difference between doping and no doping.
Lauren Kirchner of ProPublica Threatens Jihad Watch
Cheers! I never knew that about dealkalization either regarding glass.
I suggest having a plan before you take the year off. Doing what you want to do is fun, but not rewarding if there is no goal or plan to meet it. You burn a year and a bunch of cash and end up back where you started, thinking about how you could have used the time better.
I bet that's because statistics knowledge is much more scarce in the industry right now.
For people like me who are not sure what P/NP is about, I recently listened to a podcast episode on this topic https://itunes.apple.com/us/podcast/software-engineering-rad...
Expect good news on this front at the Polymer Summit on Tuesday.
Why would this be a better option than a simple zfs snapshot, zfs send/recv backup and recovery strategy?
> - A big company on your resume has no outside value to your prospects.

I respectfully disagree. Recruiters and hiring managers, and even individual interviewers take me far more seriously after having "Google" on my resume than they did before. It's not enough to land a good job automatically, but most interactions now at least start from the presumption that I'm competent, which makes a job search less frustrating.
The example with the Person class suggests that the author is unaware of JavaScript getters:

class Person {

get isImmortal() {
return false; // noone is immortal
}

}

p = new Person();

p.isImmortal

// >>> false

p.isImmortal = true;

p.isImmortal
// >>> false

I mean, even plain untyped JavaScript can do that!
Whenever I feel a burnout coming, I'm going into max-sleeping mode: I then sleep 10 hours or more each day. It seems to help.
Turned on AWS Macie to check it out, and a day later we have a $60,000 bill
This was [1986], citation details: http://dl.acm.org/citation.cfm?id=13333

Rees maintains a related archive [most recently updated 2010] on his page at http://mumble.net/~jar/tproject/

That in turn links to Shivers's overview of T and the development of its compilers (including Orbit) at http://www.paulgraham.com/thist.html
What if `weAreConnected` is `null` or `undefined`?

WalterSear's solution solves the issue since both `null` and `undefined` would become `false`:

this.setState({
isConnected: Boolean(weAreConnected)
})

but in your case you could set `isConnected` to `null` or `undefined`

so if later in code someone makes the mistake of writing:

if (this.state.isConnected === false) { /* do stuff */ }

they could have a bad surprise.
The group reported at [1] is The ProPublica-led coalition includes The Google News Lab, Univision News, the New York Times, WNYC, BuzzFeed News, First Draft, Meedan, New America Media, The Root, Latino USA, The Advocate, 100 Days in Appalachia and Ushahidi. The coalition is also working with civil-rights groups such as the Southern Poverty Law Center, and schools such as the University of Miami School of Communications.

1) https://pjmedia.com/lifestyle/2017/08/19/propublica-working-...
> The example questions you included are just not even wrong and are themselves loaded with racism.

What about the first question, "By what mechanism do white supremacist elements impose American black culture on the American black community today?", is loaded with racism? It is asking for how white supremacy directly affects black culture. I do not see how even the assertion "There is not a mechanism by which white supremacist elements impose American black culture on the American black community today." instead is racist. It may not be an educated viewpoint, but I do not see it as racist.

Besides whether the question is racist, a good answer to the question could be very illuminating. You could probably fill a book responding to that question.