skysight-inc/HackerNews huggingface dataset:
"Rich in Vitamin A for eye health." Is not a fraudulent statement nor has it been "debunked." Vitamin A is absolutely essential for eye health.

https://www.scientificamerican.com/article/fact-or-fiction-c...

> Vitamin A helps the eye convert light into a signal that can be transmitted to the brain, allowing people to see under conditions of low light. In addition, the cornea (the clear front of the eye) can literally disappear if the body does not get enough vitamin A. Every year an estimated 250,000 to 500,000 children become blind as a result of vitamin A deficiency. In settings where undernourished people suffer from extreme vitamin A deficiencies, such as Nepal or India, supplements of the vitamin or beta-carotene have been shown to improve night vision
Russian ambassador shot dead in Turkey
Tilt brush and google earth are also up there. The best experiences don't always make for the best youtube videos.
Getting Started with Linux: Setting Up Your First Web Server
Machine Learnings #22: A Peek into Google’s Brain
Why would they care if you bounce if you aren't paying? My guess is that the possibility that you might share it with others is low enough that it is probably better for them if you don't get value from the site if they don't get value from you.
Facebook Messenger debuts group chat
The WHOIS for the domain proves him right:

https://whoislookup.ninja/whois/hotcoffeetruth.com

Registry Registrant ID:
Registrant Name: Domain Administrator
Registrant Organization: Chamber of Commerce of the United States of America
Registrant Street: 1615 H Street NW,
Registrant City: Washington
Registrant State/Province: DC
Registrant Postal Code: 20062
Registrant Country: US
Registrant Phone: +1.2026596000
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: @uschamber.com

Edited to add: The piece makes the point that the film "Hot Coffee" is propaganda. I believe that gives me leeway to do the same here.
So once again, it's ok to tell other people that, just not you.

And eliminating worker protections never makes sense. It then just becomes a race to see who can undo them the fastest.
That's pretty much how "sex trafficking" works as a political issue - people see all the billboards and laws and articles and think that it must be a really big problem, so they support more billboards and laws and so on and infinitum. No evidence that it actually exists is required.
Finally, the solution to every downside about open offices! As a bonus we can increase the employee density by about 400% /s
Also be sure to explore "the other side" after watching that movie: http://www.hotcoffeetruth.com/

I agree there was a lot of bad reporting on this case, and there are a lot of misconceptions about the case, but I attribute it to bad media than anything else.
My current employer (Life360) and former employer (Flywheel) both had the CEO and all other executives working at desks in the open floorplans.

I think that there comes a size of company where that gets impractical, and Snap is probably at least that size. But it's by no means crazy for execs to work in the open floorplan.
No Swift is great language and I did not like Objective-C. The headache in the sense compilation time and also shitty errors come and you do not know what that means.

It's type safe language but all the type safety comes with price and some time the code written is just sucks. Json parsing is one example of this. All the casting and all that really make code horrible.

In swift 3 they made all value types to Any and in iOS communicating between Cocoa frameworks become a really mess as all expect some objc type etc. Implicit conversion is also removed and now you have to cast String to NSString and I really mad about this my code now looks horrible huh....
UT Austin's multicore computing course had an optional project to benchmark concurrent skip lists or implement faster skip list algorithms. My group aimed to improve element access times by boosting the height of frequently accessed elements.
This comment breaks the HN guidelines, which ask you not to complain about downvotes or bait other users into downvoting.

We detached this subthread from https://news.ycombinator.com/item?id=13213204 and marked it off-topic.
What is Bubble?
What is Bubble? Bubble is a tool for building web applications without writing code.

Here is what Bubble offers:

1) Responsive Layouts - Meaning you can design your web application to look good on a mobile device, tablet, laptop, etc.

2) Signups and Logins - Authentication in the forms of basic auth, OAuth via plugins, Facebook, Twitter, LinkedIn, Slack, and many more

3) Plugins - There are many many plugins that really open the door to doing some cool stuff

