skysight-inc/HackerNews huggingface dataset:
That's not the subsidy I'm referring to.

How much would it cost you to create a barrel of crude oil?

Not "extract from the ground", the usual meaning of "producing oil", which borrows rather more from "produce the evidence" than "manufacture the good". But actually start with high-entropy substrates and some energy source and synthesize oil.

Why do markets not account for this cost?

(Hotelling's Rule is ignored, and is, moreover, based on faulty logic. Curiously, Bohm-Bawerk, an Austrian Economist, gets far close to the truth in his theory of value, an exceedingly rare case in which I find myself agreeing with any Austrian principles.)
In the case of stealing: You deny somebody else the possibility of buying the product.

In the case of cloning: You deny the progenitor the claim to its creation.

In the case of downloads: You make a copy of something. Whether it equates to a lost sale or not is a the point of contention. In many cases it may simply be the case that the product is unavailable, at all, or through conventional distribution channels.

In fairness that goes to a certain extent for cloning as well, but the big issue there is an unwitting consumer can buy a clone thinking it's the real thing, with possible consequences for the consumer, and perhaps even damaging the image of the creator of the original product.
I'll write a trivial state machine over using regex any day of the week. They are easier to write and read (especially if complex), aren't a black box in terms of profiling and don't have surprising performance characteristics like regex does. Unless we're talking about a Thompson NFA (which isn't used by many modern stdlibs) or JS, regexes simply do not appear in my belt of solutions.
The flip-side of this:

I was running a fuzz test on a backup tool, which verified that file data and metadata (including timestamps) as reflected by Windows were exactly as produced by the fuzz test.

I noticed that for some ".eml" files this was not the case. The mtime of these files was being modified by something else after the initial create by the application. At last, it came down to a Windows process which was automatically indexing ".eml" files and creating an ADS for each of them, thereby touching the mtime.

This was intentional on the part of Windows, but I never saw it coming.
I agree. Although I know that the React team have been spending a large amount of resources lately addressing React's performance problems. Inferno has a "inferno-compat" package that should allow it to easily replace a React app almost 1:1 without too many issues.
See above. That is a valid claim to subsidy, but it's not the one I'm referring to, which involves, depending on your view / word choices: total factor costs, solar emergy cost, or natural capital costs.
NASA's PACE mission will uncover new information about health of our oceans
I think the moral difference may lie in the balance of power between the IP holder and IP infringer :

In Zara vs indie designer, Zara steal the design and uses its power to distribute and sell it to the whole world. The indie designer cannot compete, or fight. The fact that Zara used her designs will not advertise her own products or make her money (maybe it did after the public outcry, but I guess it will not be the case for every indie designer).

In torrent website vs content producers, the torrent website or its user are not more powerful than the producers. They do not put the producers' business at risk. Everyone knows who made the original product, and may buy some genuine products or derivatives : torrenting can act as advertisement.

One of the other justifications for torrenting is that the content is not available in your country. Similarly, the indie design was not available in all countries. But the source of the issue is different : a small business may not distribute to the whole wold because of logistics, whereas producers and distributors voluntarily block content from being available when it could be.
Mega-city? It's a city of 20,000 people in a very small area (1 mile square?). 20,000 people is more like a town than a city and certainly not a "mega" city.
Subtitles ;-)
No mention of Dart, is it dead ?
Choosing the right AWS Certification for your career
I am honestly not aware of what Netflix contracts look like.

I'd have thought they also pay lump sums to get the streaming rights per territory.

Also I am proposing the subscription increases to get access, possibly per territory you want access to.
Show HN: Discrete.li – Ajax requests analytics
Thanks for trying Inferno. It's great to hear that it worked out so well for you too - let me know if you have any issues or need help with anything. I'd be happy to help :)
Learning Data Analytics is not tough, Starting is Tough
I have another corner case: Audio books.

