Gajim - 2025-02-21


  1. lovetox

    mesonium: or does not create a boolean, look up how the or operator works in python

  2. mesonium

    yes, I should have checked the possible return values of cpu_count...

  3. lovetox

    But the return value is not relevant to how the or operator works

  4. lovetox

    It says, if bool(left) is False, return right, else left

  5. mesonium

    https://realpython.com/python-or-operator/#non-boolean-contexts > The rule of thumb is still that the result of your Boolean expressions is the first true operand or the last in the line. None evaluates to False, so None or 4 becomes 4?

  6. lovetox

    Correct

  7. lovetox

    But also 0

  8. lovetox

    Or empty String is also False, many values convert to false

  9. mesonium

    Alright, makes sense. Thanks. You always learn something new ;)

  10. lovetox

    Yeah took me multiple years to look that up

  11. mesonium

    :D

  12. lovetox

    That's why I asked now, and it's of course different in other langs

  13. procrastinator

    hello, i'm experiencing a crash on gajim while pasting urls and sending

  14. procrastinator

    it happens immediately when i press enter, so i assume some preview thing is the culprit

  15. procrastinator

    it only happens with things that are previewable, right now it was a mp4 url

  16. procrastinator

    let me see if i'm on the latest branch

  17. procrastinator

    updated to git master

  18. mesonium

    something is wrong: when I've started Gajim, procrastinator's messages were correctly fetched as they have ended up in the DB and their last message is shown as a stub in the chat list, but the messages themselves are not shown in this muc right now.

  19. mesonium

    okay upon re-opening the chat, the messages are there

  20. mesonium

    > hello, i'm experiencing a crash on gajim while pasting urls and sending procrastinator, that means you got a stacktrace?

  21. procrastinator

    no, i start gajim fromt the wm so i don't have it

  22. procrastinator

    i should redirect it's stderr/stdout to a file...

  23. mesonium

    how do you know it crashed? There's no crash report dialog? can you run Gajim with `-v` in a terminal?

  24. procrastinator

    ok

  25. procrastinator

    mesonium: when i hit enter (not always reproducable) after pasting a link, the process just disappears

  26. procrastinator

    so i assume that's a crash

  27. procrastinator

    restartting gajim

  28. bot

    lovetox pushed 1 commits to branch gajim/master feat: Generate previews with multiple processes - https://dev.gajim.org/gajim/gajim/-/commit/e4c0a70b1bc61048b31bfa11fff12eb7abac9e95

  29. bot

    wurstsalat pushed 1 commits to branch gajim/master cfix: Preview: Don't hide controls if original is not downloaded yet - https://dev.gajim.org/gajim/gajim/-/commit/c839268b5ba2360be8d36fd16090d9ea96dae104

  30. bot

    wurstsalat pushed 1 commits to branch gajim/master cfix: Preview: Fix signature and error logging; add assertions - https://dev.gajim.org/gajim/gajim/-/commit/9e9e94b8d0793271680f273678a02a6d9370a7f2

  31. bot

    lovetox pushed 1 commits to branch gajim/master cq: Preview: Fix type errors - https://dev.gajim.org/gajim/gajim/-/commit/c3a68259319e2c74978b97bd244958087e5dcd5b

  32. bot

    lovetox pushed 2 commits to branch gajim/master change: Remove legacy config code and migration - https://dev.gajim.org/gajim/gajim/-/commit/16d5daed649f48ee8e3c91652d97fc8fafa89f09 refactor: Remove file transfer proxy module - https://dev.gajim.org/gajim/gajim/-/commit/c67b4a3bbb62ee2e0aa16ec5d7abba08aff2d3d8