skysight-inc/HackerNews huggingface dataset:
Yes, we should avoid mocks of mocks. But building small pieces of code that have little knowledge of their surroundings, and testing them independently, is no panacea.

You can see this problem in any Java Enterprise shop that has code coverage as a religion: To make it possible to cover all that code (including all the boilerplate caused by the technologies selected), then we end up with a billion little classes that are managed by some kind of dependency injection system. Hundreds of thousands of lines of Spring XML configuration files, or their equivalent in annotations. Every piece is tested, but are all the pieces tested together, automatically? We quickly get into extremely large and expensive automation suites, or a whole lot of things that aren't really tested regularly, making all those unit tests a lot less valuable.

We can't wish complexity away: Make every unit too small, and the management of the units is now your new problem. You head in the same direction with the whole Microservices context.

A maintainable system is one built of components that are just simple and cohesive enough to be understandable by a human, but not any simpler. The right modularization is the hardest thing we do in software. The right size is hard to gauge, modules like that might be hard to name, and they are often hard to test. Sometimes one of those aspects must suffer for the others to do well.
tmux will do just fine. My text editor should do text editing well, nothing more.
I don't think anyone else has mentioned it yet but for me a very important corollary of what you mention about elimination of fair use rights [where's the punishment against this?] is the failure of works to enter the Public Domain.

A work with DRM attached can't be Copyrighted. Copyright is a bargain between the demos and the creators of artistic works. In that bargain the creators get protection from the state for their monopolistic exploitation of a work on the proviso that the work then enters the public domain after a "limited" time.

Now distribution companies and purchasers of copyrights and employers of copyright creators have managed to erode the limitation of that period to a great extent but the limitation still holds. Ergo, works must enter the Public Domain when the term expires.

