I help folks sharpen their Python skills with https://PythonMorsels.com 🐍🍪
YIMBY. 95% vegan.
treyhunner.com/2025/12/defa...
treyhunner.com/2025/12/defa...
Well-placed spaces and newlines can really improve the readability of your #Python code.
Well-placed spaces and newlines can really improve the readability of your #Python code.
```
uvx llmwalk -p "What is 2+2?"
```
github.com/samwho/llmwalk
```
uvx llmwalk -p "What is 2+2?"
```
github.com/samwho/llmwalk
It's the last day. This one looks like it will require a lot of effort and I'm skeptical that I will enjoy myself or learn anything useful (to me) from it.
I think I'm giving up. 11 days was good enough. 🤷
It's the last day. This one looks like it will require a lot of effort and I'm skeptical that I will enjoy myself or learn anything useful (to me) from it.
I think I'm giving up. 11 days was good enough. 🤷
Both parts ended up being easier than I initially expected... though I spent quite a while chasing my tail on part 2 before realizing I was overcomplicating things.
mastodon.social/@treyhunner/...
Both parts ended up being easier than I initially expected... though I spent quite a while chasing my tail on part 2 before realizing I was overcomplicating things.
mastodon.social/@treyhunner/...
I almost gave up on part 2 but ended up learning something new instead.
It's something I may never need except on silly coding puzzles, but it was a bit interesting.
mastodon.social/@treyhunner/...
I almost gave up on part 2 but ended up learning something new instead.
It's something I may never need except on silly coding puzzles, but it was a bit interesting.
mastodon.social/@treyhunner/...
Didn't like this one at all.
mastodon.social/@treyhunner/...
Didn't like this one at all.
mastodon.social/@treyhunner/...
I found myself using an interesting number of Python features that I rarerly have an excuse to reach for.
mastodon.social/@treyhunner/...
I found myself using an interesting number of Python features that I rarerly have an excuse to reach for.
mastodon.social/@treyhunner/...
Don't use something like this as an interview question unless combinatorics is a big part of the job. 🤮
mastodon.social/@treyhunner/...
Don't use something like this as an interview question unless combinatorics is a big part of the job. 🤮
mastodon.social/@treyhunner/...
mastodon.social/@treyhunner/...
mastodon.social/@treyhunner/...
1. sentientist: like humanism without the human-only focus
2. ostrovegan: veganism that allows eating animals that likely can't experience pain
Putting a word to an idea has power: it eases communication, but also makes it easier to hold an idea in my head.
1. sentientist: like humanism without the human-only focus
2. ostrovegan: veganism that allows eating animals that likely can't experience pain
Putting a word to an idea has power: it eases communication, but also makes it easier to hold an idea in my head.
pretix.eu/pyladiescon/...
Join my session at 10:50AM about "Red-teaming for LLM-powered apps" and check out the talks from the MSFT databases team on DocumentDB and PostgreSQL.
pretix.eu/pyladiescon/...
Join my session at 10:50AM about "Red-teaming for LLM-powered apps" and check out the talks from the MSFT databases team on DocumentDB and PostgreSQL.
Explanation and a link to my solution: mastodon.social/@treyhunner/...
Explanation and a link to my solution: mastodon.social/@treyhunner/...
int(my_string, 0)
and Python will parse the string as if it's a literal? Super handy, and I only learned about it five minutes ago!
int(my_string, 0)
and Python will parse the string as if it's a literal? Super handy, and I only learned about it five minutes ago!
Every week, I share resources to help you grow your tech career. Join here: www.diversifytech.com/join
Here's what one of our longtime members had to say:
www.linkedin.com/feed/update/...
Every week, I share resources to help you grow your tech career. Join here: www.diversifytech.com/join
Here's what one of our longtime members had to say:
www.linkedin.com/feed/update/...
I was afraid that my part 2 was inefficient at first. It turns out I just had a bug that caused an infinite loop.
More commentary: mastodon.social/@treyhunner/...
I was afraid that my part 2 was inefficient at first. It turns out I just had a bug that caused an infinite loop.
More commentary: mastodon.social/@treyhunner/...
Don't miss this opportunity to learn from the best and connect with the #Python community.🐍
🗣️ Language: English
Register for PyLadiesCon now:👇
2025.conference.pyladies.com/en/
#PyLadies #PSF
Don't miss this opportunity to learn from the best and connect with the #Python community.🐍
🗣️ Language: English
Register for PyLadiesCon now:👇
2025.conference.pyladies.com/en/
#PyLadies #PSF
My most-used words in 2025 were:
1. "python" (360×)
2. "code" (43×)
3. "function" (39×)
4. "pyconus" (36×)
5. "morsels" (35×)
See which words you used the most here: anisota.net/harvest
My most-used words in 2025 were:
1. "python" (360×)
2. "code" (43×)
3. "function" (39×)
4. "pyconus" (36×)
5. "morsels" (35×)
See which words you used the most here: anisota.net/harvest
My commentary and code is (behind a spoiler) at: mastodon.social/@treyhunner/...
My commentary and code is (behind a spoiler) at: mastodon.social/@treyhunner/...
In this thread, I'll ask you to consider:
1. Why might you want to give?
2. What can you give?
3. Where might you give to?
In this thread, I'll ask you to consider:
1. Why might you want to give?
2. What can you give?
3. Where might you give to?