skysight-inc/HackerNews huggingface dataset:
This source [1] says an iPhone 8 Plus was estimated to cost ~$288 in raw materials.

This article links to a source that says a $1250 iPhone XS Max was estimated to cost $453 in raw materials.

When you subtract the component cost from the price of the phone, 63.76% of the cost of an iPhone XS Max is profit for Apple which is basically the same as the the 64% they were making on the iPhone 8 Plus.

[1] https://www.macrumors.com/2017/09/25/iphone-8-component-cost...
I probably know more psychiatrists than you do, so I'll offer a counterpoint: Outside of starting your own practice, nobody will pay psychiatrists to do talk therapy when they can pay somebody who didn't go to medical school to do it. For this reason, we end up doing mostly medication management, but at a good clinic this is as part of a team of social workers, psychologists, occupational therapists, etc.

Ironically, most US readers of HN will never have seen such a clinic, as the only places actually staffed this way are things like county mental health departments in states where they can get funded.

So, anyway, psychiatry training REQUIRES that each of us provide many hours of supervised psychotherapy. Some training programs are better than others, but we all graduate with a working knowledge of psychotherapy. Many of us have less opportunity to use it than we would like.

Which brings me to my final point: it's not either / or. That's a false dichotomy. It's about the right tool (or combination of tools) for the job. There are plenty of problems that there is no pill for, and a few problems that no amount of talking about it is going to fix. Horses for courses, and all that.

edit: I'm sorry to see you are getting downvoted. I think many people arrive at the same conclusion you have, based on their experiences. I can totally understand how you arrived at that opinion.
BTT is so useful it ought to be bought by Apple and incorporated in the OS. Throw in the top 20 used presets as checkboxes and be done with it. It's the first thing I install when I set up a Mac.
The Glider Navigation Sequence in ‘Escape from New York’, 1981
https://en.wikipedia.org/wiki/Political_compass
`vidir` does the same in vim and readily integrates with `nnn`.
How to deal with uncertainty
That's a really big assumption that they are not doing anything covertly because they are doing it in the open. Especially if you consider initiatives like Jewish Internet Defense Force [1]. In light of the history of Israel, if find it extremely unlikely that they don't do anything like Russia. Probably any country with sufficiently advanced intelligence forces does stuff like that. Competent ones just don't get caught.

[1] https://en.m.wikipedia.org/wiki/Jewish_Internet_Defense_Forc...
Nonsense.

Workbooks aren't therapy, and therapy cannot be mass produced.
It was for anyone who reads the comment.
2 people != 2 devs :) Each dev will have their own solution for the same problem, which one should they pick? Then you are either a jerk that does not consider others' ideas or follow blindly other idea and don't get to solve the problem == no work satisfaction.

I personally don't like it. For me it always felt that I had to justify my thinking, but many times it's just a gut feeling. Also, the need to explain what I do is very exhausting, and slowing down my thinking.
In Burkina Faso, a local drive to educate children fleeing extremist violence
It means nothing. Repealing those laws would be a nice symbolic gesture but it’s also a waste of time. It’s normal to leave overturned laws on the books.
How to Make a Lot of Money on the Computer with Affiliate Marketing
Rap is like metal is like anime is like oil on canvas, it's a medium to express a large variety of things (though not everything).
That could turn into an arms race of the target companies trying to detect when it's a fake account versus a real one, and the analysis service trying to make the accounts seem more real. Of course, if it became public that the target companies were trying to dodge the analysis, that could be damaging to them. Then again, automated accounts would likely be against the TOS.

The analysis service could work by watching the traffic of real people who download a browser extension, but then privacy from _them_ becomes an issue.

Perhaps some kind of distributed data-collection system could be created, where an extension will analyze your own traffic, strip out as much personally identifiable information (PII) as possible / as you'd like, and then submit that to a central repository for aggregation or further collective analysis.
Would you include work related distraction via co-workers in the microbreaks category? I have found that breaking from deep concentration for 5-10 minutes in order to help my team members can set me back about 30 mins on a project. Now I schedule a time after my project should be complete in order to help them with theirs.
You are not wrong. That is an excellent talk. Maybe one of the very best conference talks I've watched.

