skysight-inc/HackerNews huggingface dataset:
mmapping doesn't solve the problem unless the file was edited in place (rather than overwritten as is commonly done). You'll just have an mmap on an inode that is no longer visible in the directory.
Also, I think it was only in the past few years that everybody finally accepted that North Korea has the bomb. As late as, what, 2013, we were still half-way convinced they were blowing up boxes of high-explosives to fool us. Even in 2016 some outlets were still hedging.

Now, maybe the intelligence community came around much earlier. But certainly Congress was still having trouble coming to terms with the reality. Why? Because it was just so difficult to believe (and still difficult to believe) that such a repressive society could achieve such a feat.

It is, admittedly, difficult to believe for me. But I understand part of that difficulty is because Westerner's believe that such feats aren't possible without a culture of individualism that unleashes individual initiative. Maybe such a culture is superior. But it clearly isn't necessary. And that should make us question much about what we think other countries are capable of, and when they'll be capable of it.
Sure people may say it was an over-reaction. People also said all the toxic things that in the past that you described as creating problems in the workplace...and had no problem with doing so.

In terms of HR's reaction, there are many jobs where what you said would be considered a defacto resignation by HR/management, aka "you'd be fired on the spot'. Fast food, ordinary retail, and similar corporatized service industries come to mind...i.e. jobs that actually really tend to suck and where workers are considered highly fungible and the relationship between management and workers is not collegial.
> imbellished

*embellished.

> untrue

We don't know whether the claims are true one way or another. What we do know for certain is that the claim has affected many people's careers and the financial success of a large company.

If these claims are proven true, punish those responsible. If they're not true, punish those who harmed the lives and reputation of others.
I'm with you on most of it... the one thing that seems really appealing is concepts and constraints. If for no other reason than to restore sanity to template error messages. Check out Bjarne's writeup about it for another nice perspective: https://isocpp.org/blog/2016/02/a-bit-of-background-for-conc...
Can we agree that trading at 93 times revenue should be the real headline here? While I find it insane, and others will disagree, it's the real talking point which ever side you sit on!
In short yes. Also UC Riverside.
I'm not sure if this is inherent in your #1, but there should be an increased focus on alternative methods for dealing with pain. For instance, since starting meditation training, I haven't needed so much as a single Ibuprofen. It's not that my incidence of pain has decreased, but my way of thinking about/reacting to that pain has changed dramatically and I can now make just about any pain quickly fade into the background. It's also helped me to clarify the difference between pain and injury to know when I can push through the pain and when I need to pull back and rest.

I learned an important lesson, however. Doctors will frequently use the amount of pain someone is experiencing as a diagnostic aid when determining a patient's diagnosis. I had a ruptured eardrum that I saw a doctor for and that doctor misdiagnosed it because I wasn't showing any signs of pain and that injury is supposed to be excruciating. The doctor explained to me that if it was ruptured, I'd be near tears and screaming for pain medication.
Do you think this is immoral?

I am genuinely curious as to what the arguments would be one way or another. People are taking a risk with these things and they know they're risky. So it's not really stealing.
The Switch broke Nintendo’s sales records
Pretty sure this is almost entirely due to the fact that the videos must contain closed captioning and other accessibility options, which are too expensive to add.

It's a tough spot to be in. On the one hand, it's great to make all the content accessible to handicapped folks, but on the other hand, is society better off not having this material at all or having it without accessibility?
"Bulldozer code" - gives the appearance of refactoring by breaking out chunks into subroutines, but that are impossible to reuse in another context (very high cohesion)
I wonder what it takes to make this legal--I've been to corporate events with free beer and perhaps wine where there's still a bartender, presumably for legal reasons.

It seems like there may be a reason robot bars first launched at sea.
What is accessibility?
How many accounts of harassment do you need to believe there's a problem, out of curiosity?

