skysight-inc/HackerNews huggingface dataset:
I really enjoyed his style of going back and forth between present time and history. His style of connecting all the dots in evolution of cancer diagnosis and research is mesmerzing. Can't wait to read his other book, The Gene.
http://lmgtfy.com/?q=Saudi+Vision+2030
If you think it's the class system that's holding you back from being Elon Musk, you're the one holding yourself back.
My friend put 100,000 miles on his Tesla in a year and was never stranded. He drove 30,000 miles on a known faulty motor.

It's not more unreliable than an ICE vehicle. It's significantly more simple in design and for repair. These claims are FUD.
steal Haxe's, they even already have code to compile it to JS.

http://haxe.org/manual/lf-pattern-matching.html
> Some people want these differences to be highlighted

Those people are political activists.
What about a 9-month or year-long part-time project? I know it wouldn't be ideal, but maybe the duration would make up for the reduced intensity? Hopefully I'm not too pushy :)
The problem with my work project is that most of the warnings are from third party libraries (Cocoapods since it's an iOS project). Most of them from Jainrain, which has publicly said they don't care.
Not quite. Destructors aren't guaranteed to run, so you can't actually rely on them for memory safety guarantees.

For example, leaking data in Rust is a perfectly safe thing to do. But while destructors help to prevent it, they cannot guarantee that nothing ever leaks. (And some of this depends on what you mean by "leaking" and so on.)

use-after-free, double-free and dangling pointers are all handled by Rust's ownership and borrowing systems.
I guess I don't understand. I thought the idea of a distributed ledger was everyone could confirm everything. Maybe my mistake is thinking distributed ledger and blockchain are the same thing?
Original developer of the C semantics in K here! I just wanted to add a pedantic clarification (since pedantry is what semantics is all about).

The semantics of the language itself is more or less complete. On top of that, a sizable portion of the standard library is given semantics directly (e.g, malloc, setjmp, stdargs, I/O including input/output to FILEs, much of printf, etc. are all formalized in the semantics). There's even basic C11 thread support. All of this runs and can be reasoned about formally. I tried to give direct semantics to the things that couldn't be (easily) written in C, because much of the standard library CAN be written in C and so it isn't so critical that it's formalized.

To round out the library you can provide provide C implementations of any missing library functions at compile time (we provide some by default), and it will KCC those just like any other code. The resulting system is pretty good at catching undefined behavior, but it is super slow.

I'm not involved with the commercial version, but they offer a trade off: don't do any semantic checking inside standard library calls in exchange for faster execution times. My understanding is that instead of chugging through the semantics of printf for every bottle of beer on the wall, they just call out to a native of printf. This makes things a lot faster, but it's possible you won't catch as many problems. In general, the commercial version is trying to make using the semantics practical instead of "academically slow", which was all I managed :)

Any questions welcome.
Warsaw: Survicate secures $1M to expand globally with its survey tool
They are referring to NDAs that the VCs send to others (employees, etc.)
This is why I only use pseudonyms online and don't tie together my "real life" with my "life online".

I think it's foolish to tie the two together if you ever want to express your personal opinions. Just because they're "popular now" or aren't causing harm in the now doesn't mean that will hold true 10 years from now, keeping in mind that "the internet never forgets".
InstantSearch.js v2: abstracting Algolia's API into connectors
I assume you were replacing the timining belts on schedule. Given the near legendary reliability of the Honda Accord it makes me wonder if there's something about the way you drive.

Even so, 200,000 miles is not too shabby. I don't think we have useful data on electric vehicles with that kind of mileage.
I don’t want your ‘exclusively for women’ support groups

I want inclusivity, not exclusivity.

You’re victimising me when you do that. You’re indicating that it’s most likely I need special, extra support. Just because I’m female.

You’re also indicating that “this is a women’s problem, best solved by women” but that deepens the divide, creating an “us” and a “them”. Just based on gender…

