← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 127
  1. Looking for answers without outsourcing to LLM

    Some examples of where i get limited by a specific programming language/framework’s syntax/particular way of doing things, and how I navigate it by trying to see if i can solve it myself based on what i know or good old internet search, (i.e. manually loo…

  2. DevOps Notes

    Some suggestions that i offered to someone else, looking for some general guidance around setting up their DevOps processes.

  3. Doing Math With Python in Anthropic Copyright Settlement

    In what can only be described as sign of the times, one of the books I wrote, arguably, the most impactful one, Doing Math With Python is one of the works in the Anthropic Copyright Settlement.

  4. In this blog post, I am going to desribe how we can calculate sepsis onset time using sepsis-3 criteria for the MIMIC-III patient data.

  5. Slow down, Read API documentation and Tutorials

    I remember the days of reading API documentation, and figuring things out and experiencing a joy having done so.

  6. Downloading MIMIC-CXR-JPG data from Google cloud

    I recently downloaded MIMIC-CXR-JPG, from Google cloud storage.

  7. Custom HTTP client with golang.org/x/oauth2 and GitHub Go SDK

    In this post, we are going to discuss an implementation detail about how we can use a custom HTTP client to use the Go GitHub SDK and the https://pkg.go.dev/golang.org/x/oauth2 package.

  8. Writing HTTP client middleware in Go

    In this post, I am going to share what I have learned about writing HTTP client middleware in Go.

  9. Kiwi PyCon XI Talk - Middleware Patterns for your Applications

    I delivered a talk at the recently concluded Kiwi PyCon XI.

  10. I delivered a talk at the recently concluded PyCon US 2022 conference.

  11. Pyodide, PyScript - Monkey patching requests

    At PyCon US 2022, Anaconda announced PyScript: Python in the Browser.

  12. It's hard to not become a computer user

    I saw a computer for the first time at school when I was 10 years old (~1995/96).

  13. On my learning style and a new book!

    I have finally gotten around to reading (listening) “The Code Breaker: Jennifer Doudna, Gene Editing, and the Future of the Human Race” by Walter Isaacson.

  14. Shallow copy and Deep copy in Go

    Update: Please note that my usage of “Call by reference” is not correct here as pointed out by a Reddit community member here.

  15. Go - Append behavior in option values using flag package

    While working on the solutions to exercises for my soon to be published book Practical Go, I needed to implement a way to implement an option in my command line application which could be specified multiple times.

  16. The "go test" command, os.Stdin and testing interactive input

    While working on the solutions to exercises for my soon to be published book Practical Go, I wanted to write a test function which would simulate a user not providing an interactive input when one was asked for.

  17. Serialization

    I always get confused between “serialization” and “deserialization”.

  18. Use of "transparent" in computing

    One word that has always baffled me in the context of software/computing is “transparency”.

  19. PyCon AU 2021 Talk - Planning for Failure using Chaos Engineering

    I delivered a talk at the recently concluded PyCon Australia conference.

  20. Named return values in Go

    In Go, there are a couple of ways to return values from a function.

  21. Check Go Module Path Validity

    The Go module path enforces certain restrictions as expected on what constitutes a valid path.

  22. Concurrency safe file access in Go

    Using a file for persistent storage (and not a database - datastore/object store) sounds like an academic exercise.

  23. Embedding files in Go using the "embed" package

    Demo - Embedding a template Demo - Serving files from a directory Learn more The most exciting feature for me in the Go 1.16 release is the new “embed” package which allows you to embed a file contents as part of the Go application binary.

  24. Authentication between services using Kubernetes primitives

    In my latest article for the folks at learnk8s, I write about establishing authentication between services deployed in Kubernetes.

  25. Static and dynamic checks for your Kubernetes workloads

    My two recent articles, Validating Kubernetes YAML for best practice and policies and Enforcing policies and governance for Kubernetes workloads looks at the topic of enforcing policies for your Kubernetes workloads.

  26. Using Gatekeeper in Kubernetes

    Introduction Gatekeeper allows a Kubernetes administrator to implement policies for ensuring compliance and best practices in their cluster.

  27. Getting started with Go plugin package

    Introduction In this post, I will share some of my learnings and explorations on plugins in Golang.

  28. Kubernetes pod security policies

    Welcome to this new blog post!

  29. Metadata I have posted this article on dev.to where I welcome comments and discussions.

  30. Sorting pages by last modified date in Hugo

    This blog is managed as a git repository and I use Hugo as the framework for managing it.

  31. Using cloud custodian to ensure compliance across AWS resources

    Introduction In this post, I will describe my experiments with using Cloud Custodian to perform various tasks usually falling into the bucket of compliance and sometimes convention.

  32. Restricting attributes that can be set in Python

    A reader of my book “Doing Math with Python” wrote to me a few weeks back about a strange problem they were having.

  33. On managing Kubernetes YAML manifests

    Introduction There are two broad discussion points in this post: Managing the lifecycle of Kubernetes YAML manifests Static guarantees/best practices enforcements around Kubernetes YAML files before they are applied to a cluster Prior art and background P…

  34. Correlated error logging

    Please note this document is currently in progress.

  35. Using Go for automating infrastructure and operations work

    Since around 1.5 years ago, I have been working in roles which has required to automate various things usually classified as “infrastructure and operations” work.

  36. Jenkins Docker Workflow plugin - A look at inside()

    Introduction The docker workflow plugin enables leveraging Docker containers for CI/CD workflows in Jenkins.

  37. Bash function and exiting early

    Monday was just beginning to roll on as Monday does, I had managed to work out the VPN issues and had just started to do some planned work.

  38. User access management on AWS Kubernetes cluster

    Introduction When implementing a solution for allowing users other than the cluster creator to access the cluster resources we are faced with two fairly old generic problems - authentication and authorization.

  39. Notes on Go

    Repeating the same argument to Printf If we wanted to repeat the same argument to a call to fmt.Printf(), we can make use of “indexed” arguments.

  40. Notes on Kubernetes

    Introduction This in-progress page lists some of my findings while working with Kubernetes.

  41. Nginx - redirecting non-www to www hostnames

    Introduction I wanted a Nginx configuration which would satisfy the following requirements: Any example.com requests should be redirected to www.example.com The above should happen for http and https http://example.com should redirect directly to https://…

  42. Notes on Bash auto-completion on Linux

    Welcome to this new blog post!

  43. Notes on PostgreSQL

    Some notes on PostgreSQL which you may find useful.

  44. Nginx + strace

    I was debugging a issue where we were getting truncated logs in ElasticSearch in the context of a setup as follows: Application Logs -> Fluentd (logging) -> Nginx -> ElasticSearch The original problem turned out to be on the application side, but my first…

  45. Nginx and geoip lookup with geoip2 module

    I wanted to setup Nginx logging so that it would perform GeoIP lookup on the IPv4 address in the X-Forwarded-For header.

  46. Generate yourself some Terraform code from TOML

    In this post, we will see how we can use Golang to generate Terraform configuration from a TOML specification.

  47. Getting a docker container's stdout logs into a variable on Linux

    docker logs by default shows the container’s stdout and stderr logs.

  48. ASP.NET Compilation and other files don't mix

    I love working in software.

  49. Scheduled task to prune docker images on Windows server

    Windows docker images can be bulky and on a server that you are deploying your application as docker images, the free disk space becomes a metric to watch out for.

  50. Poor man's zero downtime deployment setup using Traefik

    Recently, I wrote two articles about using traefik as a reverse proxy.