Works with DRM can not [properly] do this. Not in any way as might analogise that imagined by those creating copyright laws initially. The work must be free to be used in any way the public sees fit (except perhaps those that contravene moral rights, I'd personally extend some moral rights in perpetuity - eg right to be acknowledged as creator of a work).

Copyright law should punish those that forcibly rest fair use (or fair dealing as we get in the UK) from the public and no protection should be offered by the state for works that can't be guaranteed to enter the public domain (eg by deposition of non-DRM in an archive to which the rights holder that chooses DRM pays a fee for maintenance).

Copyright law is a deal that has been broken. Too much power has been ceded by politicians to the media conglomerates on the public's behalf and without proper warrant.
Jerk not Speed
>> If you talk to carpenters in the US, you'll find that making furniture is a tiny bit more expensive.

Na, you just need to figure out who to go to. My buddy lives in SE Pennsylvania, and he had as some seriously nice furniture made by some of the local Amish. Total cost for his bedroom and kitchen furniture combined-> $1200
First they DRM'd the videos, and I did not speak out— Because I don't watch TV and Movies.

Then they DRM'd the music, and I did not speak out— Because I have a nice vinyl collection.

Then they DRM'd the ebooks, and I did not speak out— Because I still use public libraries.

Then they DRM'd the news, and I did not speak out— Because I don't read the news.

Then they DRM'd me.
The only terms in which we can understand things are ones we understand. That seems to be what the mirror experiment is about - trying to understand how animals see themselves.

Doesn't your comment apply to any insight which humans discover about animals since we must necessarily express it in terms we understand?
the same about my dog - as a puppy he initially reacted to his mirror image like it was another dog there. Since that, passing by the mirror, he sometimes quickly glances into it like humans do. He does usually react to dogs on TV.
Homejoy has been really flaky for me too. We've had problems with billing and inconsistent cleaning. I may try out Handybook now that Exec has folded into them.
For what it's worth Buildasofa.com in the US seems to be making custom more affordable. I can't speak to the quality as I haven't ordered anything, but several friends speak highly of them and I believe their prices are far below the $5k number being thrown around.
Comcast's average user uses 2-5 GB/month.

This bears highlighting. The water company, regulated as a public utility, will fine people for using "too much" water when they decree they are running out. And water usage is a lot easier to model than broadband. Do you want that same mentality running the broadband companies?
a friend of mine is working in the physics dept patrick hopkins, look him up, nice dude.
valME is young, granted. That doesn't discount the idea.

Yes, any content provider can throw money (via fake accounts, advertising, etc.) at their own content to increase visibility. That's why advertising works. On sites like reddit and FB, it costs the content providers effectively nothing to manipulate votes. On sites like valME and Updn, there will be a (minimal) cost. It's a small barrier for manipulation, but a barrier nonetheless. That, alone, should reduce vote manipulation significantly.

valME also has a cost for downvoting. When you downvote on valME, it costs you 2 karma (and your downvote removes 1 karma from the content provider). This should significantly reduce downvote brigades as there's now a barrier to downvote.

Because moderators (and everyone else) can now see who is voting and in what direction they are voting, users who manipulate voting will be more obvious to everyone. Mods can then change permissions (both for domains and users) or use the modqueue to remove posts. (If mods remove posts and comments, like Upde, there's a public trail and a reason required. Additionally, the posts are taken out of the community's queue but still are accessible in the "graveyard" to prevent censorship.)

You're correct - many coders and designers do create for the sake of creation. More power to them. But you can't live off that. There is great content out there on various blogs and, if they don't have a donation button, the most I can do to really reward them when I like something is clicking on some random ad so they get the credit. Technologies like this, with the cost of a penny or two, don't put up a large barrier for content creators, and it gives them an alternative to advertising. It also gives them the potential for a huge upside when people really value their content.

The market here isn't for content providers of memes or 140-character comments. It's for higher quality content providers. I'm not sure why you're scared of the idea to find alternatives for rewarding people who give us value.
Sure, a successful negotiation almost invariably results in a situation where they'd have been willing to offer even more if they needed to, and you'd have been quite willing to accept less.

But rushing to be first put an offer on the table that is lower than the offer they were about to make you is almost[1] invariably stupid. And at the risk of stating the obvious, most contract negotiation isn't like employment in that pretty much all the party paying the fee is offering is the cash.

[1]the exception being where there's a good chance that appearing to be "fair" or "cheap" will help you get a better offer in future, or prevent you from being gazumped at the last minute.
Thanks for the idea. I definitely see feedback loop as one potential major case for this.

Another idea I was thinking about is altering the music the programmer is playing in some way instead of generating music.
I have an easy time believing that no one ever ran an accurately timed sub 4 minute mile before Bannister... but I find it hard to believe that it had never been done at all.
Sometimes Walmart goes to a manufacture and says "We want to buy all of your output for the next 3 years, here's exactly how we want you to modify the product, and here's the quality assurance tests you need to do. Here's what we are going to pay." Walmart pays them some percentage up front and then over time as product ships and sells.

Is Walmart paying for the QA testing?
I'm not sure about the technical feasibility, but to me the obvious answer seems to be integrating the map creation into the car and crowd source it. Maybe it takes X number of times driving manually on a road before the map has an adequate quality for self driving and then once the map is "good enough" tweaks are made for changing road conditions each subsequent time a Google car drives on it.
Not to hijack the thread, but I really like a "tremor-stabilizing spoon" mentioned in the article: https://www.liftlabsdesign.com/. Will look into for someone I know with a tremor.
The choice is not "monolithic piles of Fortran" or abstraction hell...there is a middle ground.

All of your comments on this thread seem to be predicated on the assumption that this blog post is an example of something good. It isn't. It's a complicated, overwrought non-solution to an imagined problem.

Nobody here is arguing against abstraction, but abstraction needs to be used judiciously, and the best abstractions don't stray far from the application domain. It's a subjective thing that comes largely from experience, but you've likely gone off the path to enlightenment when you start creating ("hexagonal") meta-frameworks to create framework frameworks.
He also probably would have done a smaller print run, and spent less on shipping and postage. Might not have needed help shipping either.
If you are buying or selling, understanding the market price for what you've got will let you know if you're making the right deal or not.

Job offer negotiations sort of suck in this regard because you often don't know the market price, and if you set your number too low in your head, you're pretty much stuck starting off lower than you should and that can impact your entire career.

You might think you're doing good negotiating, but the guy next to you might be making 10-25k more a year just because they started at a higher number. It's weird but true.

Same applies to buying or selling just about anything. Have as much data going in as you can about what is normal, fair, etc. and compare that to what you want.
Why? Fried chicken pizza crust
It works for me in dating. Most guys when they talk to a girl will ask for her number so much so that most women are auto-programmed to play hard to get about giving out their number.

So I tried something and it works a lot better: I ask them for a concrete date/time we can meet again for a date. I give zero importance to their number. Qualitatively, I think most girls are "shocked" and not used to someone telling them their phone number is completely irrelevant.
There is no panacea to writing good code. Whatever principle you come up with, you can still write bad code that outwardly seems to be motivated by that principle.

I firmly believe that writing good code is a craft. I agree with you that 'the right size', and the right level of abstraction, is a hard thing.

But common patterns and principles can help us figure out how to do it better, as long as we don't think simply following them slavishly and cargo-cult-y is going to do it for us. After all, we're programmers, looking for common patterns and principles is what we DO.

O actually liked this article a lot, I think it provides more actual guidance and help in how to do things right than most articles in this genre, which are just rants without enough exmaples, or with examples that don't seem helpful to me. This one is helpful to me in improving my craft.
Understanding Angular.js services the easy way
> Sometimes it is possible to say much with humor in very few words.

I completely agree with that, though I disagree that you said much in your original comment (or that it was funny) which is why I think that your subsequent comment explaining what you meant would have been better to start with. Your original comment mentioned nothing about working remotely in isolation or less severe version of the symptoms, and "the solitary confinement of VIM" is a pretty absurd statement to make unless you explain what you mean.
why not add the partly predicted keys as columns ?

also jsonb will require a little more storage

is 8tb in 1 tablespace/db ?
This is similar to Square Cash, no?
If Internet providers ran public services
That's why the car has a ton of sensors all over it. For modeling all the dynamic behavior occurring on or around the previously-modeled road.

It's much easier for the on-board processing to start with a baseline and then figure out how the world differs than to start from scratch from the sensors.
This works pretty well. Tagasauris has been around for a while and do something similar (but a bit more).

Great work though. I threw a bunch of my photos and it did a good job tagging with people, bike, beach, etc.

I've been wanting to integrate an automatic tagging system into Trovebox. That's how I know the Tagasauris team. One day....
For some reason people separate mind matters from body matters but this separation is artificial. Just like your internal organs operate within a biological ecosystem shaped by millions of years of evolution so does the mind. The mind has both an internal and external ecosystem that it was shaped by and operates in. So just like all biological systems it goes awry when equilibria that shaped it suddenly go away.
That's an interesting article, and an excellent response from the college. You can't negotiate a cultural fit, and her list of "requests" likely flagged her as a potential problematic professor (excuse the alliteration). Probably worked out best for both parties involved.
I might just not be very good at this programming thing, but to me these kinds of articles on testing often (not always) remind me of my annoying tendency to implement a comprehensive productivity approach (often combined with buying yet another task app) that, on paper, really should help me keep track of my life. Usually it's a variation on Getting Things Done, which stands out in its exhaustive, all-encompassing, fine-grained approach.

In practice the whole falls apart after a week or so because I forget to do things the right way or because I don't feel like processing my 'inbox'...

Instead, I seem most effective when I write down my top three tasks of the day on a piece of paper.

Maybe I get that feeling because I've mostly experienced companies where testing didn't really seem to have much of an effect. Whenever I asked about this lack of efficacy, the answer was usually "that's because we're not implementing it completely!"

Which is exactly what I hear (and suggest) whenever I or someone else falls off the GTD wagon.

Am I completely wrong about that feeling? I mean that as an honest question, as I truly don't want to be negative and I'm way to inexperienced to be cynical about these things :-).
Alright, Pushover it is. https://pushover.net
This is one example of a number of ways the article is weirdly disingenuous. Thea author compares returns to equities but risks to nothing, as you point out. Separately, when he cites an estimate of 3.01% annual return from alpha and 4.62% from beta, all he has to say is that "most" of the returns are from beta and that fees are high, pretending not to understand that returning 3% per year due to alpha after fees would actually be quite impressive and valuable.
Ironically, iPod & iTunes were using DRM (FairPlay) on launch!