I was infuriated to discover when I bought one on my computer in work it was then just about impossible to transfer it to any device that I could actually want to listen to it on (without resorting to hacks, or the analogue hole - through which it would have amounted to about 6 CDs of content).

The licence was not transferable to other devices either so I couldn't just download it again either.
The walking remark by GP was perhaps a bit snarky, but there is a deeper point to be made: if the problem is caused by cars, limiting your view to designing better cars is not a smart strategy (don't get me wrong: we should build better, safer, smarter cars, they just shouldn't be the only potential solution we look at). Something something Ford something "faster horses".

There's public transport, there's biking, even segways and hoverboards and those motorised skateboards everyone loves, and the list goes on. All of which are technologies which themselves can be improved too.

Taking bikes as an example, since I'm most familiar with those: Dutch infrastructure is practically built around it[0] and for the vast majority of trips, which are short-distance, it is a far better solution than cars. (of course the Netherlands is unfairly advantaged here, being compact and flat, but that does not make bikes useless elsewhere). For long distance trips a combination of public transport and a locally rented bike is usually all you need to get around. Amsterdam is a famously bike friendly capital, but all our cities are, really, and especially in smaller ones like Groningen it is the de-facto mode of transportation[1][2].

As for your Kenya example, in most contexts bikes are arguably a better solution in developing countries than cars: it needs no fuel, is simple enough to fix yourself, possible to make from local materials even (see Ghana's bamboo bikes[4] for example), less dependent on roads and existing infrastructure and still enough of a time and energy saver that it brings a lot of wealth to the people who own one.

[0] https://www.youtube.com/user/markenlei/videos

[1] https://vimeo.com/76207227

[2] https://www.theguardian.com/cities/2015/jul/29/how-groningen...

[4] http://ghanabamboobikes.org/en/
Given the name, I am disappointed it doesn't start with "don't panic" nor it seems to tell how to include your towel in your Python projects.
> This. What happened to "make it work then make it scale" ?

The fact that it is wrong (or rather, incomplete)

It should be "make it work with a clear path to scaling, then make it scale" - that's true with respect to both software engineering and business plans.

It's the same with "premature optimization is [the|a root of [all]] evil" - Premature optimization is a waste of time and often paints you into a corner. However, if you don't think about the bottlenecks and how to optimize them in advance, you more often than not find later, when profiling, that there are not enough hotspots, and the performance is "lost" all over the place.
It's also reverse.
For scanned images we use https://github.com/tesseract-ocr/tesseract. For text based PDFs we pull the text directly from the file and all languages are supported.
Thanks. Fortunately there are local library copies:

https://www.worldcat.org/title/mathematics-and-its-history/o...
And so it is for Tesla. And SpaceX.

Those companies are means to an end, not profit-generating machines.
Runaway automatic search-and-replace? There's no way to distinguish intent.
CIA’s Database of Protests and Protesters and a Pentagon Riot
Note that this is the same Lamar Smith (R-TX) who introduced to Congress the Stop Online Piracy Act (SOPA) in 2011.

https://en.m.wikipedia.org/wiki/Stop_Online_Piracy_Act
Ruby 2.4 adds a new #match? method for regular expressions which is three times faster than any Regexp method in Ruby 2.3:

Why does Ruby have 4 different regexp match functions?

Regexp#match?: 2630002.5 i/s
Regexp#===: 872217.5 i/s - 3.02x slower
Regexp#=~: 859713.0 i/s - 3.06x slower
Regexp#match: 539361.3 i/s - 4.88x slower
What's a "sovereign citizen"?
TORI InfoGame Search Results
I use uBlock, on Safari.
Humans are the very definition of imperfection and thinking that you are capable of "correctly using a car" that is, never make the mistake that will cause a terrible accident is a big problem.

It's probably why so much people keep resisting evolution like autopilot, they can't admit that even them can someday fail and crash. They believe that if they are good drivers they will avoid it.

Sadly very good drivers die every day and not only because of someone else's mistake.

Of course a computer or a machine can fail too, but in comparison it will never fail as often as human do. Because we can be careless, sleepy, drunk, unskilled,...

Now the real problem we will face (what scares me even though I'm pro-autopilot) is to accept to hand our lives to machines that will have to make choices in emergency situations (should it saves its owner or the kids in front of it ?, who is responsible in case of a crash ?,...)
Who gives a fuck?
You don't want to overly combine two amazing pieces of British humour in one place. The universe might collapse. ;-)
If anything this is the way mobile devices should be going. LG's modular design and Google Arya? Is it, are doing something like this but in what I feel is too controlled. Here I feel like I can just hook up one of the $2 light sensors I have for my arduino and hack a quick light sensor app, deploy and enjoy quickly. True modularity I feel.
Tesla announces plans for world domination: trucks, buses and solar power
Jerks deserve disability benefits
I agree about the point of different transport options, but then if you want to go full-efficiency with public transport, you have the concept of PRT[0]... which when you look at it you realize it's exactly what Tesla is aiming for with autonomous electric car fleets.

So in this case yes, designing a better car may be a big part of the solution.

[0] - https://en.wikipedia.org/wiki/Personal_rapid_transit
I won't mind being wrong at all, and I have been wrong before. But this is what I feel about the whole thing right now. There are real issues with driverless cars and google has scaled back for this very reason.

Elon is very smart, but even Jobs didnt get it right with Next.
> The implication I'm picking up on is that the blight that has continued/worsened since I've left is somehow, inexplicably, my fault for not sticking around. Please, explain how that is or is not the case.

IMO comes down to the economics of how a city operates. The city needs money to provide services. The people need money to afford to patronize businesses, keep up their properties, and keep their city government afloat. Businesses need paying customers, and employees.

If you don't stick around, you can't contribute to any of that, other than if you were perhaps a business owner. But then if the people working there aren't from there, or if the owner moves the money out of the city, it can still provide no net benefit.

Try not to take it personally, but yes, moving away does not help and may even do the opposite of helping. But maybe if you stayed you would have ended up worse off and dragged the whole thing down? Can't say for sure, but it is obvious, and widely accepted by academics, that in the general case, white people leaving hurt black communities more than it helped.

There's also the social aspect of which people that make up the community to consider. The less homogeneous the community, the more difficult it is for people to empathize with and help people different than them, which perpetuates systemic racism and inequality, etc.
Turkey Purges Universities After Failed Coup
There are plenty of other sites that seem to scrape Stack Overflow questions and answers.
Hubble Gets First Peek at Atmospheres of Rocky Alien Planets
> you'll never be able to rationalize [copyright infringement]

He just did.

Rationalize, transitive verb (Mirriam-Webster): 1. to bring into accord with reason or cause something to seem reasonable: as [...] b) to attribute (one’s actions) to rational and creditable motives without analysis of true and especially unconscious motives <rationalized his dislike of his brother> ; broadly : to create an excuse or more attractive explanation for <rationalize the problem>

* * *

The comments here, whether you agree with the explanations given or not, are a textbook example of rationalizing an action. Perhaps you meant he will never be able to justify copyright infringement?
They will have a hard time telling people that 1D is better than 3D :)
Sonarr + Usenet + Nzbgeek, no issues whatsoever and I can download my public access public broadcasted tv shows at my full ISP speed.
Why isn't the trim applied when the post is created and not every time that it's displayed?
Thanks for posting!