4) Drag and Drop Plugin - Someone built a Trello Clone (with drag and drop functionality) without writing code

5) Database Backend - You model your data and then use it in your pages

6) Conditional UI

7) Workflow - Workflows are actions that you can take when a user does something in your app (actions when loading, sending emails when clicking signup, creating - modifying - deleting data when you click a button or chooose data fro a drop down).

8) Dev - Prod - You Community around Bubble is kind of awesome.

9) Create your own plugins - Kind of basic right now, but you can create your own plugins. This is cool now but about to get really powerful

10) CodeLess - Actually no code at all is needed

11) Elements - Images and Icons - you don't even have to find your own assets for your project. Bubble comes loaded with Fonts, Icons, and Royalty free images

12) Auto subscribe your users to mailing lists

13) Stripe and Braintree integration

Okay what are the CONS? There are a few cons in my book, but it seems that the Bubble group is working on some of them:
No Self Hosting, Not Open Source, Performance for multi-page apps is ...meh

Link to Bubble: https://bubble.is

TLDR: Bubble can help you build web apps without coding. Check them out at https://Bubble.is

and now for my shameless plug, link to My course on Bubble: https://www.udemy.com/bubble-course
Three stories about this have already been flagged off HN, despite our tradition of discussing major news events here. This is of interest to many hackers, with some of the stories having 15-20 upvotes before being flagged off. Stop trying to hide this please.
So in other words, std::ptr::null is Rust's version of null for situations where you would actually use null in C, except in general Rust discourages trying to use it like it's C. Seems reasonable.
> cultural friction makes it hard for "ABC" chinese

Can you clarify what you mean by "cultural friction"? I always thought that "ABCs" and "ABCDs" (Indians born in the US) were better at integrating with workplaces here than those coming from Asia?
"It's not enough for your computers to agree, you have to agree on what they're supposed to agree about."

Credit to Matt Levine:
https://www.bloomberg.com/view/articles/2016-01-19/banks-oil...
Why aren't more black women leading companies in Asia?
Start chasing them today ! Seriously. You will have a 2 weeks head start :)
AWS has released a best practice guide and pre-built automated template solution for this on their AWS Answers site:
https://aws.amazon.com/answers/infrastructure-management/ebs...
What I've felt with crystal is that I find it an immensely practical language. Maybe that stems from the compiler being written in crystal.

The question is, how easy is it to make syntax-driven tools? One thing that Ruby never did quite as well as Smalltalk was having low cost of entry for creating language parsing tools on the language itself. (At one time, there were multiple online study groups of multiple people trying to parse Ruby working for over a year. With Smalltalk, you can start hand-coding a top-down parser in the morning and be mostly done in the afternoon.)

Most of all, the type system gets out of your way and usually only shows itself when you're making a mistake.

Sounds ideal!
I think there is a good chance of exactly this - cash repatriation in exchange for lower taxation on it, then using that tax revenue for partly funding the infrastructure projects that he's promised to create jobs.

But share repurchases is a lame way to spend the money - though I'm sure the people who get to choose will favour it because it boosts their compensation directly. Trump should ask for (at least some of it) to be used on more productive things like R&D, hiring, and VC deals on long term investments that are currently underfunded.
These vendors still need to access fiat currencies to pay wages, rents, taxes, suppliers, etc. Until workers, landlords, governments, and suppliers begin accepting BTC, there's no incentive for vendors to take on the risks of accepting BTC.
I just got an iPhone for the first time after many years of Android. I was sick of the Android versions of most popular apps being much worse/buggier than their iOS counterpart. It's not just Snap.
">It is time to rethink the “good leader” prototype of being masculine, dictatorial, and charismatic.

Good luck, there's a reason those attributes are dominant."

I agree, and I think it is a ridiculous and offensive conclusion that the authors are making here. They are perpetuating a stereotype of Asians based on a claim that "Eastern cultural norms encourage humility and deference to authority."

