skysight-inc/HackerNews huggingface dataset:
The problem isn't with the idea of using mocks in testing. The problems start, as often the case, when people start religiously applying a design pattern and end up over using or abusing it.

The problematic thought process goes like this:

1. Gee, my tests are really slow and flaky and hard to run because they talk directly to a database. I know! I'll swap out my real database connection with an in memory database.

2. Things are better, but they're still slower than I'd like. Maybe I can just write a wrapper around my database code, make it implement an interface, and then provide a custom implementation just for my unit tests. Instead of having my class construct a database connection directly, I'll make it passed in as a parameter. Then they'll be nice and fast!

3. Whoa, now my tests run instantly! How great. This mocking pattern is awesome. I want to mock everything! But hmm, I have a lot of objects and they often depend on other objects, like services of some sort. And I was told in school that God Objects and global variables are bad. So I can't use those because I want to be a good programmer and good programmers don't use those. This is making my code kind of a mess because now every time I want to construct an object it takes lots of parameters when before it didn't.

4. <reads some article on hacker news> Hm, this dependency injection library sounds like what I want. Instead of constructing my objects directly, I ask an "injector" to do it for me. And it will then consult a table of bindings, and then find or construct the dependencies, and then build the object I want, recursively. All I have to do is [insert long complicated process here].

5. Meanwhile, some other programmers look at what's going on. Interesting! They say. Those programmers know what they're doing and they're converting their whole codebase to use dependency injection. They claim it's a best practice to make testable code. We want our code to be testable too, we should do the same thing. Plus, we can call this refactoring and code maintenance and get paid for doing essentially brainless work, instead of having to take risks on developing new features or fixing bugs.

The story ends like this: pretty quickly this newfound "best practice" is spreading throughout your codebase like a fire, and now when you deploy your app, you get an error whilst the app is running. You then try to figure out what's causing the error but 25% of the time you try to follow a method call you end up looking at an interface instead of code, and when you try to figure out what implementation of that interface your app called you have to read and decipher tons of binding definitions.

The correct place to stop in the above story was at point two. And the reason is not just code readability. Once you start over-using mock objects, you can start to discover that your mock is implementing what you think that service does, not what it actually does, and you can end up with code that's actually buggier than code written with traditional fat test dependencies would have been. Fail.
I could do that but some of the posts have a HUGE amount of text. That was my reasoning of having it the way it is. Thoughts?
You need to know that Hungarian politics is often very low quality and caters to stupid people. They said that encrypted phone apps (specific apps designed for encrypted communication like CryptTalk) should be banned due to terror threat. Terror threat is a very new idea in Hungarian politics since the migration crisis and the recent Western European terror attacks.