I don't think it's DRM itself killing innovation but the overuse of the actual "control over software and hardware providers".

What makes products like the iPod or Netflix successful, despite their use of DRMs, is their simplicity and accessibility among other things. Netflix is trying hard to negotiate for more content, but I think content providers are killing innovation mainly by not allowing initiatives like Netflix to have all the content in one place. We need a Spotify (i.e. most of the content available) for movies...

Edit: elaborating...
There are ways to engineer around that, but it's always been a cat and mouse game. My point is that it's a side issue; ad blocking doesn't have much to do with having an "official" DRM spec. You can make ads harder to block without it, and you can probably still find a way to block ads with it.
From the OP http://www.bbc.com/news/magazine-27298505

>"Then in 1796, the Sporting Magazine reported that a young man called Weller, one of three brothers, "undertook for a wager of three guineas to run one mile on the Banbury road, in four minutes, which he performed two seconds within the time." In other words, a mile in three minutes, fifty eight seconds."
How Charles River Ventures Wins Big On Zendesk's IPO
The main problem with that is you will have a lot if nefarious groups abusing the situation. Desperate people will sign away their rights without understanding their risks. And even though they may already be dying, they can always suffer more. I fear this would lead to dangerous experimentations.
And Canada ranks #37, and Australia #55. The average speed on Ookla's test for the U.S. was 24.34 megabits. Germany was at 25.38 and the UK at 27.01.

