skysight-inc/HackerNews huggingface dataset:
The problem with Notepad is that it basically just loads the contents of a file into a big Windows-stock text field. That component was never designed to be used as a full-fledged text editor.
There is a recent wealth of new Web-based rich text editors. ProseMirror, Basecamp's Trix, FastMail's Squire, Guardian's Scribe, Summernote…

Even old ones such as CKEditor plan on updating their engine: https://medium.com/content-uneditable/ckeditor-5-the-future-....
I think the problem is not too much optimizations but the undefined behaviors/compiler bugs detection. There should be an "optimized debug" mode that apply all optimizations requested but add asserts to check every assumptions made by the compiler. In this way we can run the "optimized debug" binary and check it doesn't trigger any assert.
I'd be hard pressed to believe that it doesn't mean what I intended, it just has two meanings. I'm a second language speaker, if that's any excuse.

corporation - embodiement

national - from the place of birth / the brood / the natural habitat

industrial - to grow with most diligence will be (expected to be) most profitable, so it's a nice implicit meaning.

domus - green houses, warehouses or office buildings are houses, even the porches and front yard by extension are sub-surmised, why not the acres, too, or market stands, or maybe somebody just heard and used it with an adjacent meaning to denote the embodiments of economy and now has to go with it, rather than admit it was kinda somehow wrong.
Aside: The article mentions the "portfolio insurance" strategy and "program trading" as causes of the October 1987 crash. Basically, the portfolio insurance strategy was common in the 1980's and was typically implemented through program trading.

Portfolio insurance basically replicates a put option against some index, typically using index futures. The idea is that if you can't buy a put option against something, you can replicate it by creating a short position but you have adjust the size of the short position as the underlying price changes, aka a "dynamic hedge". Since the delta of a put option decreases as the price of the underlying falls, you have to short more (up to a point) when the price falls. There's nothing inherently wrong with this strategy.

However, if everyone (or a substantial portion of the market) is following this same strategy, it could be bad. This paper [1] reviews the commonly-point-to reasons for the October 1987 crash, and talks about program trading and the portfolio insurance strategy as potential causes, but also indicates that there were other issues at play. This other paper [2] looks at what happens when everyone, or substantially everyone, is following the same or similar strategy when it comes to portfolio management and/or trading strategies.

1. http://www.federalreserve.gov/pubs/feds/2007/200713/200713pa...

2. http://docs.lhpedersen.com/EveryoneRunsForExit.pdf
That is what we have fast math for :)
Top dating tips for him (…from a woman’s perspective)
>The author is not doing justice to his job as a reporter. If you want to opine then separate it from the facts.

Implying internet bloggers are reporters. The prestige of the journalist today is in the toilet because the barrier to entry is essentially nil. You can just start writing for some fly by night site and get hundreds to thousands of readers overnight, without any basic understanding of the profession or established practices.
Scaling Docker Apps to the Moon and Back
> Has HN always had an issue with these sorts of pragmatic speech mis-queues where one posits that the experts are not aware of some painfully obvious solution?

Yes.

Mod dang has spoken about it a few times. Here's one example, but there are others: https://news.ycombinator.com/item?id=8769453

Note the way he talks about it is less harsh than the way you talked about it, which may explain some of the downvotes.
Loading times/responsiveness are certainly a design constraint, and designers need to be aware of this.

Imagine a print designer that didn't know about bleed, DPI or colour showing through paper. They may not personally be in charge of printing things, but they absolutely need to have domain knowledge or work with someone that does.
In my experience the double-bind is typically a result of doublethink/cognitive-dissonance, which explains why people react poorly when it is pointed out.

Of your 3 solutions the first two are non-starters for me, and have found the third very tricky. So I prefer two other options - walk away from the situation, or calmly accept and subsequently ignore chastisement.

The latter solution is interesting, since often anger expressed by the person doing the binding is because they themselves are also in a (potentially self-inflicted) double-bind. They want to express their anger at you, but don't necessarily feel ill-will toward you, knowing subconsciously that your actions are reasonable and rational. Of course, dealing with this is a lot easier said than done, and I'd seek to walk away as soon as possible if it happened with any regularity.
By what measure?