This is the core point for me. Indeed, the problem exists, and it needs to be solved by men, not women. Women generally are already doing the best they can - even the ones that want to not care and just go about their work - they feel obliged to write blog posts like this one.

We men must make the changes that make women feel more welcome at the workplace. One easy to way to start (courtesy of a friend of mine) is to go up to a female colleague and ask for 1 thing that can make the company more inclusive, then do that without judging.

(i suspect the same holds for other minorities in tech, but this thread is about gender)
This made me think about the lamp that shines for 100 years in a fire department somewhere. It even has a cam http://www.centennialbulb.org/

Now lamps have a limited lifespan because of the manufacturers, so they have more sales.

I think this was the article: http://spectrum.ieee.org/geek-life/history/the-great-lightbu...
TomTom, Baidu to collaborate on maps for computer-assisted driving
Importing data from Redshift into Clickhouse
If we could terraform a planet as barren as Mars, wouldn't fixing earth be significantly easier?
The loss associated with wireless charging is in addition to other losses, so this is 7% loss on top of whatever other losses are in the production, delivery and power conversion chain.

Given the sheer amount of power used by vehicles, I would prefer we minimize losses there. Wireless charging for tablets, smartphones and other devices is less of a concern.
I'm not sure of what effects you are talking about, but at home a reasonably probable 32 A 400V 10mm cable that is 8m long is about 99.75% efficient. I'm not sure about contacts but let's say it's at least 99%efficient in total.

Fast charging stations is probably worse though.
If you dare to even mention the role of Israel in that context the movie won't even see the light of day.

And now watch my comment quickly fade to white...
Good point. It would be fine with me to place the burden of disabling the behavior onto such scripts, though, if I never had to deal with again. Apparently Firefox actually implemented this, so presumably it did break some people's scripts. But for an established O/S, I guess this would be a huge deal.
OK, Gimme back my beer, it's done!

A Brainfk interpreter in pure Google Sheets formulas. I chose BF because of how cool and simple and powerful and turing complete it is and because I have a lot of practice implementing it (Just gave a talk at PyCon IL where I live coded one, https://www.slideshare.net/AurSaraf/virtual-machines-and-bra...).

Of course it would be at least as easy to implement any other virtual machine, you might not need the parentheses matcher which was the biggest challenge and I had to go through a few designs until it worked.
Kubernetes 1.7 released
I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
It's been a year since we did our last immigration AMA (https://news.ycombinator.com/item?id=11972135) and we thought it might be time to do another. I'll be here for a few hours to answer your questions about U.S. immigration.

As usual, there are countless possible topics and I'll be guided by whatever you're concerned with. Please remember that I can't provide legal advice on specific cases for obvious liability reasons because I won’t have access to all the facts. With all that's happened in the last year, it might make sense to discuss the changes, real and perceived, in immigration policy and practice now and in the future, such as, for example, an increase in site visits and a more restrictive approach to admissions and visa issuance. Please stick to a factual discussion in your questions and comments and I'll try to do the same in my answers! One thing I noticed, looking at some recent threads on HN, are some common misconceptions about the standards for extraordinary ability, in both the nonimmigrant (O-1) and green card context, so hopefully we can clear some of that up as well.
Privacy Labs | Bellevue, Wa | Onsite | Cloud Services Engineer

We are building a new product category that will define the future of consumer privacy and security. Our purpose is to help people be free, private and secure online. The last two major computing revolutions brought us desktops on every desk and a mobile phone in every pocket. We are on the verge of a new computing revolution – one that puts the user and their data first by decentralizing the net. Join us and help drive this exciting transformation.

We're looking for a software engineer that can take full ownership of our backend by implementing web services and supporting the operations of the service on AWS.

Apply online and see more details here: https://privacylabs.workable.com/j/F652E87B49
In the StackOverflow posting: "Note: this job is open to US Residents only. Foreign nationals can apply but only if you live within the US."
VW in particular has a pretty poor reputation for long term reliability (also see Consumer Reports et al). The stories I hear about American cars, by contrast, tend to be poor reliability soon after purchase (followed by solid long term reliability)
I don't know, but I did think the same thing, and that is why I uninstalled it.
Interesting questions, how much lying is the result of competition, economic paradigm or just chaos and human nature ?
>It has always disturbed me when a push for female developers is mentioned;

My initial reaction to hearing news like this is that more qualified candidates are going to be passed over in favor of more diverse candidates. This in turn can quickly turn into viewing minority candidates as diversity hires.

There is a lot of sexism, racism, and classism in our society. We need to hit it at the root where it occurs and realize that any other approach to correct it can end up being more costly. For example, many attempts to correct racism don't account for classism. This ends up creating resentment in class minorities who aren't racial minorities, which ends up perpetuating racism and creating groups who are opposed to the notion of social justice in general.
Customers also care about:

4) How quickly can you fix it?

