skysight-inc/HackerNews huggingface dataset:
To be perfectly honest, I find nothing "excellent" about the right image at the beginning of the article.

Clearly there is room for two lines there. The "excellent" image would be the left image centered properly. It would be legible and without secrecy. If I didn't want to read all of it I wouldn't. But a "..." gives me no choice, nor any further information.

This trend to increase font size was suppose to be for better legibility and simplicity. But instead, we are truncating text where it would naturally fit fine. We are hiding valuable information where conveying information is the only function of that space.

The worst example of this is Google Drive. In grid view, only up to 15 characters of a file name are displayed. That means I cannot prefix anything. "2017-06-10 something" is already "2017-06-10 some..". Photos taken with an Android phone have names too long to fit.

This in a space that could easily fit two lines, that has excessive padding and a tiny icon surrounded by an invisible circle that is then excessively padded on top of that. Why not move that icon to the top left corner of the file preview? And hide it when the file preview is just a huge version of that same icon? The fact that such redundancy is not made an issue already shows a lack of interest in maximizing interface space.

A name is guaranteed to be meaningful, and we use names to help sort and organize our files. Same with titles, and same with captions of things. And the bottom line is, you're not being more concise when you truncate things! There is only one way to do that, and it's by changing our words.
This reminds me of the Zen koan, if you meet the Buddha on the road, kill him. [1]

[1] http://www.dailybuddhism.com/archives/670
Was thinking a 'reverse bloom filter' could be cool to possibly avoid the RocksDB for situations like this- turns out it already exists:
https://github.com/jmhodges/opposite_of_a_bloom_filter

I love it when that happens.
back in school we was tasked to write something, i dont recall what it was but it was mostly facts. i found a good paper on the internet and while rewriting it i thought to my self, why am i rewriting it? it was already written exactly as i would put it, and the facts where right. so i gave the paper i found on the internet to the teacher. but so did also one of my class mates. thats how it feels like when reusing someone elses code. it feels like cheating.
That is true. But I think that part of secret is to find activity you genuinely like on itself and then not hit every girl that talks to you. Instead, just socialise, do activity, observe people and ask a girl that looks like long term material based on previous non dating non hitting interactions.

Basically, do selection before you date them - that is what meeting girl "naturally" is. Most girls are not good long term match for most dudes - hitting at random is bound to fail many times (unless you are super accommodating type able to adjust to anybody).
Tim O'Reilly – Uber's Opportunity to Remake Silicon Valley for Good
I'm heading to Chiang Mai from Manila.

How is it? Everyone says it's a dream

Fast internet, cheap food and nice markets.

Is English only, no Thai really a limiting factor in surviving?
that's a contradiction in terms, because rules don't exist in chaos, so neither does rule.
Numpy doesn't introduce new syntax. Novel operator behavior does not a DSL make.
It's an excellent article and spot on. Insurance has remained fundamentally unchanged for centuries. In order to really change it, a complete re-architecture is needed. Insurance should be fully digital, hassle free, transparent and fair.

It's hard to really change it when you're not a fully licensed and regulated carrier. An MGA can create a beautiful UI on top of an old insurance product, but eventually, consumers will meet face to face with this old insurance product (for example in claims), and it's going to be the same old experience again.

As many of you stated here, there's an inherent conflict between the insurance company and the insured. Until that changes, the experience will stay the same.

In Lemonade, we are changing that. Will love to get your feedback. Here's how it works - https://www.youtube.com/watch?v=6U08uhV8c6Y&t=9s

Disclaimer: I'm head of product at Lemonade (lemonade.com)
This reminds me of the Java Ring, that was almost 20 years ago.
Codota – Your AI Pair Programmer
Some, most?, of the things you mention are available in other languages but they generally do not come together so well and they feel clunky.

