skysight-inc/HackerNews huggingface dataset:
> You've invented this term "half-baked TDD", but that seems a little unfair.

I was rolling with your characterisation that the study wasn't about "real" TDD.

> Prominent TDD advocates, Bob Martin among them, claim quite unambiguously that TDD is essential to writing good software, even using patronising and insulting language like "unprofessional" to describe anyone who doesn't do it.

I personally find Bob Martin quite infuriating.

Doubly so, because I am being apparently grouped with him.

> Given that, I'm sorry but I find it patently absurd to argue that the only reasons hardly anyone is doing TDD, even though it is so inherently superior in both quality of results and cost effectiveness, are that it is hard or unfamiliar.

My actual argument is that TDD is a practice that is hard to learn alone. Every anecdote I read about someone trying and rejecting TDD is an individual trying it by themselves.

> Many of us worked on software projects that have not failed. Not failing is table stakes for this debate.

Reducing defects found in production by 40-90% on a first encounter with TDD is more than table stakes. Especially considering how many projects utterly fail.

Consider for contrast Fagan-style code inspections. These too boast studies with ~90% bug yields. I don't see many people doing them.

Or formal methods. Again, claims of remarkable bug prevention outcomes on very challenging projects, for long spans of time. Yet it hasn't swept the industry.

Some practices are, frankly, harder to learn than others. That the industry is quicker adopt more easily-adopted practices says nothing else about the practices.

We clearly aren't going agree.

Edit: one more thing. I was struck by your point that people only ever cite the one paper. So I began looking for reviews.

Here are two recent ones of interest:

The effects of test driven development on internal quality, external quality and productivity: A systematic review

http://www.sciencedirect.com/science/article/pii/S0950584916...

and

"Considering rigor and relevance when evaluating test driven development: A systematic review"

http://www.sciencedirect.com/science/article/pii/S0950584914...

This second one in particular is of interest, the authors include Munir, who was an author of early research showing equivocal results for TDD.

Unfortunately, both behind paywalls, so a closer reading may weaken the fairly strong statements in the abstracts.
I've recently just started using pthreads with blocking pipes. Not performant, but dead easy to use & reason about.
Adventures in Narrated Reality
If it's short enough that you're willing to type it every time you touch your phone, then it can probably be cracked very easily by cloning your flash storage and brute-forcing in parallel.

If you use a strong password on an iPhone than the attack the FBI is trying to pull wouldn't work either.
A small chrome extension to help quickly close multiple tabs
BUSINESS IS LIFE TIPS ON How to BECOME a BUSINESS OWNER
Thanks, yes, I was thinking of Tensilica. They use Fred's compiler (SGI -> Open64 compiler). Which has always done whole-program optimization.
I have written a handful of templates but only 3 are sponsored (which means they show up for everyone) and only one has 2 favorites (the threshold for something being considered "popular" right now).

This comment makes me realize that I should turn the "popular" threshold down to 1 favorite so more things show up for new users until the application starts getting some traffic.

Thanks for the feedback, I'll get that change pushed in a bit!
> the Attorney General didn't think through the case, or didn't examine CALEA closely enough

With a case of this magnitude? That seems to me unlikely to the point of impossibility.

That's one side of the argument. The other argument, as I understand it, is that this is a step to a future akin to a Neal Stephenson novel, one we do not want to live in. The most persuasive counter-argument I see is that this future is inevitable. The most persuasive counter-counter argument is that while moving towards a future where people have access to un-subpoenable smart phones and communication mechanisms which guarantee absolute privacy [1] may be the "current of technology", how quickly we get there and the direction from which we approach it is of the outmost importance, and "in the near future and for people who can afford smart phones" is not the right timing nor direction.

1. "Absolute privacy" defined as secrecy of content and meta-data, from everyone and forever.
Right, I'm asking you to define "better".
Most people don't boot their computers very frequently, and when they do they have a full-sized keyboard at their disposal.
Www.livengr.info: BUSINESS IS LIFE TIPS ON How to BECOME a BUSINESS OWNER
"Guardrails should be designed with their ends buried in the ground so that vehicles can’t crash into them, for example"

Maybe I'll read this because I shall like to see his reasoning. Many guardrails used to be like this. My recollection is that when guardrail ends are buried, vehicles can easily run over the end so the middle of the car rides up over the guardrail. This can flip the car over--either onto the road or onto whatever the guardrail was supposed to be guarding.

So my understanding was that the reason guardrail ends are now simply exposed and capped off is because it's better to collide head on with a guardrail than it is to ride over a guardrail and flip over.

[edit] this is further discussed at this link. Maybe the book discusses this better than the review did.

http://www.crashforensics.com/papers.cfm?PaperID=53
But you don't want to teach me what the real problem is quite yet?
There's always another Microsoft hurdle.

