skysight-inc/HackerNews huggingface dataset:
Unlike the author, I'm really excited by this. Paying to remove ads (which this basically is) is one of my favorite business models as a consumer. Pandora and slashdot are two examples that come to mind.

I think this is an interesting move from a more mainstream outlet. It's miles ahead of my local newspaper and their stupid 5 articles a day paywall.

Also, the argument that nobody would make a product and then make it shittier for free customers seems silly. Companies do this all the time. All those pricing grids where feature X is in a higher tier, or nag screens, or limiting usage?
Freedom used to have a perfectly good definition: the absence of coercion. During the 20th century the word was co-opted by people, such as yourself, arguing that freedom should mean something else, such as "access to medical care, education, and child-support regardless of who you are, or your income level". Unless intended in a strong negative sense (that no-one can prevent anyone from procuring these services, which was by no means always the case), those freedoms can only be realised when someone else are ultimately coerced to provide them.

Those services might well be worthwhile enough to warrant such coercion, but it's downright Orwellian to insist on the coercion being called 'freedom'.
Watching the video now. Thanks for the tip.

I'm curious why you'd call for-comprehensions powerful though. AFAIK they're just sugar over map/flatten/filter.

IME it's almost always more succinct and more readable to just call the methods you want directly.

Plus, you can say: map over an Option and transform both cases. You could also map then getOrElse, but readability suffers if your map is multi-line IMO. In the for-comprehension version you can't transform the None case.

I use for-comprehensions with Extractors in testing, because whatever. It's a test. So:

for {
Some(user) <- db.get[User](userId)
} yield otherStuff

Is fine in that case.

Pattern Matching and Lifting are probably Scala's best features off the top of my head. Type Classes a close third.

But for-comprehensions are just sugar. They don't enable you to do anything you couldn't without them, and they actually make some flows impossible to write. I find that you can usually tame a nested mess with partial functions and a collect(). Or a fold() to handle your dual-transform.

That's just me though. Only been at the Scala job for a little over a year.

edit: @noelwelsh

I would nest yeah. But I'd see it more as a refactoring opportunity. Should authorization be in a for-comprehension? I'd instead add an AuthorizedAction in Play. That authenticated and provided a User from cache. So your example would look more like:

def show = AuthorizedAction.async { (user, permission) =>
actions.user(Read(permission, user))
}

I think I'd have to agree with another poster that doing all that inside of a for-comprehension would look like a code-smell to me.

More than that, is map/flatten the right tool for the job for all this? Even if I wanted to do it inline, I'd probably prefer:

val perm = loginActions.mandatoryAuth(req)
val queryString = req.mandatoryParam[String](uuidParam).toClientProblem

(perm zip queryString) map {
case (Some(perm), CachedUser(user)) => actions.user(Read(perm, user))
case _ => BadRequest()
}

It's definitely subjective. I wouldn't fault anyone for using the for-comprehension (though I would encourage them to consider if it should rather be an Action), but describing it as "powerful" just doesn't sit right with me for some reason.

Plus while you'll see for-comprehensions in the wild on occasion, I think it's a stretch to call them idiomatic. Unless you were going to constrain yourself to projects with ScalaZ as a dependency I suppose.
Interesting article, but I think it's a bit of the UI person version of the "hammer/nail" issue.

From a marketing perspective it gives potential buyers a "reason" to pull out their credit card. As I understand it, Slate's ad-supported offering will continue to exist as-is, with pagination and a "view as single page" options. Logging in just makes single page viewing default.

The article gets at the tension publishers face. Rely exclusively on CPM ads and you get clickbait, but there doesn't seem to be winning approach on the paywall front. This seems like a really good way to test the process.

In a funny way, it's a great test of the value of UI. Is single page viewing by default worth $5 a month?
There already is a library for extracting the depth map here:
https://github.com/spite/android-lens-blur-depth-extractor (internet rocks, isn't it ;) )

As for the Shader - it's just a few lines of actual code.

Depthy is a quick weekend hack. There's a loong way before it.
"effectively no military"

That's a slight overstatement - the countries of the EU spend 38% of what the US spend on it's military - which given the arguable massive overspend of the US doesn't look completely unreasonable to me.

http://en.wikipedia.org/wiki/Military_of_the_European_Union

Now of course what Europe doesn't have is strong unified leadership in these areas - which, given our history, is probably no bad thing although not the greatest thing to have at the moment.

Russia spends less that the UK and France combined on defense:

http://en.wikipedia.org/wiki/List_of_countries_by_military_e...
Someone just asked this below.. see http://autocomplete.redis.io/
Investors look for momentum, but deliver returns?
Facebook and Google want to bring internet to people so that they can make more money off of ads. Im going to go ahead and say that those are the wrong intentions for wanting to bring internet to people.
Sure, I could do that. Or I could just log in with Facebook, Google, or OpenId if they're available. I'd rather have more choice in the matter.

