skysight-inc/HackerNews huggingface dataset:
>Then let's get rid of the with semantics too, because they add magic.

With just runs the enter and exit method of a context manager. Nothing magical about it.

>My point was the "Explicit is better than implicit" means "be clear of your intent". And if I see someone using the attr module (which comes with the standard library), and I'm not familiar with it, I'll read into it.

You don't have to read into 'with' to make an intelligent guess at what the code does. It's meaningful even if you've never heard of context managers.

Unlike this.
I agree, especially since there is no guarantee that the employees are being paid more than the lower bound.
I think leftist and SJW are not necessarily considered derogatory by those who identify as those things.
Umm, it's hypothesized that it can be done.

It's not like we "know" it can be done, but the politicians won't let us.
I'm not sure it's universal, though. It's strongly targeted. It's universal on paper, but not in practice.

I got pulled over last night, for a broken headlight. I got a warning. A couple of months ago, someone was shot by the police in my community after getting pulled over for a broken taillight. Uneven enforcement, for sure.
Fair enough, but then the question becomes did RVG play that same role? My understanding is he didn't, that he focused solely on the recording process and was a 'hired gun' so to speak. Is that not the case?
Source (with context)?
When it comes to security/TLS, robustness in the sense of "In doubt accept things and not error" is not what you want. Seriously.
It's not very re-assuring for users of DigitalOcean to know that issues like this can put our domains at risk to "idiots". I don't care whether the guy was malicious or a nice guy or what. I care that a system I may be trusting my domain name to is trivially exploitable like this.
The intent of the OP was derogatory. Doesn't matter what the recipient thinks.
Aha, I'd completely forgotten that had come via a scandir issue, sorry! Fixed here: https://github.com/benhoyt/benhoyt.github.com/commit/0c156b9... (let me know your name if you want to be called out by name).
> That’s largely because index funds trade so much less often than active managers. On a typical day, only 5% to 10% of total trading volume comes from index funds, says a Vanguard spokesman.

I'm surprised the author omitted it, but can anyone comment whether this is different for robo investors (Wealthfront, Betterment) vs a traditional index fund like Vanguard?
Wasn't it last year that the presumed count of red dwarf stars in the universe had to be corrected to a much larger number than previously thought?[0]

If we can be wildly wrong about the number of red dwarfs couldn't we just as well be wrong about the number of brown dwarfs, rogue planets and other massive but dim/dark objects in the universe?

edit: Last year? More like 6 years ago. I feel old now.
[0]https://www.cfa.harvard.edu/news/2010-26
That's a great point. I've always bought VTSMX, on the assumption that it's as close to "total US market" as one can get. Is anyone aware of downsides of VTSMX (excluding downsides of indexing in general)
>Bonus points if they're their own domains.

If the service doesn't understand the issue at all, then when you explain that they're your domains, then they'll probably just tell you it's working as intended and that users should be able to add their own domains.
Exactly, I was unsure what to make of this story. While being demanding of exceptional performance may pay off in the short term, I've seen many environments where this creates a moral problem in the longer term - typically leading to staff turnover.
Now if we can only get tabs to suspend themselves to free up RAM. Safari is awesome to work with, for the first hour.
Hash table realization seems to be harmful with the "no collisions" assumption. That's like writing a red black tree and assuming that insert/delete operations will keep tree balanced so we don't need rotations.
Just a guess. Ionized plasma has charges that attract or repulse air particles. Attracting air particles would make them hugging the surface more.
Elephant in Cairo
> Fighting those things "creates" more evil by criminalizing productive members of society and fostering black markets (according to you).

Supply-side vs demand-side. Your approach is fighting these things by restricting the supply. I think the right approach is tacking the mental-health and poverty issues that are present with almost all of these behaviours instead and reduce demand.

The problem with restricting the supply of a vice is that the same people will just find another "high", another way to self-medicate, another outlet for their unhappiness. The root cause remains. Just look at shit like krokodil[1]. Even though it has extreme physical side-effects, a junkie will still use it if they're desperate enough. There are not enough cops in the world to enforce a ban on everything that can get you high. The collateral damage of trying is enormous.