I think it's not so much whether the features exist in other languages since we all know they can be added but the whole being more than the sum of its parts.
You are irrationally focusing on just one aspect of toxicity -- an IARC group. That is one classification of things. There's nothing inherent in nature about IARC groups, and there are many other ways in which pesticides are more harmful to eat than normal food in addition to one potential classification of carcinogenicity. You are making ludicrous reductionist statements that are convincing no one beyond yourself. You are also completely ignoring issues of dosage.

Try this argument on for size: Both water and hydrochloric acid have a 0 flammability rating on the NFPA 704 scale, thus if you're willing to drink water you should be willing to drink hydrochloric acid.

Do you see where this falls down?
I found a better source for the docs, they're in the exhibits portion at the top of this page:

https://usrtk.org/pesticides/mdl-monsanto-glyphosate-cancer-...

Makes sense that I couldn't find them on PACER too, turns out that discovery docs aren't posted publicly unless provided by one of the parties (in this case the plaintiffs supplied them).

The email series in question starts at page 99 of this PDF:

https://usrtk.org/wp-content/uploads/2017/03/JessRowlandseri...
MacOS High Sierra Beta Available
I don't think this necessarily negates it being one of the arts. They very act of choosing which rules to induce a particular structure is the art itself, no? (since the space of possible rules is infinite)
> Maybe the title should be: TDD did not live up to my expectations?

That is the title. If you are arguing that explicitly specifying "my expectations" would significantly alter its meaning, I disagree. Otherwise, whose expectations were we to assume TDD did not meet?
> Gradle (a Groovy DSL

Gradle is not a Groovy DSL. Gradle enables you to write its build files in either Kotlin or Apache Groovy, and perhaps there'll be more choices later on.

> Implementing this plugin was straightforward, less than 50 lines of Groovy

Did you know Gradleware now recommend using Kotlin for writing plugins for Gradle versions 3.0 and later?
The "super copyright" comment has less to do with their ownership of the copyright, and more to do with the rest of the context about the owners not being able to exert copyright claims due to fair use. (This of course is predicated on the assertion that the usage does fall under fair use.) The "super copyright" comment is alluding to Zillow attempting to assert something that even the original owners cannot (i.e. a "superset" of copyright rights).
If you read the very next paragraph, you'll note that they meant that nobody can now know the total costs beforehand. I.e., the total costs often include events that they are unable to reliable predict in advance, so they are unable to give you a reliable or accurate estimate of costs until its all done (which is when billing occurs)
yea I think within the context of BigQuery the most sensible thing would be to do an aggregate per the column that would be considered a primary key. For example [0]. That said, Streaming API de-dupe window is very nice in practice.

I mentioned elsewhere on Google Cloud the most elegant way of doing this is with Google Cloud Dataflow [1]

(work at G)

[0]https://stackoverflow.com/questions/38446499/bigquery-dedupl...

[1]https://cloud.google.com/blog/big-data/2017/06/how-qubit-ded...
Completely agree about the sadness in the contrast they paint between the sciences and the arts. send an email to this username at cerebralinguist.net - I have something for you that's not quite ready for public consumption yet.
Insurance companies have been into information processing in a big way since paper and pencil days. The first company to buy a commercial computer was Metropolitan Life.

In commercial insurance, there's a question of how intrusive the insurance company should be. My favorite insurance company, The Hartford Steam Boiler Insurance Company, established in 1866, was finally bought out by Munich Re a few years ago. Hartford Steam Boiler insures boilers and equipment in industrial plants. Most of their employees are inspectors. If you want to buy a policy from them, they come out and inspect the equipment. They give you a list of what you have to fix. Then they come back to inspect after everything is fixed. Then they sell you a policy. They also inspect again, randomly and unannounced. Cut corners on maintenance, and HSB cancels your policy. The premiums are low, because boilers inspected by Hartford Steam Boiler don't blow up.

Most companies hate that, even though the premiums are lower.
This subway crisis and others like it is the end result of the cycle of "Crisis Management". We have politicians who "never let a good crisis go to waste", a media which practically requires a constant state of crisis somewhere to attract meaningful attention (and thus ad-revenue) and the final result is that society can barely focus on whatever actively burning crisis is at hand. Future simmering problems are ignored and actively shortchanged, because the political class doesn't care (trains running on time doesn't get you votes, only smearing your political opponents messes do!). The media class cannibalized itself long ago, and no longer has enough revenue to run both a major online presence and deep investigative reporting that could surface future problems in advance. Citizens rightly distrust both as being myopic rent-seeking classes - and they are! Sadly, this mistrust does nothing to fix either situation, only giving both new excuses for why everything is broken.