5) How quickly can you deliver this feature?
Right. It's not really a binary problem. Perhaps something like the Windows Action Center, or whatever it's called, is really needed at O/S level to make non-stealing work best as the default.
A law requiring a particular material? Unless it’s health or safety related, no way. The last place I want to see government is regulating how a product must be constructed (unless it’s health or safety critical obviously.)

If you want a device without plastic screw holes, pay more money and find one or make one yourself, market it and sell it to other like-minded people.

If I have a toaster that breaks, the time it would take me to go to a repair shop is more valuable to me than the cost of a new toaster – not to mention the cost of the repair itself.

In China, you often do get smaller appliances repaired because the labor cost is so low. So it makes economic sense to get those kinds of items repaired.

But in France, if I want to get a microwave fixed, the item is either still under warranty or the depreciated value is less than the repair cost. Perhaps if government lowered taxes and relaxed the labor code, then repair shops could charge less and it would incentivize people to get repairs on smaller ticket items rather than buying replacements. But I certainly am not going to spend €65 getting a €150 microwave repaired when the microwave is already several years old. I migh spend €20 for that repair if I really liked the microwave.

I certainly wouldn’t be happy if I had to pay several hundred euros more for a microwave because of a law mandating the type of screw holes that must be used. The increase cost wouldn’t even be in materials as much as the buereaucratic cost of implementing such requirements.

Health and safety regulations – of course. Regulations because you’re unhappy with screw holes? Not a chance.
People don't just deal with nice high friction, level surfaces, without giant gaping holes.
A group of people developed the idea, then another different group bought the patents. It's the second group who sough investment with apparently no intent to deliver.
Canceled: Weekly <Project name redacted> Project Update

This was the title of an actual, not cancelled, meeting in Outlook.
The first graph linked below shows "hotness" as a function of time with upvotes held constant. The equations are above the linked section. Compounding this effect, there is a feedback loop where hotter elements are more likely to be seen and voted, which increases hotness logarithmically.

So no, the algorithm doesn't intentionally punish dense material. But it does happen incidentally.

https://medium.com/hacking-and-gonzo/how-reddit-ranking-algo...
Thanks. Fixed the typo.
> Studies are showing that more diverse teams have higher collective intelligence...

Yet the evidence provided for this claim regards preliminary findings of a singular study conducted six years ago.

> Is it a problem that of computer science degrees earned, only 28% are earned by women?

Again, the evidence provided for this claim is an article about an article about an infographic stating, "Among all students holding B.S. degrees in Computer Science...28% ARE WOMEN...though we recognize that this has decreased over the last 25 years, we are encouraged by the increases that are occurring." However, the source for these figures seems to emanate from this table:

https://nces.ed.gov/programs/digest/d12/tables/dt12_349.asp

Which illustrates, "Degrees in computer and information sciences conferred by degree-granting institutions, by level of degree and sex of student: 1970-71 through 2010-11." And shows that between 2010 and 2011 only 17% of bachelors degrees went to women while 28% of masters degrees went to women. So that contradicts the figure reported in the graphic as it seems they used the wrong degree type. Nevertheless, I was at least able to eventually source this figure even though it holds little bearing on discrimination.

