DiscoverPython Bytes#402 How to monetize your blog
#402 How to monetize your blog

#402 How to monetize your blog

Update: 2024-09-23
Share

Description

Topics covered in this episode:


Watch on YouTube


About the show



Sponsored by ScoutAPM: pythonbytes.fm/scout



Connect with the hosts





Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.



Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.



Brian #1: Architecture Decision Records (ADRs)




  • Suggested by Christian Gesell

  • Documenting Architecture Decisions

    • Mychael Nygard

    • Original article from 2011


  • Why you should be using architecture decision records to document your project

    • Red Hat

    • Includes a quick overview and links to some templates


  • Notes so far

    • Writing this out helps me solidify my thinking about a problem.

    • I’m doing this both before starting, and while implementing a first draft

    • GitHub and GitLab render markdown so well that generating a docs site is unnecessary, just throwing these files in something like docs/adr is enough.

    • The lightweight process is enough but not too much.

    • I’ve already filled out None for lots of sections, like “options considered”

    • I’m still playing with what level of decision should have an ADR.


  • My template that I’ve been using so far

  • File name is something like 001-some-change.md



Michael #2: narwhals: extremely lightweight compatibility layer between dataframes




  • Recently had Marco on Talk Python to discuss

  • Primarily for library creators who want to support interacting with multiple data frame libraries (.e.g. Pandas & Polars)

  • Just use a subset of the Polars API



Brian #3: Microsoft wants Three Mile Island to fuel its AI power needs




  • “Microsoft just signed a deal to revive the shuttered Three Mile Island nuclear power plant. If approved by regulators, the software maker would have exclusive rights to 100 percent of the output for its AI data center needs.”

  • Also ran on CNN and other sources:

  • Three Mile Island was the site of the worst nuclear disaster in the US, when one of two reactors experienced a partial meltdown, in 1979.

  • It was still operating up until 2019, and now expected to re-open in 2028

  • Will be renamed “Crane Clean Energy Center”

  • related

    • The Department of Energy Wants You to Know Your Conservation Efforts Are Making a Difference

      • “By switching all the lightbulbs in your house to LED, you saved enough energy for a self-driving car to make an unprotected lefthand turn across three lanes of traffic.”

      • “We know you adopted energy-saving practices to help conserve our planet’s resources and bring down our collective carbon footprint, but what you ultimately accomplished is just as important: helping AI do something menial and stupid.”





Michael #4: zsh-in-docker




  • Install Zsh, Oh My Zsh and plugins inside a Docker container with one line!

  • Yes docker containers should be light, but also, think of how painful it can be when you run into trouble.

  • With Oh My ZSH, you get a nice experience when you have to result to docker exec -it CONTAINER zsh

  • Just enter a single command in your docker file:
    RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \
    -t robbyrussell



Extras



Michael:





Joke:



Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#402 How to monetize your blog

#402 How to monetize your blog

Michael Kennedy (@mkennedy)