[1] https://en.wikipedia.org/wiki/Desomorphine
Have data; find paper.
There's also the effect where, say, an S&P 500 Index Fund is replicating the index not by purely buying each individual component but by replicating the return of the constituent sectors of the index. In this way, it is possible(likely maybe even, since traditional finance companies have such a high market cap) that an index fund could have been tracking the index by buying major constituents like banks and completely neglecting REITs, and been ok. Now that they are in a separate sector that is not possible to do, even considering market-cap weighting, so some money will necessarily be re-balanced into the REITs and away from other sectors.
The Next Economic Megatrend Is the Shrinking Cost of Distance
This is good insight. There's one additional thing I might add. I think there was an ownership issue at stake as well, the FSF always has felt like they should own the full OS. This implies that GNU is missing a kernel. But, as you state eloquently, Linux filled the gap without pretense.

It attracted people to the project, just because it was fun and wasn't trying to initially displace anything in particular. I find it interesting that the FSF still wants to own the entire stack, given the movement that they started with the GPL.

GNU got a kernel, it's Linux.
It is. The 9/11 attacks were surely a horrific atrocity. The al-shifa bombing too. It destroyed much of the production of essential drugs for livestock and malaria in a country already on the brink. Werner Daum thinks "at least" tens of thousands of people died as a consequence.
Sorry, I misunderstood, when you asked parent if they knew the history of the passage of drug laws, I assumed this meant that you did.
It's also worth mentioning the unmentionable[1]: the authors childhood was in a much more culturally homogenous environment.

[1] https://books.google.com/books/about/E_Pluribus_Unum.html?id...
It's interesting to find larger underlying principles of these systems.

I wonder if anything could be said about leadership... I don't want to delve too deep into politics, but there are many people who think running a country/city is like running a company and that electing a leader with business skills would be a boon for the country. However if these systems have fundamentally different underlying behaviors, maybe it wouldn't necessarily work the same...
A way we can benefit from adding communication features in apps
I'm actually very impressed by the Chevy Volt.
I'm a fan of qmake for my projects, even the ones that don't use Qt.

Are there any other make systems that have Project Mode like qmake does?
> NSA discovering and stockpiling vulnerabilities shouldn't impact other organizations discovering and then disclosing vulnerabilities.

I absolutely agree
Small differences in IO are usually simple to deal with, and quite common between other lisps, such as Scheme, and picolisp.
Amazon is testing a 30-hour workweek
What you do in your own private office is your own business. No one cares. What the rest of us care about is what goes on in the classroom. I think you're missing the point completely by arguing for something that no one else here is talking about.
GopherCon 2016: Ivan Danyliuk – Visualizing Concurrency in Go
The system doesn't need to be simplified quite that far before going to ridiculous.

Statutory rape and/or child abuse has a victim that is identifiable and distinct from the offender. The presumed harm done to the victim (and the class represented by the victim) goes so far beyond available civil remedies that the state pursues additional criminal punishment both to dissuade others from doing similar things, and to dissuade vigilantism and other extralegal retribution. We have a malum in se crime, an evil in itself. For such crimes, the state may put you in jail not just to make an example and to keep you from re-offending, but also to keep the minor's family from putting you into an unmarked shallow grave, at 2 AM during a new moon, with a strong false alibi.

