Category: Programming

  • WordPress WP_Query Tip: Always Specify Post Status

    WordPress WP_Query Tip: Always Specify Post Status

    One of the quirks with working with WordPress queries is that the default arguments may not be suitable for your application. WordPress was originally a blogging platform. Now its use has expanded to many other types of websites, including news sites and e-commerce sites. Furthermore, with the advent of the Gutenberg block editor and Full…

  • How to Check for Git Merge Conflicts in Travis CI

    How to Check for Git Merge Conflicts in Travis CI

    We use Travis for Continuous Integration (CI).  In other words, we pay a bot called Travis to check our code before we deploy it live.  Travis checks for things like PHP syntax errors and runs all of our PHP unit tests to make sure that the new code change doesn’t break anything. What Travis checks…

  • The Best Code is the Code you don’t write

    The Best Code is the Code you don’t write

    Earlier in my software development career, I would get an assignment and eagerly jump into writing the code.  Hours later — after frustration and then the joys of success — I had the code done. Writing the code was a learning experience for me — I got better at programming the more I practiced —…

  • Is the bug in the code or the data?

    The answer is always in the code.  Or is it? Yes.  And no. The code depends on the data being a certain way.  If the data is different, the code will fail. This is the lesson that I learn (again) after an almost perfect experience of writing a test-driven solution. I say “perfect” in that,…

  • How to Solve a Software Bug FAST

    [ @todo: Insert photos of bugs and fun stuff.] It’s not always important to solve bugs with great speed.  In fact, “slow down” is a tip I give myself regularly.  BUT, it’s true that I’ve figured out some favorite techniques that help me solve software development bugs in a timely manner, and I hope you find…

  • How to get a Remote Programming Job

    Is working remotely important to you? Do you want to work from home? Or do you want to live the digital nomad lifestyle? A good programmer may be an introvert or a traveler, and more companies are figuring out that it doesn’t matter if their employees don’t live near each other — what matters is…

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more please see our Privacy Policy.