skysight-inc/HackerNews huggingface dataset:
Mobile has certainly made things worse.

I recently kicked off every google app from my phone. The dark UX pattern of shared logins (login to google express = login to gmaps etc) was too annoying to deal with.

It's not that I've stopped using their services, but instead switched to their web version. Same with Twitter et al. Even Uber has very serviceable web versions of their app.

As a bonus I get better battery life, and the use of Safari's content blocker, so YouTube web is even better than the app. I'm also able to silo these services into their own browser if don't want to keep logging in every time due to private browsing.
>This just seems like cashing in on crypto hype.

Of course it is. This is a publicity stunt (and hilarious I might add), as Burger King has been known to do in the past. They've had a brilliant marketing team for a long time.
A couple practical benefits of Titan is that we can use it in many different environments where traditional secure boot is not available. For example, we're using it in both servers and in our custom networking card.

In addition, traditional secure boot doesn't give us a hardware root of trust, nor does it enable tamper-evident logging.
Last time I've been to US, in Cambridge, MA, it was next to impossible to buy a decent non-low fat yoghurt. It was like observing shelves full of junk food everywhere. Sigh.
Conversely, clearly people are moving from Julia to python, since there are more and more larger and larger pyCon's each year.
Well I don't want to spoil the movie. Brazil is worth a watch.
If it just needs atan2, it is not in the category described by the comment that you're replying to.
Although this post is interesting, the best way to optimize trig functions is generally via rational approximations[1] if you can live with the error (and the clamping). I remember finding a rational function to approximate a tanh-like soft clipper via a Padé approximator on (-1, 1) a few years ago[2]. See an equivalent rational approximation for atan2 here[3].

[1] http://www.embedded.com/design/other/4216719/Performing-effi...

[2] https://stackoverflow.com/questions/6118028/fast-hyperbolic-...

[3] https://www.dsprelated.com/showarticle/1052.php
I see it as precisely the opposite. It seems like the tendency to engage in platform wars obscures the larger issue that this is all going to settle down and converge over time and nothing Google or Apple is doing right now will be the final form of AR.

Remember early 3D in the 90s? We have S3 Virge VX, Voodoo 3dfx, PowerVR, Rendition Verite, Matrox, TNT, etc They had a huge disparity in capabilities, fillrates, APIs, most didn't support OpenGL, even 3dfx -- the card closest to what games settled on as a minimum set of functionality, only supported Carmack's miniGL. Early DirectDraw and Direct3D were horrendous and to get performance, Games had to be ported to each card's proprietary APIs, and effectively, Quake and Unreal became the Unity of their day, offering a higher level abstraction to building cross platform titles until the cards all converged on OpenGL.

And converge they did. Eventually most cards offered similar fillrate, multitexturing, and fixed pipeline options, the market settled on a common hardware featureset, and then competed on price and performance.

Later, programmable shaders disrupted the market again, and we went though iterations of pixel/vertex shaders from 1.0/1.1/1.2/1.3/1.4 to 2.0 to 3.0 and then GLSL and finally something like CUDA.

I think we're going to see the same thing happen in mobile and whatever fanboys propose as some kind of insurmountable advantage will turn out to get commodified if it becomes successful. For example, if AR takes off, or if Apple adds a depth sensor and Tango-like functionality takes off and a huge startup market and VC funding coalesces around it, then roughly 1-2 years later, every Asian OEM will have Android devices with depth cameras and similar functionality.

The only reason for the discrepancy today is the hardware fragmentation. But the market follows the money and abhors a vacuum. Hardware convergence in capabilities always follows, and eventually developers end up with middleware to address it.

This does lead to "IOS first" for startups, but if you look at the App Store and Play Store today, practically every major game and app you want is available on both platforms. It'll take years for this to shake out, but if AR becomes huge, smartphones in 5 years will all have roughly a similar set of features.

P.S. My own opinion is that phone's viewport is too small for a great AR experience. It's a nice initial experience and visually impressive, but will quickly become tiring. The long term form of this has to be some form of glasses, because waving around a phone in all directions and holding it in midair while touching the UI is kind of awkward.
I keep seeing the argument that only the wealthy can afford a healthy diet. I just don't buy it. At least in western countries, anybody can do it, it's not that hard. Getting the basics right is just a google search away. Buying reasonably healthy food is not that expensive, and preparation doesn't take long. I know that because I prepare my food myself and it doesn't take me more than two or three hours per week.

