skysight-inc/HackerNews huggingface dataset:
They're making "too much money" in the rest of the world, where most people are broke or covered by nationalized healthcare and price controls, to get their product approved in the most profitable medical device market in the world? Again, nonsense. If that were the case, pharmaceutical and biotech companies would be lining up to license the technology and to take care of regulatory approval and compliance, even if it wasn't covered by patents.

Your buddy is exploiting vulnerable consumers in less regulated markets to sell snake oil. I wonder how many people will suffer immense pain or pick up a life threatening infection because they were convinced by conartists that oxygen was a viable alternative to proper dental care and treatment.
Laptops are much more expensive than CPUs. I'm not likely to buy a whole new laptop just because Intel introduced a new generation.

However, if my laptop is old and slow, and I'm already in the market for a new computer, I can easily be convinced to buy the computer with the "bigger numbers". Buying i7 instead of i5 only a small part of the full price, so why not?
As far as what sort of steps would be usual for recovery, a lot of it would depend on the nature of the drive failure.

If the drive is damaged enough that directory information and the MFT are missing, there are certainly situations in which it would make sense to run TestDisk and PhotoRec, which are freely available and widely included in data recovery builds. It's been a long time since I needed to use PhotoRec (and I've learned a lot more since), but my recollection from the time is that it basically goes chugging through the disk looking for sectors that contain the beginning of a recognized file format, then starts pulling that off until it reaches an end or another file beginning operating on the hope that at least some files will have been stored contiguously on the drive. By the time you get to PhotoRec there's a good chance you've given up on just being able to get back to regular filesystem access.

As a side note for anyone contemplating drive recovery without pro tools, the ABSOLUTE FIRST thing to do is image the drive into a file (probably with ddrescue). NEVER use these tools on the original drive if there's data on there that you value, and if there's data that you REALLY value, consider sending it to a professional that's also able to do a clean-room evaluation (which usually won't be required). Some places are absurdly expensive, but a lot of recoveries will only cost a few hundred dollars.

"Yep, all your data's still in the drive. After your freezing/spinning/whacking recovery efforts, most of it's in that fine grey dust in the filter."
I boil it per directions, then chop some (I like to boil without breaking), then I fry it up with eggs, potatoes, some garam masala and coriander.
Worked for me in same conditions. I'm running uBlock Origin and Privacy Badger that may have affected it.

Doesn't always work lately though - I sometimes get the snippet and sign in to read prompt.
thanks for the feedback.. it works for some folks, not for others.. true. I wanted to simply try and shift the thinking for anyone out there dabbling. Once I saw domain names in this light, it really helped me focus and concentrate on building..
The California investigation which resulted in the CEO of Backpage getting arrested (along with two major shareholders, interestingly enough) "was prompted, in part, by reports from the National Center for Missing and Exploited Children of thousands of instances of child sex trafficking through Backpage." [1]

Backpage's management was hiding behind the 3rd-party provisions of the CDA (and the usual last-defense-of-scoundrels, "free speech" absolutism) but were helping to edit and revise ads [2,3] to conceal obviously illegal activity. Thus they were complicit in it.

It's unfortunate, because there's probably a place for a responsibly-managed online clearinghouse for adult services. But there's no indication that the management of Backpage was attempting to offer that; they were hiding under a veil of 'free speech' when it suited them, while at the same time profiting from activity they should have known was illegal (and beyond illegal, morally repugnant even to those of us who take no issue with what consenting adults do between themselves and find prostitution laws outdated and sexist).

[1]: http://www.npr.org/sections/thetwo-way/2016/10/07/497006100/...

[2]: http://www.csmonitor.com/USA/Justice/2016/1007/Backpage-CEO-...

