Sign in

Roam

@roam.be
6 followers 9 following 19 posts

(Software) Problem solver. Notes on dev, Python, Django and the Web. ➡️ roam.be / kwetzels.bsky.social

PostsRepliesMedia
Roam @roam.be · 12/05/2026
TIL: form controls have a defaultValue property (and defaultChecked) you can access to retrieve the original value. Sample use case: checking if any of the values were altered during inline editing. developer.mozilla.org/en-US/docs/W...
developer.mozilla.org
HTMLInputElement: defaultValue property - Web APIs | MDN
The defaultValue property of the HTMLInputElement interface indicates the original (or default) value of the <input> element. It reflects the element's value attribute.
000
Roam @roam.be · 04/03/2026
I finally fixed it! TL;DR: add “-Dsun.java2d.metal=false” to the custom VM options of #pycharm (or other JetBrains editor). roam.be/notes/2026/f...
roam.be
Fixing sluggish PyCharm rendering
Fixing the stutters in PyCharm (and probably other JetBrains editors) when using an external monitor on an Apple platform.
000
Roam @roam.be · 08/12/2025
I reckon I’m not the only one that often forgets about its existence, so here’s a reminder: django.contrib.humanize exists! roam.be/notes/2025/d...
roam.be
Django spotlight: humanize template filters
I frequently consult the docs of Django's set of default template tags and filters, but I often forget about django.contrib.humanize. A reminder!
000
Roam @roam.be · 02/12/2025
A quick tip on how to change the HTML name of the control of a #django form field. <input type=“text” name=“ThisNameRightHere”> ⬆️ An exotic use case for sure. Tl;dr: use a custom BoundField class. roam.be/notes/2025/c...
roam.be
Customizing the HTML name of a Django form field
Django uses the name of the form field as the name attribute of the corresponding form element in HTML. If you ever need to change it, here's how (Django 5.2+)
000
Reposted by Roam
Adam Johnson @adamj.eu · 01/12/2025
📚🧵 It’s Cyber Monday, the last day my books on Git, GitHub and Django will be 50% discounted. Here’s a quick thread to give you a taste of what’s inside each of them. #Git #GitHub #Django
142
Roam @roam.be · 28/11/2025
🎶 Holidays are coming, holidays…🎶 Sorry. Got a bit distracted. But Django 6.0 is coming soon. Time to take a look at the new built-in tasks framework! roam.be/notes/2025/a...
roam.be
A first look at Django's new background tasks
Django 6.0 introduces a built-in background tasks framework in `django.tasks`. But don't expect to phase out Celery, Huey or other preferred solutions just yet.
010
Roam @roam.be · 26/11/2025
Loving Maple Mono as a programming font. It’s based on JetBrains Mono. font.subf.dev/en/
Sample of the Maple Mono NL font.
020
Roam @roam.be · 24/11/2025
Often overlooked and sometimes undocumented, but quite valuable: SimpleLazyObject and its #Django companions allow you to defer expensive operations until you need their results. roam.be/notes/2025/d...
roam.be
Django spotlight: SimpleLazyObject & Co.
Turning the spotlight to Django's lesser known useful tidbits: SimpleLazyObject, lazy and examples showing you how to defer work.
010
Reposted by Roam
Roam @roam.be · 03/11/2025
Introducing rootcause: finally get some actual use out of your IntegrityErrors in #django roam.be/notes/2025/i...
roam.be
Introducing rootcause
Read 'Introducing rootcause' at Roam*notes.
001
Roam @roam.be · 05/11/2025
Compiling? Running tests? Letting Codex or Claude Code run wild on your codebase? Add ntfy.sh to your tool belt to receive a notification on your phone (or browser) when it’s done. Details: roam.be/notes/2025/p...
roam.be
Ping me: using ntfy to stay updated
Trigger notifications on your phone using curl and ntfy.sh.
000
Roam @roam.be · 03/11/2025
Introducing rootcause: finally get some actual use out of your IntegrityErrors in #django roam.be/notes/2025/i...
roam.be
Introducing rootcause
Read 'Introducing rootcause' at Roam*notes.
001
Roam @roam.be · 09/09/2025
Ik had het er hier al eerder over: bsky.app/profile/roam...
000
Roam @roam.be · 09/09/2025
Nu de nieuwe website gelanceerd is kan ik eindelijk wat achtergrond geven bij Favemail, een browserextensie die me duidelijk maakt welke Gmail-account schuilgaat achter een tab. roam.be/blog/2025/on...
roam.be
Een onderscheid in meerdere Gmail tabs
Browserextensies zijn onderbelicht als een krachtige manier om websites en apps beter af te stemmen op jouw noden. Zoals Gmail.
101
Roam @roam.be · 05/09/2025
Eindelijk live met de nieuwe website! (Iets met “de kinderen van de schoenmaker…”) roam.be
roam.be
Roam
Roam helpt je aanpakken wat digitaal al te lang blijft liggen, van website en organisatie tot software. Praktisch, strategisch en vooral: met resultaat.
110
Roam @roam.be · 01/09/2025
Oh, die kleine visuele details zijn altijd zo leuk. Enkel de technische prutswerkjes blijven over. (En het bijschaven nadien, maar 🤫)
000
Roam @roam.be · 17/07/2025
📈 The only way is up! (Sorry voor de oorwurm.) (Sorry als je net door die sorry die oorwurm te pakken hebt.)
000
Roam @roam.be · 05/03/2025
Aan een site kan je blijven prullen om te optimaliseren. Laten we het hier voorlopig maar op houden. 🚦
000
Roam @roam.be · 26/01/2025
If you need something similar, have a look at the code at github.com/roam/favemail
github.com
GitHub - roam/favemail
Contribute to roam/favemail development by creating an account on GitHub.
000
Roam @roam.be · 26/01/2025
5. Hitting an inexplicable error in XCode when I decided to use SwiftUI 6. And finally spending far more time designing the perfect icon than coding 7. Having to bundle and sign an extension to be able to use it myself without going back to Firefox Nightly.
110
Roam @roam.be · 26/01/2025
This is after: 1. Trying Mail once again (still sucks with multiple accounts) 2. Paid options (yeah, still sour over Airmail) 3. Checking the 2025 GUI options for Python with a proper webview component 4. Reading way too much about the intricacies of PyObjC ...
110
Roam @roam.be · 26/01/2025
So... I vastly prefer the Gmail web UI over any native app, but I never know which tab/account to select. TL;DR: I created an extension to change the Gmail favicon based on the account and unread messages.
Why this was a problem: almost no context with more than 10 tabs and no context with pinned tabs. Why Favemail changes this: it colorizes the favicon based on the account and creates a highlight when there are any unread messages in my inboxes.
000