What's worse is that perpetual firefighting is 10-100x more expensive than fixing a crisis in advance. Perpetual "Crisis Management" is a large driver of the cost disease that infects many industries, like infrastructure and healthcare. Why will "fixing" the subway cost billion of dollars? Because NYC eagerly let the technical debt and maintenance build up in exchange for it not being $poitician's problem yesterday. There was no incentive to improve and fix the situation in advance. There still isn't. So whatever Cumuo does here, don't worry - we'll be back again for a repeat next decade.
That's definitely not the case, because they have to know in order to bill you.

They bill you after the fact, after they know what they did and what insurance paid for. At that point it is easy. But before the operation, nobody knows what they will find or what insurance will decide.

Your example is extraordinary and could be specifically excluded.

On what evidence do you conclude that it is extraordinary?

All evidence that I have, including my conversation last night with a retired head nurse, is that confusion and uncertainty about what will be covered by insurance and what negotiated limits there might be on what can be charged are more the rule than the exception. And if my impression is correct, then what you want is impossible. Because before the fact, nobody really knows.
> "It’s not hard to infer that React was a key reason why Facebook was able to do this [release Snapchat clone features] so rapidly."

This is a huge jump man. I think you're broadly generalizing stuff here.
If cars were to navigate on preset routes on streets in ideal conditions, the difference is small, unless you want to win races.
California solar power output sometimes exceeds predictions
> Otherwise, whose expectations were we to assume TDD did not meet?

Without qualification, I would expect those of the people choosing to adopt TDD generally.
The American South Will Bear the Worst of Climate Change’s Costs
Three New Open Source Container Utilities (build/run/debug)
Here's a great video that I think is related to this topic about the near-impossibility of finding out the cost of giving birth: https://www.youtube.com/watch?v=Tct38KwROdw

I'd imagine the reasons for the complexity are the same as an injury.

Edit: Just a thought...

What if enough consumers went line-by-line AFTER the fact and shared what the specific breakdown of every item cost? So then you'd be able to say, okay, at this hospital them giving us an Advil cost $X and them doing this procedure cost $Y.

Some way of making the master price list for how much individual items cost public and grouping together ones that generally appear together...
Presuming your internet based users will enter malicious input is not paranoia, it is the only sane starting place.
I guess I don't understand. Hong Kong residents are not really functional Chinese citizens[1] (as I understand it) just like Palestinians are not functional Israeli citizens. Obviously the situations are not identical, but it does seem similar to me.

Hong Kong residents need a permit to enter/work in China just like West Bank residents need a permit to enter/work in Israel (and something like 50k-100k Palestinian citizens (non-Israelis) have permits to work in Israel).

[1]https://www.quora.com/Do-people-in-Hong-Kong-and-Macau-have-...
I know that fitbit thinks this is really cool, but this is really creepy.

Everyone who owns a fitbit has doubtless signed off on being part of these kinds of studies if you dig all the way into fitbits EULA, but I bet none of them actually got an email saying "click here to opt in/out". For a lot of fitbit users, they will never see this study and it will never cross their mind that they're being studied.

This is why I searched high and low for a fitness tracker that doesn't have an online component. I eventually settled on a garman fitness watch plugged into turtle sport: http://turtlesport.sourceforge.net/EN/home.html
In the most recent case I've personally tripped over, the land sold for $110,000. That doesn't seem very expensive to me. Judging by the look of the pads they're laying out, there will be at least six houses soon abuilding, priced per the developer's sign "starting from the low 400s."

