I built a dev.to comment reviser so I'd stop re-pasting the same AI prompt

Before posting a comment on dev.to, I used to paste my draft into an AI chat window, paste the same long prompt, copy the revision back, and paste it into dev.to. Every. Single. Time. I’m a non-native English speaker. dev.to is where I learn to write in public. I don’t want spelling or grammar mistakes to distract readers from what I’m trying to say, so I use AI to catch them before I post. But re-pasting the same prompt every time was tedious. So I built a small local web app: paste a comment, get a revision and an explanation, without re-pasting the prompt. ...

2026-11-21 · 5 min · Julie

How to publish posts via the dev.to API

I write on dev.to (Julie - DEV Community). Every time I copied a post into the dev.to editor, added tags and cleaned up the formatting, I’d wonder whether there was a way to automate it. If you have the same question, this article is for you. The answer: the dev.to API. In this post I’ll show you two ways to use it. First a curl command, so you’ll see the exact request the API expects. Then a Python script that automates it. I’ll also cover the one thing that trips people up: images. ...

2026-10-21 · 4 min · Julie

What’s the return value of a bool expression in Python?

We know that the boolean value of 0 is False, and the boolean value of 1 is True. What about the boolean value of a negative number, for example, -2 ? What’s the result of the expression True and 3 in Python? Is it True or False, or other value? Let’s find it out. ...

2023-01-07 · 3 min · Julie