But in fact, an ever better version of the one you posted exist.

The non-sensored, +1 hour expanded version from the HOPE X con. Elevator Hacking: From the Pit To The Penthouse [Duration: 1h55min]
Theranos promised to use microfluidics to deliver fast, low-cost test results at the point of care.
That is great, I don't exactly know where you are located. But as someone in California I can tell you that the amount of (at risk) kids that I've worked with throughout the years tells me over half of them were strung out on a solely medication based treatment. We were the first exposure to actual "therapy" that they've ever had, and it is by far the most effective thing many of them have ever been exposed to. Maybe it's a regional thing, probably a Californian thing.
Indeed. It's worth considering as well that even when analyzing actual data what seems like a relationship between two variables can be wiped out or inverted by the addition of other variables into the model. It's important to include all relevant variables into the model to know how two variables really interact.
Well there is a lyrical aspect, 300 Tera-grammes is also 300 Mega-tonnes but that sounds like the familiar nuclear weapon rating.

There are many sources in broad agreeance for these heavily researched measurements. I included one recent source for methane emissions by weight, since its a bit harder to dig that up.
I like this essay but I think it is very strange that he doesn't link to the talk that Zach Tellman gave in which Tellman talks about the origins of Factual's Durable Queues:

https://www.youtube.com/watch?v=1bNOO3xxMc0

Factual's Durable Queues are a fairly minimal queue effort that is useful in cases where you need some minimal way of handling back pressure, because a service downstream has failed. In his talk, Tellman talks about the fact that he needed to write a lot of data to AWS S3, and sometimes S3 stops accepting writes, so he needed an easy re-try mechanism.

I used Durable Queues everywhere in my code and find it very handy. It's useful when you need a very minimal queue that still has the backing of a file system.
Ask HN: Who among you have started/understand starting a WISP?
I have an opportunity to start a WISP (Wireless ISP) in my area - and while I have done homogenus corp networks in the past, I dont have deep experience in how to manage/bill paying users...

What are some must-knows or pitfalls to be wary of?

