skysight-inc/HackerNews huggingface dataset:
Another big annoyance is when the mobile mode is solely based on the user agent string and there is no way to deactivate it other than changing the user agent (for example Google Search). It’s almost as if no Google employee has a tablet device. I would be genuinely interested in seeing behind the curtains of decisions like this one.
FIxed bars and JS pop-ups are the window pop-ups of the 90's and really I'm just waiting for someone to make a chrome extension that takes care of 'em in the same way.

The only real issue is that mobile browsers don't allow extensions of any kind (at least the ones I've used don't). So there is no real way to add such customizations to mobile browsers, and we're left hoping they go mainstream enough that someone either creates a browser around that feature (ie useragent switch, which is kind of annoying to use because it means copying the url and switching apps), or a dev in a mainstream browser makes it their weekend project. Neither one of these options is ideal, in the first you're left with a bunch of browsers that do one thing, in the latter you're going to end up with a feature that will slowly stop working as the dev's main work builds and his manager tells him to drop it.
With all due respect, students are not the ones gaming the system. If you make the system into something that functions like a game, then it will be played.
Growth for growth's sake leads to nowhere
He did cite the study (Saez/Zucman). The article probably omitted the specific reference.
Bicycle Shop
OK, here's something I should understand. Say we start with:

myquery = select(c for c in Customer if sum(c.orders.total_price) > 1000)

I'm inside of a query builder. Based on conditional logic, I also want to alter the above statement to include customer.name > 'G'. Intuitively, I'd do this:

mynewquery = select(c for c in myquery if c.name > 'G')

which will take the original SELECT, wrap it in a whole new SELECT. Right?

Given "myquery", how do I add, after the fact, a simple "WHERE customer.name > 'G"" to the SELECT? Just continuously wrapping in subqueries is obviously not feasible.
Professor Remzi from UW-Madison has an excellent, free operating systems textbook with resources here:

http://pages.cs.wisc.edu/~remzi/OSTEP/
I've tested SPDY over wired / wifi but not over mobile so my mobile experience is anecdotal.

That said all my mobile browsing (minus HTTPS) is run over SPDY (via the Google proxy) and I wouldn't describe it as sucking.

Even in the HTTP case it will still depend on what resource the packet loss etc., occurs for e.g. if it's something on the critical rendering path will it make that much difference?
This. Trust is a critical resource for a healthy human mind, but it figures nowhere on the evaluation of what effective teaching is.
What is Piketty's theoretical weakness?
>I was responding primarily to "In the US, if you avoid debt at all costs, you get a rude awakening." As far as I can tell, that's not the case in Holland

Alright, but I don't get why you characterized that state as "Ah, the credit score ... that does not really exist here". (Though I was mainly perplexed at the implication that they're no counterpart to it -- i.e. a quantification of the credit risk, even if under a different name.)

And for secured loans, they do look at your situation in the US. It's just that commercial banks use the score as a filter before they bother with that process. If you have no credit (but are otherwise responsible, etc) then credit unions will still look at your situation even despite lacking a credit history.

(It's nevertheless frustrating that official what's-my-score sites will say you have a high score, even as every lender tells you, "Um, no you don't.")
* All these concerns share an overlook of the practicalities of the web.*

There's nothing "practical" about HTTP/2.0. I've read the spec, since I was interested in it, and it confused the hell out of me. Then I learned that even people who implement networking specs for a living, and have tons of experience at it, are stuck trying to figure out how to implement the current spec.

So if you're going to push for shitty-but-practical, at least make sure you have the practical bit.
#SECONDS_PER_23_5_HOURS = 84600

Well, at least someone's aware of what they're doing.
Applied correctly, I can see it being useful in modeling machine learning algorithms. More data points are almost always a good thing there.

If simply dumped in front of school teachers and administrators, I suspect it would be harmful. The data will simply reinforce biases those people already have about certain students.

Interestingly, the data could be turned around on the teachers as well. A teacher may be so effective that students can pass courses without reading the material. Administrators might not recognize the astounding ability of the teacher and instead interpret it as a teacher handing out easy As.
Your comment said you doubt the increased effectiveness of free weights over machines, which seems hard to doubt. Like I said, I think debating the claim that free weights are safer is totally fair; it seems the real conversation is about which type of safety the other is talking about.