The person who possesses, uses, or trades contraband offends only the state, which in a republic is not embodied in an individual, nor entirely distinct from the offender. Thus drug prohibition is a malum prohibitum crime, an evil just because someone said so. For the most part, no one cares if you smoke weed or not, unless you show up to work too stoned to do your own job, and then they only care because they might have to do some of your job in addition to their own. If you throw the offender in prison, that's a shame, because that guy is now doing 0% of their work, and their co-workers are now picking up 100% of the slack, until a replacement can be hired. If you don't go to prison, and don't miss work, the only ones you really harm are Philip Morris, RJ Reynolds, Jack Daniels, and Jim Beam, because the money you spend on weed cannot also be spent on tobacco and booze, and that is merely the sting from additional competition.
Browse Elasticsearch like a filesystem
Horrible, infantile practices that somehow became "best practices"
For anybody that has worked at Amazon in the past (including me), just the title itself feels amusing and full of irony.
"Yet Mr. Fraser-Jenkins has a point. Index funds don’t set prices; they only accept the prices that active investors have already set. If everyone owned index funds, he says, “no one would be doing” the job of figuring out what securities are worth."

The situation described is clearly not a Nash equilibrium. If you have special, accurate information on the price of a security, then you're going to act on it. Why would no one be doing the work of pricing something if it's profitable? Sounds like actively managed mutual funds are getting antsy because people are starting to realize that they're getting screwed not going with index funds.
In the US they tried to make alcohol illegal for the same reason heroin and cocaine are illegal.

Tobacco and caffeine don't cause the same sorts of problem. Nobody is going to break into your house while you're at work because they can't afford smokes. Smokers and coffee drinkers can hold down jobs and they don't OD at age 22, leaving behind kids the community has to take care of.
Email from Max Levchin: The next great immigrant inventor
> Plus everyone knows the S&P is a terrible benchmark because it excludes mid- and small-cap cos.

Such a terrible fund that it is what almost everyone bases their performance off of.
1	Infosys	33,289	$79,201
2	Tata Consultancy Services	16,553	$69,648

If this is really a lottery, how the hell do they end up with this many?

Is the lottery random per applicant and they just submit 100s of 1000s of applications?
>What will we do if an Islamist regime, which grows dewy-eyed at the mere mention of paradise, ever acquires long-range nuclear weaponry? If history is any guide, we will not be sure about where the offending warheads are or what their state of readiness is, and so we will be unable to rely on targeted, conventional weapons to destroy them. In such a situation, the only thing likely to ensure our survival may be a nuclear first strike of our own. Needless to say, this would be an unthinkable crime—as it would kill tens of millions of innocent civilians in a single day—but it may be the only course of action available to us, given what Islamists believe.

https://en.m.wikiquote.org/wiki/The_End_of_Faith

https://www.youtube.com/watch?v=z7T7barZEeU&app=desktop
And Germany looked the other way for NSA surveillance for years...
Of course not taking your phone is a visible data footprint if you're detected in other ways. Secrecy is a pretty hard problem now.
What if I told you your choice to support "The War on Drugs" has caused rising violence in poor neighbourhoods, contributed to millions of people being stuck in a cycle of poverty, and helped erode the basic constitutional rights of an entire nation.

Oh, sorry, you were talking about collateral damage caused by people you don't like! My bad.
Spotify still has incredible mindshare, but exit via acquisition seems more likely if VC monies can't be recouped by market dominance.

Just imagine if Amazon or Microsoft bought Spotify... instant marketshare tied in with a larger ecosystem.
Free API to detect unsafe images (adult, porn, NSFW)
Right, exactly! The one thing Nextdoor taught me is that people are truly just as awful as you could imagine. I have lived in nice neighborhoods -- as I imagine a fair amount of HN readers do -- and the blase of outright totally racist posts just... Well, it was just shocking, and I have to say that I'm not shocked by very many things. That some people know that they're posting to their physical neighbors and still saying the things they say... It's almost like they live on another planet altogether. Now, another very weird thing is that I've moved into a new neighborhood literally down the street from my old one, and I was equally shocked to learn that this particular neighborhood is totally reasonable, and I haven't even seen a single racist hate-post.

