A profile photo of Brent Lineberry

Brent Lineberry

Web and app developer. Coffee, beer, and running, in any order.

  • Strava
  • GitHub
  • Mastodon
  • Goodreads
  • iNaturalist
  • Home
  • Posts
  • Notes
  • Photos
  • Links
  • Changelog: Default Author Selection

    A longstanding inconvenience posting on my site has been selecting myself as the Author for each post. Now the logged-in user’s profile (me) is the default when creating a new post.

    Read full article
    Published by Brent LineberryBrent Lineberry on Jan. 24, 2025, 12:45 p.m.
    Tags:
    • Changelog
    • Django
    • IndieWeb
    • Python
    • Web Development
    Also on:
    • Mastodon
  • Changelog: Updated Notes

    I made some changes to my Notes:

    • Better HTML and plain text output support
    • Only enforce plain text character count and only when publishing
    • See the plain text character count live in the Admin UI
    Read full article
    Published by Brent LineberryBrent Lineberry on Jan. 23, 2025, 8:51 p.m.
    Tags:
    • Beautiful Soup
    • Changelog
    • Django
    • HTML
    • IndieWeb
    • JavaScript
    • Markdown
    • Pandoc
    • Pypandoc
    • Python
    • Web Components
    • Web Development
    Also on:
    • Mastodon
  • In reply to https://mastodon.online/@ben@social.benjaminturner.me/113880487166885077

    @ben@social.benjaminturner.me ah yes, I see. I have ideas but nothing concrete. Something along the lines of an abstract model giving structure for models that support micropub? and then a view mixin like you have that can handle the micropub request parsing/response returning…

    Thanks for sharing!

    Published by Brent LineberryBrent Lineberry on Jan. 23, 2025, 8:49 p.m.
    Also on:
    • Mastodon
  • In reply to https://mastodon.online/@ben@social.benjaminturner.me/113880407392926333

    @ben@social.benjaminturner.me sure! https://github.com/blineberry/django-micropub-poc

    Commit ce3cd78 is the last one that works. A lot more on the IndieAuth than the Micropub side.

    Where is your from_url method? Getting the relevant model from the url was a tricky spot. I settled django.urls.resolve, but that still felt like I needed to do a lot of manual checking.

    And did you find a clean way to convert the form data into something useful? I was trying to convert it to json and then only work with json, but never completed.

    Published by Brent LineberryBrent Lineberry on Jan. 23, 2025, 7:17 p.m.
    Also on:
    • Mastodon
  • Chow Mein with Beef and Peppers

    This week I made the Chow Mein with Beef and Peppers recipe from J. Kenji Lopez-Alt’s The Wok cookbook. It seems similar to last week’s noodles, but as a main instead of a side.

    I thought it was fine, Megan seemed to like it, and my son loved the meat: 3 stars ★★★☆☆

    Read full article
    Published by Brent LineberryBrent Lineberry on Jan. 23, 2025, 5:19 p.m.
    Tags:
    • Beef
    • Chinese Food
    • Cook the Book
    • Cook the Book: The Wok
    • Cooking
    • Food
    • J. Kenji Lopez-Alt
    • Noodles
    Also on:
    • Mastodon
older newer
  • Posts
  • Notes
  • Photos
  • Links
  • Reposts
  • Likes
  • Tags
Copyright © 2025 Brent Lineberry
Previous version: 2011