As for the deadlift, I get your point. I do think that you are making it an either-or thing, in that you're either piling on mass with the deadlift or your not getting stronger. Athletes don't do starting strength, they should be using the deadlift as part of a well-rounded training routine rather than trying to set PR after PR. I agree with you that a singular focus on deadlifts/squats for most athletes is detrimental, but that doesn't mean it has no place whatsoever. I'd also bet against the athlete who focused on it in such a way.

Anecdotally though, I've found the deadlift to be very functional for me. And who are you to say that someone moving from 135 to a 350lb deadlift, and then maybe to 500lbs isn't impressive? I'm impressed with anyone that can motivate themselves to some sort of physical goal.

I think it's your derision that I find most off-putting. Deadlifting is hard work that takes time, so kudos to anyone that sticks with and improves themselves in a way that makes them happy. Yeah, almost everyone can do it, but most people don't. Is running a marathon impressive? What about a triathlon? Biking a century? Or are the only things worth being impressed by the things genetics make impossible for the masses?
Url changed from http://cleantechnica.com/2014/05/26/tesla-motors-now-califor..., which points to http://www.greencarreports.com/news/1092197_largest-auto-ind..., which points to this.

Submitters: please do your due diligence and track down the original source.
There's something fun about just typing in a large constant (and it's fun when you start to recognize them by heart), but you're probably better off just making it obvious by including a little arithmetic: 24 * 60 * 60.

As a nice-side effect, harder to typo. :)
To quote from the Economist article about this yesterday:

> There are four important questions raised by the FT's work. First, which data are wrong? ...

> "Capital" is a sprawling book based on an enormous pile of reference material and data. Much of the data was collected by Mr Piketty and other economists in a series of published papers that have since been used to create the World Top Incomes Database. None of this work appears to be at issue. Rather, Mr Giles focuses on wealth inequality, to which Mr Piketty turns in Chapter 10 of his book. Mr Piketty has not published nearly as much research on the question of wealth inequality, and it seems that much of the analysis in Chapter 10 was done specifically for the book, based on others' research. Mr Piketty's wealth-inequality analysis certainly matters as a component of the book's argument, but it is not accurate to say, as Mr Giles does, that the results in Chapter 10 constitute the "central theme" of the book.

So your two proposition are not contradictory. Piketty's principle historical work was published before the book, in peer-reviewed journals, and that is different from the analysis which is being criticized.
Ah, screenshot in firefox command line, google search, and
here is the answer:

http://www.wikiart.org/en/gustave-dore/the-inferno-canto-13-...
Show HN: Say 'Bookmark' to create one (Chrome extension API)
JavaScript to find leap year
It's real easy.

[text]
[image on new line, click to open in new window]
[text continuation]

I don't think the iPhone is too small at all. In comparison to others, yes, but standalone, I don't think so. I use pocket for reading anyways since all my articles are centralized.
BBC Radio 1's playlist secrets uncovered: as much about YouTube hits as tunes
LulzSec hacker helps FBI stop over 300 cyber attacks
Oh, rubbish. I have a couple of my own books that no publisher would touch, for sale on Amazon. I have helped a couple authors get their out-of-print-that-no-publisher-would-touch books published on Amazon.

Has Stross considered that maybe it's Hachette that is holding out for unreasonable terms? Maybe he could go with another publisher. He also writes:

"They have a publishing subsidiary and allow me—if I want to self-publish—to use them as a sales channel, and will even pay quite well if I accept extremely onerous terms."

I don't see how being paid quite well is extremely onerous.

"It's anti-author, and in the long term it will deprive you of the books you want to read."

On the contrary, my impression is that there's been a recent explosion of new titles being released, as well as putting old out-of-print books back on the (electronic) shelf.
Pretty obviously not a monopoly.
5 Reasons Why Startups Succeed
> additionally you are spinning up a full PHP interpreter when serving static assets.

I think that if you do this you are one RewriteRule away from doing it right.

