Show newer

Feature update: There's now a single interface for changing syntax, expiry, or title of existing items. Get to it via the new "Edit Properties" button.

New feature: Markdown and reStructuredText items (posted by registered users) have a "Preview" button to show them in rendered HTML form. E.g. dpaste.com/2SMEV9JDB.html

Counts for the top ten errors shared from the debug view to dpaste.com, 2021-02-02 to 2021-02-12:

2063 DisallowedHost
154 OperationalError
133 ValueError
123 DoesNotExist
121 ImproperlyConfigured
113 TemplateDoesNotExist
105 TypeError
105 AttributeError
54 ProgrammingError
52 KeyError

Today the site hit 500 registered users! To celebrate, here's a soft-launched present for all registered users: any Markdown or reStructuredText items you post can be rendered as HTML by adding ".html" to the URL.

Cool, thanks for voting. Python has been added and more are on the way.

Show thread

A few more options for you to weigh in on.

I'm adding examples to the API help page. So far we have curl and JavaScript. What should I add next?

Added a JS example to the API help. Uses 'fetch' because that seems to be the right way to do it these days. dpaste.com/api/

dpaste.com boosted

Don't know how to code but still want to contribute to open projects? Consider open street maps!

OSM is the community built map of the world. Anyone can edit the map and all the data is freely available and usable in any of your projects.

Start in your own neighborhood. Maybe your street is missing or named wrong. Update the corner shop hours. Map the parks or sidewalks. Anything helps and many hands make light work!

openstreetmap.org

Day 8 -

Another milestone -- while most users are still anonymous, the site now has 400 registered users. It's been fun building features for account holders, like API auth and favorites.

Registered users can now use token auth with the API to "own" created items. Anonymous use is still the default. TLDR: On your dashboard, click the "Generate" button; use the token in an Authorization header on your requests, e.g. `Authorization: Bearer a1b2c3d4e5f6g7h8`

Example use case: You're in your team Slack or an IRC channel helping somebody fix a bug. They post a dpaste item with the problem code. You view the item, duplicate it and make the changes it needs, then post the diff link.

Show thread

The diff feature is now live. Click the "diff" button above an item to use it. You can choose any item from your history to diff it against. Example: dpaste.com/8WPCDRFHL/diff/ABCD

New feature on the way: view the diff (colorized, naturally) between two items.

Cool online GPX track editor that uses dpaste.com for its sharing feature. Check it out! opoto.github.io/wtracks/

With appreciation I note that a certain anonymous user in Frankfurt, Germany, who has posted about 7000 new items to the pastebin in the last day... has assiduously respected the one-per-second rate limit.

Made some improvements to the geolocation lookup on the "About" page. Using Django's bundled GeoIP2 feature (bit.ly/geo-django) instead of rolling my own made the implementation shorter, more robust, and -- thanks to local datasets from MaxMind -- faster.

Before pastebins were invented, people had to share code on scraps of paper. It wasn't pretty.

Show older
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.