Yeah, news about Tesla and SpaceX often do the trick for me. Those two companies seem to be hell-bent on pushing us into a brighter, better future.
There a Turkish ham radio operators replying on the blog that they know of nothing of this kind. Maybe this "news" was made up?
> All this made Japan such a poor prospect as a market for anti-depressants that the makers of Prozac all but gave up on the country.

This is false. Prozac was submitted several times for registration in Japan. The most recent one is here: https://clinicaltrials.gov/ct2/show/NCT01808612 but there were other trials before.
This attitude is why we can't have nice things. The author is obviously making a very conscious choice. Respect that!
Honestly I don't get this focus on continuity. The letter "Y" is a continuous shape, unlike say the letter "i".

The problem is that some people privilege one branch of the "Y", not that one is continuous and not the other. They both are.
Indeed Sir Robin of Locksley had been knighted so he was no mere rogue ...
Someone has taken a dump of db ? I can't access to api to download dump. I try to connect on mirrors like http://kickasstorrents.video/ or https://kat.host/
I had the feeling that microservices would add too much of complexity, but with FaaS this is canceled out by the fact that almost all server management complexity is handled by a different company.
> even riders who have ridden bikes for many years like myself benefit from pointed instruction in "press right to go right".

I was taught that 2 hours into my training when I prepared for the exam to get my license. I remember my instructor telling me to ride in straight lines and try to gently push the handlebar to the left or right and "see what happens." Then he would make me try the slalom part of the exam.

