@demstavrou@fosstodon.org avatar

demstavrou

@demstavrou@fosstodon.org

django, robots, electronics

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

carlton, to django
@carlton@fosstodon.org avatar

Just looked at the diary. Django 5.1 Feature Freeze is TODAY ๐Ÿฅณ

demstavrou,
@demstavrou@fosstodon.org avatar

@carlton that is good news then ๐Ÿ˜€ ! There is still time for https://github.com/django/django/pull/17723#issuecomment-2119898324

demstavrou,
@demstavrou@fosstodon.org avatar

@carlton It seems that was caught between the transition of fellows. I hope it makes through! I am not the PR author by the way.

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
  • โ€ข
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • megavids
  • modclub
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • Durango
  • khanakhh
  • tester
  • provamag3
  • cisconetworking
  • Leos
  • anitta
  • lostlight
  • All magazines