I'm using Backbone again, courtesy of CartoDB.js [1] and have no interest in chasing whatever React variant was just pushed to GitHub.

(Un)fortunately I'm an enterprise developer and that means staying a decent distance behind whatever the "state of the art" is.

A recent experience with npm/ruby/grunt has put me off it until I have a chance to sit down for a few hours and unpick what exactly it was doing (can anyone recommend a way to simulate an NTLM proxy?)

[1] http://cartodb.com
I needed this :)
To be fair, he mentioned Barcelona, which is not too different from America hopefully.

I'm going to see if I can google what a Swiss equivalent costs (pretty certain the Swiss should be more expensive than American workers).

Edit: the only metro in Switzerland is in Lausanne, and it cost SFr590 million ($472 million) for about 6 km (3.7 miles) and 14 stations.

Construction is probably much easier, but the American one still has some pretty brutal cost overruns.
It could be very well that most domains on the internet are for malware and ads where the cost of the domain itself is just slightly below break even point and LetsEncrypt now allows to serve them over https without extra investment.
Surely that ship sailed on Android a long time ago? Proprietary drivers, shipped to the user with Linux as a single blob, is the norm. It's the biggest problem facing Linux today, much bigger than no ZFS - it kills the concept of a "distro" on the biggest class of personal computers. How does this not violate the GPL?
Can virtual reality transform eSports?
Both chrome and firefox lag all over the place on a modern quad core box with 16GB of ram and hardware accelerated rendering on a 8GB r290. Most software might not be speed critical, but those few milliseconds not saved add up quickly, and performance should definitely be a goal of most (end user) software. I mean if you're only running the software on your own servers, then by all means ignore performance as much as you please if it's a worthwhile tradeoff for you. But please don't ignore speed when it comes to software other people have to run.
Yes, traditional future-gazing has always had a problem failing to de-antropomorphise, a failure of imagination IMO.
One of Asimov's stories has a robot piloting a spaceship as a literal humanoid robot in a seat. The ship won't go because the robot is pushing down on the control bar too hard or something, something the designers hadn't factored in. Not to overly diss one of the giants of the genre, but even as a kid I found this setup kind of silly.
Maybe, just maybe, constant movement and change isn't a good thing in a library that has many, many projects depending on it. This article has made me more likely to try Backbone again.
An inappropriate interview question
Ignite – the most powerful workout tracker
A Great JavaScript Side Project Is Your Most Important Asset
> You have a monopoly and the kartel formed to fight it.It is pretty laughable that they were fined 450m being anticompetitive, when they actually introduced competition

1. There is nothing illegal about having a monopoly. It is illegal to abuse monopoly status. When Amazon gets around to abusing their monopoly, the DoJ will act. Accusing of future abuse now is just pre-crime.

2. Apple were free to compete by legal means. They got smacked-down because they chose to break laws, not because they were "fighting a monopoly"

It really is in black and white, as affirmed by Apple losing at every court the case was heard.
Day job: full stack software dev.

Side project:

A blog: http://trainerminds.com/

The engine of the blog is this one:
https://github.com/spf13/hugo

It's a static blog engine, it's like jekyll.
>maintaining our own fork of backbone-validation

Is there any reason your changes can't be upstreamed?
I'm a full stack developer from Ithaca NY doing contracting work via http://ququplay.com In my spare time I'm working on a scrabble like mobile game targeting Polish market called Literaki https://play.google.com/store/apps/details?id=com.ququplay.l...
Big fan of what you are doing with Armored Bits! Keep it up :)
Mea culpa, UK cultural assumption: https://en.wikipedia.org/wiki/Red_brick_university
Why Hire WordPress Developers for Custom Plugin Development?
Semi-related story: Slack lost us a partnership deal

Last year, I met with the EVP of a division at a Fortune 500 company in New York, to discuss a partnership opportunity for our software company.

His direct reports had talked us up to him because we had a highly differentiated offering for a crowded space; one which his company was competing in.

It all went south as soon as the EVP recalled his experience with Slack. "You guys sound like this Slack we tried last month." While our product didn't handle group chat whatsoever, I couldn't convince him otherwise.