Nextdoor definitely exposed me to the racist, backwards reality of living among old, wealthy, scared, white people.
Almost half the NSA is military. TAO - ROC Operators in particular are most definitely staffed heavy with military due to laws of war.
Source code (C#) at http://www.itu.dk/people/sestoft/corecalc/. Doesn't look actively maintained ("A dump of the Funcalc 0.14.0.0 source code as of 27 September 2014, as a Visual Studio 2012 solution. Binaries and examples are in SDFCalc/CoreCalc/bin/Release/. You will need NET 4.5 or later to run Funcalc.exe. When I find the time, I will further clean up the source code, add more method documentation, and move the source to Github to facilitate sharing and branching.")
My first reaction to this was to question are they doing this so they then can say people are part time and not pay healthcare benefits. Yet upon further investigation anyone who works an average of 30 hours or more a week is considered full time.

http://www.law.cornell.edu/uscode/text/26/4980H
MRuby Scaffoldng Tool
There's already a visa deal for foreign investors, the EB-5 visa. You have to invest at least $1M ($0.5M if you're willing to invest in a bad area of the US) and create 10 jobs.

That's why downtown Palo Alto has all those rug stores.
While it doesn't mention monad, for comprehensions are first-class support for them. Whether or not you can get over the use of the word. What else are you going to call F[_], bind, and point???
Ha, nah... that wasn't the idea of mentioning it. Probably shouldn't have...

Thanks again for all your efforts.
>To someone who uses Python every day, the extra cognitive load of `attr` is more than made up for by all the boilerplate it eliminates.

That's funny because the first thought I had when reading this was "this does not eliminate nearly enough boilerplate to justify using that much magic".

>But for beginners, behind-the-scenes magic is a real turn off.

It's a turn off for beginners and experts but a turn on for intermediates.
If I read it correctly, you could have 50 H1Bs at $50K and pay one at $200K, put a salary range down with it being truthful, and this survey would put the salary at $125K. I wonder if a FOIA request is possible?

Says quite a lot when 8 of the top 10 are body shops (with many debates about IBM being possible these days).
Date Driven AWS Security (Groups) Using VPC Flow Logs and AWS Config
I'm only aware of the test conducted in Brazil, which had a claimed 80% reduction rate:

Oxitec, which is owned by Maryland-based Intrexon Corporation, tested its mosquitoes in the small Brazilian city of Piracicaba and said the reduced the number of mosquito larvae by 80 percent in one area.
From what I've read, his politics are extremely well cited, and he appears to have facts on hand to support all the claims he makes.
What about SCM, T, Larceny, Bigloo, Gambit, Chicken, Guile, and Racket? All were open source before Chez. T, in particular, while no longer active, was at the time a pioneer of fast and effective scheme compilation.
Wonder how long it will take SDRs to be recognized as similar tools.
OP, great site. Curious whether you've already been approved by the amazon affiliate program. (For others not in the know, amazon will only approve your site once you've completed your first sale.)

