mrDoctorWhoJust out of curiosity, will Gajim ever support MySQL or something that could better handle events happening in gajim and keeping the history?
mrDoctorWhoI know it's kinda weird for desktop apps to support such things
mrDoctorWhoBut actually most of KDE apps have this ability
lovetoxyou are jumping to conlusions
lovetoxwhat do you think mysql does that would benefit gajim?
mrDoctorWhoI just remember how poorly prosody on my server handled things when it used sqlite
mrDoctorWhoWell, at least all the calculations will be done in a separate process
lovetoxi dont know what you mean by calculations, and a server has much higher demands on a DB than a client, depending on how many users are active on the server
mrDoctorWhoBy calculations I mean searches. I see that gajim is actually a bit slow in jumping between days in chat history
lovetoxa bit slow? its almost instant for me in a chat like Gajim where we write 100s of messages each day
lovetoxalso its not the DB, you have to render the messages, pass them to plugins etc
lovetoxits not the DB that is slow
mrDoctorWhoSearching for example is horribly slow
mrDoctorWhoI know that python isn't so fast
lovetoxit also has nothing to do with python
lovetoxIts a GUI client you have to render everything
zuglufttierSearching for me takes at most one second.
lovetoxbut again what it slow?
lovetoxyou searching a db with 1000s of messages for a string contained in other strings, every message has to be checked there is no optimization for text search
lovetoxtakes me 1 second to search all Gajim history
lovetoxand i guess thats a lot
lovetoxbut im curious to what other application you compare it that searches 1000s of messages?
sotneoHi, I can't setup windows dev environment for gajim. When script is installing cryptography, It can't install cffi because of cffi backend (compiling error: build/temp.mingw32_nt-6.1-2.11.1(0.329/5/3)-x86_64-3.7/c/_cffi_backend.o: file not recognized: File format not recognized). mingw-w64-i686-python3-cffi installed, can't find mingw-w64-i686-python3-cffi-backend package. Any thoughts?
mrDoctorWhoActually, I didn't compare. Probably my Gajim has been swapped off to the disk out of the RAM, but tbh, search was always pain in the arse
lovetoxwhats the size of your DB
mrDoctorWho104M
lovetoxmine is 86, and as i said, takes me 1 second to search all Gajim logs for a string
lovetoxyou still didnt mention any numbers
lovetoxwhat is slow?
lovetoxsotneo, what script are you executing?
sotneolovetox, ./dev_env.sh
lovetoxyeah its a bit outdated, let me fix it
sotneoanother branch?
lovetoxno
mrDoctorWholovetox, it took me 3 seconds to switch from November, 1 to October, 1
botPhilipp Hörist pushed 3 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/144a5227-11ec-4913-96c1-bccbb802b7a8
asterixDaily build don't work anymore : https://conference.gajim.org:5281/pastebin/713002b7-93e9-430a-9324-c58b49db03bd
lovetoxsotneo, there do a pull, and try now
sotneo./dev_env.sh: строка 32: синтаксическая ошибка: неожиданный конец файла syntax error on 32
mrDoctorWhoIt takes 10 seconds to open History Manager
mrDoctorWhoFor the first time. The second time it opens instantly
zuglufttiermrDoctorWho, what kind of system do you use? Can you say whether the CPU is working at 100%?
mrDoctorWhozuglufttier, during the search?
zuglufttierYes.
mrDoctorWhoWrong question. Is that Gajim CPU usage that you're interested in?
zuglufttierYep.
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >:
*7d5f1fba* < https://dev.gajim.org/gajim/gajim/commit/7d5f1fba5036f3a42027efb87d81a04800957029 >
Windows: Fix dev_env.sh
lovetoxsotneo, ok now
mrDoctorWhoIt takes about 60-70%
zuglufttierAnd what CPU do you have? It's probably one core that is used at 100%.
mrDoctorWhoIntel i3-4150
sotneolovetox, same error about cffi install
lovetoxthen find out at which package that fails and delete it from dev_env.sh
tamrDoctorWho, do you have a SSD? I still don't have, and history manager takes a very long time to open, as well as overall gajim start. I am in a lot of MUCs though.
zuglufttierI just restarted gajim to check: I get only a little spike in CPU usage if I start the history manager, about 10%.
zuglufttierIs that Windows or Linux?
mrDoctorWhoLinux
zuglufttierBut your CPU should be fine anyway.
mrDoctorWhota, no, I don't have an SSD at work. And yes, Gajim starts a very long time, but I don't restart it often and considering mod_shared_roster we have all our workers in each other's rosters, so my roster is quite big, about 800 contacts
tawell, say this could explain your "slow" experience. Once the needed parts are in RAM, everything should perform well. It is like this for me.
taBut new hardware is being delivered. I am curious for the difference
lovetoxasterix seems there is a bug report open that says if LC_ALL=C parsing setup.cfg fails
lovetoxcould you check? and maybe set it to english locale or something
lovetoxother option is to remove all non-ascii chars
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >:
*110da017* < https://dev.gajim.org/gajim/gajim/commit/110da0172fd3cf758bf0ea380d63d258e1652dd6 >
Remove all non-ascii chars from setup.cfg
https://github.com/pypa/setuptools/issues/1062
Link MauvemrDoctorWho, doing a linear search for arbitrary words in a database will be slow no matter the database, what you probably want instead is a search engine optimised for that, such as Sphinx or Elasticsearch.
mrDoctorWhoLink Mauve, true, but there's one more thing. Gajim uses a single CPU for both, rendering and searching, which slows things a bit more
lovetoxhistory manager can be called on its own
lovetox./launch-history-manager.py
Link MauveOr gajim-history-manager if using a package.
lovetoxyou could try to run this in cprofile
lovetoxand see where the bottleneck truly is
mrDoctorWhoThanks, will check it out
Link MauvemrDoctorWho, perceived reactivity is also different from speed, using multiple threads wouldn’t bring any more speed.
lovetoxmrDoctorWho, see https://docs.python.org/3.7/library/profile.html
mrDoctorWhoLink Mauve, it depends on where the bottleneck and how you utilize the CPU
Link MauvemrDoctorWho, rendering is most likely not your issue during searching.
lovetoxbut he does not even search, he says just loading the manager needs 3 seconds
lovetoxand there are no logs loaded when the manager is loaded
Link MauveOh.
Link MauveMy bad.
lovetoxbut he also said no SSD
lovetoxand a DB of 100 MB
lovetoxso yeah under these conditions i say 3 seconds probably not bad
Link MauvemrDoctorWho, buy a SSD, you’ll feel the change very heavily in each of your applications.
Link MauveGajim is also dead slow to start on my last non-SSD computer, but takes less than one second with a SSD.
lovetoxyeah i dont operate a computer without SSD anymore, cant even imagine how we could without it
zuglufttierTrue, 100MB with a traditional HDD will take at least one or two seconds to load and then another to process the information.
Link Mauvelovetox, have you implemented support for https://xmpp.org/extensions/inbox/bookmarks-conversion.html btw?
Link MauveYou just need to avoid doing any synchronisation between the two bookmarks stores if the feature is advertised.
lovetoxno not yet, yeah i know it reasonably easy to implement, i look into in the next days
aurea4497I can use xmmp for movim
Link Mauveaurea4497, Movim is an XMPP client, yes.
Link MauveJust like Gajim.
aurea4497thanks probe last
aurea4497and talk you
rom1deplovetox: is the new messagewindow on the roadmap to 1.2?
lovetoxyes
rom1dep👍😁
botDaniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9416 >:
#9416: < Wanted to query possible conferences on a server >
botDaniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9416 >:
#9416: < Error when on query for possible conferences on a server >
botDaniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9416 >:
#9416: < Error when on query for possible conferences on a server >
botPascal Pieper created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9417 >:
#9417: < Notification Error >
botDaniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9417 >:
#9417: < Notification Error >
botPhilipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9416 >:
#9416: < Error when on query for possible conferences on a server >
botDaniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/353 >:
ManageSounds GUI Update
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >:
*55eef518* < https://dev.gajim.org/gajim/gajim/commit/55eef5188775cc1a21c2d0418d47762b431186ad >
Update win/README.md
lovetoxsotneo, i think the problem is probably because you started the wrong msys
lovetoxi updated the readme
sotneolovetox, I am already tried both msys32 msys64 :)
lovetoxso what package gives you the problem?
lovetoxyou can execute all lines on that .sh script one after another
lovetoxnot all dependencys in that script are necessary to run Gajim
lovetoxand i hope you followed the instructions on msys2.org before you started the script
sotneolovetox, many, they go one by one. After manual installation dev_env.sh finished. But launch.py again give me errors
lovetoxyeah what
lovetox`?
lovetoxim back in half an hour then we can solve this
lovetoxhm but it seems the problem is not pyopenssl
lovetoxits cryptography
sotneosame error
lovetoxdo the same with the mingw-w64-x86_64-python3-cryptography package
sotneook
sotneoSame error
lovetoxand you did update msys at the beginning ? with -syu etc like the msys2.org page describes?
sotneoYes
asterixSorry, prosody was using 100% of CPU. Hard to look why now, from my phone
botDaniel Brötzmann proposed a new merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/109 >:
[hamster_integration] Fix hamster
botinstallgentoolinux created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9418 >:
#9418: < joining a public MUC on a different server to what my account is registered with >
daniellovetox, I tried to use the new DataFormsWidget for Account Creation. What I noticed so far: captcha is not displayed (what am I doing wrong?) and the (*) after a required field isn't displayed
daniel( * ) was what I wanted to write
botDaniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9418 >:
#9418: < joining a public MUC on a different server to what my account is registered with >