Firstly, this claim is not based on any data. I am reluctant to accept the stereotype that everyone in Asia is the opposite of "masculine, dictatorial, and charismatic," especially people who are candidates for positions of leadership. Did anyone go to Asian companies and see that all their executives are all feminine, un-charismatic, pushovers?

Secondly, even if we take this claim of an "inferior leadership culture" seriously, it can only logically apply to unassimilated Asian immigrants. What about Asian Americans, people who are born here? Are we to believe that they are all also all "feminine, un-charismatic, pushovers?"

This seems like a post hoc, pseudo-scientific justification for what is really an executive and baord level diversity issue.
Privsep is great; I use it whenever I can. I also have tiny embedded systems that don't support it, as well as containerized systems that don't need it.
Clojure with Carin Meier
I think "using APIs" is AI-complete, thus making "autonomous APIs" a pipe dream until we have an AGI, and at that point APIs are not that interesting anymore.
> Are kernel devs paid? Is it worth being abused in front of the entire world because your boss has the emotional maturity of a child?

Yes, kind of - there's a significant business advantage in having your company's work be included in the upstream kernel, so it's often the case that some individual is employed and paid a good salary by Intel or someone and their job involves getting code into Linux or maintaining it in Linux. Which leads to the weird situation where you're bound by the feedback / technical direction of this person who isn't in turn answerable to your company.

This isn't exclusive to Linux alone; the same thing happens in other open-source communities.
I think his point was that if you're looking for great tooling, you're not going to find it with Swift/Xcode. Right now it doesn't support automatic refactoring, has limited support for inspecting variables while debugging, and suffers from frequent partial crashes and other bugs.

If you want to find great tooling, look at Java or C#, which are both excellent languages for servers.
> when we all recognize coffee is a hot substance.

190 degrees is not at all drinkable (though perfect for out of the brewer) and McDonalds had already received complaints about it being too hot.
IO a is short for roughly World -> (a, World) and is thus computationally pure. You cannot figure out what happens to the World in between but you don't need to, thus the side effects "don't exist" from a analysis standpoint.

However IO follows all of the Monadic laws, I believe the comments about side effects are focusing on the side effects that show through when you try and apply the monadic laws to promises.
Deprecating ciphers I'm fine with. Telling me a minimum required key size isn't, because they have no idea what the window of security I'm looking for is. If I need to keep a text secure for 2.5 seconds, a short key is fine, and for that matter a longer key gets logistically problematic.
Your argument is missing this concept of degree. They still serve "hot" coffee. Maybe had they sold "scolding hot" coffee they could have got out of it. I could go start selling "cold" drinks (cooling them with liquid nitrogen) but I should probably warn people their fingers are going to freeze and break off.
> Oh boy. I can taste the flames already.

Please don't. You've been posting a lot to HN, so it's important that your posts not degrade the culture here.

Civil and substantive comments, please, or no comments.
Why would a containerized system not need it? Defense in depth would be a good thing.
Dancing Plague of 1518
> Stallman's worst dystopian nightmare: a Central Authority that somehow dictates what must, and what cannot, run on your computer.

For some people, that's not a dystopia, it's a feature.
React Native vs. Native Script vs. Fully Native iOs Apps
Hello,

We're currently developing a mobile app and pondering over which approach to take.

We're considering going native and releasing on iOs first and then Android but were also thinking about possibilities of using cross platform approach via Reach Native or Native Script.How good are these approaches compared to going fully native via Swift & Java for iOs and Android directly.

Love to hear about your experience.

Cheers
> Windowing functions in standard SQL databases are like putting lipstick on a pig.