> In my experience[1], putting Nginx in front of Apache to serve static assets and leaving Apache as a sort of application server

I also think that using nginx only for static content is wasting perfectly good resources for nothing. Apache can serve static assets just as good as nginx does. No need for an other layer in your stack.
Remember the legacy cost discussion from the bailout days? It cost GM something like $30/hr per employee to pay just for retired workers
Factory warehouse jobs suck. I used to work in one myself before college.

Those stores are not the everyday in and out working environment, nor is a factory job any way comparable to a 100k salary position. You definitely are not going to have as cushy a work environment no matter what factory you work in.
How to continue getting free security updates for Windows XP – until 2019
The number of full professors appears to have some correlation to the reputation of a CS department, but for state universities political climate also probably plays a role - few if any departments at Florida have a high ratio of tenured professors. This is true throughout the system and probably reflects policy more than anything else - not the Florida is necessarily a top CS destination.
There is no need to wrap it with a query. You can just add a filter:

mynewquery = myquery.filter(lambda c: c.name > 'G')

The new query will produce the following SQL:

SELECT `c`.`id`
FROM `customer` `c`
LEFT JOIN `order` `order-1`
ON `c`.`id` = `order-1`.`customer`
WHERE `c`.`name` > 'G'
GROUP BY `c`.`id`
HAVING coalesce(SUM(`order-1`.`total_price`), 0) > 1000
This technology has been around for a couple of years now.
2 years ago, I was working for a video platform company, installing our product at few of the top-tier universities. Some courses required watching videos of recorded lectures and external material, as part of the syllabus. Our system reported back the watching habits of the students: did they watch all the videos? Did they watch the entire thing, or just scrubbed to the end? Did they watch at the assigned time, or wait till the day before finals to cram them all?

We could provide very good statistics. An algorithm could predict the student's chance of success in the course, based on his watching habits, way before the course ended.

To the best of my knowledge, the data from the algorithm was never factored directly into the course's grade, but rather was used to counsel students on their studying methodology.
> That's capitalism; don't hate the player, hate the game.

Try some other words in there and see how you feel:

"That's fascism; don't hate the player, hate the game."

At least it's clear that you wish to resolve corporations from responsibility for what they do.
An interesting hack is described near the end:

Jim Myers began breeding a plant he now calls “The O.P.,”
which stands for “open-pollinated.” Until then, his broccoli
were either hybrids or inbreds, created by a process of
narrowing the genetics until one select mother is bred with
one select father to create a single, most desirable combination
of genes. The O.P., by contrast, is the result of a
horticultural orgy. Myers began with twenty-three different
broccoli hybrids and inbreds, including some of the lines
behind the exserted-head trait. He let insects cross-pollinate
them en masse, and the resulting plants were crossed at random
again—and again, and again, four generations in a row. He then
sent germplasm to farmers around the country, had them grow it
in their fields, and send back the seed they collected. Over
the winter, Myers bred it in another greenhouse orgy, then
sent it back to farmers. For six years, he repeated this process.

The broccoli evolved in two ways simultaneously. The
back-and-forth of the breeding scrambled the plants’ genetics,
making the germplasm wildly diverse. It also let the environment
whittle away at individual genes. For instance, plants without
pest resistance produced less seed or simply died, reducing
their presence in the gene pool. When it was hot, plants that
could tolerate heat produced more seed, increasing their
presence. Survival of the fittest.

In the seventh year, Myers sent most of the seed back to the
farmers—just gave it to them, without licenses, royalties or
restrictions. The idea was that each farmer would adapt that
dynamic gene pool to his or her farm’s particular climate and
conditions, selecting the best plants every year to refine the
population. In other words, they could breed it themselves. In
time, each would end up with his or her own perfect broccoli.

The beauty of the O.P. is that rather than challenge the
intellectual-property system, it inherently rejects the concept
of ownership. It contains many of the desirable genetics of
Myers’s commercial broccoli lines, but in a package that is
designed to be shared, not owned. Because it is open-pollinated,
not a hybrid, its seeds can be saved by any farmer. And because
it is genetically diverse, it would be difficult to pin down
with a patent. Even if someone did claim to own it, because each
new seedling is a little different, that claim would be all but
impossible to enforce. In this case, the plant’s natural
instinct to mate, multiply, change—to evolve—isn’t an impediment
at all. Rather, it is a central reason why people would want to
grow it in the first place.