Oats and nuts, maybe some fruit for breakfast. Lentils, potatoes, or rice; frozen veggies and some protein for lunch. Sandwiches or eggs with some veggies for dinner. It might not be perfect, but it's certainly not terribly unhealthy.
I think there's something to be said about looking at the business incentives of the people you deal with on the Internet. Google, plain as day, is using you as training data. DuckDuckGo bills itself as the privacy-minded alternative. You shouldn't be surprised if Google violates your privacy. If DuckDuckGo does, that's the end of their business model.
Here's a link to the study (which, by the way, was unnecessarily difficult to find): http://www.thelancet.com/journals/lancet/article/PIIS0140-67...

What a sensationalist and wrong headline. All it says is that "Total fat and saturated and unsaturated fats were not significantly associated with risk of myocardial infarction or cardiovascular disease mortality." So whether you have low or high fat in your diet, you could fill a good portion of that total caloric intake with protein instead of carbohydrates and that would still satisfy the claims that you can mitigate against "Higher carbohydrate intake was associated with an increased risk of total mortality".

They also don't define what "low" means in "low-fat" to define at what threshold would "kill you" (eyes roll). Doctors generally recommend 20-35% already[1] so I'm not sure how any of this is groundbreaking.

[1] https://my.clevelandclinic.org/health/articles/reducing-fat-...
The exact same thing stuck out to me as well. Mostly because they had to start the article with this sentence:

> With more than two billion active devices, Android is the largest mobile platform in the world.

So they'll get it onto 5% of active devices, or one in every twenty. Not great, perhaps not even good.

I've not been a fan of android fragmentation for awhile now, and have been surprised that Google hasn't been able to do more to attack the issue. Even when Treble launched, I asked myself... is that all? Rock and hard place I guess.

I actively avoid android devices because of the issue. My last android device was a tablet in 2011.
Don't the two bits of code have completely different behaviour? And the code with the bitshift is undefined on negative integers (in C). So the bottom code could indeed be the "correct way to do it".
False, it isn't at all like stealing, because there is an infinite number of 1's and 0's, it just so happens that your personal arrangement of those 1's and 0's was found to be unfavorable and discarded, and now you're mad about it. What you advocate is the same illogical idea the big content companies all have, the idea that your arrangement of 1's and 0's is somehow special from anyone else's arrangement and only you can say what happens to it (especially once it is put out in "public"), and that it is somehow scarce (when none of this is at all true in any real sense).

It all boils down to control - you (and people like you) want all of it, and other people have other ideas contrary to your own (and are willing to do whatever they feel works to achieve what they want).
I'm still confused if apoe4s should do a low fat diet?

I've seen it recommended but with all the damage carbs can do I'm thinking high fat is still the way to go?
Statistics show that refugee population increase has a smaller impact on crime and public resource drain than equivalent 'native' population increase. A group of 1000 refugees will have less criminals and put smaller burden on state resources than 1000 local citizens. Go figure, everything you thought you new about refugees are wrong.

http://www.e-ir.info/2016/03/07/refugees-economic-burden-or-...
I tried to add SQLite to the graph and it is at the bottom. We could question the relevance of this tool!
You sure thats not mainstream? NYC banned trans fats starting in July 2007. I learned about them in middle or high school 10-15 years ago.
Which Skills Are the Most Employable in Tech?
1 - One needs to buy a new Android 8 device.

2 - Android 7 has currently about 13% acquisition after one year

3 - There is currently no obligation for OEMs to provide updates

4 - Given the failure of security updates, only being delivered to flagship devices, I believe Google will ship them directly when they actually do it.
Not sure what's new 5 years after https://now.uiowa.edu/2012/05/acid-brain (same researcher, pretty much the same conclusions).

Isn't increasing carbon dioxide in the air a standard stress invoking procedure in lab tests on rodents etc?
Social Media Marketing Blog – Buzzlogix
In C/C++ it would be much easier to call the intrinsic functions which represent the fma instructions. The compiler would then be able to inline and optimize the whole.
I'm calling bullshit on injecting an absurd dichotomy between choosing software based on the author's personality versus "reading every single line of code of the software running on your system". It is possible to choose software based on qualities inherent in the software and not know or care about the personality or personal matters of the author. And it is possible to do this without "reading every single line of code of the software running on your system".

Those qualities of the software and its design, what I call "software aesthetics" might include, among other things, the size of the program, its resource requirements, dependencies, configuration, and even, yes, the source code itself. Nowhere did I suggest that I read "every line" of every source code file comprising the operating system I use.

Where possible I do selectively read and sometimes edit some of these files. With respect to third party software, I often do read every file. I prefer software that is small enough where I can do this. But what does the idea of reading "every line of code" in an (operating) system have to do with my original comment? Nothing.