(Think of this as a small scale Common Networks implementation...)
Theranos didn't publish any studies or do any basic research. This is a press release based on a proof of concept article. It's totally different.
I had to do a lot of research to understand this in a technical sense. (I haven't read the article OP linked.)

I found the answer really interesting: with bitcoin, what you actually own in a technical sense is the cryptographic signature of an output of a previous transaction on the blockchain. "Owning 10 bitcoin" is intrinsically identical to "owning the cryptographic keys to a previous transaction whose value was 10 bitcoin, proving you were the recipient and can therefore initiate a new transaction with the previous transaction's output as an input, thus paying 10 bitcoin to someone else."
It definitely causes problems when dealing with native modules that have networking functionality, but I've almost never had a need to use those modules.

Also, wouldn't asyncio probably have similar issues with native modules as well?
> going to med school just so you could have the title of Doctor and prescribe meds

Your comment really isn't with respect when you make this assumption about someone's profession based off no knowledge of that person's chosen career path.

I'm not sure what kind of a person knows many psychiatrists but doesn't understand that the boundary between psychiatry and psychology isn't some high garden wall whereby a psychologist tosses the ball over when they can't figure out the case.
Why would it be bad if things were this way? I mean, I have a very varied social circle but enjoy the company of a select few the most.

"Personalization" as you called it, has existed since immemorial times and I don't think it's something new.
I'm surprised by almost all comments in this thread dismissing the article completely.

Google does field trials all the way in Chrome. Why would it be so unrealistic that they did similar trials with Googlebot?
Yes, the first characters are just my name. The hidden service is for my public blog, so it's deliberately non-anonymous.
Both are horrible. Medicare and Medicaid are almost as bad from what I've seen.
> The only way I could start working on this if I quit my job, but that might not be very ethical thing to do. Any advice what should I do? What would you do?

If you do this, make sure you have enough funds to support yourself for a while, and try to find someone who you can team up with.

Those are the two tips I have from having quit my job recently to work on a passion project. Actually, if you come up with a figure for how much you should have in savings, I'd say aim for double that figure. Every project is more difficult than we anticipate.
The real benefit is that we'll use the web less because it's such a pain in the ass now.
Μάχες παντού με τα φώτα στο Περιστέρι
That threat was real, and an example of how concerted objective efforts could fix it.

Unfortunately, many people seem to think a risk is only real if something goes wrong; successful mitigation seems to mean the risk wasn't real.
But oil products can be produced from biomass and energy too. And is carbon neutral, and doesn't have the potential side effects of extraction leaks and fracking concerns.

Oil isn't magic, it is straight up organic buildup put under heat and/or pressure. You can make 'fossil fuels' out of trees, grass, frogs, people, ect. It is just limited by our ability to produce energy which is currently our biggest restriction on pretty much every industry in the world and is what we are most concerned about solving.
Here is a helpful chart that gives this data:

http://econlog.econlib.org/archives/2015/03/the_prevalence_1...
> Maybe thats a possible solution? Breaking your bigger project into smaller chunks?

Definitely. Anything I cannot hammer out in a weekend I break into smaller chunks and treat each one as a separate project even though they are all contributing towards one larger one. This advice generally works great for any large type of problem or endeavour.
It's a grammatical issue with the parsing of the word "also" to mean "even" instead of "too".
Not a lawyer, but I'd assume Apple's marketing, public statements and explicit messaging on device about privacy would restrict them at least in markets like Europe? Surely they'd be into unlawful false advertising at this point.
Hash multiple information. While a name isn't unique, a SSN is. Or a name tied to an address and age IS (age needed because similar address also leads to higher chance of name clashing if something like "Jr" or "Sr" is missed). You can hash more than a single thing.
Pills are relatively cheap compared to psychologist time so are sometimes dispensed without therapy to cut costs (some state MedicAid programs were notorious for this - their clients were lower income thus uninformed and powerless).
I don’t mind the downvotes. What concerns me more is the obvious logical circles you are spinning in order to make a weak argument in defense of psychiatry.

Your parent comment:

“I have never worked at any addiction program where psychological and behavioral interventions weren't the primary mode of treatment.“

Your latest comment:
“Nobody will pay psychiatrists to do talk therapy... for this reason we end up doing mostly medication management...”

So let me get this straight. You are currently doing mostly meds, and you’re presumably working at “one of the good places” where psychological methods are the primary mode of treatment. So either you are completely okay with being relegated to a secondary role in treatment (unlikely, given how psychiatrists tend to dominate the conversation thanks to that Dr. title), or, more likely, you are not being sincere when you state your belief that psychological methods are primary. Which is exactly my point. Psychiatrists by their nature and training don’t believe non-pharma methods are the primary solution. Most really try to pretend that they care, but end up prescribing meds in the end. Which was my original point.
I did it for two years. I found that it was draining to be focused the full time every day. I liked the way it worked, I loved the code quality that came out of it, but I can't do it 8 hours a day month after month.
Because you can vaporize it, turn it into oil and again vaporize it, bake it into food and eat it, etc. too. Even if you do smoke, a regular marijuana smoker consumes a lot less tar than a regular tobacco smoker since they need less plant product to get the desired effects. Plus, nicotine promotes cancer growth (but does not directly cause it) while THC may mildly inhibit cancer growth
Personally I hate using Perl because there's a huge amount of syntax that is often context-sensitive. And CPAN modules often use inheritance when composition would be more appropriate, leading to situations where I have to totally re-implement something in order to slightly optimize it or change behavior.

That being said Perl was the first higher-level language I learned so it has a special place in my heart. And I learned to value a lot of the collection-processing capabilities of the language. But the fact that there's more than one way to do things creates a situation where understanding someone else's code requires you to know all the different ways to do something. And the only way to know how some stuff works is to read source code.
It took us around 3 weeks, and that includes 2 re-submissions after feedback. My only advice is to read every detail of their guidelines as they check every little thing, so it’s best to make sure you’ve done everything upfront.
We just had a full decade of exposed US spying in every sector of life and you have the nerve to sit here and claim otherwise? Just not the way you think? Is every refutation you spout just merely a "nuh uh see its like this". Fact: 90% of warrants are granted. Deal with it
I'm presuming you are coming at this from a "lighter train costs less/takes less to speed up."

Unlikely to change things, because that is a regulatory matter. Conductors are more than happy to go above the mandated speed with the existing trains (even though bad things happen), the speed limits are imposed to prevent heavy trains from taking curves too fast and to ensure they can stop in xx meters (or nn seconds).

A lighter train can do both better, but the regulations would need to take that into account.
> Workbooks aren't therapy

You may want to look at the hundreds of computer based or book based CBT courses available for one example.

See also things like Headspace.
That's a bit of a misstep my dude.

>I encourage you to use more caution the next time you question an abuse survivor.

Is not a great response, but I understand where you are coming from. That is a perfectly reasonable question to ask, and as long as you don't attribute malice to the writer, it should not illicit any negative response.
A little context, I've dealt with abuse growing up (not from family, externally) and gas lighting, so I understand the response. But they weren't attacking you, just asking how you knew. I had to ask myself for years if what I remembered was actually real and I was able to confirm it. It's not an attack, it's an inquiry.
Ask HN: Resources for understanding of the Tensorflow code?
After reading the Tensorflow white-paper (http://download.tensorflow.org/paper/whitepaper2015.pdf), I realized that I lack understanding of the many topics discussed in the paper. Examples of this include Cross-Device and Multi-Device Communication, Graph Partitioning, Partial Executions and Device Constraints and Optimization (most of section 5 subsections). I want to invest in resources, like courses/books or projects, that help me understand these concepts better. My background is in numerical methods and optimization. I am comfortable with topics discussed in an undergraduate algorithm course. I also can read/write Python/C for numerical calculations.
What exactly am I to do with the link provided, on the desktop? I click on it and I get the first part of of the message 1/6. There is no intuitive way to continue reading. If I click the replies button, I'm invited to join Twitter. Why should I do that?

As you can imagine, I have the exact opposite feeling, this is the absolute worst way to share a story. Pushing the "network effect moat" pedal to the metal by denying service to non-memebers. Not even evil Facebook takes it to this level (it used to, though).
Oh it does.
I've met people who thought dead relatives came back to punish them.
That's a bit far.
/r/AskHistorians is a very particular type of community. It's super interesting and I'm glad it exists, but if no other types of communities existed I would be very sad.
https://en.wikipedia.org/wiki/Divide_and_rule
The special effects for the computer display in “Escape From New York”
Fuzzers are extremely underused. Even in large, mature projects, a fuzzer being part of the source tree is much more an exception than the rule.
Once you've done it a few times, it takes only 5 minutes to write a basic fuzzer for a function that takes a binary blob or a string as an input, after which you can run it indefinitely. But chances are it will find a bug worthy of a fix within minutes.

Various "safe" languages are just as vulnerable to denial-of-service vulnerabilities as C/C++.
Since I started fuzzing Go projects I've come across numerous parsers of untrusted data that flat-out crash if a slice is accessed out-of-bounds.
Deep recursions (A() calls B() calls A() etc) can crash both Go and Rust.
And in probably every general programming language you can implement logic that leads to excessive resource allocation or computation, and unintended infinite loops.
These kinds of bugs can obviously be problematic for network-facing components.
A royal use of runtime assertions in debug builds for arbitrary invariants/conditions combined with fuzzing usually uncovers many more bugs.
You miss the point: it's not about drawing a line in the past, it's that we couldn't think past a date in the future. We didn't know society-changing events on 9/11/2001 would happen. We couldn't believe 1/1/2000 (and after) itself would happen, so mentally created a view of an eternal present where the 1990's wouldn't end ... 2000 & beyond were an unreachable future.
Familiar with the “banality of evil”? Give it a good thought before you give employees a free pass for the behavior of their employers.

https://en.wikipedia.org/wiki/Eichmann_in_Jerusalem
Which websites have you requested deletion from?
The Great Nadar: The Man behind the Camera
Undoubtedly there are some psychiatrists who pursue the title for reasons other than the fact that psychiatrists have the vast majority of the power and funding in western medicine as compared to psychologists. Surely there are some who are genuinely motivated to solve the problem of human psychological suffering.

To those I have a serious question: why did you choose psychiatry over for example a PsyD degree? And: what are the key data points that make you believe that the pharma-centric approach is the one worth devoting your career to?
I've read "The Abolition of Man". It is very simply written, and takes serious thought to get the depths of what he's saying (at least for me). Great book...

... but this comment wasn't based on "The Abolition of Man". It was based on "He Is There And He Is Not Silent" by Francis Schaeffer. (His stuff is not very simply written, and takes even more thought than Lewis does. I've had to re-read it maybe a dozen times over two decades in order to - mostly - get it. Still, highly recommended.)
The  Muse (YC W12) Is Hiring a Senior Machine Learning Engineer
Will the subshell have all your shell aliases?
I'll send them an email, though it's been my experience that it's the type of issue that doesn't get much love without another impetus e.g. pressing need from high-paying customer, legal pressure, compliance, etc. Having said that, I've had success reaching out to other companies before, so wish me luck.
That makes sense to me as well, simply along the lines of the concept of "Skin in the game". With the internet, the amount of risk you take to "be yourself" is small to nil, where in the real world there can be immediate and large consequences to you and your family.
I'm fairly sure the cold war paranoia pervaded society at least as much as, if not far more deeply, than post 9/11 effects. Also, let's not forget the internment camps for Japanese after WW2.

We changed, but I wouldn't call that change the kind of "destruction" that am Qaeda had in mind.
2x productivity boost compared to one programmer or two programmers ..?

I have a hard time seeing why this would work. On the other hand, it's more or less a hand over of knowledge for the system, so in that sense all the negative effects are might be zeroed. I've got this feeling that knowledge hand over is the biggest problem in the industry.

I would really hate to have to do pair programming but I'm not totally convinced it's all bad for the company/product. Maybe one day a week to spread the knowledge?

EDIT:
The song is nice. A bit to specific topic to be funny though.
My house is 130 years old, I wish I could see if it will remain standing for another 130, and what changes to the world it will see.
It’s hard to articulate, and my post was probably too pithy. I’m referring to the fact that we make most decisions in “self-driving” mode, without thinking too much about it. But sometimes you run into a situation where you find yourself thinking “well, I could just do this, but...”. In other words, there’s something bugging you about the obvious solution and a suggestion of a harder, more difficult decision hiding behind the “but”. In that case, in my experience the difficult solution is the right one. If you consciously notice you’re about to cut corners, that means that something (conscience, instinct, whatever) is trying really hard to warn you about it.

Getting back to your example, there’s no “but” attached to choosing an existing engine, so you probably wouldn’t have a nagging thought pushing you to look at building your own.

So I guess what I’m really saying is “don’t cut corners”. You know you’re about to cut one when the little angel pops up on your shoulder and whispers “are you sure about this?”
> That bit about "designed to absorb impacts and avoid collisions" sounds like an excuse. Of course we all design for that.

No, we don't. Industrial design has only recently begun to take that approach. The old way is "bigger is better," and is the approach taken by, for example, school buses in the USA which have an insane safety record. I believe this year was the first time in over a decade that there was even a single on-board casualty in a US school bus.
Well there's also the MITC, but no, the market determines the price.