I'd say the city is getting rooked, but this is Baltimore. Somebody bought somebody. If you think that's a problem which is susceptible of solution by political processes designed to work in the absence of rampant corruption, then I'd love to hear how you see that working.
I thought it was a joke showing "the home of the Colossal D".
"Every New York City Subway Line Is Getting Worse. Here’s Why."

https://www.nytimes.com/interactive/2017/06/28/nyregion/subw...
Thank you for the link to the stackexchange discussion. I read it and the Wikipedia and NASA pages it links to. Based on the Wikipedia link the calculated second table by the stackexchange author is incorrect. The Wikipedia article points out that the path of the N-wave will generally be curved upwards due to the temperature gradient from altitude to the ground making the distance longer. The path of the N-wave is not going to be the cone normally depicted. But, there are two things not discussed in the Wikipedia article that I think will also play a role in the magnitude of the sonic boom. 1) As altitude increases, air density decreases; meaning that for a given speed a smaller number of air molecules will be displaced thus reducing the magnitude of the sonic boom at the ground. 2) The sharp N-wave close to the supersonic source is not a soliton and will undergo dispersion reducing the over pressure. That is, as altitude increases and the distance to the ground increases, the N-wave is going to spread out into more of a layed-over-S wave reducing the magnitude of the sonic boom.

With regard to the SR-71 making record setting flights and flying at the limits of its flight envelope to do so(100,000+ feet or "the edge of space"), I think the sonic boom at that altitude may not be noticeable to human hearing.

I know the that the SR-71 and the Space Shuttle have produced very noticeable sonic booms, but what isn't answered is at what altitude did the sonic booms become noticeable or annoying. It seems to me that with all the things that reduce the the magnitude of a sonic boom that it may be possible to fly supersonic without being annoying and slow down to subsonic to takeoff and land. It might also be possible to design the aircraft body to promote dispersion of the N-wave.

Typo edit
That is true - the benchmarks mostly focus on random cases, although there are a few benchmarks with "mostly sorted" arrays (sorted arrays with sqrt(n) random swaps).

If the input array consists of several concatenated ascending or descending sequences, then timsort is the best. After all, timsort was specifically designed to take advantage of that particular case. Pdqsort performs respectably, too, and if you have more than a dozen of these sequences or if the sequences are interspersed, then it starts winning over timsort.

Anyways, both pdqsort and timsort perform well when the input is not quite random. In particular, pdqsort blows introsort (e.g. typical C++ std::sort implementations) out of the water when the input is not random[1]. It's pretty much a strict improvement over introsort. Likewise, timsort (at least the variant implemented in Rust's standard library) is pretty much a strict improvement over merge sort (e.g. typical C++ std::stable_sort implementations).

Regarding radix sort, pdqsort can't quite match its performance (it's O(n log n) after all), but can perform fairly respectably. E.g. ska_sort[2] (a famous radix sort implementation) and Rust's pdqsort perform equally well on my machine when sorting 10 million random 64-bit integers. However, on larger arrays radix sort starts winning easily, which shouldn't be surprising.

I'm aware that benchmarks are tricky to get right, can be biased, and are always controversial. If you have any further questions, feel free to ask.

[1]: https://github.com/orlp/pdqsort

[2]: https://github.com/skarupke/ska_sort
Surprised not to see mention of the fundamental modern tech problem with regard to insurance.

As soon as you have big enough data, and artificially intelligent enough algorithms, the insurance becomes too predictive.

The whole point of insurance is to pay people when rare, bad events happen to them. If an insurer can predict well enough who will be the victims, it can refuse them insurance, and hence remove the entire purpose and benefit of the insurance.

This is the flip side to moral hazard. What does it even mean to offer commercial insurance, if it is only offered to the people who least need it?

This is least bad, for example, with a car predicting you're a bad driver as you can improve behaviour. It is really problematic with data such as gene sequencing, which you can't do anything about.

