Skip to content
  • Home
  • About Me
    • Cookie Policy (EU)
  • R Blogs
  • Python Blogs
  • My GitHub
  • NHS-R Community
Hutsons-hacks

Hutsons-hacks

HACKS, TIPS AND TRICKS IN R, Python and beyond…

PythonGary Hutson13/06/20220

I know dictionaries, but what is a DefaultDict?

The supporting repository and code file is: https://github.com/StatsGary/PyHacks-Tutorials/blob/main/28_defaultdict.py. This is aimed as a short article to explain why you would want…
PythonGary Hutson23/05/20221

Narly NamedTuples in Python

NamedTuples are an excellent way to make your Python code more useful and readable. In short a NamedTuple is an alternative to…
PythonGary Hutson19/05/20220

Automating and downloading Google Chrome images with Selenium

I love Nottingham Forest and have been trying to find a way to include them in one of my tutorials, as…
PythonGary Hutson17/05/20220

Working with multiple arguments in a Python function using args and kwargs

When I first started programming in Python this used to trip me up all the time. Hopefully through my pain I…
PythonGary Hutson13/04/20220

Fundamental building blocks in Python – Sets, Lists, Dictionaries and Tuples

I have been working hard to compile a whole set of videos that help you to understand the core data structures…
PythonGary Hutson13/04/20220

Build a Transformers Game – using classes and object orientation concepts

Learn how object orientated programming works in Python. The video attached shows how to build a simple Transformers battle game and…
R BlogsGary Hutson24/03/20220

CRAN package development is addictive

During my R career I have had the opportunity to work on some really exciting projects, and with some really clever…
R BlogsGary Hutson21/02/20220

SangerTools – a R package for working with population health datasets has arrived

Asif Laldin was the main developer of this package, but I contributed a few functions and offered overall package development advice.…
PythonGary Hutson17/01/20220

Python Virtual Environments and package dependencies with a requirements.txt

This tutorial has been borne out of the ability to port my development environments around. Most times I have to create…
PythonGary Hutson05/01/20221

A package of Machine Learning datasets has arrived for R – MLDataR

I am proud to announce my seventh package for you lovely R folks. This time it is a collection of datasets…

Posts navigation

Older posts
Newer posts
Follow and Subscribe
Follow @StatsGary
Most recent musings!
  • Creating doodles with HED detection and ControlNet 01/10/2023
  • Building a PyTorch binary classification multi-layer perceptron from the ground up 10/07/2023
  • Graph Data Modeling with Python 30/06/2023
  • Fine tune a Dreambooth model for image generation using Stable Diffusion with PyTorch 25/05/2023
  • Using ControlNet models to remodel my living room 09/03/2023
Recent Comments
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Stable Diffusion application with Streamlit
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Using ControlNet models to remodel my living room
  • Using ControlNet models to remodel my living room – Hutsons-hacks on Stable Diffusion application with Streamlit
  • danielgbaena on Hyperparameter tuning a Transformer with Optuna
  • Diverging Bar Charts – Plotting Variance with ggplot2 – NHS-R Community on Diverging Bar Charts – Plotting Variance with ggplot2
Archives
Cool categories
RSS
  • Get better at getting better: Take the 2025 DORA survey
    Source: Google Cloud Blog Published on 11-Jul-2025
  • Enhancing GKE data protection with cross-project backup and restore
    Source: Google Cloud Blog Published on 11-Jul-2025
  • How Jina AI built its 100-billion-token web grounding system with Cloud Run GPUs
    Source: Google Cloud Blog Published on 11-Jul-2025
  • Manipal Hospitals and Google Cloud partner to transform nurse handoffs with GenAI
    Source: Google Cloud Blog Published on 11-Jul-2025
  • Apply the Dracula Theme to Quarto Websites
    Source: R-Bloggers Published on 11-Jul-2025 By Boyd Tarlinton
Advertising blurb
Copyright © 2025 Hutsons-Hacks. All Rights Reserved.
Boston Theme by FameThemes
Manage Cookie Consent
We use cookies to optimise our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}