It's insane to compare a country like the U.S. to a country like Belgium that is more than ten times more dense. If you look at the northeastern states, which have densities closer to Europe (500-1000 per square mile versus 90 per square mile which is the U.S. average), average speeds range from 30-38 megabits, well ahead of the U.K. and Germany which are comparable dense, and on par with countries like Belgium, etc.
Ah, but I think OP is a pretty good explanation of _why_ the Law of Demeter is actually good, although it doesn't use that phrase.

I've been somewhat suspicious of the law of demeter (not firmly on one side or the other), but this article actually helped me see the value of it.

It's not that "you can't do this because it violates the law of demeter." That's a ridiculous cargo cult way to use software design principles (which, yeah, is quite common). Rather, it's, the law of demeter is good because it prevents THIS stuff, which you don't want.

Like, okay, DHH thinks the law of demeter is useless, but he hates things that... the law of demeter is meant to and helps prevent.
Early Superoptimizer Results
i think there were functions for the new hstore(that became jsonb) but coudn't make it in core so will probably/hopefully be released as an extension
Amazon's Growth Impacting Seattle Dating Scene
Loving Animals to Death
> We compare quite favorably to countries like Canada and Australia.

According to a 2013 report by Ookla, US ranks 31st in download speeds.

You know you didn't disagree with him at all, right? Your source shows the US beating out Canada comfortably, and Australia overwhelmingly.

The US is not going to match the #1 and #2 on your list, Hong Kong and Singapore, ever, because it is trivial to wire up a single dense city with weak democratic red tape.

