Blog

What is common and different between Behavior Driven Development [BDD] & integration testing?

John Dee answers a question on Quora

I think this is one of those cases where simply knowing what the words mean helps. This question is exactly like, “What is common and different between Western Medicine and heart surgery?”

Behavior Driven Development[1] – Is a methodology and a philosophy of test first software development. It attempts to describe software “from the outside in” in terms of the behavior of system actors. BDD is a constellation of practices, tools, language [both computer and human], and techniques that include may include some of all of these elements: automated testing, DevOps, TestDD, Gherkin, Cucumber, Codeception, AcceptanceTestDD, Agile methodologies, and many others.

Integration testing[2] – In software development, especially in large projects that involve many teams, software architects may decide to conduct their work in “modules”. That is, separate software entities that are well, modular. Often a specific team will work on a specific module, so that Team A works on Module A, Team B works on Module B and so on. Integration testing is the activity of applying tests to groups of modules to “integrate” them. In other words, Module A works nice with Module B… add complexity.

The two terms aren’t diametrically related. You can do integration testing if your project has multiple large components. You can have a BDD philosophy [actually your SHOULD have a BDD philosophy in your software project], but you could develop software in many ways [Waterfall. Cowboy coding.] that might be less effective. You could perform integration testing as your only software methodology on a particular project. For instance, if the entire project revolved around merging two 3rd party projects: like putting two WordPress plugins on a site.

Read John Dee's answer to What is common and different between Behavior Driven Development [BDD] & integration testing? on Quora

Could virtual particle (and antiparticle) interactions be the reason we humans experience feelings of virtue (and vice)? Why, or why not?

John Dee answers a question from Quora.com

What do you mean by virtue and vice? The “interactions” of “particles” are words related to concepts held within the domain of your mind. There is no such thing as a particle, in the sense of ordinary interactive objects in the environment. If a “chair” is a “thing” then a “particle” isn’t a thing. Although if a “legal system” is a thing, then so is a particle. Depends on which Popperian world you live in.

Yes, the phenomenon are related, in that they are both emergent phenomenon within the mind.

Or another way to put it, is no, they are not related at all.

Read John Dee's answer to Could virtual particle (and antiparticle) interactions be the reason we humans experience feelings of virtue (and vice)? Why, or why not? on Quora

Page Builder plug in makes editing WP pages impossible (see screenshot / comment)

This question illustrates one of the many reasons NOT to use WYSIWYG page editors or builders, and to use a recommended workflow for WordPress. By using crapola 3rd party plugins, you set yourself up to be a hostage to whatever you’ve installed on your server. This is a website. You use paint for a painting, words for an essay, sound for songs, and you use code for websites.
Design – Hire a designer from a country where they can’t speak English, but they know how to draw with Crayons just as good as you. Demand a hard coded CSS theme for $30. Reject anything with database settings. Reject anyone who cannot produce a hard coded CSS theme. Pay me $20 cash and I will do this [hiring a proper designer for $30 bucks] for you in 15 minutes.
Read John Dee's answer to Page Builder plug in makes editing WP pages impossible (see screenshot / comment) on Quora

What 100% free WordPress theme, is specifically designed for posting code? [i.e. code highlighting, HTML char escaping etc.]?

Is there a .org theme specifically for CODE?

There are NO free themes DESIGNED for posting code in the .org repo. I think “any theme will do” isn’t the best answer. It’s not an answer to the question, but as others here mentioned, there are several plugins available. To which I would add embedding gists from github, which is the best answer I have.

I can’t believe there isn’t a theme in the repo for blogging about code! Anyone want to make one?

Read John Dee's answer to What 100% free WordPress theme, is specifically designed for posting code? [i.e. code highlighting, HTML char escaping etc.]? on Quora

What do you think is the percentage of theories that are taken for granted in physics today but that are actually downright wrong? E.g. dark matter, dark energy, gravity problems that don’t comply with the laws, etc.

Here is a theory which is a tautology: “Science” constitutes knowledge which is known to be false. Popper . i.e. You know, via the mechanism of science that you cannot, for instance, eat rocks for food. It is false to say that rocks are a food source for you; Science. So that particular scientific theory [about eating rocks] can’t be true or false, because it doesn’t make a positive assertion. Therefore it is scientific to say “it is false that rocks are a food source for me”. This theory of knowledge, might be the only theory that is a tautology, hence “true”. Basically, it is a theory that says the only thing you can know for sure, is that you make mistakes in what you know – for sure. As far as math being true, or any other positive theory, see the I-Ching, all of human history, or perhaps the metaphysics of 90% of philosophers who have ever lived. “Math” and “science” are giant ponzi schemes of black swam fallacies, perpetrated by grab assing reputation whores. Scientist talking about the big bang: “Give me one free miracle, and I can explain it all!” McKenna

Read John Dee's answer to What do you think is the percentage of theories that are taken for granted in physics today but that are actually downright wrong? E.g. dark matter, dark energy, gravity problems that don't comply with the laws, etc. on Quora

General Chicken logo from Freelancer.com

Freelancer.com is ridiculous for “design” contests! I’m not going to say the price, because it isn’t fair – given the quality of work. These guys are GOOD. Hazem actually submitted TWO entries that were good, and was able to adjust the design when requested. If you’re looking for a good designer, I’d definitely recommend Hazem.

General Chicken got our logo from this freelancer, Hazem W.:

Hazem W.
Hazem W.

Hazem on InstaGram
Hazem on Freelancer

First Draft
First Draft – I didn’t like the gun, so he redid it!

Sketch
Sketch