I sometimes let go of the handlebar (when decelerating and when there's no traffic around me) and it takes a lot more effort to make minor adjustments to the trajectory by shifting my weight only.
"but in comparison it will never fail as often as human do"

Ok I know this is my little cause of the moment, but seriously why are computers apriori better at anything? Sure they don't make poor life choices but they are absolutely at the mercy of the quality of the algorithms, sensors, operating system, training data and physical computational hardware.
To me it seems that the one good place to start might be with a product that solves problems for some of your existing/previous customers or for similar businesses that "could" be customers. This type of product would be something that is a natural extension of the current business, e.g. analytics, integration with AWS/cloud infrastructure, or tooling that connects the website to Microsoft Office.

The advantage of this approach is that it is easier to identify and address the problems of a specific market...and there's already a basis for a discussion and feedback on a product.

A second type of product might be based on an in-house tool, i.e. dog fooding. That's the story of products like Slack and BaseCamp. This has some of the same advantages as externally focused tooling, but leverages the existing business in a different way. It's probably easier to take shortcuts in quality here. Overfitting the solution to the problem is also easier.

Both of these are probably better than trying to solve the "internet's problem" because there's a real problem driving the first two cases and real businesses behind them.

Good luck.
A look at Utah's various statistics you might want to use as measures of overall success ought to paint a different picture, also visiting different areas of the state for a while will too. But that's not to say you'd be wrong in giving a higher prior for success after hearing someone is a proper Mormon (and many Mormons the world generally hears about are even if the majority aren't and will never get a temple recommend). Proper Mormons don't drink alcohol, smoke, or drink caffeine, they try to marry young, have children, stay in contact with their (extended and large) families, are active Church-goers (and hence active in the Community), and they pay an extra tax to the Church without becoming financially crippled. This is basically an immense filter for self discipline / resistance to temptation and solid social networks, which tend to be factors with a lot of successful people.
For me awesome part is cliché that is quite popular on SO takes down SO. And resolution to replace RegExp with substring completes the picture. Just cannot stop laughing.

"Some people, when confronted with a problem, think 'I know, I'll use regular expressions.' Now they have two problems."
So you deploy your easy to manage monolith, and expose your library through an rpc service. rest, thrift or whatever is hip these days.
Mozilla is finally killing Flash next month (mostly)
A story with many submissions, and discussions split across more than one of them. They are, of course, from multiple sources, and some may (will?) have different amount of detail, and different commentaries.

Even so, it's the same story. Eight submissions, plus this one, and counting.

https://news.ycombinator.com/item?id=12126298 (75 comments)

https://news.ycombinator.com/item?id=12134191 (35 comments)

https://news.ycombinator.com/item?id=12134060

https://news.ycombinator.com/item?id=12132736

https://news.ycombinator.com/item?id=12132502

https://news.ycombinator.com/item?id=12130701

https://news.ycombinator.com/item?id=12129226