According to him, Slack increased the noise in their communications because they "worked on a long-term case/problem basis" and they and "always refer back to conversations", which was difficult to do with constant chatter.
Thanks. Dev: yes; maths useful: not so much, except I guess in the broader "mental training" sense.
I'm currently working as a clerk in a government department. On the side, I'm taking courses on Udacity to make the jump back to the other side. (I'm a CS grad.)
Nice overview. I'm curious about the need for (some) acbuild commands to run as root, though. Does anyone know if this is just in order to be able to call chroot? The example linked in the article doesn't go into detail:

https://github.com/lukebond/demo-api/blob/master/appc.sh

I can't see why building an image file would require root -- all in all it's just about writing some kind of archive to disk, isn't it? A cursory glance at the rkt-project documentation didn't get me any closer than the equivalent of "some sub-commands require root".
Eventually the maintenance developer realises that anger and tears aren't useful, and funnels that into documentation, cleanup and a hell of a lot of printf-debugging.

...and whiskey.

FWIW, it's possible to create messes in Backbone, JQuery, D3, React and plain javascript, if you try hard enough.
Alibaba's online finance arm raises $3.1B at $50B valuation
Minimum Viable XSS
> This is one of the reasons gcc/llvm won: they don't care about that stuff. I mean, they care about performance, but not at all costs like these guys care.

Really? http://www.complang.tuwien.ac.at/kps2015/proceedings/KPS_201... https://news.ycombinator.com/item?id=11219874

While GCC and LLVM do care about implementing the standard correctly, they show little mercy to the poor developer who failed to avoid one of the many sharp corners of undefined behaviour.
This is a good book for people in the UK (or similar climates) that fancy growing something other than carrots, potatoes, runner beans etc:

https://books.google.co.uk/books/about/James_Wong_s_Homegrow...

Instead he lists mini kiwis, cucumelons, New Zealand Yams etc etc
A Bosnian Serb once tried to explain to me that the Emperor's decision to have this parade on St. Vitus Day was a deliberate insult so great they had no choice but to respond with violence.

On that day, they commemorate the start of half a millennium of Turkish occupation.
Massive immigration to the US far predates 1965. Read eg. Upton Sinclair's The Jungle (1906) for a glimpse into how new immigrants were treated around the turn of the century.
When Democracy Meets the Ghost of Evolution: Why Short Presidents Have Vanished
In that case, file an antitrust suit against Amazon. Two wrongs don't make a right.
Help Scout, Groove, and Kayako: A Case Study on Delightful Landing Page Promises
Redis provides a bitset that can be used as a bloom filter. You'd end up having to hash k times on a client side, while also calculating the ideal size of the bitset for the expected "n" values and "e" error rate.

The HyperLogLog is actually the same. We intend to provide a threshold feature that is variable to guarantee 100% accuracy up to a specific cardinality.
For much more information on this argument about sugar and cancer, see the book Cancer as a Metabolic Disease. http://www.amazon.com/Cancer-Metabolic-Disease-Management-Pr...
The Role of Languages in Today’s Web
Show HN: Papier – Open a new tab and trap your best thoughts
Chrome and Firefox suffer from having to run other people's (likely unoptimised) software in their sandbox.

You can optimise as much as you like but then John Q Madbugger comes along with their insane Javascript (not looking at Flickr here, no sir) and suddenly your performance is in the toilet.
The difference is nuclear weapons. The us civil war/world war 1 model of total war is grinding down your enemy's economy into dust by killing soldiers in the field.

The post 1945 version of this is fighting by proxy, and scoping the fight with the escalation to nuclear annhiliation. Japan would have fought to a stalemate... Atomic weapons changed the rules of the game.
Launch of Decentralized Crowdfunding and Trading Platform Waves Announced
Does it mean that protein intake should be lowered to reduce cancer risk?
De SQL Server Native Client on Windows supports many features [1], most of which are not supported with aforementioned non-windows SQL clients. JDBC & Linux ODBC support a few High Availability features (with try/catch). JSON, Ruby and Python seemingly support only basic connections.

What are the effects of this? Does anyone have experience migrating SQL Server clients away from Windows? Do Oracle, PostgreSQL, MySQL or others have database-clients with more rich feature sets? Or are these Native Client features barely used and not missed on non-Windows clients?

[1] https://msdn.microsoft.com/en-us/library/ms131456.aspx
Not doubting your experience, but it's normal to receive both a single IP for the router and a /64 prefix from Comcast.
I recently talk with a stock exchange team who wanted to start a blockchain project, so we asked naively: approximately, how many nodes are part of the system? Only one was their answer.
This all sounds spectacular i just wonder why it's only WSJ that is doing all the reporting for them.
Serbs across the Balkans sought to create a Pan-Serbian state, which would have included Serbia, Montenegro, Bosnia, Herzegovina, Croatia, Slovenia and Southern Hungary.

I'll concede that Narodna Orbrana was a reaction to Austria's annexation of Bosnia in 1908 to create an affective vehicle to support this vision. And Black Hand was specifically supported in part to further this goal.

But I don't think these thinkings were exactly new by 1908. But you are right, it may not have been Serbian policy until then. And while not official, it was a known secret by the time of the Balkan Wars.

https://en.wikipedia.org/wiki/Narodna_Odbrana
https://en.wikipedia.org/wiki/Black_Hand_%28Serbia%29
Stack Overflow dev here.

We don't really care that much about the OS -- never did, never will. A windows license is very cheap, and we only need maybe 20 windows licenses to run the whole network.

The much bigger cost are SQL Server licenses, for which we care very much about!

All in all we'll keep on using SQL, but on the most performant platform -- my bet is that it's going to be Windows for a while though.

Regarding .Net Core: the platform is not ready yet (e.g. lack of support for Security IIRC), but we'll adopt it when it is -- again on the fastest platform.

Both in the case of SQL Server and .Net core, we are working publicly on GitHub with Microsoft by testing and providing advice where needed to make sure the next version of our ecosystem is the best possible.
And on emacs. I have "turn on/off syntax highlighting" as a shortcut. Specially useful for largish JSON files, for some reason emacs chokes easily on them
look a bit fiddly to prepare to me - try to peel them like a parsnip and there wouldn't be much left.
Short answer: Publishers were too weak individually to challenge Amazon's ebook business model (the wholesale version). If all the publishers colluded to stop selling to Amazon, that would be a violation of the anti-trust act. Apple comes along and writes contracts with each publisher such that in aggregate the contracts provide the cover to do exactly what the publishers could not do on their own.

The harm in the short term was to Amazon - under threat of being cut off by every publisher, it would have forced Amazon to move to a different model of pricing. The follow on effect would be to raise prices for all consumers.
I believe it's one big linear buffer that gets resized as needed. The simplest solution, takes the least amount of space, and although it may seem quite inefficient to move essentially everything in the file after the character you insert, if you consider that a modern CPU can do memcpy()/memmove() at several GB per second, it doesn't seem like any delay should be perceptible. (I.e. any slowness is down to some other aspects of bad implementation.) Many of the old DOS text editors did the same, in a time when memory bandwidth was not much more than a few MB/s and files rarely over 1MB, and it worked well enough.

I've opened 200MB+ files in Notepad before, it depends entirely on processor speed.
The Balkan wars you mention are exactly the reason why Austria prepared and wanted the war against Serbia: they estimated it would be a fast win, as Serbia's resources must have been drained in these wars.

They somewhat miscalculated how the other countries would react and the World War ensued:

https://en.wikipedia.org/wiki/Timeline_of_World_War_I

"July 28: Austria-Hungary declares war on Serbia. Russia mobilizes.[4]

August 1: Germany declares war on Russia.[5]

August 2: Germany invades Luxembourg.

August 3: Germany declares war on France.

August 4: Britain declares war on Germany."

That will teach these Luxembourgians(?) And the French(?) too.
Not cancer risk, cancer growth. i.e. angiogenesis. And that does not say that at all since amino acids are the building blocks of every cell in your body anyway.
Working for KPMG on the helpdesk team.
Side project: LogoMiner.com (Catalog of logo designs for a random discovery, design analysis and download)
Project went live about 2 months ago
Future is today Be BIM
> Does it mean that protein intake should be lowered to reduce cancer risk?

without having any clue about the topic, i just googled around, and apparently, this paper from NIH : http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3988204/ seem to suggest that it (Low Protein Intake) does help, up to some degree.
The Digital Sharing Economy Is Not Irrelevant to Africa
What do chimp ‘temples’ tell us about the evolution of religion?
I think it's made clear in the article why the author is so biased:

> "The publishers Apple had joined forces with were Hachette; News Corp's HarperCollins; Penguin Group Inc; Macmillan; and Simon & Schuster, a division of CBS (ZDNet's parent company)."
Why your API should use Strict Parameters
Might be worth having a list somewhere of every piece of software used so people can replicate your effort if they wish.
If you're alive in 30 years you might be in 1000 years too
Yup, British person here. That's exactly how it works. We do eat one-handed, but it's typically an either/or thing, rather than switching from one to the other during the course of the meal.

The US thing of cutting up all your food ahead of time before eating it is practically unheard of here, and the few times I've noticed people doing it it's always looked very strange.
> Even today, more than a century on, this story will not fail to move new readers, giving many of them strong pause for thought, especially in those parts of the ‘civilised’ world where the barbarous and blundering practice of slaughtering our fellow-citizens is still carried out.

Or, y'know, the just and appropriate practise of executing those who deserve it, because it would be unjust not to. E.g. Gavrilo Princip, the young man indirectly responsible for more deaths than any other human being in history (17 million in WWI; 9 million in the Russian Revolution; 5 million in the Holodomor; 80 million in WWII; 30 million in the Chinese Revolution; plus many, many more) deserved to hang more than perhaps any other man in history, and yet … he didn't.
Addictive new game with amazing concept
Very interesting. What does this mean for low carb, high protein diets heavily promoted these days (Keto)?

Reminds me of this talk on TED - William Li, Anti-Angiogenesis therapy: https://www.youtube.com/watch?v=OjkzfeJz66o

Does this research mean these diets and therapies are less effective than previously thought?
Ofis sandalyesi modelleri
What do you mean Postgres has tx isolation issues? The entire point of preferring it over mySQL is that it does most things around that area properly.
kind of tangential to the topic, but, if someone is interested in knowing about the history of the disease etc. the book "the emperor of all maladies" is an excellent introduction.
Seems down (Error 500). However, the books that were published can be viewed at Monoskop:
http://monoskop.org/log/?p=10127

For those who are interested in Klee's personal notebooks, this collection of Bauhaus eBooks on the same site could also be of interest (iirc, HN brought me to these a couple of months ago):
http://monoskop.org/Bauhaus#Books
> They can do that all they like as long as the binary still works in all the same situations. Fine by me. I even gave the compiler permission to do it with the -O flags.

If we are talking about C and C++, the binary doesn't have to work according to the UB rules.

> Or are you trying to dictate what compiler writers should be focusing on? They're free to choose what to work on, so don't use their compiler if you disagree with it

Hence why I never code in C unless there isn't any option, and avoid C style code as much as possible when using C++.
Any decent ML library should have support for GPU nowadays. Or is this just a proof of concept to practice a bit with Rust?

I am not that used to Rust yet but I wonder, is it easy to write generic (templated?) code which works both on GPU and on CPU?

Is there any GPU (CUDA) based ML lib in Rust? I searched a bit and found only this (and related): https://internals.rust-lang.org/t/single-source-gpu-support/...

Or maybe this, although this is only indirect: https://github.com/arrayfire/arrayfire-rust

Also, next topics for ML libs: multi-GPU, distributed computing, ...
Anti-angiogenesis diets increase amino acid intakes, What does it say about those?
Did IHOP run a Twitter ad targeted at all users named Michael?
Yes but in the 1920s strict limits on immigration were enacted. Only after that did these large companies arise. Then the limits were basically lifted in 1968, right before the beginning of the trend article describes.
ArrayFire: a general purpose GPU library