Welcome to Your AI, ML & Python Programming Hub

  • How to Render a Panda Data Frame as HTML

    How to Render a Panda Data Frame as HTML

    Sometimes it might be useful to convert a Panda Dataframe to HTML. For instance, you might want to render a panda data frame inside a web page, outside Jupyter Notebook. You can do this by calling the df.to_html() function. Where df is the Panda data frame that you would like to render. Let’s first create […]

  • How to create a Liveness probe for WordPress in Kubernetes

    How to create a Liveness probe for WordPress in Kubernetes

    You have tried to create an HTTP Liveness probe to check for the state of your WordPress container but you are getting a really strange connection refused error. You are getting something like this: It says connection refused, and you are really confused because you are sure that the WordPress Apache server is listening on […]

  • Azure AppService vs Azure Kubernetes Service

    Azure AppService vs Azure Kubernetes Service

    If you are using Azure and about to select an orchestration service in which to host your applications, you are probably struggling with the following decision: Should I host my application in Azure Kubernetes Service or in Azure AppService? While this decision ultimately depends on the requirements at hand, there are long-term implications for your […]

  • Why are Kubernetes Health Checks useful and, what happens if you don’t have them?

    Why are Kubernetes Health Checks useful and, what happens if you don’t have them?

    Kubernetes Health checks, what are they for and, why are they useful? And what is the difference between a liveness probe, a readiness probe, and a startup probe? These are probably very abstract concepts to you. So before I go straight into explaining these, I think it is better that I share a story from […]

  • SRE Notes on SLO, SLI, and Error Budgets

    SRE Notes on SLO, SLI, and Error Budgets

    SLOs, SLI, and Error Budgets are the key pillars of Site Reliability Engineering, as championed by Google. What is the purpose of service working 100% of the time, but which doesn’t meet the needs of its users…. Or a service that never gets new features because that would require it to fail!  On the extreme opposite, […]

  • Real-time Fast Style Transfer model with Tensorflow.js and Next.js in the Browser

    Real-time Fast Style Transfer model with Tensorflow.js and Next.js in the Browser

    I wanted to share a project that I have been working on using Next.js and React. My challenge was to create an interactive component using React/Next.JS that anyone could try from a browser to play with the Fast Style Transfer model in real-time, via a web camera all within the browser. Let’s just say that […]

  • Error with NodeJS 17 and WebPack 5.5.0 -  error:0308010C:digital envelope routines::unsupported

    Error with NodeJS 17 and WebPack 5.5.0 -  error:0308010C:digital envelope routines::unsupported

    When trying to setup a project with Next.JS, WebPack 5.5.0 and NodeJS 17 I have hit a bug related to a change of the OpenSSL library from version 1.0 I started Next.js with: $ yarn dev  And I got this error: info — Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5bffHost some-hostnameError: error:0308010C:digital envelope routines::unsupported […]

  • Creating my own image dataset for Tensorflow with CVAT

    Creating my own image dataset for Tensorflow with CVAT

    So, I have created a Raspberry PI wildlife camera, but it has a big cat issue! Or shall I say, a big dog issue?! The Tensorflow model I am using mistakes everything for a dog. A fox, a cat, a person, and some sunshine can all be mistaken for a dog.  So I have to do […]

  • From a 2D Photo to a 3D Model with Nvidia Ganverse3D with Nvidia Omniverse Create

    From a 2D Photo to a 3D Model with Nvidia Ganverse3D with Nvidia Omniverse Create

    Remember that a few months ago I talked about a new ground-breaking application, yet to be released, from Nvidia Research Labs, called GanVerse3D, capable of rendering 3D models with texture from 2D photos?  Not only that, GanVerse3D was also supposed to be capable of animating the 3D model at a click of a button. Yes, […]

  • GraphQL and Flutter step by step guide

    GraphQL and Flutter step by step guide

    GraphQL: get exactly what you need and nothing more Let’s look at two scenarios: getUser API returns a bunch of irrelevant data where you just need an email address You must retrieve 4–5 APIs to build a screen This is where GraphQL can be useful, in this article, I will demo how to create a GraphQL […]

Would you like to contribute with an article?