Recently
Windows 10 showing Tomb Raider advertisements.
Windows 7 upgrading to 10 without permission.

This article claims Microsoft is embracing open source in a way that is not just to extend and distinguish.

In my limited knowledge it looks like adaptation.
They tried to extinguish; didn't work
They tried to extend and extinguish.
Now they have to embrace.

Not so fun fact. "Microsoft paid a guy named Ken Brown to write a book saying Linus stole Linux from my MINIX 1 system." - Tanenbaum

It feels a lot like an abusive relationship people don't know how to walk away from.
Funny, I have a slide-to-unlock device on my front door that fits that specification exactly, the only difference is that it is not 'on a computer'. It's a ridiculous patent.
The Great Unsettling
There are a few ways of thinking about two's complement numbers.

This article gives us the worst way: "you form a negative number from its positive by inverting the bits and adding 1". Insight into what's going on will be limited.

You could also say, "in two's complement, the most significant bit has a negative value rather than a positive value". So the bit values for a four-bit two's complement number would be -8, 4, 2, and 1. You then add those up in the normal way and you have your number: 1011 = -8+2+1 = -5.

But the reason two's complement works is that in fact all the bits have their normal positive value. Instead, the two's complement convention is that all bits which the variable is too small to express match the most significant bit, giving an infinite geometric series. For example, it's easy to verify that 1111 (with an infinite number of leading 1s) is the sum from 0 to infinity of 2^i, and that that sum evaluates to -1, which is the value of 1111 in (four-bit) two's complement. That's why you can add two's complement numbers in the normal way and get correct results.
Yep. People come out of the woodwork to praise MS when they do something that involves Linux, but when they are caught (yet again) doing something anti-Linux it get very quiet.

I think this headline sums it up best: http://www.infoworld.com/article/3042699/open-source-tools/m...
I agree. Tens of millions spent smearing Trump in just a week failed. Bernie can run independent of major donors because of small payments from individuals. These are to be celebrated, it's a fantastic slap in the face of the wealthy who think they can ply the masses by controlling media.

Unfortunately, congressional voters are still low information and apathetic so money is much more powerful there.
I have a feeling that there might be some research along those lines here: http://homepages.inf.ed.ac.uk/cdubach/
Sir John Gurdon, Nobel Prize winner, was 'too stupid' for science at school
There are two different points here. Firstly, the claim that merely requesting data can't be illegal is shown to be wrong by hacking, which is illegal even if it only consists of requests. Second, the comparison to contracts is when the TOS was agreed to. Even the EFF agrees that they can be legally binding, as I linked to elsewhere. https://www.eff.org/wp/clicks-bind-ways-users-agree-online-t...

See also http://www.law360.com/articles/726505/expect-lawsuits-agains...
> Can you provide an example of slide to unlock before the iPhone?

A mediaeval church door bolt. Or whatever.

Doing the same thing but "on a computer" shouldn't allow a patent.
Yes so the "Waiting for load balancer deployment..." is a confusing message leftover from its original use for a remote cluster - we're fixing it asap, but it actually has already worked. Go ahead and get your Docker daemon IP and then grab the NodePort with `$ kubectl describe services/mattermost-app` and put in the IP:NodePort into your browser to see the Mattermost instance running.

The easiest way to install kubectl is actually to install gcloud first (https://cloud.google.com/sdk/#Quick_Start) and then install kubectl with `$ gcloud components update kubectl`

Thanks for bringing this up!
Jacob Fugger - The Amazing Career of a Pioneer Capitalist
Whoa whoa. This means Sunshine wasn't scientifically accurate?!
Oracle: Rhetoric Does Not Equal Recovery
Expired cert?
Very cool - thanks for sharing!
They mentioned them in the context of how they're solved, though.

Gresham's Law is about things which are fungible in some contexts but not others. If Tesla charges you a fee to keep your borrowed battery then they're never fungible so it doesn't apply.

How it works to always get your original battery back seems obvious to me: they don't put it in other people's cars, they hold on to it for you. If you decide to keep the newer battery, then your original is no longer yours, and you can't get it back anymore.

This whole thing seems like a lot of fuss about problems which are pretty easily solved, and are solved.
Thanks! What else would you want to see in a general use framework?
Was a bit quick comment last time. Yes, having the amount of observations is a very natural feature to add. Shiuld be fairly simple as well, so it'll be added soon!
Very cool project (and in C++)!

HN is not bad with 91/100: https://developers.google.com/speed/pagespeed/insights/?url=...

Compared to PageSpeed home (unfair) 64/100: https://developers.google.com/speed/pagespeed/insights/?url=...

;-)

