Skip Navigation

Posts
205
Comments
37
Joined
3 yr. ago

  • The other thing to remember is that post IDs are relative to the Lemmy server you're working with. So post/12345 is almost surely not post/12345 on another server.

    I mod a couple of communities on another server and this caught me off guard when trying to share what I thought were good URLs.

  • OP, you could even use a local file/sqlite database in the repo and just update and commit it when the script runs.

    Simon Willison has a cool approach for this that runs in GitHub Actions and keeps the versioned state in git itself: https://simonwillison.net/2020/Oct/9/git-scraping/

  • I've only used pyenv on Ubuntu machines, but I expect it would work just as well in Debian-based systems.

    pyenv is really useful if you need multiple versions installed simultaneously and it handles installation for you.

    https://github.com/pyenv/pyenv

  • This proved to be a fair amount of work, absent a bot of some sort that I haven't had time to create yet.

    So, I failed toward just including events in the sidebar, with a link to python.org's Event Calendar.

  • Gotcha. That's a fun alternative to the usual kind of course work.

    Thanks for contributing to the community! Look forward to hearing more from you as you continue.

  • Curious, what kind of playlists are you creating?

    I have to admit I feel like I'm not imaginitive enough to need to script Spotify.

  • Rubber ducking is the best. Appreciate that, hopefully it helps start a trend.

  • Hey, sorry we missed helping out!

    Did you get everything sorted? Mind adding a "[Solved]" to the beginning of your post title if so?

  • Ha! Great catch. Yeah, I'll get that sorted.

  • This is my favorite/most horrifying part:

    The control flow is so labyrinthine that some of the code is actually indented by 23 tabs. Forget the 80-column rule -- these lines don't even start until column 92! Even if we discard the inline data tables, then the longest line in the codebase is still a whopping 387 characters long (you'll have to scroll to the right to read it)

  • Thank you, much appreciated!

    FWIW, I was told that c/Django was also submitted but still isn't visible yet when I look. So the manual review but sounds accurate.

  • Also trying out Today in Python!. I accidentally launched the first one early, in that I posted about 20 June 2023 on 19 June 2023. Whoops.

  • Next experiment is Talk Tuesday where each top-level comment is about a particular conference talk that a commenter liked and why they like it.

  • Thought I would also keep track of things we experiment with here. The first is Media Mondays where we track podcast and video episode from the community over the last week.