skysight-inc/HackerNews huggingface dataset:
Survivor bias is ignoring the invisible failures in your correlation analysis. What we have in regards to health research is the opposite. Every single study I heard about is about (preventing) causes of death.

What you're saying is, essentially, that this guy's age should be ignored because his longevity is due to luck. But I haven't seen anything that rules out other possibilities.
> $5 buying you about 500 ad blocks.

So that's what, 100 web pages? I could easily hit that in a couple of days.
This is a nice article.

I think it took me three years to understand what a variable was.
And I still don't know why it took me so long to understand and why I suddenly understood it.

It's not that I didn't know that assigning '1' to 'a' would result in 'a' having a value of '1', but I didn't understand the concept and workings behind it. I just thought it was magic.
> An obvious one, getting an explanation from the vendor / upstream before we proceed to any decision.

I'd already addressed that. In fact you quoted it when you posted your condescending reply. An explanation is worthless if the code cannot be reviewed. Such a feature should either be opt-in and/or open source.

I couldn't care less what explanation Google give, I just don't want this built into my browser.

> It's normal to have a collection of patches in the package file / port.

It is, but then you're relying on your package maintainers to patch Chromium (or compile the software yourself). Thus personally I think it's easier just to use another browser which doesn't need to be patched to remove an unwanted feature.
That is very much not true. I don't think there are too many areas that are dangerous in the same sense as most cities, but there are many situations where being alone and the wrong race is not safe.

Crime is low enough that any sort of competent police work might be able to deal with it, but by and large the police don't do anything.
>> As an aside tracking cars is being done now for collections and repossession industry. Right now its done by scanning parking lots or places of high density and comparing to databases of records.

The DMV records are not supposed to be available to anyone but the police. The ability to abuse that for crime is huge.
Uber Drivers Deemed Employees by California Labor Commission
I'd much rather own/operate a business in an At Will environment. If someone isn't performing, you don't have to worry about tens of thousands of dollars (or more) in legal fees to defend your decision to get rid of them. Add to that all of the lost productivity and taxes paid funding a position for someone who is wholly incapable and then having to create a year-long paper trail to back up a decision you came to as little as a month into their employment.

That is time and money that could have gone towards hiring high-skill, productive people who actually WANT to work at your company and supporting expansion (e.g. new job creation).

