jdev - 2025-05-31


  1. Schimon

    I have the most interesting idea for an animated group chat. gemini://woodpeckersnest.space/~schapps/journal/2024-07-15-xmpp-activity-and-mood-as-means-for-mingling.gmi

  2. Schimon

    https://xmpp.pimux.de/file_share/0683b456-5032-7600-8c52-1ad8b2f1cb7d/2024-07-15-xmpp-activity-and-mood-as-means-for-mingling.gmi

  3. Schimon

    It could be a great addition to lure guests (i.e. annonymous logins) into XMPP, especially with Candy Chat, Converse, Speeqe, and Movim.

  4. Schimon

    Does anyone here has knowledge of PJS? > Summer of Code 2008 - XMPP WIKI > The PJS project aims to create a reliable, correct and highly scalable XMPP server framework in Python, not unlike what ejabberd is to Erlang. It was started as an undergrad project at the University of Toronto in February 2008. https://wiki.xmpp.org/web/Summer_of_Code_2008#PJS

  5. Martin

    Schimon: What application can open those GMI files?

  6. Schimon

    Martin. These are text files. GMI files are called GenText, and are intended for the Gemini browser and protocol.

  7. Martin

    Fennec just downloads them. Maybe config your webserver to serve those as text and not as file?

  8. lovetox

    Firefox also Downloads them

  9. Schimon

    I do not own the pimux.de server. I will change the file extension to TXT.

  10. Schimon

    https://xmpp.pimux.de/file_share/0683b4f9-686a-7bd8-a25b-d7befe7e7468/2024-07-15-xmpp-activity-and-mood-as-means-for-mingling.txt

  11. Martin

    Schimon: That works, thanks.

  12. Schimon

    You are welcome. Thank you for spending time to read it.

  13. moparisthebest

    > Does anyone here has knowledge of PJS? >> Summer of Code 2008 - XMPP WIKI >> The PJS project aims to create a reliable, correct and highly scalable XMPP server framework in Python, not unlike what ejabberd is to Erlang. It was started as an undergrad project at the University of Toronto in February 2008. > https://wiki.xmpp.org/web/Summer_of_Code_2008#PJS Schimon: the chances python last touched in 2008 works in 2025 are 0

  14. moparisthebest

    Hell the chances python last touched in January works now is pretty small

  15. Schimon

    moparisthebest. I suppose so, yet that subject is still interesting, and there are many interesting ideas that can be implemented today.

  16. moparisthebest

    what's the idea ? "XMPP server in python" ?

  17. Schimon

    Yes.

  18. singpolyma

    >> Does anyone here has knowledge of PJS? >> https://wiki.xmpp.org/web/Summer_of_Code_2008#PJS > Schimon: the chances python last touched in 2008 works in 2025 are 0 I think you spelled 100% wrong. Code doesn't just spontaneously stop working

  19. moparisthebest

    I mean that seems like the worst idea ever to be but /shrug lol

  20. lovetox

    moparisthebest: Not sure why you say that, in my experience there is almost nothing that gets removed from the language

  21. Schimon

    Why not? An XMPPP server implementation in Python could be used as a software to easily create proof-of-concepts of XEPs, at the very least.

  22. moparisthebest

    >> Schimon: the chances python last touched in 2008 works in 2025 are 0 > I think you spelled 100% wrong. Code doesn't just spontaneously stop working Every new python interpreter version breaks existing code, you can't use old interpreters from 2008 for all the security vulns and they wouldn't compile on modern systems... That's what I mean by "won't work"

  23. Schimon

    Yes. This is a problem.

  24. Schimon

    > Every new python interpreter version breaks existing code, you can't use old interpreters from 2008 for all the security vulns and they wouldn't compile on modern systems... That's what I mean by "won't work" Yes. This is a problem.

  25. lovetox

    You said last January and that's clearly exaggerated

  26. lovetox

    We upgraded the python version in Gajim mostly for better type hints. Without type annotations I'm sure Gajim would run fine with python 3.9 or something

  27. singpolyma

    And I don't think I've ever seen a new version seriously break existing code

  28. pulkomandy

    Running new code on old python versions gets "broken", sure. But the other way around?

  29. lovetox

    They remove obscure modules, so yes if you use these it's breaking, but like with 4 versions deprecation before

  30. moparisthebest

    Constantly changing method signatures and such, poezio in Debian stable was just broken because of this the other day

  31. moparisthebest

    https://www.sciencedirect.com/science/article/abs/pii/S0164121225000056 here have a paper lol

  32. moparisthebest

    Anyway python is also way too slow to make a real server in, see synapse

  33. singpolyma

    And yet our best server is in Lua and our second best is in Erlang. Turns out servers aren't CPU bound so using a "slow language" isn't a bottleneck really

  34. moparisthebest

    Lua and Erlang are both probably an order of magnitude faster than python

  35. singpolyma

    If I even bought into the idea that language could be fast or slow, that seems obviously untrue

  36. moparisthebest

    hold up you don't think some languages are faster or slower than others? Seems absolutely absurd

  37. rako

    > And yet our best server is in Lua and our second best is in Erlang. Turns out servers aren't CPU bound so using a "slow language" isn't a bottleneck really Synapse is CPU bound because it does so much computation, but an XMPP server wouldn't need to do so much

  38. singpolyma

    > hold up you don't think some languages are faster or slower than others? Seems absolutely absurd No. Implementations can be but languages are abstractions with no mandatory performance requirements

  39. singpolyma

    JavaScript used to be "slow" and now it's one of the "fastest" high level langs with no changes to the language itself in between

  40. Schimon

    > Most software do not need “infinite scalability.” They need: > Predictability > Observability > Reasonable resource limits > A working dev/staging environment https://sliplane.io/blog/serverless-is-a-scam

  41. Schimon

    > JavaScript used to be "slow" and now it's one of the "fastest" high level langs with no changes to the language itself in between It this change of speed of JS due to interpreters?

  42. Schimon

    Actually, the minimum memory consumption of Python is significantly lower than it was. KaikOut consumes less than 10MB, which is good.

  43. Schimon

    https://xmpp.pimux.de/file_share/0683b579-6971-7478-b445-bd47d48c0296/slixfeed-scalability-2025-05-13_07.04.59.mkv

  44. Schimon

    > https://xmpp.pimux.de/file_share/0683b579-6971-7478-b445-bd47d48c0296/slixfeed-scalability-2025-05-13_07.04.59.mkv This is Slixfeed, processing 30K entries. No multiprocessing neither threading. It only utilizing async and AsyncIO.

  45. Schimon

    From ralphm's journal. > Being at XTech again is great. My presentation wednesday might not be the best ever, and the room was way too large. If all people visiting XTech would be in the room, it would still have looked empty. On the other hand, speaking to people in between sessions and in the evenings was again inspiring and most people really like the idea of publish-subscribe. Also the suggestion of integrating Jabber facilities into a browser proved to be thought provoking. *Also, again, people are dying for a Twisted Python Jabber server implementation.* http://ralphm.net/blog/2006/05/19/xtech06

  46. jjj333_p (any pronouns)

    > Why not? > An XMPPP server implementation in Python could be used as a software to easily create proof-of-concepts of XEPs, at the very least. i dont see it being easier enough than lua to be worth writing another implementation

  47. jjj333_p (any pronouns)

    part of why i run prosody is so that i have easy tinkering down the line

  48. jjj333_p (any pronouns)

    > It this change of speed of JS due to interpreters? yes, theyve done a ton of crazy shit both with interpretation itself and how good and quick jit is

  49. jjj333_p (any pronouns)

    actually jit alone was probably one of the biggest things for js, and js's jit is one of the best

  50. jjj333_p (any pronouns)

    its still an interpreted language at the end of the day and far from "fast" but its been given possibly some of the most attention of all the languages particularly in terms of the runtime

  51. singpolyma

    Yeah. It turns out if you paste C source at runtime line by line an interpret the resultant ast directly it's pretty slow too

  52. singpolyma

    Yeah. It turns out if you parse C source at runtime line by line an interpret the resultant ast directly it's pretty slow too

  53. jjj333_p (any pronouns)

    very true

  54. jjj333_p (any pronouns)

    python does have some strange footguns when it comes to performance, but it doesnt really worry me. i more just question the utility over something like lua which is already a very high level interpreted langauge

  55. jjj333_p (any pronouns)

    however im a python novice and have never written lua so i would not know myself

  56. singpolyma

    Neither is my favourite but everyone has their own preferences and more is better

  57. jjj333_p (any pronouns)

    true

  58. jjj333_p (any pronouns)

    im all for another server implementation, i just think its worth thinking through

  59. jjj333_p (any pronouns)

    i actually kinda wanna see a server in rust or go, not because i need to run it (my prosody is far from bottle-necked) but just because