So now they also tried to say something big and bold like those ideas they read about in the newspapers. These politicians are mostly old people, most of whom studied law (or economics). They have no idea about technology. The prime minister is a digital illiterate. He doesn't use computers in his work, he writes pen on paper and reads everything printed. In 2007, he didn't even have a mobile phone. (He has one since he's prime minister again, a Nokia dumbphone)

They truly didn't have a clue, when they proposed this. We are a small country and we have some incompetent politicians. It's not comparable to the US government stating something like this.

They also tried to introduce an Internet tax based on gigabytes of traffic. They like to throw in ideas like this so the press has some bullshit to dwelve on. Then they back off.

So news about what the Hungarian government plans to do should not be taken too seriously, because they like to drop topics around.
One thing that I'm hesitant about is that people often use time-as-a-limited resource as a way of pushing people out they aren't interested in seeing or doing business with.

If people are buying time for other people (I'm assuming that's your business model), then people may be forced to simply tell the truth, which may harm some relationships/businesses.

Have you found someone willing to insure your startup against any possibly litigation?
And since it's not ruled, there's still time for bribes to judges.
https://news.ycombinator.com/item?id=9522973
There is. https://adblockplus.org/acceptable-ads
I would still disagree with that because DevOps really hasn't changed at all. It's not like AWS popped up yesterday. It's been around for a decade.
Text reads:

We plan to issue Go 1.5.4 and Go 1.6,1 on Wednesday April 13 at approximately 2am UTC.
These are minor releases to fix two security issues.

Following our policy at https://golang.org/security, this is the pre-announcement of those releases.

They will be followed by a more significant 1.6.2 point release that will fix a number of issues: https://github.com/golang/go/issues?utf8=%E2%9C%93&q=milesto...

Cheers,

Andrew, on behalf of the Go team
You're looking at the short term. Yes, grain prices would have been high that year anyway. But Egypt is not naturally dependent on imported grain; it took decades of mismanagement to make it so. If planting decisions had been made by independent farmers as they had been for millennia, Egypt would have retained the wheat-growing capacity that it had for millennia. In that situation, higher grain prices would actually have been good for Egypt. Instead, through Mubarak's twisted cronyist version of land reform, farmland was taken from real farmers and given to shadowy corporations who misused it in various frivolous schemes like growing flowers for Europe for a few years until it was unsuitable for further agricultural use.
Except that you'll need to reconfigure parts of the stack post-installation. You consider that an upgrade of the configuration "package"? You're reinventing the wheel. Doable, not efficient.
I genuinely wondered if those were even advertisements. They look professional, pretty and placed well. Your site is a lesson for the entire advertising industry. It is not often that I see an advert and do not immediately go to edit my Privoxy blocking lists.
People are making money off billboards just fine.
I have 25 years of experience. 19 years with Linux alone.
Yes, I deployed stacks with dozen of different services. Typical distro has hundreds of services.
Can someone provide a narrower indication of where that part occurs?
There is obviously a place for cryptography in both personal and commercial communications. I'm always curious when one hears a politician moaning on about the 'dangers' of cryptography, if they understand how intricately intertwined cryptography is with the modern economy. And the fact that something is either cryptographically secure, or it isn't. There is no middle ground. If you intentionally break a cryptography system then you're going to disrupt trillions of dollars of commerce.

But crypto is of course not a magic pill. There are political issues that need to be addressed as well. This was a theme touched on in Bruce Sterling's SXSW keynote this year.
Thanks for being condescending.
I came here to say this. It's not fair to criticize Go as not optimal for web services if it wasn't designed to be optimal for web services.
"the two largest navies in the world"

I think you have this upside down. The US has the two largest air forces in the world: the USAF and the US Navy. The USAF hardly has any ships, though.
Wikipedia says as much ("a summarization and artificial intelligence technology developed with SRI International"), but only in the lede, not in the Summly section.
It's not! classy-prelude is compatible with existing abstractions and doesn't try to replace large portions of the basic types and classes.
My question: do parents really save money from "Kids eat free" deals? Is the average cost of the meal for the adult higher? Also how do you make revenue and profit on this concept?
Yeah, someone else in the comments mentioned the link: https://blog.stackoverflow.com/2016/02/why-stack-overflow-do...
An adblocker fixed that for my seniors.

Still need to uninstall Chrome from time to time though. Thanks Avast Update.
Associate Member Benefits
Do we have enough food for everyone? Yes.

Is there enough clean, renewable energy available? Yes.

Can we provide everyone free mobility yet? Not quite, but lots of folks are working on electric, self driving cars.

What does that leave? Housing, health care, and education? Well, there you have it. The places we need to rapidly drive the marginal cost down.
I dont use any yahoo products but I seem ro recall fantasy sports, finance and yahoo mail still being pretty massive. Is that not still the case?
what idiots. there isn't one complete example of how to use the project with a url from Youtube. Instead we have to decrypt what the hell the documentation means.
> I guess I have a similar dislike for every technology which is primarily meant to make the life of the developer, rather than push the end product's quality.

I would suggest that this is short-sighted. After all, the end product is created by the developer. Making the developer's life easier and end product quality are not contradictory goals.
They have no incentive to improve because you continue to display their ads and do their work for them.
GNU-Seti-Project
I try to understand too
Sberbank is very close to the Kremlin. The connection could scarcely be less tenuous.

As the article itself asks, the main question is why one of Clinton's chief power brokers chose to take their money.
Then you must also embrace the resulting socialist policies in the US.
https://news.ycombinator.com/item?id=11455670 is a repost with more context
LeechBlock for Firefox won't quite let you do that, but seems like it might do some of what you want.
http://www.proginosko.com/leechblock/
What I mean is "really need". In fact, there is also the possibility we want to highlight a portion of an image, copy a subimage, etc, but did our HTML <img> tag designed like the way I mentioned?
I am the author of a math search engine OPMES (tkhost.github.io/opmes), the search engine works pretty well without the knowledge of DOM structure of math expression.
Actually MathML makes a lot inconvenient during OPMES development, to a degree that I choose not to support it.

BTW, if we want a <math> tag that no one will write by hand and only machine will try to understand, then think about why not HTML being designed as some open binary format in the first place?
So the choice is between Putin's favorite Trump and now apparently Clinton as well? Though Bernie would probably practice appeasement toward Putin too. Can't you Americans elect a strong leader for once?
http://i.imgur.com/7vmKl40.jpg
So, they are doing a good job of selling an overvalued asset? Seems like the sales acumen exists somewhere in Yahoo!, just not in anything that is truly going to help the company succeed.
If it helps you understand where I'm coming from, while I do in fact admire the FSF's ethic of free software, more so than I admire "open source", as a practitioner in the field of cryptographic security I find FSF-style preaching about security to be intensely condescending as well.

More here:

https://news.ycombinator.com/edit?id=11455588
Pretty much - I've recently been through the hiring circus - the best I saw advertised was £60k (for a team lead + full stack dev (literally full-stack - devops requirements and more)). Even for positions where I was relatively overqualified, the offers were in that range.

As others have said - the big bucks here are in contracting, but personally I'm not up for that level of risk yet. In career terms I see the later-game positions as those in management or those in consulting.
Thanks for getting back to me -- to be honest, the question as it stood was confusing for me. Ok, I see what you're asking now and I apologize for not asking for more clarification. It's a really good question as are the additional questions here, so let me get to it.

Do you remember when DropBox was announced on HN? One of the top responses was, "1. For a Linux user, you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem. From Windows or Mac, this FTP account could be accessed through built-in software."

MongoDB, like most NoSQL stores, is hard to maintain, complex to query. To make the same query in the example above may be easy for you but it's not easy for most. You might think, therefore, that you're not the target market. I want to convince you you're wrong. You're going to love this.

First, as you know Schema-On-Need is not just about adding fields on demand but also about changing the mapping cardinality on demand, and then being able to query that in a clear and simple way. That's one of the big changes this query language brings. If you are maintaining a list of Films, you'd be forgiven for expecting only one Director per film, but "Delicatessen" a 1991 French film has two: Jean-Pierre Jeunet and Marc Caro. If you query Film : Director.Name = "Jean-Pierre Jeunet" you'll get that and "Amelie" for example. You'll get all films where Jean-Pierre Jeunet was one of the directors. But if you want only films which were directed by both Jean-Pierre Jeunet and Marc Caro, you would say Film : Director.Name ^=^ ("Jean-Pierre Jeunet","Marc Caro"). Variations of that same operator will give you either one of those directors or films where directors are both but can be others.

The query language also maps very nicely to be used in a BI tool. I'll try to get some examples of that to you, but I think that reason alone is extraordinarily compelling.

The final reason why I think you'll come to love Brodlist will be when you use it. I'm going to make one more analogy if you promise not to shoot me for it. When Google came along, it was just another search engine among hundreds. And explaining the Page Rank algorithm didn't convince many people. But that changed when it was used and the hundreds of other search engines dissipated. My point is simply that hundreds of competitors can reflect not that it's solved, but possibly the opposite: that it's still unsolved. And the other point is that I can talk about it for a long time but what I'm looking forward to most is the chance to prove it to you.
I have wanted EXACTLY this for a long time. What I want to also block are sites that serve up crappy "suggested" content from taboola and their horrible trashcan ilk. If you value me as a visitor to your site that little then to hell with you as a website. There are plenty out there that deserve me attention much more.
Thanks. I think so too.

Don't have a mockup on paper yet. But, It will have minimal presence in Browser and, notifies the user subtly whenever the top recommendation changes.

That is exactly the case that misses out with current sharing platforms available.
So often, when talking to a person, I come across tangential topics / ideas, which would never have thought of looking up otherwise.
Same thing when you notice something on accidently snooping on a random persons' screen and notice something completely whack that you start digging in right away.
Such instances make me believe that there is scope for properly showcasing all this data being generated in a usable way.
For a while now I've been thinking about something like this: once a month I put some amount of money in my "browser account". Maybe it's $25, or $10, maybe sometimes it's nothing at all. This money gets automatically distributed to the sites I visit, potentially subject to a white/black list that I control. Payments automated, cryptographically secure. I never see an ad or run ad-related JS. And the sites that I support get my patronage as directly as possible. Edit: oh, and somehow my privacy is magically preserved. Small detail. :-)

Maybe that's too close to the "public radio" model, and would never work at scale, but I'd pay for it.
Yes, surprisingly the OS X Messages app doesn't seem to share a lot of UI code with the iOS version. You can easily tell that it's a simple WebView from the way text selections behave.
I am guilty of reading "predicting foot to meter per year seawater rise" as a satirising exaggeration for "predicting immediate, catastrophic (plausibly sea-level related) consequences" and I did not state that clearly. With that amendment, I think my comment still has merit, but it may no longer have responded to anything you wrote. Sorry about that.

That said, An Inconvenient Truth did suggest a 20-foot rise as something imminent. Did it "predict" it? No, not explicitly, it suggests and imagines and calls to action. It also doesn't specify the timescale, but there is great urgency. With that, your GP, while very much on the high end, is way closer to AIT than AIT is to IPCC.

A short note on movies and art: the difference between "The Core" and TDAT (and "regular" art and the "climate" ditto) is that the latter didn't use science as a plot device, it explicitly injected itself into a political debate, dominated by a scientific discourse.
Except some people wouldn't enable -Werror, and the quality of Go code would suffer on average.

Plus, now your compiler has options.
Nouns get verbed all the time.

https://en.wikipedia.org/wiki/Conversion_(word_formation)
Thanks, that's what we feared. China is a huge market in eSports and a direct copy really hurts. We hope for the best..
List of apps with best user engagement on the store
Yeah and if you don't live in San Francisco, you can tell one friend who does live there to vote.

Seriously, we don't need that many people to make a big difference this time. It's worth it for you to get _one_ more person to vote.
'Leaked' Burr-Feinstein Encryption Bill Is a Threat to American Privacy
The Advanced Guide to Content Marketing for Ecommerce
I replied to PJ via email earlier because I was timed out on responses, but for anyone wondering about this:

My MVP and what would likely become a free version is an app that allows for the sharing of information about jurors and taking notes about jurors during selection. The level of trust required for this is low, just don't delete their info and your good. But while using the free version I imagine that if you had a juror the attorney rated favorably and you had evidence they were an undeniable liability and you showed this to the attorney it would prove the paid tools worth and hopefully encourage them to pay to research the other potential jurors after seeing my tool prevent such a blunder.

Even if it had a low conversion rate the free version still makes sense, more users means more data to draw conclusions to give to those that are paying.
There's a dude in India that ripped off my entire business model including branding. I have no idea what to do about that.
I more mean the whole business model more than I mean the design of the houses - although the designs were worth repeating.
Replace all the JS files with malicious javascript that starts spamming their site with viagra ads
Fuzzers do not require source code. That is absolutely false. Afl-fuzz does, but you badly overplayed your hand by adding "and the like". Fuzzing proprietary closed source protocols by instrumenting closed-source binaries is a bread-and-butter software security project that virtually any application security consultant can do effectively.
The new revelation is that the lobbying firm is also retained by Russia's biggest bank? As opposed to, being retained by the US's biggest bank?

Russia isn't like the U.S.; and Sberbank isn't simply a "big bank."

That's why this isn't "weak sauce."
I'll second `oaktowner's comment: the adds fit right in. They fit in naturally and it feels curated. If this is what we were immersed in, web ads would be a much more relevant. the ads don't smack you and stand out as ADS! And instead blend in nicely.
---> And, YOU CAN VOTE MAY 10th! www.sfyimby.org/slate/

TELL A FRIEND ALSO
I'm one of those developers... it's manageable if you have the right skills and interest. I'd say I spend on average 2-4 hours a week maintaining our Deis PaaS on AWS. I'd be happy if we had someone working full time on this but we can't afford to.
This is the biggest non-story I've seen from the Panama Papers. There are a lot of revelations in there, but this has no place in the news at all. A lobbyist group connected to the Clintons is also connected to a Russian Bank. They're a lobbyist group. They take money to lobby the government from many different people. That's their purpose.

Total non-story trying to sound like a huge deal, though.
> I'm not enemy of open source, far from it, I'm just arguing for an open and honest assessment of the situation. If open source is really going to be a genuine security advantage, there's an awful lot of work to be done to make it so. It's not going to happen spontaneously.

I don't think you've shown anything about relative vulnerability rates. I agree that there are massive problems with even major open-source projects, the general state of software security is terrible, and we have a lot of work to do on that front (starting with moving to memory-safe languages post-haste). But none of those things contradicts that open-source software is much more secure than closed-source software.
Relative to not having go it feels like going to the DMV.
I think most people, with a little education, are reasonable when it comes to ads. I know I was. Most of my computers didn't block ads or scripts. You can try to be nice but the ad makers have escalated things to the point that you have to respond. It's like content creators these days are so upset about ad-blocking that they feel they have to lash out with ads at the people that don't block. I went to some random Linux Q&A forum and had to force-quit my browser because the ads brought the browser to a standstill; all tabs were frozen. I consider ads that crash or force me to close my browser as an act of violence. Nobody in their right mind wants to subject themselves to that, regardless of their opinion of ad-blocking.
You haven't yourself empirically established that open source software is more secure, so you should be less smug about the logic you're using here.

In reality, software security is a function of the amount of expert attention that has been paid to a given piece of software. Popular open source software attracts a certain, stochastic, significant amount of attention, but money buys a more reliable amount of attention. There is insecure open source and secure open source, insecure closed source and secure closed source. Open source is a red herring.

There's a reason why, for instance, Firefox had Bleichenbacher's E=3 vulnerability, while IE didn't.
I think you just described the basic concept of Brave, Brendan Eich's browser project.

https://www.brave.com/about.html