I have always thought the underlying Relational Algebra of SQL databases to be quite beautiful (https://en.wikipedia.org/wiki/Relational_algebra). This doesn't make it the right tool for every job, but let's try to shy away from calling it a, "pig".

> You created a design based on sets then later tried to slap on the idea of order to sets.

I have some questions here.

It sounds like you are implying that sets and order are mutually exclusive, but this is not my understanding of the math. Could you elaborate?

* https://en.wikipedia.org/wiki/Partially_ordered_set

* https://en.wikipedia.org/wiki/Total_order

From the second reference on Total Order:

> "The lexicographical order on the Cartesian product of a family of totally ordered sets, indexed by a well ordered set, is itself a total order."

This quote seems to actually contradict this implication...especially in respect to Relational Algebra which relies heavily on Cartesian Product.

Thanks in advance for your response! I enjoy improving my own understanding of the underlying Computer Science/Mathematics whenever I can.
sure that happens to me sometimes. but there is always: https://lmgtfy.com/?q=youtube+proxy
I'll chime in, having done IOS apps for many years now...I have fully given up on Interface Builder and Storyboards. I build all my UI in code and find it works MUCH better and I spend much less time fighting with the UI. I used to spend half my time fighting with interface builder to get the layout right. Move one element that something else is constrained too...f' your everything. Oh, and setting up constraints in InterfaceBuilder...don't even. Such an amateur implementation I can't even believe they shipped it. (The code implementation isn't that bad tho)

Then wire up my events, if you refactor anything...boom -- but only at runtime. Because the compiler is wired into the process, so if a method/property doesn't exist in the ViewController that InterfaceBuilder is expecting, the compiler doesn't break, your app does.

Also add in how often Interface Builder crashes XCode.
Really? The piece seemed to have a fairly balanced mix of praise and criticism. "Hit pieces" don't usually praise the vision of the person they're profiling.
Ignoring time considerations and otherwise oversimplifying,

[Expected return] = [Probability of a non-zero return] * [Expected return | Return > 0]

VCs tend to think that the first factor will always be low, so they want the second one to be high.

So far, so good. But now let's complicate things a bit more.

1. Actually, the set of all possible outcomes is partitioned into at least three sets:

{Zero or very low payouts}
{Decent but not great payouts}
{Huge payouts}

Especially in the middle case, VCs' interests may not be aligned with founder/employees', because of the preferred/common stock distinction and some onerous terms that VCs impose on deals.

Also, VCs' benefits aren't just cash, but also reputational, which is another reason why their interests aren't perfectly aligned with companies' ...

... yet past the earliest stages, VCs tend to control the board, and run things for their benefit.

2. It's possible to have other kinds of interest than the classical VCs'. For example:

A. If you lend against genuinely good collateral, you have a good chance of getting your money back, and can be more restrained in what piece you take of the upside.

B. Seed investors who offer notes with unclear conversion prices often are doing something similar, but with worse odds. Often, they're hoping for a chance to invest in the next round of the best companies, which makes sense only if they assume such an investment will be very beneficial to them.

3. Dave McClure at 500 Startups trumpets the idea of factoring "singles and doubles" into his return calculations.
completely agree.

https://angular.io/docs/ts/latest/ is the best material implementation i believe.
Coffee should be served safely drinkable for the same reason that Burger King doesn't hand you a beef patty while it's still on fire.
Bingo, it turns the same thing wasn't wasn't obvious to everyone
>Usually all the basic concerns have been accounted for in the actual study.

No, I don't think so: http://www.economist.com/news/leaders/21588069-scientific-re...
I will have a closer look at the Percona toolkit scripts for reporting (one of which I already use for failover).

Thanks!
No human can drink 190 degree coffee, yet many humans consider perfectly normal to ask for one.
I know in California, the AG office can apparently elect not to defend a law (they did it with the Prop 8 gay marriage ban). Is that something unique to California, or can other states do it?
I think this all depends on your skillset. If you can build websites much quicker, do that. If it's gonna take a lot longer to build a website, then make an app.

But in my personal opinion, I hate downloading and installing new apps unless I already know what I'm getting. So if it's a new service, I definitely prefer a website to try out before downloading an app. An app is sometimes nice to have, but I'm personally less likely to try your product if it requires me to download an app.
> Krugman is a good example of what's gone amiss with liberalism.

The entire left side of the aisle? But, not any other people? Hmmm.

> He very loudly accused Amazon of being a "monopsony" during Amazon's most recent dust-up with the big publishers, on grounds that its market power would enable it to hurt consumers, although he acknowledged, Amazon hadn't used its economic power that way.

Well, they are a giant player with immense power that already dictates things to its supply chain...

And the important thing to do is recognize risks before the problems manifest. It wouldn't be any good to tell you your garage was full of flammable rags after your house burned down.

> Yet, Krugman goes along with this exploitation, and presumably banks very large royalties for himself at student's expense.

Compared to wages, speaking fees, etc? I doubt it.

But nonetheless, you do have a good point about textbooks being exorbitantly priced. When we provide student-loans, schools increase tuition. If we gave children a billion dollars a year universities would still be pretending to be broke and asking for more.

IMHO, that's the racket we need to break. As long as there's a government license to print a "right to work" token (a degree), you'll have players entrench around it - like camping spawn spots. And as always, the less effective the school is at teaching the more resources they have for political battles.
Is it racist to compare a white male leader to Hitler?
I doubt the reason is that those traits make a good leader. More likely its's because we're all 96% chimpanzee.
I'm not UI expert, but the fact that the buttons don't have any animation change (or change in colour) when pushed down is a little grating...
It being a spectrum disease, I'm rather mystified how someone thinks they're sensitive but someone else can declare they aren't. I mean from the outside looking in, the label matters to the outsiders, but from the inside looking out, the exploding bowels seem a far higher priority than label achievements.

In my extensive experience with GF food if its naturally inherently GF its delicious, like a grilled steak or a fresh salad. I am hungry right now and I'm salivating eyeing a granny smith apple up and down right now, it is going to be so tart and juicy... If its artificially GF like a GF chocolate cake, its freaking disgusting like mashed potatoes mixed with shredded coconut levels of disgusting. The true irony of the "gluten free" aisle is its mostly inedible and the real "GF" aisles are the long existing produce and meat aisles. Aka the stuff that was "food" before there were food factories trying to convince us something more profitable is "food".
> I wonder why such organizational behavior is very difficult to change -- I have seen, twice, smart people brought in to clean up a project stuck in this state. They were given freedom to run it the way they saw fit (upper management knew the project is failing) and both times they failed to change it.

It's a good question. I think it's often a hard sell, that the change, while more work in the short run is less effort in the long run. Why should I care? I'm still getting paid the same. Of course, that's a facile argument and easy to refute: professional development.

In my experience organisational behaviour has a root cause. You have to find that and understand it to change it, you can't just change the organisational behaviour but leave the root cause. To an outsider, the root cause probably isn't obvious. Heck, sometimes by the time you understand it yourself, you've been there so long you might as well move on. But often, it's also the devs who refuse to get political. Who understands the system better, and why should somebody else fix it? But then the obvious excuses happen. "Too busy", "Not my problem", "Nothing I can do". Devs start leaving the project or the company. Now, it's never going to get changed. Apathy is the worst symptom.
ty for the feedback.
THE GNI GAP PAY PLAN
I agree. Articles such as this are divisive and lead to polarizing viewpoints. Perhaps it is time we hire and promote based on ability and not race, gender, color, etc.

edit: You can down vote me all you want. Every single person that does is out of touch with reality. As such, this is a clear example as to why Trump was elected. Downvoters will need to change their attitudes are get left behind. We are in fact, moving towards a more conservative country dynamic.
Sounds like it's got a bit of development to go before the language is suitable for this use case, but I must admit I'm quite excited about it.

Having recently been experimenting with Go and Rust in the same sort of space, my impression is that Go is a bit too verbose and lacking in features - definitely works and lots of people like that, but I don't find it particularly powerful. Rust is great, but I've found that web backends end up with too much code - and it's still quite a challenging language to use, though that may be my inexperience. Building iOS apps in Swift recently, I've really started to get enjoy using the language. Once the various issues are worked out, I'm optimistic about its suitability for things like that - and it's great to have more language options to play with!
Thinking that containers don't need privsep is exactly why this choice has been taken away.