Join Our Newsletter

Apple

Spotify

Google

RSS

Episode 14 - Practical Data Structures: Ordered Indexes vs Hash Tables

13 mins
2020-06-14 engineering
Hash tables are data structures that map keys into values. Used in Python’s dicts, Go’s maps, Java’s HashMaps, and other places. However in databases, the default structure is almost always an ordered index, typically a B-Tree. Hash tables use a fast and repeatable hash function to assign each key a unique place in memory to store its values (sometimes called buckets). The load factor is the number of entries occupied in the table, divided by the number of unique storage buckets. Continue reading

Episode 13 - Practicality of the Microservices Obsession

15 mins
2020-05-25 engineering
As an expanding industry trend, architecting solutions with microservices is yet another swing of the proverbial hammer that intends to solve every possible software problem. But just like everything else in the real world, the reality of implementing this type of solution involves costs and trade-offs that you should be aware of. We explore them in this episode. What are the benefits? Modularity. Scalability. High availability. Deployments with no downtime. Continue reading

Episode 12 - Unleashing Web Traffic with Content Delivery Networks

13 mins

Every website and application often delivers a number of assets as static content. Things like images, CSS or JavaScript, grow in number and total size as your site evolves. And along with them, you’ll also see a jump in load times and bandwidth requirements.

Site performance is an important part of improving your search rankings, discoverability, and traffic. Especially when so much of the web is now viewed through mobile devices with limited bandwidth or high latency.

Content Deliver Networks or CDNs, work by caching static assets across servers geographically distributed all over the world. They reduce load times, improve performance, and minimize bandwidth and infrastructure costs.

Let’s dive into the details.

Continue reading

Episode 10 - Studies in Search Engine Optimization And Why Developers Should Care (Part 1 of 2)

33 mins
2020-05-02 engineering seo

Most developers are aware of the term “Search Engine Optimization”, and like me, have a vague understanding of what it actually means. For a long time I thought that this was more about the content of a website than how that site was created or built. In other words, I saw it as an issue for the folks over in the marketing or sales organizations, certainly not for us engineers to worry about.

It turns out that the design and architecture of the technologies implementing a website have a large impact in it’s discoverability. I didn’t understand this until about a year or two ago when I needed to perform some optimizations for tryexceptpass.

I met up with Michael Kennedy from the Talk Python To Me podcast, and together we recorded our musings about SEO and present them to you in this two-part series.

Continue reading

Episode 9 - The Fascinating World of Intellectual Property Law and How it Applies to Software

12 mins
  • Intellectual Property Law was created to foster innovation and competition.
  • The concept has actually been around for centuries.
  • Today, IP Law provides a way to protect coding innovations that may be novel or unique.
  • It refers to ownership of intangible things, giving people and businesses property rights to the intellectual goods and innovation they create, usually for a limited time.

  • You can own a specific brand logo, a unique way of solving a software problem or even a composition.

  • There are four types of intellectual property:

    • Copyrights - for anything dubbed as “art” like paintings, music, etc.
    • Patents - for inventions, meant to purposely enable a monopoly on their production.
    • Trademarks - these are brand-related like logos, catchphrases and others that help identify a company.
    • Trade Secrets - concepts that give a business some competitive edge over another.
Continue reading

Episode 8 - Microservices Cheat-Sheet: Answers to 8 Common Questions

13 mins
2020-04-20 engineering

The majority of enterprises are either running in a microservices environment or studying how to do so. The concept has been around for a while, but used a lot like an industry term that means different things to different people. We’ll try to define the concept and some of the terminology used along with it.

Continue reading

Episode 7 - Basic Practices to Secure Your Application Architecture

13 mins
2020-04-13 engineering

Markets seem to reward fast product launches over secure one. This means that most organizations are not prioritizing security tasks early on. But following basic security practices early can yield great benefits without a significant increase in development time.

Continue reading

Episode 6 - Underused Git Commands that Simplify Your Life

15 mins
2020-03-30 engineering