Contrary to your statement, Knowledge Workers fare the same in At-Will situations as they do in others because of the high levels of job demand. The demand itself motivates employers to retain them (and if they don't want to incentivize their retention, there are thousands of other companies that will).

I'm speaking, of course, as an employer who has offices in both At-Will and other states in the U.S.
http://www.microsoft.com/microsoft-surface-hub/en-us

from Jefferson Han, of Perceptive Pixel and talk from 2006 (yes before the iPhone)

http://www.ted.com/talks/jeff_han_demos_his_breakthrough_tou...
Golden Circle – How to motivate your team
They've still got nothing to hide. That they have something to hide is in your mind, not in theirs.
Curing Genetic Defects will be the first use starting with Children. OR they will have a gene that cures Diabetes which will cause a major change in millions of lives. I still think of CRISPER as the new graphine though. Awesome discovery with promise around the corner for years and years.
Is reality invented or discovered? Is math invented or discovered? Was automata theory invented or discovered? OK well then is the quicksort algorithm invented or discovered? Is LISP invented or discovered? Is my code invented or discovered?
I thought the discovery of the quantity of distinct populations (~5k currently) and densities (relatively even) of upper-ocean viruses was perhaps an under-rated discovery that could lead to more advanced understanding of both the evolution of cellular organisms on earth and our current ecosystem. https://www.quantamagazine.org/20150521-ocean-viruses/
> I have written plenty of C# code that deals with exceptions, and it is a pain to do it correctly. Apart from null, it might very well be the biggest design mistake of the language.

In user code (as opposed to framework code), Typed Exceptions are overrated.

Let's take these two cases:

1. End-User: Doesn't care if the Exception is a ParseException or an InvalidVersionException. Exception("Invalid number") and Exception("Version should be higher") is just as good enough for a message. Basically, for the end-user, the app crashed and that's it.

2. Programmer: Will have to open the debugger or check the code anyway.

I get it that it's useful in some cases, when you wanna send back some structured data to the caller. But in the vast majority of cases, the plain Exception class and Stack Traces suffice.
Microsoft Shakes Up Its Leadership and Internal Structure
For many projects it is just a waste of time & money
Grexit would be the beginning of the end of the Eurozone.

Once you set the precedent that a country can leave the Eurozone there will be a day that things get tight and then Spain will leave or Italy will leave -- somebody who is big enough to bring the whole thing down. It might take 10 years or 30 years but it will be inevitable.

Also Grexit will sour Europeans on the idea of any expansion so there will be no possibility of the Euro zone pushing further east which would be a great counter against Russian aggression.
Have you looked at the implementations of classes in jQuery, Prototype, Mootools, Dojo, etc? I have. I've used thousands of lines of codes from these libraries and fixed numerous bugs in them.
( Note I'm referring to the 'bind' function specifically in the case of jQuery as it doesn't even provide an equivalent to Class.create(). That said, John Resig himself wrote an article about this and ported out the core of Prototype [ same as I have done ] http://ejohn.org/blog/simple-javascript-inheritance/ )

Using the prototype may be the way that things get copied from the base definition to an instance, but generally closures are what allow things to have the proper scope. Arguably the scope is far more important for using something like a class than the copying. Additionally, without closures there is no way to pass of anonymous function pointers calling back into the class.

If you think you are demonstrating that I have a lack of knowledge of how this shit works, you are mistaken. But by all means, continue disregarding my points and nitpicking details instead.

You will note that here on hacker news I don't really give a shit about my credibility; I care about providing the most accurate information I can to the benefit of others.

You haven't invalidated my statement about translators at all. ES5, ES6, etc are not cross-browser compatible. Using a translator to "make it work" doesn't count. If you wish to say that C++ is cross browser compatible too then fine, but it is obscuring the root issue that those features do not exist in all the browsers, nor even the whole set of them in any one browser. This is misinformation and will mislead developers.

My last paragraph is in reference to the fact that JS/Ecmascript have never truly been "fixed". It is just a constant hodgepodge of whatever vendors decides to add on to the language.
I guess to each their own then. I really just want the new syntax features, modules, classes, const,maybe template strings will be nice too. I work with async ES5 code all the time and I don't have many problems with async when using promises. I know promises are also coming with ES6, but almost everyone uses them today in ES5.
Very few companies operate only within one industry
Go is more high level and doesn't offer a similar level of control. Go is an obvious candidate that should be evaluated but it's not an obvious choice the same way that Rust is going to be and C is.
I'm not saying it's not possible, just that they stopped too early.

>>> times([])
TypeError: reduce() of empty sequence with no initial value

from functools import reduce
from operators import mul
def times(data):
return reduce(mul, data)

Proper neutral element:

>>> times = lambda l: reduce(mul, l,1)
>>> times([])
1
I think compartmentalization is good, but the fundamental question is one of who is in control.

I completely agree that interaction between apps is fundamental. It acts as a multiplier, such that the whole is much more than the sum of its parts. Poor facilities for inter-app interaction is why iOS is such a toy compared to other OSes. It's great for browsing the web and reading your e-mail and such, but it sucks for a lot of serious tasks because your stuff can't move easily.

But I don't think that interaction should necessarily be a free for all either. Ideally, it would all be gated and put under my control. Then I can ensure that things I want to do get done, and malware can't touch my stuff.

The trouble with Apple's approach isn't compartmentalization itself, but rather than Apple has decided that users are too stupid to make their own decisions, and so it is Apple who gets to decide which interactions are allowed.
Which the only globe people see on the computer is either the start of a strategy game or Google Earth.
Could it be that the reason you fear death less as you get older is because you have done more in your life?

Or maybe because you know that certain things, if not done by now will most likely not be done in your life, and so the burden of "things left to do" is lesser as well.

I still fear death in that, like I said, I have many more things to do in life, but I've also known older people, even older than you, that fear death as well for this very same reason so not sure if this would be a potential reason or not, but I find it interesting.

PS. Sorry to hear you are going through a bad time :/
> I'm sure Rust will get similar utilities with time.

Unlikely. Scala gets tracebacks for Try because the left arm stores a JVM Throwable, and throwables reify a stacktrace during initialisation.

For Rust, this would mean:

* Result's Err mandates an Error (currently has no trait bound at all)

* Errors must be able to store a traceback

* Error/Result requires rt in order to collect a stacktrace

* Rather than stack-allocating a struct or two, Err results now require significant heap allocation and data collection completely breaking existing usage patterns
Awesome idea, signed up. Looking forward to hear more!
Time Warner Sued for Violating Net Neutrality Rules/Holding Traffic for Ransom
To be good at something, you do not need to know things outside of the area. It might however be helpful if you need to go "outside the box". But to be an expert at the things in the box, you only have to know about the box ...

That said, before I started with Node.JS and understood it's "patterns" JavaScript was just some evil necessary to get things to work. But after learning the module patterns of Node.JS, JavaScript started to get fun!! And the more ppl that understands "modules", the more fun it gets! So go learn about modules and even try making your own!

I guess Node.JS is now part of the JavaScript box.
We had people refuse to sign after being acquired by IBM. They no longer work with us.
Free talk by mind-blowing speaker Mark Burgess: June 20, 5 P.M. Sunnyvale
Code is basically a dependency graph. Each piece of code depends on a number of other pieces of code. (Dead code is an isolated island in this dependency graph.)

You want two things out of that graph: less nodes, because less code is simpler, better, cheaper. And less edges, because understanding, modifying, or troubleshooting a piece of code requires knowing about its dependencies (hopefully, only the direct ones).

When the unit of organisation is the function, you kinda state that each function is a node, and the call graph are part of the edges (the call graph would cover everything in a purely functional settings, but side effect produces implicit dependencies). Trouble is, in any significant system, you're gonna have a lot of nodes and edges. How to make sense of that?

That's why we have module. When you look at your dependency graph, you will most certainly note that parts of your graph are denser than others. Those clusters are the natural modules. If you formalise that, and draw module boundaries around those clusters, you can now have a two-level view: inside a module, you have a small dependency graph, with a few outbound edges. Outside, you can visualise a coarser graph of module dependencies. Again, fewer nodes and edges, because you have grouped them.

Now the real benefits of module is, once you start drawing boundaries, you have an incentive to make small interfaces, to minimise inter-module dependencies. Additionally, visualising the module dependency graph directly helps you spot spooky dependencies that probably shouldn't be there. You can then cut some dependencies out, simplifying your graph in the process.

Without modules, I don't see how you would manage this kind of scale. Oh and by the way, some monstrosities are so big that they effectively requires a third level. But I've never worked on such beasts.
I do these kind of comparisons all the time myself (particularly distances) - I just tend to react that assertions that Europe is "small" which I think are based on the distribution of "interesting" bits within Europe and the US. In Europe a lot of the "interesting" bits cluster together in the middle with a lot of empty bits towards the edges - the US has the opposite layout with major attractions often being on the coasts and the middle getting relatively little attention.

[NB Note the sweeping generalisations - I know fine well that there is a lot of cool stuff in the "middle" of the USA as well as lots of fascinating stuff round the periphery of Europe - I'm from Scotland!]
I tried a few days of DDG fully aware that DDG can't read my mind. So I did my best giving it context but I gave up in anoyance over how much time I wasted trying to give it the correct context, while a !g just hit spot on.

I should probably have tried more but I guess I'm too pragmatic for my own good.
I meant the employer of the H1B needs to pay an additional tax.

> This mechanism is to reset to original intent of acquiring talent rather than cost-saving labor (as currently practiced).

completely agree - also looking at folks who come here to be educated getting work visas.
Nim doesn't have the same popularity. There aren't a lot of people that know the language, that makes hiring people that do difficult, it means there may be nobody at Github that does either and due to it's lack of popularity people will probably be less willing to learn it than Rust or Go.
Depends how you look at it. Being old, I grew up with a set of dietary guidelines before they were mostly reversed in the USA in 1970s and 1980s. Since then, most Americans have become obese. I have not.

What you're seeing now is the unraveling of a set of mistakes made in the 1970s and 1980s, and we're getting closer to what my English mother and grandmother thought.

Try reading up on John Yudkin vs Ancel Keys. Keys' 1970s "Seven Countries" study was bullshit. Yudkin was right, and was treated despicably.
Most VMs put most of the overhead of stack creation at where the error is created, so it usually works out fine (throw is expensive, everything else is cheap). Stack traces are usually dependent on whatever debug symbols are loaded, so in the CLR you'll get huge blank spaces if an exception propagates through some dynamically generated or even native code.

Just printing stack traces is a distraction though. The only thing that is required that on an exception, the entire stack above the the exception site can be inspected in the debugger.
How to understand wealth
I wonder if fibres are not quite very similar to the CSP (communicating sequential processes) paradigm of Go..
Google Will Pay You Up to $40,000 to Find Bugs in Android
You're right, the third article was very interesting. I'm tempted to buy the book just to learn more about this guy.

He comes across as a very ambitious guy and he seemingly has a plan (to use his children to get more "local" offspring)
The screenshots look surprisingly similar to something I am developing in quasi stealth mode. And much nicer.
I will not look at the functionality too closely.

Will have to hurry now...
Tickets = Actual Engineering Work
I can't figure out what hovers over West Africa :(

Edit (spoiler): it's actually in Asia :)
"Uber is said to have more than a million drivers using the platform across the globe."

If this ruling sticks, many of those drivers will no longer have a position.
The term "Right to Work" doesn't mean that employment contracts are required. Right to Work is a euphemistic term for "employees cannot be required to join a labor union." Totally different issue. Many states are both "At Will" and "Right to Work." All US states implement "At Will" employment but some states have exceptions to the rule.
A/B testing is just a bridge or crutch to help convince me I'm not "missing something" by ditching Google. How does !g work? I use Firefox+auto complete for most queries. Changing the search engine takes an additional step that doesn't fit into my learned workflow.
Because hailing drivers who will then stop in a street full of cars trying to drive somewhere is inherently disruptive and unsafe, at least most of the time. It's challenging with taxis too, but those at least are bright yellow with extra flashing lights on the roof, and theoretically some extra training or at least experience.

If you live in NYC you'll learn quickly that there are a lot of rules and regulations that are just necessary because of the sheer number of people here. Other closely analogous situations are the ruthlessness of parking enforcement, or the draconian laws about street vending, and so on.

People here do understand that the sort of laissez faire approach that would theoretically be more "free" for everyone is not necessarily feasible in a city this dense and interconnected.
As long as Err results are only created under exceptional circumstances, there should be no performance hit right? This is one significant reason why errors should get a path separate from normal return values, but that isn't the case in Rust (or monadic error handling in general, which doesn't really consider debugging).
I switched my default search to DDG and haven't thought twice about it.

It's maybe once every couple days that I have to use "!g" to get google results, for everything else DDG works excellently. Even the times when I have to use "!g", it's often a hint that I'm searching for an unpopular phrase, and find that if I rephrase my search results I get much better results out of both search engines.

I remember there was a story on HN once a few months back where a kind soul from DDG posted an email address that one could submit notes to wrt highlighting poor search results so that they could address them, I don't recall the email and haven't been able to find it. If this is still available with DDG could someone please re-post that email here? I would very much like to help improve the quality of DDG to make it better for everyone but I can't find anywhere to suggest improvements on their website.

Edit: I was able to find their Feedback page, but I much prefer email personally: https://duckduckgo.com/feedback
I have a "!tpb" search on my bookmarks for that moments when TPB changes domain.
LOVE IT! Such a great idea and execution.
Keep up the good work
Satya Nadella email to employees on aligning engineering to strategy
California Labor Commission Rules Uber's Drivers Are Employees
Of course the city caps the number of restaurants.

I have a sneaking suspicion that you live in a place that would not be accurately described as a "city" if you believe this.
I can vouch for this. A friend's doctor lost their license for helping his wife with an off protocol treatment (that worked!) and subsequently all of her symptoms returned.

It is a sad state of affairs when doctor's are restricted from making medical decisions in the best judgement of their patients because of uninvolved bureaucracy.
I've read Learn Python the Hard Way and the Head First Guide to Programming (which teaches programming through Python). While LPTHW does beat you with the stick of your own ignorance until you achieve enlightenment more neither of them assume anything more basic than the ability to think abstractly. The only way I can see of demanding less in the way of prerequisites is using a ~non-abstract programming language, maybe Scratch or Logo fit the bill?
I think hiveage acted professionally and remained polite to what, by all accounts, appears to be a bit of a dick with a chip on his shoulder: "Build your product the way I like or I am going to make your life as difficult as possible and give you bad PR"

We get the odd client like that. They get a lot less than 7 days...
Robotic Bar – Feasible?
Is anyone aware of a fully robotic bar? It seems to me that in the age of automation - why are we still relying on Bartenders to pour drinks? This produces variable drinks, longer wait times, overcrowding at the bar, and additional cost (tip) to the consumer. A bot could mix consistent drinks, at a high rate. Human labor would be used to monitor guests for overconsumption etc. Has anyone ever given though to this? I'm considering prototyping this out.
In the real world organizations are still stuck on Windows XP and especially in large organizations it can take months or even years until everyone is upgraded.

Windows 10 being free matters to users at home and small businesses, it doesn't matter to anyone else.
Stephen Elop and Mark Penn Leave Microsoft in Company Shake-Up
Encryption doesn't just protect your message in transit. It also positively identifies you as a sender.

This way, the feds not only get the contents of your searches, but they can positively prove that you are the one that initiated the search, so they can lock up "subversives" that much more easily.
On the contrary it usually gives me what I'm looking for even if the results are not exactly the same as google's. Sometimes I find that the customized search results and the insistence on prioritizing things I've searched for in the past can interfere with my ability to find what I'm looking for.
Oh, I agree. We would certainly rather negotiate / find a workaround than lose an employee. With that said, all I mean is it isn't required. I have seen companies not want to negotiate or find a workaround.

Honestly? Most employees just sign the damn thing. Including me, with the caveat that I posted in the above comment. It's easier than dealing with redlining a contract. 'patio11, below, seems to do something similar.
Any data on the 'purge scheme' desire ? I find it really really strange. Was it related to post-hire issues ? or student problems ?
I'm not suggesting `Err` stores a backtrace. I am suggesting that the programmer could choose to store a backtrace in the error objects they choose to store in an `Err`.

I don't do this in my Scala code because I rarely find I need a backtrace.

(I don't use `Try` for reasons described here: http://underscore.io/blog/posts/2015/02/23/designing-fail-fa...)
How We Got Our App Featured on Product Hunt and How You Can Do It Too
Somewhat interesting that Kai decided to include only the contiguous U.S., on a map about visualizing the true size of various land masses.

I poked around for a minute, and it turns out Alaska and Hawaii combine to have the same surface area as Spain, France, Italy, Germany, the U.K., Ireland, the Netherlands, and Belgium combined.