In any event, since you have shifted the discussion to (operating) systems, I can confirm I did not choose the (operating) system I use based on the "personality" of its authors. I chose it because of the "software aesthetics" reflected in the software itself. As I see it, this might include an appreciation for the command line and small program size, manual configuration by the user and having all options off by default, documentation, portability and "clean code", among other things. People making comments in email or on the www on whether they like or dislike the authors of this software did not affect my decision to use it.

The point of my original comment was simple: someone may choose software based on the software itself, not the author's personality, whatever that may be. I thought this is worth considering in response to the parent comment that "Personality is important". But others may disagree.

I would like to end this exchange now. I appreciate your input.
The first rule of paid advertising, is don't talk about paid advertising. Customers don't like to think they "fell" for an ad, and the advertising is often secret sauce. It is pretty easy to duplicate a technical product, and actually reasonably easy to copy the advertising. The big difference is most tech/product guys look down on advertising. Also many make the mistake of pricing lower than the competitor which means lower margins to buy advertising, losing every ad auction, and never getting off the ground.
I am from China. Call me selfish, but I really hope China Internet censorship is not discussed on HN. HN is one of the few sites I like that GFW (Great Fking Wall) doesn't block. More threads about the 'sensitive' stuff about China, will almost surely get hacker news blocked.

Github has been blocked before. An outcry from the dev community finally got it unblocked. But that seldom happens.
And as Jim Clark, co-founder of Netscape, said in a recent interview on This Week In Startups the problem was Microsoft was not just bundling their browser (not a big deal), but pressuring OEMs that they'd be unable to sell Windows or lose access if they bundled Netscape too.

They used their monopoly position to force vendors to prevent Netscape from being bundled. Thats where they went too far.

Disclosure: IANAL
My own research doesn't back up that this "unsafe write" was done by 10gen for benchmarking reasons, but rather due to an early expected use case (from a footnote in part 1 of my series):

Waiting for writes was off by default:

> This "unchecked" type of write is just supposed to be for stuff like analytics or sensor data, when you're getting a zillion a second and don't really care [if] some get lost [or] if the server crashes.

This was rarely the typical use case in most startups - even though the defaults were based on it for a long time.

It’s unclear to me how long this was the top Google result, and it was earlier in Mongo’s life (2009). This may be one of the benchmarks that led to anger at competing NoSQL vendors - and seems to me like a mistake rather than a malevolent effort.

https://www.nemil.com/mongo/1.html#fn2

_____________________

MongoDB's CTO has also mentioned that if he could go back and change anything it would be this early default, as his earliest customers valued it - but he quickly realized that it caused issues for others.

(Throughout this series, my goal has been to be tough, but fair to both sides)
Ask HN: What “beats the averages” in 2017?
In PG's essay from 2001, he makes the case that Lisp beating the averages was instrumental to the success of his startup. To give the question some focus, let's consider web development only. What stack beats the averages today? Or have we reached an asymptotic point where full stacks [1] are all about equally capable and we are no longer able to truly beat the averages?

[1] By full stack, I mean programming language + backend framework + front-end frameworks.
It amazes you? Really? It doesn't at all seem par for the course for a system that rewards this type of behavior? Profit no matter what is designed to fuck people over like this. Follow the money and it won't be surprising at all why the system still exists as it does.
Doesn't he address this by saying make this a political issue?
Another way of putting it: an essential part of any successful negotiation is achieving your desired outcome in a way that doesn't make the other side feel like they've lost.
Thank you! I love Google for making the web a top priority on par with Andriod, where as with Apple it is an unloved step-child.
> It's worth mentioning that this study was conducted from the late 1960s until the late 1980s. Artificial trans fat labeling laws were still decades away in the U.S., and margarine contained more trans fat than it does today. Currently, margarine can contain up to 0.5 grams of trans fat per serving and still be labeled "0 g trans fat" in the U.S. The high trans fat content of the older margarines probably had something to do with the result of this study.
IMO one aspect that isn't well understood enough, and not given enough emphasis in research, are the "cleaning" cycles of the brain. In particular, neuronal autophagy, but also cleaning cycles during sleep. If the overall PH is off, something isn't being cleaned correctly. A byproduct isn't being removed.

I'd love to know how a ten day water fast affects the mental processing and bio-markers of a group of schizophrenia patients. I'd also love to compare their brain activity in a sleep study to that of a control group.

Parallel issues here as with most dementias. Plaques seem to form in all brains, but for most people there are cleaning cycles that break them apart and remove them. With Alzheimer's disease this stops happening. Why?

Another intriguing question for schizophrenia -- eating foods rich in glutamate, for instance rich cheeses, is a negative trigger for many people with schizophrenia. Why? Well, glutamate is metabolized in the brain and it's used as a neurotransmitter. Obviously there is some sort of chemical processing issue in some patients. Figure out what exactly what the issue is and I'd bet you'll know much more about the root cause of Schizophrenia, and potentially several other major mental disorders.