I like that it is the exact opposite of their other strategy. Instead of going down a road where "the tools of the master are repurposed in a way that... actively subverts the master's hegemony", the plants are bred in a way that makes the tools of the master obsolete and useless.

Is there an equivalent anti-patent strategy for software?
I had both versions installed(arch linux). I wanted to remove one of them long time ago, but there are lots of dependencies on python2 in arch (gdb mercurial etc.).

python3 do break many of 3rd-party scripts I am using, so I make /bin/python symlinks to python2. Each python3 update will break these scripts and I needed to symlink python again. So, finally, I removed python3 completely.

These 3d-party python codes are well maintained, but the authors seems not to bother to port them to python3 if python2 is still available.
Yes for sure! Just like anything it has progressed over time.
I think as computers get better we will be capable of doing more and more robust models.

Even the emergence of neural nets in the past few years has been due to hardware increases.
Pronouncing it correctly makes restaurant names like "Pho King" even funner. :P
How to Adult: Everything you need to know that school never taught you
On many carriers (including Verizon, the best here) you pay the same plan fee, or very close to it, whether you bring your device or not.
The original linked to an empty wiki page with just the title of the book linking to Bicameralism. So the edit saves some clicks as the link actually goes somewhere with some content now.
Actually Pony can transform subqueries into JOINs in most of the cases. But when it translates the 'in' operator of a generator expression, it produces a subquery with 'IN', because otherwise the programmer can be confused by the fact that the resulted SQL looks too different from the Python code.
Pony allows you to use the 'JOIN' hint in order to make it to use JOINs instead of subquiries. In the example below Pony produces a subquery when it translates the `in` section from the generator:

>>> from pony.orm.examples.estore import *
>>> select(c for c in Customer if 'iPad' in c.orders.items.product.name)[:]

SELECT "c"."id", "c"."email", "c"."password", "c"."name", "c"."country", "c"."address"
FROM "Customer" "c"
WHERE 'iPad' IN (
SELECT "product-1"."name"
FROM "Order" "order-1", "OrderItem" "orderitem-1", "Product" "product-1"
WHERE "c"."id" = "order-1"."customer"
AND "order-1"."id" = "orderitem-1"."order"
AND "orderitem-1"."product" = "product-1"."id"
)

But you can tell Pony to use JOIN instead of a subquery by wrapping the 'in' section into a 'JOIN' hint:

>>> select(c for c in Customer if JOIN('iPad' in c.orders.items.product.name))[:]

SELECT DISTINCT "c"."id", "c"."email", "c"."password", "c"."name", "c"."country", "c"."address"
FROM "Customer" "c", "Order" "order-1", "OrderItem" "orderitem-1", "Product" "product-1"
WHERE "product-1"."name" = 'iPad'
AND "c"."id" = "order-1"."customer"
AND "order-1"."id" = "orderitem-1"."order"
AND "orderitem-1"."product" = "product-1"."id"
The blog is working fine, but the restored website isn't returning anything. Or, perhaps, the link to the restored website is broken.
Shouldn't the word onerous be replaced with something like, "not great"? No one is forcing anyone to publish their books via amazon. If you don't like it, don't do business with them.
Care to provide some of those reasons?
Everybody is biased. Having a somewhat left-of-centre bias myself, I like to read the FT and the Economist precisely because they don't simply reinforce my beliefs.
> Likewise, wrapping all the small blue 'f' icons and their associated tracking icons in TLS/SSL does not improve privacy on the net in any meaningful way.

It absolutely does, global passive attackers have been documented using the associated unencrypted tracking cookies to find targets.
Addenddum:

No, they don't. You can choose any or all of 245 territories, and set the price individually for each one.

Not under the 70% royalty program you can't:

"ii. Distribution Territory: If you select the 70% Royalty Option for a Digital Book, you must make it available to us for distribution in each territory for which you have appropriate distribution rights, and you must comply with any other restrictions or requirements we may provide from time to time for the 70% Royalty Option in the Program Policies."