Signing up with a third-party log-in doesn't really do much to protect the data you enter into a site after you've logged in.
>> So: what collaboration tool would you suggest for the average corporate drone to use? And no, git is not an acceptable answer.

Email + shared folder (as flat as possible) with rigorously enforced naming conventions. Clever features like search can be added with crawlers.
I'm not sure how true this is anymore. There have been numerous changes in the last decade that have made the environment very entrepreneur-friendly. It's still a mixed bag, true ... but things do look like they're on an upswing here. Link below is to a 2013 report (Canada at a glance)

http://www.ey.com/CA/en/Services/Strategic-Growth-Markets/G2...
I'm rather against the "working horse," methodology to software development. Maybe it's because I'm lazy but I'd rather work with tools and processes that let me achieve more with less effort. The "get it done," attitude is admirable but ultimately, I believe, leads to the very same duplication of effort that the author admonishes.

For example, you're building a web application that has a signup process and the sales team uses an external CRM service to collect sales pipeline information. The programmer who shows up and does their four hours pulls out the usual libraries and writes the code to make it happen. The view fires up a few requests in an asynchronous task that updates some models and everyone is happy. However the sales team decides to change CRM services -- there's a shiny new kid on the block with features that would improve their sales process. The work-horse programmer gets the story and hunkers down. Four hours later there are a new set of tasks, a signup function, and hopefully a few tests.

The missed opportunity is that CRM software isn't terribly interesting and it should matter little when the web application signs up a new user whether you're talking to CRM A or B. I often find little scenarios like this that just add up over time. They're often missed because the focus is on getting something done for the next four hours/for the next sprint planning session/whatever. There's no real planning done beyond the next little bump in the road.

And so our solution is to use the same old tools and practices but simply hire more people to be work-horses.

I'd much rather engineer more robust RPC frameworks that can negotiate the protocols on their own so that a valid business decision to use a competing service doesn't cost me a couple of days of boring, tedious work. I'd rather just change a configuration line or two and sip an americano while reading the latest Vanity Fair in my garden.

So.. while a great article in many respects I would add that in order to become a great developer, in my opinion, you must refine your instincts towards laziness. You must become a connoisseur in methods by which you can avoid doing work. Being busy is not a virtue.
That sure is a lot of hand-wringing for what is a fairly simple and obvious problem. You're reacting to the extremely short-term derivative of a noisy signal. Of course things are going to go crazy from time to time.

It's odd that he touches on the obvious solution of rate limiting, but doesn't actually discuss it as a way to stop this problem. If quote stuffing is a bug that harms the people carrying it out, then why don't HFT programs have a rate limiter on them that make them stop? He even goes so far as to say that you can get shut down for doing this, so why isn't there a tripwire to make sure you can never, ever do it?
USAF BANDSMEN
I didn't blame its standard library on imperative languages; I blamed its use of mutable data structures on that. I think the main reason it has a crappy minimal standard library is because for most of its lifetime it wasn't used for anything resembling "real programming." JS is a terrible language in many ways; don't get me wrong on that. However, I don't think it's any worse specifically at functional programming than any of the other mainstream dynamic languages (python, ruby, PHP, perl, etc), most or all of which are also founded on mutable data structures, lack of TCO, etc.
Not if they continue to expand non-web related businesses (automated cars).
"No we don't want help making web pages, thank you."

Seems silly to turn away help.
As most of us commenting here, I haven't read the book. That said...