https://news.ycombinator.com/item?id=12129036
He's not SV Messiah, he seems to be simply the lucky combination of right perspective on the world and enough money to make it happen. The only bad thing about this is that it is so rare.

> Honestly enterprise is enterprise.

What I like about Tesla and SpaceX is that they're honest, plain companies. They exist as means to an end. Vehicles to achieve material goals - in this case, sustainable transport and making humanity multiplanetary. This is how all companies should work, and yet somehow we got lost on the way and most companies exist to make money, without giving much shit about how exactly they're making this money.
Nick explained on Reddit why the regex was used[1]:

> While I can't speak for the original motivation from many moons ago, .Trim() still doesn't trim \u200c. It's useful in most cases, but not the complete strip we need here.

This would have probably been my train of thought (assuming that I consider regex to be a valid solution):

Trim() would have been the correct solution, were it not for that behavior. Substring is therefore the correct solution. Problem is, IndexOf only accepts a char array (not a set of some form, i.e. HashSet). You'd need to write the <Last>IndexOfNonWhitespace methods yourself. Use a regex and make sure that it doesn't backtrace, because it's expressive and regex "is designed to solve this type of problem." The real problem/solution here isn't substring, it's finding where to substring.

I consider regex too dangerous to use in any circumstance, but I can certainly see why someone would find it attractive at first.

[1]: https://www.reddit.com/r/programming/comments/4tt6ce/stack_e...
You need to understand the problem that you're trying to solve, and the best way to do that is to solve something that you've faced yourself. Look at the projects you've completed recently and see where they were less than perfect. Were they late? Were they over-budget? Were they gold-plated? Did they work? Ask yourself why that happened. Then build something to solve that problem. You'll make something that will improve your business, and you might build a product that other businesses will buy.

This is how products like Trello and Pivotal Tracker came to exist.
With some work you can have the some behaviour - but the microservice is also about the data (like user ids and passwords for a login microservice).
And I don't trust that a profit-based only incentive is good overall, for example: if it wasn't for governments meddling with making oil less desirable as an energy resource (higher taxes, stricter regulations about pollution, more incentives for alternative technologies) we wouldn't be seeing a shift so early as we still have plenty of oil to burn and it's very profitable to do it.

These blanket statements are often wrong, there are really bad instances of a government trying to manipulate markets but there are also instances where it is needed to keep businesses in check.

I would rather live in the world as it is right now than in a Corporatocracy.
Fundamentally there cannot be any kind of expectation regarding bandwidth usage that a customer can reasonably have as even experts would need to analyse the source code first before they could reach a conclusion if excessive data is loaded needlessly to provide the user experience.

You cannot say this for sure about Pokemon Go, neither can I.

The only way a customer can have an informed expectation about that is if the developer tells the user upfront how much data the application will use.

Regarding expectations you give this example:

> Plus, people expect movies take bandwidth

How did people learn to expect this when the first movies were available online? They didn't have any comparison back then.

And what exactly is this expectation? Does any non-tech customer know today what the bandwidth usage of 4K video streaming should be and how much less it should be for a 720p video? And which company does a better job at this? Netflix, YouTube or Amazon Prime?

Customers probably just know about bandwidth usage for video: it uses "a lot"

The thing is that movie apps can at least be somewhat categorised in terms of what they will do, but for games this is hardly possible.

There the bandwidth usage can be all over the place, starting from online chess to VR games with high res video experiences.

> If the app's bandwidth consumption exceeds all expectation, making the consumer whole should be considered. There is a point where this stuff is the app's fault.

Primarily it is the customers obligation to manage and monitor his private bandwidth usage. After that it is the carriers obligation to make sure they track the usage correctly.

Turning this upside down and placing the burden on the developer will not help as the users cannot have a reasonable expectation and trying to regulate the world to fulfill whatever phantasies people might have has never worked.
Well you'd measure 'value addition' in revenue, and Income per Employee is already a metric used, but it still wouldn't extend beyond the bounds of your own company, as an entity in a wider supply chain/network.