I can't say this with 100% (I may have missed one comparing lists from different sources), but it looks like there's no country within an order of magnitude of America's land area that has higher download speeds on Ookla's list.

EDIT Yep, confirmed. It looks like the biggest country that is faster than the US is France, which is 547,000 sqkm, while the lower US's land-only area is over 7.6 million sqkm.
Well, consider that the first modern Olympic games were held in 1896, and Bannister didn't set his mark until 1954. There would have been no issues with time/distance measurement accuracy during that period and yet no one did it. But, as soon as he did, tons of people started doing it. And it's not like they didn't have amphetamines back then, either. So it doesn't sound implausible to me that Bannister really was the first.
I think this is an argument for timeouts, fail over, and load shedding not asychrony.

If you have a sufficiently slow DNS you will chew through all the memory available to your non-blocking application in an amount of time that isn't functionally different from how long it will take you to exhaust your threadpool.

The whole point of the lightweight thread approach with shrinking stacks is that you will use the same amount of memory for both and they will fail at roughly the same point.
The History of Newton's Papers
I always wondered what screens look like to animals. Whats to say the screen's refresh rate makes sense to some animal's eyes?
Boxcar: https://boxcar.io

Prowl (old): http://www.prowlapp.com
MSNBC Access Denied?
I'm colorblind. I cannot read the graph :(
Well, yes.

I was making the point that 1 of 4 is still useful. Obviously it is less useful than fighting 4 of 4 or 3 of 4.
A system like this might encourage spam, as the more popular it becomes, the more it's worth the incentive for spammers to "participate."

On the one hand, there's a lot about this kind of setup I don't like - but on the other, monetizing spam and trolls does appeal to me on some level.

http://xkcd.com/810/
Further to your point, it has historically been hard to find any commercial software that converts a DVD to a digital file (so it's not just Apple).

The reason for this is that under US law (DMCA I believe) it is illegal to circumvent DRM, a DVD has a very basic DRM scheme. So, commercial companies avoided this area. While any programmers that saw a market opportunity and built something soon wound up removing the key DVD ripping feature of their software, likely a result from receiving a kind letter from a MPAA lawyer.
A really cool concept, I really like the depth of the gameplay
Balanced is offering a white-labeled API. Square Cash is a branded consumer product.

The mechanism of paying people using their debit cards is the same.
Static web servers for the desktop
The full text of the FCC's Notice of Proposed Rulemaking was just put online here:

http://hraunfoss.fcc.gov/edocs_public/attachmatch/FCC-14-61A...

This was just released - I imagine there'll be a surge in articles once journalists have had time to digest the full document.
I think if you consider the outliers on the "talent" scale, such as Jim Ryun, Sebastian Coe, current record holder Hicham El Guerrouj (3:43.13) compared to the entirety of humanity over the past few centuries, you've got to assume there have been other outliers of equal or greater "talent".

So the question is, how fast can an outlier in talent run with minimal or suboptimal training? Or what kind of training can one get "by accident"?

Jim Ryun [1] (along with a handful of others) ran under 4 minutes as a high-school student (a junior in Ryun's case). He didn't exactly fall out of bed and do that, but neither was he a professional having many years of training leading up to the achievement. Ryun's training was probably not optimal. Running enthusiasts often complain that his coach was a former swim coach who did not use training routines commonly recommended today.

Many sports played on foot involve lots of aerobic running combined with occasional sprinting. Also consider Cliff Young [2] who claimed to have "run for two to three days straight rounding up sheep", presumably as a routine-ish part of his job. He went on to win an 875km ultra marathon.

It's all speculation of course, but given all that and the fact that modern mile record is quite a bit faster than 4 minutes, I think it's plausible that a highly talented individual got enough training from work, sports, or perhaps even dedicated training to run a 4 minute mile.

[1] https://en.wikipedia.org/wiki/Jim_Ryun

[2] https://en.wikipedia.org/wiki/Cliff_Young_%28athlete%29