Your quote does not support your conclusion. It says that (given Piketty's assumptions) inequality is likely to escalate. This says absolutely nothing about whether the standard of living of the poorest will improve or decline.

And as far as I can tell, this whole discussion (not just the book, but the broader complaints of inequality) are founded on a mistaken idea that accelerating growth of the richest somehow means that the poorest will be worse off. All of history shows us that this is false. Even the poorest today enjoy a life that was unimaginable to kings of a couple centuries ago, and rivals in most ways the hyper-rich of just decades ago.

If the poorest really were "downtrodden" - that is, that the rich achieved success by actually pushing down the poorest, there's be something to get excited about. But the actual fact, that the poorest are getting rich more slowly than the richest, is morally a non-issue to me.
Go do 3 tutorials on http://www.raywenderlich.com/

Now pick a super super simple idea (hit a button make an image appear type simple) and try to do it on your own.

Then do 3 more tutorials on http://www.raywenderlich.com/

Try to do your super simple idea better, or with one extra feature.

Get the Stanford iOS course or Treehouse and follow that all the way thru.

Do you super simple idea again but with another extra feature.

You will be well on your way. Good luck.
This sort of comparison would also be useful for South Africa, where the cost of maintaining a middle class lifestyle (security, education and healthcare) is relatively high. I usually regard my taxes as charitable donations to the millions who subsist on welfare payments- I've long since learned to view any services I receive from the state as a bonus.
I'm shocked. What? You imply that Silicone Valley is full of skeevy, narcissistic megalomaniacs.

It is still the USA after all, the land of scam, fraud, and deception, and manipulation. But I have to say, a lot of these companies, AirBnB included, are a LOT more transparent and honest than most of the industries and sectors that tech companies are trying to disrupt, uproot, and supplant. Maybe they are simply being drawn into the American status quo of having to be manipulative and deceptive and lying in order to get anything done.
Now that you explained the IOS7 trick, it's obvious. (Given the environment: background filling image on a physical device movement as opposed to a image on a website).
> You misunderstand; the hotel industry is not heavily taxed, the visitors, the guests, the business that pay for the stays are heavily taxed....not the hotel industry.

The burden of a sales tax is shared between the business and the customer in a proportion that depends on the elasticity of supply and demand, independently of who is (legally) charged the tax. In general, it's not good for a business when a sales tax makes their product more expensive, because that decreases demand.
What about after-tax median income after student loan payments and self-purchased health insurance? What about all the monthly payments the rest of the developed world gets to support their raising of children in the middle class? What about the costs of transportation that are imposed on Americans when their European counterpart takes subsidized rail to work?
tl;dr

> So there you have it, a broken water heater is the true cause of the libressl fork.
I have occasionally thought, not kidding either, that the only hope for the future for most Americans is being invaded by Canada, perhaps after one of our periodic financial collapses.

Other than the Hockey and Poutine thing, I can't imagine the general public having anything to complain about in that scenario.
The low level of opacity when it comes to electronic trading makes it difficult to make any sense out of exactly what is (or perhaps isn't) happening, which I think is fundamentally the problem.
You can do the same thing for free with various browser extensions, of course, but then again, you can filter ads with browser extensions, too, and that's the only or major benefit that a lot of sites offer you as a reward for subscribing.

One should think of this less as a sale of services and more as willing patronage of the arts.
Fog, refocus, background separation, chroma shifting.

As for the fill, if the depthmap is of good quality and without sharp edges - there is no need for that, unless you go berzerk with the scale of displacement.
Last place I worked we were using Sharepoint as a CMS for two large e-commerce sites so that the PM's could make changes when they wanted to.

Let that sink in for a moment.
> Canada does not have a strong entrepreneurial culture, however.

I agree..also we do not have the same level of capital available to fund new ideas.

However I think that the longer the internet is around which allows (for the most part) the same ideas, information and tools to everybody the less cultural differences are going to matter as everything is becoming border-less and super competitive...the only differences will be languages and local regulations.
When I started looking for a job hey told us, at my French university, that I should aim for 50% to 100% more salary in US for the same "life standard". Having to pay for your kids education and for every medical act quickly adds up.
Well, if you consider that the top decile is the reason why American factories close up shop and all of the bottom decile loses their jobs as a result of cost-cutting measures by the top decile to increase their own bonus package, then yes, the bottom is worse off because of the top.
Yes. And then combine that dependency tree resolution with make -j. Simple and powerful.
The edit button is gone. I guess these expire?

My reply was not intended as an attack on Git. I use it daily and would choose it 10 times out of 10 vs. CVS for a new project. I just think the assertion that Git 'saved' Linux from some backdooring attempts because it's decentralized and uses cryptographic hashes is wrong; it's not the tools that make this happen, it's the processes around the use of these tools which do that.

I don't know any OpenBSD developers nor do I have any inside knowledge of how their team works, but I know from observation that they are a small team with high standards for code style and quality. They don't just let anyone commit code and appear to be thorough with code review. When procedural/practice problems are identified in the industry, they are proactive about mitigating or fixing those. They have a demonstrated track record of good releases. Basically, I don't see any reason to question their use of CVS.
Well, that's one thing about middle class: almost everyone think they're part of it.
The article reports that the first stage achieved a near zero velocity landing. Another critical marker that was achieved, which is closely related, is that the first stage's flight dynamics (i.e., pitch, roll and yaw) were correct. Previously, the first stage was destroyed because the flight dynamics were incorrect. Also, the first stage continued to report telemetry for 8 seconds after the water landing.

Does anyone know if the first stage's landing legs were successfully deployed before the water landing? These are the 4 carbon fiber and aluminum legs (each 25ft / 7.6m long) that would be used to land the stage. I know that Falcon 9 launched with them, but I don't know if they were deployed. My suspicion is that they would have attempted to deploy them as well, for verification and validation purposes.
> If gcc is producing a final binary that's twice the size of clang's, wouldn't that point to IO being a big factor in compile time?

Very possibly IO, yes.

And it is twice as big for a debug build, whereas a non-debug build is smaller in gcc - 69 MB vs 74 MB in clang.

Perhaps more importantly, not all debug builds are equal, so the comparison is not apples-to-apples without saying whether the gcc debug builds contain more useful information. gcc also has various levels of debug info, perhaps a different one would provide less info for a smaller binary that would be more of a parallel to clang.
On iOS you have the icons as a first plane - that makes the trick.

If you have an Android device around, try depthy on it - it's way better this way imo.
>> Will Microsoft rewrite (or refactor) SharePoint and its form services from the ground up? Or will SharePoint 2015(?) be a rehashed v2013? And will Windows 9 come with an improved Explorer and NTFS/ReFS with better document management capabilities like that were planned for WinFS or "Microsoft Semantic Engine"?

It would be better to build something on top of Outlook and Onenote. New file systems will only be useful if the metadata survives email which would require email integration anyway.
If quote stuffing is a bug that harms the people carrying it out, then why don't HFT programs have a rate limiter on them that make them stop?

They do. But a rate limiter is just another signal - you still need to set the rate limit high enough that you can correctly respond to market conditions, but low enough that you don't go wild.

"Never, ever do it" is like "zero tolerance for bugs". It's a goal to strive for, but it's not achievable.
Obviously, a micro-entrepreneur, like any other entrepreneur, runs a business, and the laws for businesses apply.

I see two difficulties here.

1. Much of the time, it's difficult to draw a clear line between an individual doing normal, unregulated things for which they happen to receive a bit of money and a person acting as a business. If some government official tried to punish me for running an unlicensed taxi service when I give a friend a ride in my car and ask for gas money, the case would be laughed out of court. Is it different if it's someone I just met, say at the airport instead of a friend? Is it different if it's a stranger and the arrangement was made online? Is it different if a third-party intentionally facilitated the transaction?

2. These kinds of regulations seem unlikely to change unless people are actually doing things that arguably violate them. The strategy of getting a large number of individuals to use and/or provide services that don't play nicely with existing regulations is likely the only way a startup has any hope of getting the regulations changed to allow its new business model.

As an airbnb customer, I'd be more happy if they'd properly work on improving the legal situation than playing this silly PR game.

What does this mean? PR is generally how one changes the laws, especially in a representative democracy. I suppose hiring lobbyists and bribing politicians might also work; do you think that's better? By what method would you suggest airbnb work on improving the legal situation?
Not that it matters any more, but Oklahoma has two good world-class universities (and many smaller ones), and, about 10 years ago, subsidized education to the tune of about 66%: full time tuition (12 hrs) and fees was about $1500/semester

Even now, the junior college-to-university route is still pretty affordable.

Things are somewhat bad now —and getting worse— but it's a relatively new condition.
How about projects that currently have an 'OpenSSL exception' in their license. Will they need a LibreSSL exception in their license too now?
Not true. In 2011, the ratio of French emigrants into the U.S. to Americans emigrants into France was ~1.7. Adjusting for population implies that the likelihood that a French person would emigrate to the U.S. is much larger than the likelihood that an American would move to France.
It "handles" them in the sense that the math doesn't call apart. What happens is that the implied rate of return is negative and purchases towards the end of the period get more shares than those at the beginning.
This reminds me of the graph correlating a decrease in the number of pirates to global warming.
Purchasing power is factored in:

"To compare incomes across countries, the researchers applied a common adjustment known as purchasing power parity".

Source: http://www.nytimes.com/2014/04/23/upshot/about-the-data.html

Also, "Bubba" might have more cars but that's because his two teenage daughters need a car each to get to school since there is no subway, no busses and no sidewalks. Bubba's land might be 50,000 sq feet 40 miles from DC , but many people might prefer Francois' 5,000 sq feet plot in the outskirts of Paris. American cities are more sprawling, European usually compact - so it's really difficult to compare even simple things like land.

Bubba's McMansion is large, indeed, but it's built with a light frame construction with outer walls of plywood or composite and asphalt shingles as a roof. These American carton box houses just don't convince European home buyers. Francois lives in a brick house with clay tiles on the roof.

Bubba has little or no insulation against winter cold or summer heat. So his eight ACs are running on electricity all year around to heat up or cool down the home. Francois generally only turns up his radiators 5 months of the year and the district heating is very efficient. He only has AC in the three rooms facing South and there is rarely a need to turn them on. What is better?
Similar by some means, from my point, visualops.io is closer to AWS VPC resources.
Posted in my profile.
See my profile for email address.
>Doesn't comparing income after tax make it a bit of an apples and oranges comparison to begin with?

True. OTOH, as long as they are using the same measure as before, then the report has meaning on a relative scale.

>Would be interesting to see a quality of life comparison

This would be interesting. I would like to see one world-wide (for instance, Americans may have been wealthier than Europeans for decades, but we also work harder).

It is hard to quantify, but even the comparison of a subjective measure of overall contentment could be revealing.