iow, if you're an individual author and you want to use the 70% royalty program then you have to give Amazon worldwide distribution rights.
> practically un-type-able

Says you. Maybe if you lived elsewhere, you might have a different point of view (SE Asia, perhaps...). ;)
LDC: The LLVM-based D compiler – a talk by Kai Nacke at FOSDEM 2014 [video]
That bandwidth price is helping to pay for much more of the kindle ecosystem than just bits from s3.
Leap seconds, time zone changes, etc.
They're only trying to measure what they want to measure?! Three letter agencies can use the exact same argument, it's basically a carte blanche.

I don't buy the argument with effort grades. There's nothing admirable about studying very hard without getting something out of it; what matters is the effectiveness.

If it is a "problem" that someone with talent can finish a course with an A without studying, then obviously such people need a more difficult course, rather than being punished for finishing something without studying.
Not at all, it's a set of configurable Gulp tasks and a Yeoman generator.
Looks like it's an abstraction on top of Gulp (i.e. it uses Gulp).
Clojure: A Retrospective
Fortunately amazon isn't a monopoly. They are just popular.
You misunderstand me. I am not arguing against the law. Just against cultural bias.

If you left 12 year olds to their own devices without educating them that they shouldn't have sex, many of them will probably have sex. That is what I mean by "it is normal". Is it even illegal for 12 year olds to have sex?

Also, out of curiosity, how would you explain to kids that they shouldn't have sex? I think some reasons don't apply across all cultures.
And of course someone should make storify for this once it gets popular.
The fact that you need to "root" your own property -- I am just astounded that there isn't more yelling over this. Microsoft could never have gotten away with this in the 90s or early 2000s. You probably still couldn't get away with it on commodity PCs. Hell, you can even run Linux on a Mac. But change the form factor and all the sudden nobody cares.
Show HN: See statistics about your SMS conversations with Textalyzer
I think he/she is referring to bootloader unlocking, not network unlocking.
Accomplishing the same ends with the input of fewer people is one of the primary means by which innovation advances civilization. If fewer people can satisfy our transportation needs, productivity can be devoted to other goals. (Like the colonization of the rest of the Solar System?)
"the brand name"
A balanced portfolio consisting of REITs, ETFs, & Bonds is easily performing above 7% in Canada.

But the post does seem extremely naive. What it costs to maintain real estate (property tax, maintenance, insurance, etc) makes even typically criminally-high mutual fund fees seem reasonable. Even if owning real estate really floats your boat why wait in fear for the next 2am call to fix a flooded basement when you can get a check every month from a REIT which being a dividend is taxed at less than half the rate of a rent income (which will likely be taxed at your highest marginal rate)?
Thanks. Burying the current post as dupe.
Well right, this is exactly a SQLAlchemy-style syntax, except a tad more verbose :). This is the "dropping into a SQLAlchemy-style approach" I referred to.

As far as the "AST allows caching" advantage, over at https://bitbucket.org/zzzeek/sqlalchemy/issue/3054/new-idea-... we're working out a way to give people access to the "lambda: <X>" -> cached SQL in a similar way, if they want it.
See this article, especially toward the end on his understanding of capital: https://mises.org/daily/6736/Thomas-Piketty-on-Inequality-an...
You mean like the smart car, or the citaro bendy-bus?

edit - the luxury car thing is only a fraction of Mercedes-Benz output. They produce loads of commercial vehicles, from light vans and minibuses, up to HGVs and coaches, as well as stuff like roadside mowing vehicles and farming tractors.
We abandoned Apache as we found configuring Tomcat with Apache to be a major pain whereas configuring NGINX with Tomcat or other J2EE application servers is almost a no-brainer. Ditto with SSL termination. Since then we've moved all static file serving to NGINX as having both Apache and NGINX did not make sense. I know that a lot of other JVM shops did the same.
I've bought ebooks from people's own web sites that were not available from Amazon. They did their own promotion, such as posting reddit articles about their books. They reached a worldwide audience, and (presumably) kept 100% of the sales revenue.