Nearly every woman in the industry has a story to tell, most say nothing. You'd know that if you'd bother to speak to any.
> those who were already feel uncomfortable about what they saw finally got the initiative to speak out...

Or those who saw a cash rich company desperately trying to stop an avalanche of bad publicity felt as though they had a chance to either make some money or get some publicity on the situation by piling on?

I doubt very much that any journalist right now would turn down a story bashing Uber, because they're an easy target and those hit pieces will get eyeballs.
I was helping someone edit a book, and that syntax checker came in very handy. There were indeed many false positives, but it provided a much smaller search space for my eyes than 'every word on every page'. (I did read every word, but the ones with the green lines under them got extra focus that was not going to be available for 200+ pages.)
There is nothing incorrect. It's just old technology. This is how things were, and full compatibility -- if you want it -- demands that you make things match. SNES and Genesis artwork was designed for the old hardware.

The monitors looked grey even without being plugged in.

To be clear, this is tube technology, which was widely used right up to the end of the last century. Screens were often thicker front-to-back than they were wide. They were really heavy too, with thick leaded glass (to stop X-rays) at the front and big copper magnet coils at the back. There was a fine-pitch metal grid inside the glass, and some phosphors printed on inside of the glass. That stuff wasn't black. In operation the situation got slightly worse, from stray electrons probably, but fundamentally the displays just couldn't ever be black. It's the same as printing on brown paper: don't blame the settings of the printer when you don't get any white.
Taking power away from capital to give to individuals is currently positioned as un-patriotic in the US (e.g. pandabear187 above's beleif that regulation of data brokers will lead to fascism or communism, even though he goes to great lengths to protect his own information).
Maybe. There is some upper-limit to the number of students the system can admit. Enrolling out-of-state students is a net gain if the they stay in California and are productive enough to outweigh the productivity of the in-state students they push out and the potentially lost productivity from those students' going to non-UC schools.
I don't think it is quite so bad. The fork/event loop/thread problems already get dealt with for a variety of other cases. It's handy when you can coordinate with the runtime itself and exploit the level of indirection that the rest of the runtime has.
You can't just fire someone on the spot, perhaps in Russia or China I'm guessing, but you have employee and human rights laws protecting you from things like that. You'd have to do some sort of criminal / sexual offence for that to occur and be legal.
Yes it is annoying. My guess is that there is some legal requirement to put through any call.
IMO there's no point in arguing about the relative importance of investors versus employees, because everyone should be in favor of more flexible equity terms.

The 90 day rule creates a lot of risk for employees who lack the capital for early exercise. If employees are rational and well-informed, they'll heavily discount the value of any options with a 90 day expiration. By offering more flexible terms (like Quora's), companies should be able to hire the same candidates while giving away less equity.

Granted, some employees don't ask about the equity terms in their offers, or don't carefully consider the risks. But I think this is improving, and eventually more flexible terms will become standard. I've personally declined a few offers based on the equity terms.
I got the same error when I searched python
I recently asked about the "unlimited vacation" policy and received a vague answer about "establishing expectations with your manager" and then was told they went with someone else.

I thought about if I should ask or not but I honestly don't understand how such a policy could be good for employees so I wanted an idea of the culture that allows it. If that question contributed to them not giving me an offer then good riddance so I don't regret asking.
Depends on a country. In Poland, if a company sends you money, once you spend it, they have no right to get it back. The reasoning being that you have a right to assume companies know what they are doing.

If a private person sends you money, you have to give it back.
Fun fact about autism: given current trends, by 2032 one in two Americans will be diagnosed as autistic (80% of all boys).

This observation was made by MIT Professor Stephanie Seneff:

http://weeksmd.com/2015/12/18170/

It's hard to agree which such a claim (exponentials typically become sigmoids, right?), but it is certainly interesting to think about.

> The risk for autism for a child born today is one in 25 at least. This is not a genetic disorder. This is an environmental disorder. I would go one step further: this is a manmade disorder.