> Or that the rate of women in computing has been steadily in decline since 1991?

I cannot even source this statistic and no evidence is provided. Although, it would seem to be contradictory given what's listed in the above report.

> Or that twice as many women quit the high tech industry as men?

Again, no evidence is provided for this conclusion. However, I do feel that I've previously read an article to this effect. Although, it was quite faulty in its conclusions and I believe I left a comment to that effect. So I cannot even speak to the veracity of this claim without doing a bunch more research.

> Assuming we can agree there is a problem...

Given what's above, we cannot.

> I’d say it’s something like this: the problem is, that the tech industry isn’t able to attract and retain enough women.

Well I'd say something like this: attempting to force equality over a volunteer workforce is unnecessary and meaningless. If women want to become a larger portion of the tech industry, they are free to get educated and work their way up just like everyone else. And if they encounter actual discrimination or harassment along the way, there are laws already in effect which can be readily enforced.
A Tour of Cloudflare’s Cool New London Office
Thanks, for your comment. I do agree that "best practices" isn't the best word. I probably should have said, "Hive common practices". Most developers have understanding of the process but just have a different taste and styles, we just tried to make things more consistent. We thought having such a document is better than not having it, and even if a developer doesn't understand the practices being followed this document brings an opportunity to learn them. I know it's not perfect and looks abit random, that's why we made it public to get some feedback.
No, you're wrong. People don't roll their eyes because "people know". If you think people generally agree with this view you might be out of touch. So in this respect, I am a bit special ;-)
Not dead - you can speak your mind - just you pay a social price to do so. Free speech, even in the most libertarian concept I have doesn't prevent other people's right to criticize your speech - in fact, I'd say it encourages just that. Speak out against stuff you don't like rather than censoring it.

Ultimately it's an effect of large, diverse communities and deep political divisions.

If you want to have political discussions in such public places without suffering a reputation hit, the only way to do so is under a pseudonym - and you're free to do that on many sites.
> It would be better to read the resume without the gender clues. (Names removed, sorority and fraternity info removed, women organization removed etc) But without that I think we make it explicit just so we have a shot at examining the things we don't make explicit.

> That is the theory, anyway.

Recent studies[1] contradict your theory.

1. http://www.abc.net.au/news/2017-06-30/bilnd-recruitment-tria...
lol. the photo ruined imagination...
Do you work at Pornhub?
No, I genuinely don't understand why people hate switch statements :) Like I said in the post, a switch statement is a construct designed to implement if/else logic on the value of a single field, and since we usually want to do work based on the value of `action.type`, a switch statement is the obvious choice.

Now, I personally tend to use a function map utility in my own Redux code, but there's definitely nothing _wrong_ with switch statements, and I don't get the vehement complaints about them.
I recently watched an answer on this by Steven Pinker as to why this "re-segregation" is happening. He basically says that legitimate movements don't stop as soon as they've reached their goal and at that point, they start to become regressive. Interestingly he provides an example that hasn't to do with any ism: child protection.

https://www.youtube.com/watch?v=mFnP5UUXuTk
The amount of data Windows reports by default is well covered. Chrome has a built in spell checking service - which happens to send keystrokes up to Google. AFAIK it's enabled by default.
Array Data Structures in Python
Awesome! I originally wanted to use only cell formulas to do this but couldn't figure out how to modify cell contents from other cells. Can't wait to see what you put together.
I use the free version. I would use the premium version if it was like 5-10 a month. But if I want to pay monthly it's 30 and that's a bit too expensive for my liking.
Generation Kill is unwatchable, in the sense that you'd rather see the characters die at the hands of Freddy Kruger or Jason Voorhees, than bother to care about, oh, i dunno, a plot line or whether it's based on real journalism?

