@demstavrou@fosstodon.org avatar

demstavrou

@demstavrou@fosstodon.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

webology, to random
@webology@mastodon.social avatar

🔥 Drop Google Chrome and try out Vivaldi for a week, I dare you.


https://micro.webology.dev/2024/04/27/drop-google-chrome.html

demstavrou,
@demstavrou@fosstodon.org avatar

@webology I have been using Firefox since forever, but then I saw this in your post that makes me think about my choice: "I also don’t trust their parent company because of where their money comes [...]". Any pointers to learn more on this?

demstavrou, to python
@demstavrou@fosstodon.org avatar

TIL of Python's math.isclose() which allows you to determine if two values are close, given a tolerance.

You can provide relative tolerance which takes into account the magnitude of the numbers. You can also provide an absolute tolerance.

https://docs.python.org/3/library/math.html#math.isclose

felixxm, to django
@felixxm@fosstodon.org avatar

Accessibility improvements are coming in Django 5.0 💚 🎉 Form fields are associated with their help text via "aria-describedby", invalid form fields include "aria-invalid", and much more 💝 Many thanks to Gregor Jerše, @davidsmith, and @demstavrou 🌟

https://github.com/django/django/commit/966ecdd482167f3f6b08b00f484936c837751cb9

https://github.com/django/django/commit/10725a31879c55ba8d92aaa3275093d136957bef

demstavrou,
@demstavrou@fosstodon.org avatar

@felixxm Thank you for acknowledging my effort on this. I am very happy that I was a small part of this improvement, especially since it is related to accessibility.

webology, to random
@webology@mastodon.social avatar

🤖 Starting my day off by asking ChatGPT(4) how to use Django's annotate + aggregate together with a one-sentence description of my model relationships and it was only off by one "s" on a model name.

As much as I loathe Copilot, this use of ChatGPT is where the technology shines.

demstavrou,
@demstavrou@fosstodon.org avatar

@jacob @webology
Very interesting. I am also using ChatGPT 4 for assisting in testing, and this does seem ideal to save all the copy and pasting. Only downside is the added cost to use the API. I think Simon's tool has a command that calculates the tokens. I guess it can be translated to cost so we can evaluate it before sending it :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • Durango
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • rosin
  • anitta
  • khanakhh
  • tacticalgear
  • InstantRegret
  • modclub
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cubers
  • tester
  • normalnudes
  • cisconetworking
  • provamag3
  • All magazines