Skip to content
Analyze the Data not the Drivel

Analyze the Data not the Drivel

Practice relentless verification

  • About Me
  • Code
  • Photos
  • Posts
    • Observations
      • Diary
      • Nostalgia
      • Presentations
    • Photography
      • Cameras/Lenses
      • EXIF/Metadata
      • Image Processing
      • Restoration
      • SmugMug
    • Programming
      • APL
      • C#
      • Haskell
      • J
      • JavaScript
      • Jupyter
      • Python
      • SQL
      • TeX/LaTeX
    • Rants
      • IT
      • Politics
    • Reviews
      • Books
      • Movies
      • Software
      • TV
    • Science
      • Astronomy
      • Mathematics
    • Stories
  • Download this Blog
  • The JOD Page

Setting SmugMug Print Size Keywords with Jupyter and Python

Bakerjd EXIF/Metadata, Jupyter, Python, SmugMug January 28, 2018August 29, 2020

For the last few weeks, my normal hobbies have been preempted by my obsessive refactoring of an old SmugMug keyword setting program. Many years ago I wrote a small application that helped me maintain meaningful SmugMug keywords. I used this application for years until inevitable software changes broke it. Replacing it with something better has been on my to-do list for ages.

I kept putting it off because I knew the tools I used in the past, mostly J and VB, were not well suited to REST API programming. Yes, I know just about any programming tool can be forced to serve, Turning completeness guarantees it, but I have grown weary of programming to prove tiresome points. If a tool makes something more difficult or tedious than it should be then change tools!

The downside of changing tools is that it usually results in learning yet another programming language. I always try to avoid this! I briefly considered languages with decent REST support that I already sort-of-know1, C#, JavaScript, VB.Net and decided that proper 64 bit versions were either too expensive (C#, VB.Net) or that I didn’t want to stare at ugly bracket infested syntax for weeks. I’m talking about you JavaScript. Even your fanboys admit that you’re an ugly duckling.

I eventually decided to go with Python. I’ve always found Python code more readable than many other programming languages. This is a widespread opinion. Python is free, open source, and comes with a large diverse set of tools. One of the best tools to come out of the Python world is Jupyter. Jupyter is the first public domain open source literate programming tool that has gained a large following.

I’ve been a fan of literate programming ever since I read Knuth’s seminal book. He used the technique to create some of the best program documentation ever created. I always wondered why literate programming never caught on. I suspected the basic problem was simply that many programmers are not particularly literate. Well, Jupyter is proving me wrong.

Jupyter is certainly helping me write and program with such clarity that all my ideas seem trivial.

Compare this notebook, (use the first link for the best layout), to my earlier blog post about setting SmugMug print size keywords.

  1. Nbviewer: Setting SmugMug Print Size and Geotag Keywords with Jupyter and Python
  2. GitHub: Setting SmugMug Print Size and Geotag Keywords with Jupyter and Python

  1. Be highly suspicious of people who claim to fully understand any programming language. Only delusional nitwits would make such a claim for any natural language. Does anybody, even luminaries like Shakespeare, truly understand English? We all sort-of-know our mother tongues and if we’re honest, we’re continually surprised by how others make use of it. Literature, it’s a thing. The same holds for programming languages. Every day I’m surprised, by unusual, stupid, silly, clever and freaking brilliant code fragments in programming languages that I have used for decades.↩︎

Share this:

  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email
  • More
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Post
Like Loading...
  • Tagged
  • Jupyter
  • Jupyter notebook
  • REST API
  • SmugMug
  • SmugMug captions
  • SmugMug PATCH request
Unknown's avatar

Published by Bakerjd

Professional curmudgeon and relentless skeptic. "Belief" is a bullshit word. You know or you don't know! View all posts by Bakerjd

Published January 28, 2018August 29, 2020

Post navigation

Previous Post Government Shutdown and Rapture 2018
Next Post NumPy another Iverson Ghost

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Follow Analyze the Data not the Drivel on WordPress.com

Recent Posts

  • Franks
  • How The Only One from No Egg Made the World
  • Gonggone Gone — Parts 11 & 12
  • Gonggone Gone — Parts 9 & 10
  • Gonggone Gone — Parts 7 & 8

Recent Comments

PETER HOLLADAY's avatarPETER HOLLADAY on The JOD Page
Bakerjd's avatarBakerjd on Last Schoolboy Standing
owenh's avatarowenh on Last Schoolboy Standing
owenh's avatarowenh on Last Schoolboy Standing
Bakerjd's avatarBakerjd on Math Eras

Archives

Blogroll

  • According to Hoyt
  • Adaptive Curmudgeion
  • Astronomy Picture of the Day
  • Captain Capitalism
  • Cartesian Product
  • Cliffle
  • Combinatorics and more
  • David's Commonplace Book
  • Division by Zero
  • Dr. Z's Opinions
  • Fastidious Elegance
  • FiveThirtyEight
  • Formalized Mathematics
  • History of Information
  • Indexed by Jessica Hagy
  • Internet Archive Blogs
  • J Wiki
  • Jigger Wit
  • LaTeX Matters
  • Lean Community
  • Lean community blog
  • Locklin on Science
  • Luminous Landscape
  • Market Ticker
  • Math Munch
  • Mathbabe
  • Mathematics under the Microscope
  • Mathspp Blog
  • NJwildberger: tangential thoughts
  • Pat's Blog
  • Power Overwhelming
  • Probably Overthinking It
  • Richard Dawkins
  • RobertLovesPi.net
  • Science Blogs
  • Skepticblog
  • Small Dead Animals
  • SteynOnline
  • Tanya Khovanova’s Math Blog
  • TeX – LaTeX – Stack Exchange
  • TeX Aggregator
  • The Endeavour
  • The Jungle
  • The Long Now Blog
  • The Math Less Traveled
  • The Physics Hypertextbook
  • The Reinvigorated Programmer
  • Theorem of the Day
  • What's New
  • Wolfram Blog
  • Works and Days
  • Xena Mathematicians learning Lean by doing

Goodreads

  • Reblog
  • Subscribe Subscribed
    • Analyze the Data not the Drivel
    • Join 27 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Analyze the Data not the Drivel
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d