Same goes for The Hurt Locker, among others. So many, are simple emotional pandering, set against a dubious backdrop, without dealing with the premise of the backdrop. American Sniper simply feels like an effort to influence, even with Clint Eastwood's involvement (or perhaps even more so, with it).

Live from Baghdad is a shade too early, and the wrong Iraq war, but captures the joke-like atmosphere of the post-hoc rationale for even going to war in the region.

Similar era war movie, but different conflict, is Restrepo, which is a documentary. And, unfortunately, maybe it's accurate enough to be completely unflattering. No one appearing on screen is particularly charismatic or inspiring, and so too the story it tells is uneventful, no surprises.

But these jingoistic movies suck because very nearly all movies in general mostly suck. Everything seems like long-form, substance-lacking music videos, or student exercises in cinematography and digital effects editing. Oh well. Keep waiting for any good movie, but don't hold your breath. They are few and far between, since the advent of digital production techniques.

It's just how things are now. Now that all footage makes it make it past the film-developer-chemical bath, it's easy to undo, and selectively retry. It's too easy to make a movie, so it's very easy to make meaningless movies.
Cool to see a post about this sort of thing! I came up with a similar pattern a while ago (using Flow instead of TypeScript) for a lambda calculus evaluator. I ended up using a code generation approach so I define my datatypes in one file and the `match` method and `Matcher` interface are generated for me.

Here's where I define the five cases for a lambda calculus expression undergoing evaluation:

https://github.com/alangpierce/LambdaCalculusPlayground/blob...

Here are the autogenerated types for those cases (there's other code to make it work at runtime):

https://github.com/alangpierce/LambdaCalculusPlayground/blob...

And here's a simple example of using it:

https://github.com/alangpierce/LambdaCalculusPlayground/blob...
How does that work? Computers would be sold without operating systems? Good luck pitching that idea.
It kinda makes me thing of the "Millennials Don't Exist" talk by Adam Conover. He talks about how generational terms are just made up by authors who want to get rich and they're almost always condescending (those entitled baby boomers, those lazy millennials, those gen x-ers) and how people don't liked to be talked down to:

https://www.youtube.com/watch?v=-HFwok9SlQQ&t=12s

Are millennials attached do their cellphones? Yes .. so are mothers, fathers, grandparents and some dogs. It's literally the most compact and powerful communication and computational device we've ever had. When you break down all the labels, all you really have is people. Talk to them like people.
If you're copy-and-pasting source code into your project, you can ignore all warnings on a per-file basis (See https://stackoverflow.com/a/6921972/1176156).

And if you're using a package manager like Cocoapods, it shouldn't be a problem.

Edit: Wait I just re-read your post again and you are using Cocoapods. Can you not just turn on "treat warnings as errors" to YES for your main project, but leave it off for your main project? Or just add `inhibit_all_warnings!` to the top of your Podfile, like on this example file: https://guides.cocoapods.org/syntax/podfile.html
Amazon is the marketplace to sell on until Jeff's guys decide to compete with you and push you away from the market
Are people of Indian origin eligible for the the EB-5 Visa?

Can two co-founders petition for each other's O-1 application?
That's definitely not always true and probably not in the majority case either. Please don't escalate a discussion like this straight into political battle—we want interesting, thoughtful conversation here and the two aren't compatible.

We detached this comment from https://news.ycombinator.com/item?id=14702833 and marked it off-topic.
Saqib from Microsoft is blind and demoed using Visual Studio at Build this year

https://m.youtube.com/watch?v=iWXebEeGwn0
I would say that if you've done any work in a productive direction, you've achieved something that day and can feel ok reporting your work in progress. Not all tasks may be able to be finished in a day, but you can make incremental progress on anything, even if it's only to find out a particular approach is infeasible.
i've replaced bad caps in many home electronics, its kind of amazing how often you can look at a board and know the capacitor is hosed just by looking at it.
eBay is developing a pretty good Seller Hub