PS: The FAQ source code link points Google Code (instead of GitHub: https://github.com/pagespeed/mod_pagespeed)
Thank you for your great Feedback and questions. It makes me think more what will be the best way:. First encourage programmers or companies!
Unfortunately the answer isn't even correct, and the parent uses this local example to launch an argument against the Common Core itself.
I posted it not because it is in the web, but because it is powerful. For example: automatic extraction of barplots of selected color.

Before I explored tons of applications requiring to manually click of the every single point. And actually I am hoping for an app automatically getting scales and coordinate system.
Totally awesome! Best luck to you sir!
Is ^ a digit?
> ...if MSFT gets royalties from these patents it would be irresponsible (to their shareholders, and employees) for them to ditch them...

Continuing that logic, it would be irresponsible not to defend this patent's revenue in court. Irresponsible not to use the most advantageous court for that (i.e. East Texas). Irresponsible to campaign in such a way that might invalidate that patent as it would deprive them of a valuable asset. Irresponsible not to reinvest some of the revenue these parent's generate into lobbyists to protect that revenue stream and asset.

So responsibly to investors again results in a tragedy of the commons. This time in patent litigation and legislation
Outmaneuvering Eavesdroppers in Next-Gen Wireless
I think what flyinglizard had in mind were fields where learning occurs through theory first and foremost, and only secondarily through practice. Software obviously is a craft where the act of implementing is really the major part, and thus you are by default learning through practice with theoretical studying being the exception.

Now consider the math courses you take at college for example. Here the important part is to learn and understand deeply abstract concepts, but then you explicitly need to practice in order to tie them together so you are actually able to use this knowledge.

I think both aspects of assimilating knowledge are absolutely crucial in all domains, but often one of them is naturally the default, while the other requires some effort.
Sorry for that, it was unashamedly lifted from another and more generalist site, title and all. Won't happen again.
You could start by listening to the users, instead of talking down to them.
First All-Female Coding Class in Kenya – Andela
Yeah that's supposed to be covered by the requirement that an invention be "novel" to qualify for a patent.
Is anyone here using Kubernetes in production ?, what does your usecase look like ?
The Internet of Things is a surveillance nightmare
Unfortunately, Chrome's security is hobbled by being forced to sync to Google or risk data loss. At least on Windows. Your profile is locked to a given PC. If your Chrome settings change at all (partially corrupt file, third party app modifying them, etc), Chrome will unceremoniously reset your settings as well as wipe out all your extensions and all your extension data. If you sync to Google, this will then all be restored. If you don't sync to Google, your data is just gone.

This also happens if you try to transfer your Chrome data from one PC to another, say when you buy a new laptop.

At least all the above happened the last time I checked it out, which is why we started recommending Firefox Portable over Chrome Portable for portable use or use on your synced could folder.

This is apparently by design to prevent third party apps from modifying your homepage, default search engine, or adding advertising to your web pages via extension.

Chrome is great, but only if you log in to your Google account and sync everything back to Google.
It wasn't about math. It was about being intelligent and being encouraged for it.
Someone else in this thread mentioned chunk.io which offers this
http://chunk.io/#stream_content_beta
If you want that to change, support changes in patent law. You can't expect any company to act against its own self interest while other companies take full advantage of the system.

In other words, don't hate the player; hate the game.
Do you want to open it up or make it possible to extend? I want to experiment with this, but not having the caching code and SSD handling code for the windows kernel doesn't help. There are no reliable and trustworthy alternatives.

Have you tried to combine RAM and SSD caching already?
9^9^9 is just the ASCII representation. When writing it 'on paper' you'd use superscripts which means you don't need anything other than digits.
I remember when this building was moved in Warrington (UK) in 1981:

http://www.engineering-timelines.com/scripts/engineeringItem...
Is that really a valid valuation? If they tired to liqudate even a small fraction it would surely tank the price to essentailly zero.
The “Paradox” of Strategy computer games in 2016 and beyond
FAT is getting on for what, 40 years old now?
I could call that list deliberately malicious from user experience standpoint:

>Are password entropy checks done during user sign-up, using, say AUTH_PASSWORD_VALIDATORS?

No. It's my information to be stolen, not yours. So then it is my choice, whether to use 123 as password or not. Why should I care to manage the complex password, when I use your service eg. twice an year and have no important information there? (if you really believe that people are eager to fill website with their authentic personal info unless they do not have other options, you are probably fooling yourself).

The better alternative is just no registration at all :)

>Are failed login attempts throttled and IP addresses banned after a number of unsuccessful attempts

So, you hadn't listened the previous piece of advice and forced me to create password that would've passed through the password checker. Six months passed and now I have to remember (I really don't want to bother with managing and storing password to your service anyway) it. As you could imagine, it takes several tries, dozen or two, maybe even three - depending on that cool password validator of yours. Do you say, that I need to use tor or have some pool of spare IP adresses just to login to your service?

>Are all form fields (with the exception of password fields) validated with a restrictive regex?

Aha, start with an email and surname, polish with an address;) Then your service will make it straight to the oblivion even faster!