https://www.ncbi.nlm.nih.gov/pubmed/25236722

"Glutamate plays key roles linking carbohydrate and amino acid metabolism via the tricarboxylic acid (TCA) cycle, as well as in nitrogen trafficking and ammonia homeostasis in brain."

"Ammonia homeostasis," sounds like something that might affect PH, right?
Partially mythical, there were no bananas and if I remember well there were only two monkeys. [1]

[1] https://www.scribd.com/doc/73492989/Stephenson-1966-Cultural...
> Even when Treble launched, I asked myself... is that all? Rock and hard place I guess.

Curious, what exactly were you expecting? There hasn't even been enough time for Treble to play out to see if it brings results.
If Julia didn't have a performance problem, you wouldn't need to call out to a BLAS.

>is a better glue language

I'm confused, I thought you said you were avoiding the usage of two languages. If so, what is Julia "gluing"?
Correct.

Google could have taken the same approach as Microsoft always did since the MS-DOS days and require specific hardware expectations.
Show HN: Rsync app
I still don't see how it's possible, no matter how optimized it is. Assuming 8-byte ints (which is what np.int seems to be on 64-bit) you're looking at reading at least 16GB of data since you're operating on two 8GB arrays and you have to read the data in each one at least once. If you can do that in a millisecond, that's a memory bandwidth of about 16TB/s. I thought modern CPUs had memory bandwidth of tens of GB/s, maybe low hundreds for really high-end stuff, and some brief searching seems to confirm that. What am I missing?

Edit: testing the given code on my 2013 Mac Pro, the fastest one at the end completes in one second or so (just eyeballing it), which makes a lot more sense.
seems like articles like this are always read as justification for KFC, butter, cheese and burgers rather than "hey maybe eating all those nuts and avocados is a good idea???"
Non-cynical response:

For a governing body, its logical to automatically be suspicious of any recreational drug. Being recrestional means it'll be used more often than a non-recreational or non-addictive drug. The effects of use will be much more widespread.

Even if you have liberal/libertarian beliefs about personal choice and responsibility, the fact is that its not possible to know if a drug is poisonous without careful testing. Putting things in yoyr body by any means is rarely healthy. I'm not saying its a bad idea, just that the odds for any given chemical are objectively long. Its not unreasonable for the government to outlaw a new substance that would be very popular.

Thats how all pharmaceuticals are done; to sell medicine you have to prove not just that it works and is safe but that it works better than the competition. They certainly scoff at the experiences of joe public, and they clearly should. Joe public may know what makes him sick, but he has no idea what may give him liver damage, cancer, etc. Etc.

Once youre on the FDAs bad list, it takes real concerted effort to get off for any drug. The bar should not be lowered for generic remedies. The only problem is that there is no incentive to prove that drugs like this are safe. High profile illegal drugs are not the only examples of this either- melatonin is one of the best sleep aids period, but nobody had any incentive to push it through the FDA until recently, so doctors legally couldn't prescribe an excellent medication.

People making decisions about their own health is a separate issue- there is no data on these drugs (from the governments pov). I'll also note that people having full control over their health is a terrible idea. Sure, it works okay for testosterone, probably. But what about antibiotics? Antibiotic resistance would be a global crisis.

The root of the problem you mean is that theres no process to go from a therapeutic drug like weed to a legal vice like alcohol. The government doednt even have a category for that. Call it moralizing, but still, how would tgat even work? IMO its nontrivial to draw a line there. Weed is definitely on one side, but is testosterone supplementation, or HGH? You can serioudly fuck up your brain taking SSRIs wrong, and you can do much worse with steroids or HGH, and thats without considering extremely dangerous AND addictive drugs like opioids.

I would argue the government has some interest in preventing the abuse of certain drugs. Specifically when a person is addicted and endangering themselves, they are no longer acting like a rational person and its reasonable to assume that they are not in control of themselves. Personally I think the line should be with effect, not cause. If you are an alcoholic I think the government should be able to cut you off. If you want to get high, they should let you. If you want to modify your body, it should be legal until your life is endangered.
Why does the number of users matter?
I would guess more than just what you type. Probably everything in text and textarea elements. So, if you reply to an email, it's all the text from the original sender in addition to what you type.
> But generally they don't

I don't think so, and neither did the original respondent.
I switched to a roughly 40/30/30 split of carbs/protein/fat (including lots of saturated fat and at least 120g of protein/day) a couple of years ago. I have never been so lean and my athletic performance has improved hugely.

Saturated fat is my friend.