A lot of sources suggest that autism is genetic. This explanation logically fails for the simple reason that such an exponential increase over the last 40 years is not possible for a genetic condition - it can't all have occurred at once. Are you telling me that autistic people, who are typically severely impaired in how they function in society, were able to breed and pass on a genetic condition at such a high rate in such a short time?

From 1975 to 2015, the autistic population has exploded in orders of magnitude from ~60,000 to ~6 million. Two percent of the population.

Perhaps it's all because of under-diagnosis of the past. Various types of mental retardation may now be classified as autism.

But was two percent of the population always a victim of some form of mental retardation?

This is somewhat of a silent epidemic (when's the last time you heard about it in the mainstream media?) and we need to figure out what's going on.
Does anyone know a good plugin that will provide faint vertical lines so I can see where the indents line up (as described below)?

Someone I know used something called Cream, which they said was Vim with a simplified GUI-based interface (I know; what's the point?). But it had one nice feature: If you indented a line, then Cream would draw an unobtrusive vertical line, extending down from the indent's left-most character (I forget how far the lines extended or what that logic was, but they went far enough to be useful). You could easily see how many tabs 'in' you were and line up a current line with one (not directly) above.
Corners in minesweeper always had the same chance as any other square to be a bad choice even the example in the main article shows a corner mine
First off, you're absolutely right that I don't know the poster's specific situation, and I should have done a much better job addressing the general case and not the specific person whose circumstances I know nothing about. Can't argue with that.

The thing is, everyone in the world has ties to other people and responsibilities, and they have to decide how to weight these different factors. It seems very clear that Uber is systematically mistreating and exploiting the people in its path. Software engineers as a group are in the best position to convince the company to change course, or to punish it if it does not change course. They have far, far more leverage per person than individual drivers or Uber customers, and they also are risking relatively little; they can reliably expect to find another job that pays six figures in a manner of months, right? I believe that people with that level of economic bargaining power and security are morally obligated to use that power for the benefit of others.

If the original poster had said "I don't want to risk leaving my family hungry," that's one thing. Instead they said they couldn't be expected to make any sacrifice unless someone else went to the trouble of getting them a better offer. The idea that the poster has no moral obligation to take action for the good of others unless it will also benefit them is absurd and repugnant to me. If the poster wants to admit they are not bothered by the allegations against Uber or don't care very much, then I will appreciate the honesty, but software engineers (in general) are not in a good position to blame morally suspect positions on necessity or survival.
/usr/bin/time: not the command you think you want
Run some numbers on outcome-based repayment -- nighthawking no longer makes sense for the hospitals.
I believe it is a crime, both in spirit and on paper. In spirit, you took something that was not yours and not meant for you, and by selling the coins you decreased the value of everyone else's. On paper, let's say that the developers behind whatever coin you hack decide that they are going to take no action. You still run afoul of countless computer security laws designed, however poorly, to protect people from hacking, so at least in the first world you could find yourself in a legal bind if your identity is ever discovered. Even if the devs don't go after you, the rest of the community may, or the government may of its own accord. Now, in keeping your identity private, you have to launder the money, putting you in violation of even more laws and ones that the government will most definitely care about. The biggest player left is probably the IRS, who will take all kinds of interest in either your newfound, undisclosed wealth, or your half million dollars in untraceable gambling wins. It's an extremely reckless move unless you are effectively a pirate living in some lawless part of the world with good connections to foreign banks.
> You seem to be intentionally ignoring that they don't need 290% type growth to reach FB's sales multiple rapidly

They need at least 290% growth to reach parity with Facebook on a PRG basis. This is a mathematical fact arising from their and Facebook's numbers and the definition of the PRG ratio.

There are four components to the PEG ratio: price (P), earnings and earnings growth rate [1]. For the PRG ratio, we amend this to price, revenues (R) and revenue growth rate (G), i.e. P / (R * G * 100). We can further expand G to revenues today (R0), revenues tomorrow (R') and the years between today and tomorrow (y) using the definition of compound annual growth rate [2]. We can thus derive a fuller expression of the PRG ratio [3].

Using Facebook's FYE 2015 numbers for R0 and FYE 2016 numbers for R', where R' = R since we're using a historical R', we find a PRG ratio of 0.266 [4]. We now seek to find under what conditions Snap can make a 0.266 PRG given its current valuation. R0 = R = $404 million (FYE 2016 revenues) since we're forecasting R'. P is set by the market.

All we have to play with are R' and y related by (R' / 404 million) ^ (1 / y) = 3.833. Solving for y given R'=$2.06bn yields 1.19 years. Going from $404 million to $2.06bn in 1.19 years means a 283% growth rate.

The math is unyielding. In one year, Snap needs $1.5bn (in 2 and 3 years $5.9bn and $23bn, respectively) to hold, at a minimum, parity with Facebook based on this metric. If they don't, their PRG ratio goes up or their valuation goes down. This is a fact based on definition, not an opinion.

Valuing unprofitable high-growth companies is hard. Your quibble may be with the metric. When Snap becomes profitable it will lend itself to the far more tolerant P/E and PEG ratios. Until then, they need to grow or devalue.

[1] http://www.investopedia.com/terms/p/pegratio.asp

[2] http://www.investopedia.com/terms/c/cagr.asp

[3] PRG Ratio = P / [100 * R * ((R' / R0) ^ (1 / y) - 1)]

[4] https://news.ycombinator.com/item?id=13807118
Hi,
How does this work with regards to build parallelism? For examples builds that make use of outside parallel services such as ElectricAccelerator or Incredibuild?
I wonder if they could go the next step and make it fall back on Mr Kim's compound --then he'd suspect one of two things, his own people were trying to get him or-- as adversary had critically compromised his systems. Both scenarios would be equally devastating for his goals.

Scuttling them at sea is nice and all --having them go up and straight back down would present the regime with quite a problem.
Have you had performance issues getting things to conform to functional paradigms?

For example i've found that as a pipeline gets optimized for production use it needs to preallocate all of its output space and then modify things in at each step (like a one hot encoder flipping a few bits in specific rows of a zeroed array instead of allocating new ones and copying them in).

I find it difficult to reconcile this sort of code with a "pure functions without side effects" philosophy and still have it perform an an acceptable level.
Don't "mine" gold, sell shovles.
https://github.com/Yggdroot/indentLine
Maybe they changed the policy since 1999? I don't remember lying about my age at the time, and they had my SSN. Plus my age never came up as a factor during my fight with them about the ban.
I think you're looking for [IndentLine](https://github.com/Yggdroot/indentLine)

I also use the following options in my vimrc:

" set indentline style
let g:indentLine_char = '│'
let g:indentLine_color_term = 66
let g:indentLine_color_gui = '#4f5b66'

" fix performance issue with long lines
let g:indentLine_faster = 1
For better or worse, large portions of society (especially those found in academia and cities) have decided that a level playing field is more important than having any playing field. So to answer your question: it no longer matters whether or not society would be better off. What matters is that everyone is equal and has equal opportunities. If people cannot be given equal opportunity, then the opportunity needs to be taken away from everyone.

I think that's the most tame and non-sarcastic way I can respond to your question. This sort of stuff makes me furious and it's only going to keep happening.
University of California Proposes 20% Cap on Nonresident Students
It's very simple when you realize they have everything to lose and little to gain by speaking up. I don't know how this isn't abundantly clear to anyone littering this thread with nonsense about evidence.
Well, Uber has been encouraging drivers to take out essentially subprime leases on cars through Uber, systematically misleading them about their earning potential (for which they settled with the FTC), and repeatedly changing the payment and incentive structure for drivers. Uber could offer a clear, consistent value proposition and advise drivers on how to make good financial decisions, such as taking the depreciation of their vehicles into account. As far as I'm aware they are taking no steps to look out for the best interests of their drivers. I see comparatively little public benefit in putting a random driver's poor economic decision under the microscope, as opposed to tackling the systemic exploitative behavior of a company that seeks to be the logistics and transportation backbone of the entire world.
Going further, government is controlled by politics and we are talking about a government institution.
It should have had, but never got, "contexts" so when your code is changing an object in one place, your other code doesn't see the changes unless you want it to. Ah well, people seem to have made it work anyway. :)

CouchDB is pretty close in principle but does a lot more stuff. For something closer to the original, I think you could do it PostgreSQL quite easily. But then you need a language layer...I think ECMAScript proxies might work. Hmm, I guess somebody should make an npm module!
For eCommerce sites – Allowing user to pin their address on map
I think on eCommerces sites it should be mandatory to allow user to pin their accurate delivery address on map. It would allow delivery boys to locate the address and then deliver the goods. It would definitely save lots of time and money.

I have also posted an article on Medium about the same - here is the link https://medium.com/@shabirgilkar/the-ecommerce-customer-experience-2c24a6c1e1cc#.9t0u23dk5

What do you think?
I got the same error searching after clicking the submission link.
If I were to put a soundtrack to that article it would be "The B-52's, 1983 hit, "Legal Tender." The thievery in industry never stops.
what are the back-end technologies used to make mojeek.com work?
A few states including California have the WARN act [1].
The latest layoffs reported can be found here: http://www.edd.ca.gov/jobs_and_training/warn/WARN-Report-for...

[1] https://en.wikipedia.org/wiki/Worker_Adjustment_and_Retraini...
If I was a company, I would be writing scraping engines that scraped

* police 2 citizen (a platform many counties and municipalities use to report crime and accidents to the public)

* any public facing dataworks plus web application (or whatever various other municipalities/counties are running): the one for the county I live in lists the arrestee's employer

* district level and state level court dockets

* real estate records, which also link up to tax bills

* public voter records

Not surprisingly, only the information I've ever listed on my voter ID has ever showed up in Intelius/LexisNexis databases.
"Fixing Go's inlining"
Yep.

GNU source: http://git.savannah.gnu.org/cgit/time.git/tree/

BSD source: https://github.com/freebsd/freebsd/blob/f5d95e1f8d32db4ccccf...

Busybox source: https://github.com/mirror/busybox/blob/f88e3bfa8ded4f1c7e7d2...

Toybox source: https://github.com/landley/toybox/blob/master/toys/posix/tim...

This would have been a lot easier if I'd known GitHub has a `filename:` search
Kafka: A Life Beyond Literature
On bash you can do this to have it not use an alias or built-in command:

$ \time echo

0.00user 0.00system 0:00.00elapsed 100%CPU (0avgtext+0avgdata 1764maxresident)k
0inputs+0outputs (0major+66minor)pagefaults 0swaps

The built-in version:

$ time echo

real 0m0.000s
user 0m0.000s
sys 0m0.000s
Excerpt from “Dichronauts” by Greg Egan
Indeed, I parsed it incorrectly.
Ring Camera May Be Sending to China
I've been following the site a while. Great to see a new feature addition and get me coming back before we're missing the snow. Would be cool to have a comparison between train/flight/drive per ticket/extrapolated cost and time, and see what would get me there the quickest and cheapest.

Pending I can actually find an affordable fare lets see if I'll be on the mountain one last time this season.
"over-"punish losses?

Twitter hasn't made a profit once in its years of existence, and does not appear to have a way to make any. Snap said they might never profit in the prospectus.

How would you value these companies to reach the conclusion that losses are "over punished"?
Clarence Thomas Condemns Civil Asset Forfeiture, Points to Abuses
Relational lattices: From databases to universal algebra (2015) [pdf]