>Do you have an account recovery flow? Delete it immediately.

Quite appropriate actually: when all tor exit nodes are banned by your login attempt throttler, that retards with severe memory impairment (whom you sometimes by mistake call "clients" in your marketing bullshit) still must not have a glimpse of a chance to use their account!
Convox team member here. Big fan of the Redspread team too :)

As Mackenzie says, we do have very similar goals of making deployments easy. I think we're also seeing the problems in a very similar way.

Most devs and teams want to focus solely on writing, deploying and maintaining their business apps and services. There are a lot of technical details to sort out for any container orchestration system, so we're building great tools that make these low level challenges vanish.

Redspread wants to be the Kubernetes experts so you don't have to be. Same with Convox and AWS.
There were also a record number of FOIA lawsuits last year: http://dailycaller.com/2016/01/06/record-number-of-foia-laws...
A quick guide to why VR's suddenly so big and how to experience it yourself
Part of the surveillance side's strategy is to keep it a relatively obscure footnote until it's a done deal.

Apple is making it into something a lot more mainstream. Hopefully other participants in the privacy side hopefully can capitalize on this to push it even further into the mainstream.
I think a lot of ad-blocker users use the same justification. They block ads because they can. Readers put up with ads in paper magazines because there's little alternative.
Because you would look at the person in the video, not the camera.

You want transparent cameras in the display.
Death by Chamomile? (2013)
Yes, because free software does not mean a shit.
Unless you hand assemble your devices, compiler, verify every line of code before compiling it and only then install it.
Really? I have a book on CBO performance troubleshooting from the foremost expert and even he says that he can't fully understand why the CBO does the things it does.

I doubt your in house experts fully understand the Oracle CBO. They may claim they do, but unless they have access to material that isn't public they can't possibly be able to diagnose the CBO fully.

You realise there are over a thousand hidden database parameters, right?
Bit shifting
Hmm, I am not convinced. Photons are quantized, and there is a significant difference between a photon existing and not existing.
> Maybe I'll read this because I shall like to see his reasoning. Many guardrails used to be like this. My recollection is that when guardrail ends are buried, vehicles can easily run over the end so the middle of the car rides up over the guardrail. This can flip the car over--either onto the road or onto whatever the guardrail was supposed to be guarding.

Yeah, I remember this coming up in discussions in Austria as well. The current design of guardrails involves moving the guardrail terminal out of harms way: http://www.land-der-erfinder.at/wp-content/uploads/Leitschie...

And for retrofitting guard rails between lanes where there is not enough space, they installed shock absorbers: http://www.land-der-erfinder.at/wp-content/uploads/Aufpralld...

If you crash into those it crumples.
You frame the poster as quibbling, but that's exactly what the father is doing, in a way that is both incorrect and pedantic, even if we were to follow their internal logic of using only implicit operators (why not tetration?).

Yes, the girl exercised creativity. It is the teacher's discretionary job to reward that creativity. In this case, though, the father is wrong and he myopically uses it to attack the Common Core.
That's the trick. I was expecting some sort of message to tell me where to find the service.

Mattermost, Postgres and Kubernetes set up in minutes. Great work.
1) Yes, first thing i tried.
2) 3) Agreed.
4) Very much hope so.
Don't tell me what to do and I won't tell you where to go.
Democracy has nothing to do with open-source software and I will recommend the best tool for the job, open or closed source, thank you very much.
OTOH maybe fewer peopel thinking that they have it all figured out and know the best what is good for society would be indeed good for democracy.
Deep Inside: a study of 10000 porn stars
Hopefully we'll soon be able to rely less on long term studies and be able to better monitor changes in the human body as they occur.

A 10th generation smartwatch and tricorder?

http://tricorder.xprize.org
Is there much difference between Lion and the router in Gin (https://github.com/gin-gonic/gin)?
Sil is not abandoned AFAIK. The latest version is from just three months ago. Did you find the right URL? http://www.amirrorclear.net/flowers/game/sil/

It is indeed one of the minimalistic roguelikes, like Brogue, rather than one of the kitchen-sink roguelikes, like ADOM, Nethack or ToME. But do give it a try, it's really a quality game! I have played several dozens of roguelikes and it's in my top 3, right near ADOM and Brogue.

Some of its merits are intelligent enemies that are actually able to follow group strategies rather than charging blindly, an original song system, really great atmosphere and immersion (even better if you're a fan of Tolkien), and probably the only roguelike I've seen with a crafting system that doesn't suck.
There may or may not have been specific promises, but that's why I used the word "spirit". There was definitely a theme of making government more open.
Can you send us an email at support@knowleey.com and I'm sure we can find a way to work together!
Feinstein is already trying to.

http://www.reuters.com/article/us-apple-encryption-legislati...
Yes, they value convenient tools they need more than some imaginary freedom they have no use for.