I ask because I was recently rejected for my application (http://addonbuddy.com/). Their reason was "lack of original content." Here's part of the message I received:

"A part of our criteria is that your site has to be established with enough unique content. We rejected your application due to one or more of the following reasons.
- Lack of content which is original to your site and beneficial to your visitors
- Pages that are mainly empty when advertisement content is removed"

I like your site and think it offers a lot of value, but Amazon's affiliate program seems to favor blogs that have a lot of content. They can also be real sticklers about including certain text in your website indicating that you're part of the affiliate program.
I replied to the user who introduced the flamewar topic (at https://news.ycombinator.com/item?id=12367869), but meant the point to apply to the entire subthread.
I get the impression you think I'm a motorist. If do, why do you think that?
How about something like that for people with Masters/PhDs (in STEM) from top-50 schools in the world.

If the idea is to attract entrepreneurs, what would be the point? There are already plenty of options for people on traditional career paths -- and that's what an advanced degree from a top university is fundamentally all about these days. (Just ask Chinese parents.)
The 5 year performance of VTI (the ETF version of that mutual fund) and SPY is .44% in favor of VTI. There is a better dividend yield on SPY though so you would have been better off there. Large companies dominate so adding in small caps doesn't really change things a ton. The two funds haven't diverged in a meaningful way in a very long time.
Typically, borrow the money to buy the company, then transfer the debt onto that company's own balance sheet, meaning they have taken control of a company effectively for $0.

Then the asset stripping begins.
Yep, I mentioned below that using JSON as a serialization format is fine but you still need to specify a schema and understand what happens when you read data written by newer/older code.
Mathmatically compatible with GR (which is known to be incomplete) doesn't mean possible in reality, in fact, read your own source, it makes that clear..

> Although the metric proposed by Alcubierre is mathematically valid (in that the proposal is consistent with the Einstein field equations), it may not be physically meaningful, in which case a drive will not be possible.

That drive is nothing more than speculative science fiction.
Who are the hackers who cracked the iPhone?
Thanks! (and thanks for not pointing out that I should have thought to check the alt text).
No one has ever overdosed on marijuana.
Krokodil is essentially just a shitty home recipe for turning codeine into desomorphine. If one did it properly, and filtered out impurities and solvents, the desomorphine would be fine to use/sell in stores. It's not the active drug that's dangerous, it's the contaminants left over from uneducated people making it in the slums of Russia that are dangerous.
It's worth noting that granting parole seems to be entirely at the USCIS's discretion:

"Under this proposed rule, DHS may parole, on a case-by-case basis, eligible entrepreneurs of startup enterprises"

I think this is different from visas where the applicants/petitioners have at least some legal rights: The USCIS are probably aware that some people are gaming the current visa system, but they may be "forced" to approve visa petitions if all the criteria are met - even in cases where they're obviously not in "the spirit of the law".

The USCIS can likely just refuse to give parole under the new rule if they think someone is abusing the system - and blacklist any startup investors they believe is aiding in such behavior.

You prediction may be right, but I think there's reason to be optimistic. The rule can also be changed more easily than laws if abuse is detected while providing valuable data that can guide future startup visa legislation.
As always when articles like this come up, I want to issue the usual reminder to HN to beware of what pg called "submarine stories" (http://paulgraham.com/submarine.html). There are a lot of people who stand to lose a lot of money in fees if "just park it in index funds" becomes more popular advice than it is already. Not to say the analysis above is wrong, but just keep in mind (especially at the WSJ) that it may not be coming from sources with your best interest in mind.
> Well, how have we avoided it? We've avoided it by innovation

Depends what period you look at and what extent of collapse you're looking at.

Look at the history of civilization and it seems to be a series of growths and collapses. After a collapse a formerly backward region will spring ahead.

So have we avoided it, or are we just delaying it? We seem to be generating some global scale problems from that industrialisation and innovation (plastics, oil, environment and so on). Can we innovate our way out of those fast enough and on a large enough scale? Perhaps the next crash just gets to be harder as a result.
Robo-investors offer you a portfolio of funds (could be a mix of mutual and index) run by companies like Vanguard.
It's more localized, but we've seen similar things before at a larger scale, e.g. the bullet cluster.

https://en.wikipedia.org/wiki/Bullet_Cluster
look to ones_and_zeros's reply
> If you have a path to a green card then 5 years is a pretty solid amount of time for most places (not india/china).

Agreed. However, since you can't self-petition in most cases, it is unclear if you have a path or not.
Why prisons continue to grow, even when crime declines
Кот Бимбер
> other months went to 30 or 31 already, so there was room for it in calendars and people never assumed months are always the same length

I really don't think this has much to do with it. It would predict no problems trying to add a November 31 to some year; I tend to make the opposite prediction.
I can attest to this. Every time I enter on AP I get sent to secondary. Last time I had good experience though. I was cleared within 10 mins.
rkt can run any docker image built by a Dockerfile: https://coreos.com/rkt/docs/latest/running-docker-images.htm...

I agree that we need a better ecosystem of build tools and that is something we are looking to help build out. But, with rkt what we are trying to do is build an excellent runtime; and think the build side is an important and orthogonal problem.
Mobile ad startup AppLovin in talks for $1.5B acquisition