Today, git is the standard for distributed version control. Services like GitHub and GitLab have made it very popular. But while many developers know the basics, a lot of us still think of it as magic and are unaware of the “power tools” that come with it.

We’ll discuss a number of commands or command options that will help you be more productive.

Continue reading

Episode 5 - Supercharge Your Coding Skills By Learning Software Architecture

14 mins
2020-03-09 engineering

Becoming a professional software developer is more than just getting better at a particular language, or learning more algorithms. You must learn about the development process itself, about design and architecture of a product. Following are a few things to consider/

  • Make sure your code is the correct code for the project as a whole.
    • Does it help you achieve the larger goals?
    • Does it impede future development or constrain possible future goals in any way?
    • Can you adjust constraints in a way that adds more value to the product?
    • What are the documentation implications of writing it a particular way?
    • Is it easy for someone else to pickup where you left off?
    • How should I break down the tasks into small ones such that there’s time to test things out and increase confidence on the new changes?
Continue reading

Episode 4 - 7 Practices for High Quality Maintainable Code

13 mins
2020-02-24 engineering testing
  • Code is complicated, hard to test, difficult to understand and can frustrate others.
  • Writing cleaner code can save you from reimplementing software simply that you cannot understand.
  • It’s an iterative process and there’s several principles to help you do that.
  • Keep it Simple Stupid (KISS) tells us to avoid unnecessary complexity and reduce moving parts. The idea is to write for maintainability.
  • Don’t Repeat Yourself (DRY) is about avoiding redundant implementations of the same function. You should think about refactoring.
  • You Aren’t Gonna Need It (YAGNI), an Extreme Programming principle, says we should stick with the requirements and avoid adding unneeded features or functions.
  • Composition over Inheritance asks us to take care when applying classes an inheritance in your design because it can lead to inflexible code.
  • Favoring Readability reminds us that writing software is like writing prose. Organize your code as if you’re writing a novel.
  • Practice Consistency tells us to stick with our decisions throughout the project. Keep the same format, implementation flow and design principles.
  • Consider How to Test a solution before writing it, or at least while writing. It helps you avoid traps that can unnecessarily complicate the code base.
Continue reading

Episode 3 - Decoupling Database Migrations at Application Startup

13 mins
  • Data models change and evolve with your application.
  • There’s plenty of tools that keep track of database schemas and automatically generate scripts to upgrade or downgrade them.
  • It’s common for developers to run a migration at the start of their app before running app code.
  • Our author explains two common problems with this approach.
    1. Modern day production deployments and horizontal scaling can get you into a race condition.
    2. You start assuming that new code will only ever run with the new schema.
  • You can decouple migrations from code changes by disabling parallelism during this time.
  • Make it a separate command or lock the database during the upgrade.
  • We can easily implement locking ourselves in any language.
    • Use Redis locks if you’re ok with something external to the DB.
    • Use the DB itself by writing to an extra table to say that you’re upgrading it.
  • Plan your deployment appropriately so you can run old code with new by making migrations additive in the short term.
  • Using a script at startup that optionally performs the migration based on an environment variable integrates wel with Docker and cloud services.
  • Upgrades of both code and data should be part of your testing BEFORE releasing to production.
Continue reading

Episode 2 - Writing README files

13 mins
2020-01-26 documentation
  • What’s a README?
  • Modern day added formatting. Mostly Markdown, sometimes Restructured Text.
  • What to include in a README?
    • Name the project
    • Intro / Summary / Overview
    • Prerequisites
    • Installation instructions
    • Usage instructions
    • Contribution instructions.
    • Credit for important contributors.
    • Acknowledgments of projects you based yours on.
    • Ways to communicate with you or the community.
    • License information.
    • Project status information in the form of badges.
Continue reading

Episode 0 - Introductions

3 mins
2020-01-12
Our first episode introducing the podcast. We’ll go over the motivation and what to expect of the coming episodes.
© Copyright 2020 - tryexceptpass, llc