Only way out I can see is compulsory insurance, levied as a tax. Or maybe non-profit or Government AIs, trained to find a sweet spot between moral hazard and its opposite?
> Of course someone who gets paid to teach would highly stress learning tidbits slowly and excruciatingly. That's their economic incentive.

Believe me: Most TAs and professors would prefer to teach much more advanced stuff in a much faster pace - but for (good?) reasons they are not allowed to do.
Not when your 'socket' is a persisted, durable, transacted medium (ie. a database). Sure, applications can 'pull data out of the socket and then die', but this is a common scenarios on databases which is handled with transaction and post-crash recovery. The application comes back after the crash and find the same state as before the crash (the 'socket' still has the data ready to pull off), it pull again, process, and then commit. This is not duplicate delivery, since we're talking about an aborted and rolled back attempt, followed later by a successful processing. Again, databases and database apps have been dealing with this kind of problems for decades and know how handle them.

I've been living in this problem space for many years now and seen the wheel reinvented many times. Whenever the plumbing does not guarantees EOIO but the business demands it, it gets pushed into the app layer where TCP (retries and acks) is reimplemented, to various success levels.
In TDD you don't build a wall of tests, you build your tests as you build your code. Test a little, code a little, refactor, repeat.
Can someone quantify the value added by having this complexity baked into the system?

The value added is relatively little, and past comparisons of the cost of healthcare between the US and Canada have identified paperwork as being most of the difference.

But the cost to the one insurer or hospital which DOESN'T participate in adding to the mess is very high. So everyone puts in a lot of energy to wind up in approximately the same place, only with more paperwork. After a few decades of this, well...
Mobile App Devs Are Invited for $1000 Award-Winning Competition
All You Need to Know about the New BMW X3
It's funny that I can take my car to a mechanic and get a free and pretty accurate diagnosis. But you go to a hospital, and you need pay for the diagnosis and it may not be accurate.

Even for a checkup, after the procedures are done, the office can't tell me the bill.

...yet we we call mechanics "wrench monkey" in a demeaning manor.

BTW, this is probably why services like Minute Clinic are getting popular...go in, get something done, pay a flat/low fee.
Like the programmer anecdote that's made the HN rounds recently: Being a crummy programmer who regularly saves the day (because the system is crummy and constantly needs saving) will get you more esteem/money/visibility than being a good programmer who's systems hum along with no fuss.
It has never worked right on Windows servers (don't know why). And it is simply a check of last resort if something goes wrong.
Until recently you could cross the border without a passport. It was pretty carefree. Why should'nt it be?
'Futurama' Nurtures Show Universe with Mobile Game
And are there any good sleep trackers?
Only way out I can see is compulsory insurance, levied as a tax.

I cannot help but notice that you basically reinvented welfare state.
Think how difficult it would be for a young Mark Zuckerberg or Larry Page to advance within that group of people. It would be impossible.

That's because these "elite" circles favor political skills, extroverted people with low conviction.

Peter Thiel points out that most original thinkers are introverted with high conviction, like Mark or Larry. That seems to be the formula for success in technology.
From the post:

Basically, write Javascript without functional programming techniques. That doesn’t seem like a good solution.

So . . . what am I misrepresenting?
So assume that the U.S. health system goes away and that no further medical research is ever conducted; we're left with whatever the state of knowledge is now, and it'll never get better. This is what I was somewhat obliquely referring to as "some people will die because the person who could've saved them has no incentive to".

The question still stands - would you rather live in the world where everyone has access to medical care but it isn't cutting-edge, or one where the very best in care and the very best in research techniques are available, but only for a price? I'm honestly curious about peoples' answers, because it is a dichotomy. Not necessarily a sharp one - you could imagine several intermediate systems in between - but there's a tradeoff between universal access vs. incentivizing further research and new techniques.
Happened in Texas too
Oh, and it also does some validity checking.