[3]: https://www.hsgac.senate.gov/subcommittees/investigations/re...
Personally, I think of buying a domain as a form of procrastination rather than the first step of starting a business.
It gives a feeling of achievement while staying in your comfort zone (seriously, it's just choosing a name and paying ten bucks, how difficult is that?).

What I noticed to work is reaching out to people, telling them about your business or project and getting their interest.
Getting the first clients puts more pressure on you, but also gives a huge motivation to continue working on it.
So Consumer Reports had Safari Developer Mode enabled which forced full page loads (plus some other bug). And Apple claims "this is not a setting used by customers and does not reflect real-world usage." While I agree most people wouldn't have that option enabled, I would argue that the average user is somewhere between the extremes. For example, most users are not disabling cache and browsing to 20 MB webpages and clicking refresh hundreds of times. But at the same time, neither are users leaving cache on and reloading the same page hundreds of times; they're browsing from site to site, refreshing Facebook feeds, etc. If Apple can make this statement, I'd be curious as to what tests they are performing. I'm almost certain the battery specs released by Apple are not indicative of how average users would use the MacBook (i.e. brigtness 10%, no movement, WiFi off, all background apps disabled, etc.).

EDIT: as a reply mentions, Apple does provide (some) conditions used for their tests. However I'd still imagine that the conditions they do choose are the "most optimal" (for example - who do you know that only browses 25 sites in a single charge?)
This is a myth IMO. Where there are users and the means for making payments, there will be enough buyers for apps, for as long as your supply meets their demand.

Unfortunately for app developers, the gold rush for the App Store is long over and these days it is getting harder and harder to get a return on selling your apps. This is not surprising actually, given that most apps are shit. Seriously, in case you haven't noticed, besides a handful of apps that are actually useful and a handful of games that are somewhat fun, all other are shit.

I still remember when VLC was banned from the iTunes App Store, supposedly due to some patents stuff, leaving in place dozens of click-baits shamelessly using VLC's name. I actually bought a video player app in the hope that I'll find a suitable replacement, but you guessed it, it was shit. So then I returned it, after searching on Google for how.

As both an Android and iOS user spending money on both, in my case especially for games due to my son, you begin noticing that Android's free apps are better, Android having an actual open-source ecosystem. Of course, things aren't perfect and for iOS at least I found and bought a decent RSS reader, but then I ended up paying for Newsblur and using it on Android which also counts.

The point I'm trying to make is that: (1) iOS will probably not make your app sell better if your app is shit and if your app is any good, it will sell well on Android too and you'd be a fool to not release it on both and (2) if people buy more apps on iOS, it doesn't necessarily reflect well on iOS.
IMHO, most of the metrics picked for this comparison are useless.

Longest Method: Sometimes the functionality provided by a method is irreducible. And breaking off chunks of it into other one-time-use methods just to reduce method length can be detrimental to readability and understanding. This is a judgement call and it's not really "bad" unless it's >1000LoC.

"Complexity": Cyclomatic complexity is a near-worthless metric, especially in a language like PHP. It's easy to convert a series of 10 if statements into one while loop by leveraging call_user_func and deterministic method names. The resulting while statement is infinitely more complex than the if statements and reduces the benefits of using an IDE. So unless your CC algorithm treats this kind of programming as wildly complex, then it's not giving you a true complexity value (in fact, it's actually lying to you).

% of non-static methods: Unless this metric also includes singleton patterns, then it's useless. Foo::bar() is no different than Foo::getInstance()->bar() or (new Foo())->bar(). Also, in PHP-land, static methods are considered acceptable, as long as they have no side-effects or use static variables.

So I think the author is genuinely wasting his time capturing and optimizing for these metrics, because I don't think they provide any meaningful improvement to the product.
And currently the stubborn opposition to change from the national government is largely due to international treaties.
I used to prefer the growth mindset and now I agree with you.

I think what changed for me is that I got good enough to regularly interact with people at the "highest levels" of what I do. Teaching probably had some impact on me as well.

I still work hard and enjoy improving, but if I'm completely honest with myself, I'll never be as good as some of the people I regularly interact with. Their minds are gifts that no amount of hard work can compete against (especially because they're also incredibly productive... which in some sense is, I think, also a genetic gift. I need my 8 hours of sleep and can't consistently work more than 10 hour work weeks.).

Since having that realization, I've noticed that most people in my life who prefer the growth mindset happen to work in occupations where there isn't a lot of room for variation -- or where variation in productivity is almost completely explained by factors under your own control. E.g., factory work, truck driving, and the sort of healthcare occupations you can do straight out of high school. Or in one case, a software dev who puts in his 40 doing very standard C# LoB CRUD apps.

Figuring out that there's an essential difference between my environment and theirs was a huge relief -- it's not that I wasn't working hard enough (I definitely was), it's that the type of work I'm doing is much more sensitive to variation in natural ability.

Maybe ignorance is bliss when it comes to the growth mindset.
Thanks, I'm obviously letting my video game colored view of the world get the better of me :)
Some added pictures and little backstory, it took him 4 months to capture this

http://indiatoday.intoday.in/story/nayan-khanolkar-mumbai-bb...
I'm wondering if this means that the major work on Swift the language is complete? I've avoided it since it seems every year the language or the API changes... has it now settled? I really didn't want to go back rewriting code every year.
The comparison is with the absence of "switch" posts in previous years, not with the absence of "non-switch" posts. It can't be denied that a dissatisfied-with-Macs sentiment is growing where none existed before.
When people ask for public assistance, we either give it to them or deny it. There may also be assistance for people looking for jobs, but it does not force anyone to take those jobs.

If someone denied public assistance chooses prostitution to make a living, that is not any more inherently coercive than if they choose to flip burgers.
I predict that this will be a major issue in the US, very soon. We too, have a quasi-legal system, if very different from the Dutch policies.

Our incoming administration will have to contend with an industry that has grown large reasonably quickly, and with a conflicting Federal policy. States that have chosen legalization want this money now. Many citizens from across the social spectrum have staked their livelihoods on it.

If this becomes a states rights issue, and the Feds choose to switch policy and start raiding, things could go downhill quickly for the administration.

Of course none of this has anything to do with softdrugs or cannabis. It's all about control and money. I suspect the Dutch policy shift has similar economic motives somewhere below the surface.
ITT: San Francisco violently denies the importance of race for bone marrow transplants.
24-year-old engineer saves 80% of his income, plans to retire by 30 with $1m
Bash on Windows Is Becoming Microsoft's Linux
"It doesn't mean those that stay are entirely happy with things like Apple neglecting the Mac Pro."

And by the very same token, it doesn't mean they are! Can we keep the fallacies out of this please?
I mean, by any reasonable definitely of a language, Flow is another language too.
Does anyone know what "market_value" refers to?
@bitL's comment of it being "practical, not theoretical" is pretty spot-on. I'm currently enrolled in and taking the course; I've also taken Udacity's CS373 course (when it was first offered in 2012) - and early courses that formed the foundation of Udacity and Coursera (ie - the Stanford-sponsored AI Class and ML Class, respectively).

Again - what I noted in another comment - if you aren't comfortable with coding (Python and C/C++ in the nanodegree course), or linear algebra - you might have a tough time. You'll also likely want to brush-up on your stats/probability knowledge (though this hasn't come up yet - not like the CS373 course, or the AI and ML Classes). Finally, while you won't absolutely (well - not that I've seen yet) need super-detailed knowledge of what a derivative is or how it is derived (?) - that bit of Calculus seems to be important in machine learning (it is something I struggle with).

Ultimately, give it a shot and have some fun; so far, I have enjoyed everything (just finished the lesson and lab for the Keras framework last night). Don't get too hung-up on the "due dates" for projects; ultimately the main due-date is the end of the term (you have to have everything completed by then to not have to retake the term). Be sure to use the forums, your mentor, the Slack channels, and the facebook page to get help and inspiration. Oh - and you are able to publish your solutions and code around, but if you decide or need to use code provided by someone else (or you use someone else's solution, or ideas from a paper, etc) - YOU NEED TO DOCUMENT THIS in the project rubric (otherwise it will be considered plagiarism which, if found out, may get you kicked from the course) - so be sure to credit your sources!

Finally - if you enjoy the course - be sure to check out Udacity's CS373 course, their "Intro to Artificial Intelligence" course (both of those I believe are free?), and Coursera's Machine Learning course (also free). There are also a ton of other great online resources and books out there; let me know if you need or want suggestions!
That's not what the person above me is saying with the recent example they gave.
The Apache Software Foundation Announces Apache Beam as a Top-Level Project
>if the automation can reliably discover when the environment changes.

That sounds about right. The ability to read/write/etc. while driving on the highway would actually be a huge win for a lot of people. And, equally important, it seems achievable in, perhaps, a single digit number of years.

But there would need to be an unambiguous mode change from "you can do Facebook now" to "you're driving" with plenty of time to make that shift.

This isn't as sexy as roboUber, shared cars, etc. but I'm inclined to agree that getting the last 10% of the way to unsupervised self-driving in essentially all situations is going to take a very long time.
I think a lot more people than you think would be behind this point of view.

The problem is: right now we are in a weird middle, in which media companies want the text to be fully available (so you can arrive to it via Google and/or social media) while, simultaneously, only visible to those who don't use an ad blocker.

This is of course impossible, but that's how we got stuck in this strange position of "I put it online for free, but I didn't mean free for you".

IMHO, a full all-or-nothing approach would be well received. Whether it would be economically successful, that's another story.
Real ramen is good (e.g., https://imgur.com/gallery/KkLvG). The packaged stuff you buy from the store is pretty much guaranteed to be awful for you.
Yes.

But,
I think the key realization is that whenever the incentives are strong enough, a lot of hard-working geniuses will be fighting for the prize. Hard-working geniuses are really hard to compete against, and if you don't realize that natural variation is a real thing, you can get discouraged pretty quickly.
Buying a domain makes you pick a name and I think having a name helps with morale and motivation. Buying the domain also helps because you've spent some money and you have this thing there, waiting to be used.
Launch HN: Simple Habit (YC W17) – Spotify for Meditation
Hi, I’m Yunha Kim, founder of Simple Habit (https://www.simplehabitapp.com). We’re in the Winter 2017 batch of Y Combinator.

Simple Habit is a curated library of the best 5 minute meditations from the world’s leading teachers. It’s like Spotify for mindfulness and meditations.

I started Simple Habit because I used to be a perpetually stressed out banker in NYC, and I started meditating, and it changed my life. Happy to answer questions about the app, or about meditation in general.
Also, “currently wrong” is a really sweeping statement to make based on a single problem written in a fairly uncommon style. Yes, there are things which need to be fixed but that doesn't mean we have to be so dismissive of someone else's work which they've given away for free to the community.
I do the opposite : ) I buy the domain, and then put myself to sleep skipping through biz avenues..

A fun tool to use for hand-reg domains (if you didn't know already)

https://instantdomainsearch.com/
"conclusion is that "race" is not just a social construct"

I mean, come on. This is news? What was he thinking were the different crime rates come from?
Good on him. As others have said, well-communicated move. He is leaving Swift in an excellent position and has set up an outstanding structure where Swift is way more than just one person. He spent more than 5 years building Swift inside Apple, so I can definitely understand he is ready for his next challenge. Can't wait to see what it is!
It's safe. There's no question about that.

I don't think this is the issue.

One thing is that the laws have never really been clear. In 2016, it's hard to have 'local flex' on many things.

Everything is observed.

This is one of the big drawbacks of globalization: every little bit of odd-behaviour is scrutinized from a global and legal perspective.

'Local cultural context' is not possible, and basically ignored.

With a microphone a camera and a twitter feed on every corner, everything must be 'sanitized'.

I'm willing to accept a few greasy wheels, a bit of foul language so long as I know that the locals can handle/deal with it.
What about both kidneys?
I completely agree. What is, for most programming languages / code, a huge waste of time and huge amount of annoyance becomes something you no longer have to deal with.

Having choices can be nice, but it introduces a huge amount of cognitive load. And, really, if we all just use the same format, we'll all (eventually) get used to it.

We really do have better things to deal with than formatting style.
"It's unfortunate, because there's probably a place for a responsibly-managed online clearinghouse for adult services."

This is interesting, but unfortunately, doing so would probably be illegal, so it will likely be shady characters doing the work.
Any day now that literate programming is going to hit its hockey stick curve.
America's Fastest-Growing Loan Category Has Eerie Echoes of Subprime Crisis
Yes.

In the short term it would be a 'worse' option but in the long term it would lead to a better outcome for them and others.

Much like we make it artificially less desirable to do things like build a house that is not up to code.
The general public no longer types domain names.

They type what they want into the search box of Google or Bing. Domain names now only matter to the extent that search result ranking algorithms prioritize hits in the domain name.

As for myself, I am automatically wary of domain names that do not include a known trademark, and have no plausible reason to exist (and pay its own operating expenses) aside from advertising.

Without even visiting "vacuumreviews.com", I immediately presume it is operated by a vacuum cleaner company that presents false or biased reviews, to drive consumers to purchase their product. Such a site would only ever be visited by someone researching a vacuum cleaner purchase, and few would bother returning once that need has been satisfied to leave an honest review there. Guaranteed useless to click on the link.

Just pick a memorable and appropriate trademark for your business, and use a non-squatted variation on that as your domain name.
If the US housing market has taught me anything, it's that ornament is cheap. Tasteful ornament, on the other hand...
Basic Chacha C implementations do not get auto-vectorized down to ultra-efficient code. The most efficient implementations are intrinsic/assembler that process 4 (SSE2/AVX/NEON) or 8 (AVX2) Chacha20 blocks at once. This is due to layout of variables and operations being designed for efficient SIMD use and the blocks being independent of each other. (Shay's Chacha20 implementation is also not the fastest!)
"We've got a lot of people looking for reasons legalization has destroyed our society, and they are coming up empty handed".

Most people looking for reasons to oppose legalization are actually not saying anything in the like of "This is going to destroy our society".
If you want reasons why legalization is a bad idea. Here goes one :

Legalization leads increased usage of pot amongst adults [0]. Combine this with the fact that usage (not abuse) of cannabis leads to permanent damage to the brain structure. Which negatively impact memory and cognitive abilities [1]. No one here is saying that by legalizing marijuana our society is going to the middle ages. I just don't think that it is wise to legalize one more substance that has known and proven irreversible long-lasting effects on cognitive abilites of people who are most likely going to live longer and longer. Ageism of the general population is a challenge in itself. Ageism of a population that is going to suffer from symptoms of partially altered brains on top of the cognitive challenges naturally coming with age is even more difficult.

[0] : https://www.theguardian.com/us-news/2016/apr/18/colorado-mar...

[1] : http://www.pnas.org/content/111/47/16913.full
You're right. There seems to be a group of people who really like talking about the new MBP, particularly what a travesty they feel it is.

For the rest of us, it is an equipment choice that might have to make at some point, and the we'll go back to work on our code ;).
But the linked formatter doesn't seem to have an option for no semicolons so I wouldn't call it better in that regard.

EDIT: Looks like they may be open to it though. https://github.com/jlongster/prettier/issues/12
Debuggers aren't always the best tool for figuring out control flow - accidentally step over something and you can miss it - but they are useful to explore the map of data in memory. Some debuggers let you expand out the map hierarchically, others use separate windows (e.g. the old Borland IDE Debug Inspector windows).

For exploring control flow, an instrumenting profiler is really useful, if you can easily isolate a representative code run.