• 0 Posts
  • 12 Comments
Joined 2 months ago
cake
Cake day: September 26th, 2024

help-circle
  • Sadly I can’t recommand pop-os. In 2 years, the updates broke twice on me.

    The resolutions where simple enough if you can use the command line to run sudo apt update, sudo apt upgrade. But the GUI shop updater just crashed on me without the apt error message visible.

    It is a nice distro overall with which you can even try tiled windows without commiting to it.

    -> pop-os is nice but it may break from times to times. So if (like me or most dev) you are ok with the CLI and just a bit of fixes from times to times then go for it. But if you are affraid of the CLI or never want to fix anything, then some other distro may be a better choice.


  • Just use this one… or any of this 4 others.

    This is the issue for us, python outsiders. Each time we try we get a different answer with new tools. We are outside of the comtunity, we don’t know the trend, old and new, pro and cons.

    Your first recommandation is hatch… first time I’ve heard of it. Uv seems trendy in this thread, but before that it was unknown to me too.

    As I understands it, it should be pip’s job. When it detect I’m in a project it install packages in it and python use them. It can use any tool under the hood, but the default package manager shoud be able to do it on its own.


  • On that note, I’m hesitant between writing my scripts in perl or python right now. Bash prevent sharing with Windows peoples… I just want to provide easy wrappers tools that are usually aroud 10 lines of shell, but testers ain’t on linux so they cannot use them.

    I don’t know perl, but each time I interract with pyton’s projects I have a different venv/poetry/… to setup. Forget adout it the next time and nothing is kept easy to reuse.


  • Zellij always permitted to change all the keybindings… On the discord peoples asked for Alt as default modifier, and shared their config default locked. That what motivated the maintainer to include this sort of configs. With this version zellij implement the kitty’s keyboard protocol, which should enable to use more key combinaison (if your terminal support it). I’m not sure about multiples modifiers, I haven’t installed it yet.

    I’m not sure what you mean by “not being able to lock floating windows on top”.





  • Je suis dans une petite ville. Démarrer avec les voiture ça veut dire que la première de la file va accélérer pour te doubler au démarrage, quitte à te frôler en pleine accélération et limite se prendre la voiture d’en face qui se pose au milieu pour tourner. Ah et comme dit dans un autre commentaire, remonter la fille de voitures à l’arrêt ça permet de se stationner à côté de la première, devant sa vision du feu… parce-que 99% du temps le « SAS vélo » est transformé en « SAS capot ». J’ai plusieurs fois proposé d’échanger de véhicule mais les conducteurs comprennent pas. Y a aussi ceux qui comprennent pas le petit panneau qui permet au vélos de passer au rouge pour aller dans certaines directions. Ceux qui à l’occasion de s’arrêter te font remarqué que t’es à contre sens, alors que les cycles sont autorisés sur cette route (tu sais les petits cyclistes au sol avec une flèche vers toi ça veut dire que tu peux en rencontrer qui te font fasse, et si la route est trop petite à ton goût, c’est pas moi qui fait les règles, demande à la mairie.). Sans oublié ceux qui te klaxon parce-que tu reste sur la route au lieu d’aller sur la voie partagée avec les piétons qui a un revêtement petit cailloux. Mes préférés restant ceux qui débarquent sous mon bras et sont passés le temps de réagir. 50cm la distance de sécurité ?!?


  • and you won’t use At “just” for a bit of concurrency. Right ?

    Is “At” a typo?

    Yes I wanted to talk about the Qt Framework. But with that much ways to do concurrency in the language’s core, I suspect you would use this framework for more than just its signal/slots feature. Like if you want their data structures, their network or GUI stack, …

    I’m not using Python, but I love to know the quirks of each languages.


  • ZykinotoPythonMultiple process or threads? And, why?
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 month ago

    Wow coming from C++/Rust I was about to answer that both are parallelism. I did not knew about python’s GIL. So I suppose this is the preferred way to do concurrency, there is no async/await, and you won’t use Qt “just” for a bit of concurrency. Right ?

    We learn a little bit everyday. Thanks!


  • Yeah, I’d rather register cls play <id, name or path> in streampi or other macro box. Especially if cls let me add new sounds and configure things easily. Like I see having multiples “public laughing”, so when starting the sound any can be played. Which provide a bit of variety in the stream. And allow to repeat the sound for a longer effect on the fly without being too repetitive.


  • I read that global hotkey is not possible in Wayland. Or, at least, not as easily as with XOrg. Did you achived it ? Can you link to where you are doing it in your code please ? I’m curious, especially since its the first time I heard global hotkeys from a terminal program.

    I try not to use global hotkeys myself. Do you have another way of controlling the soundboard ? Either from websocket, DBus, launching a command, … I like to use streampi1 (open source streamdeck clone) for streaming and it may use any of this interraction methods. (Websocket may require to write a plugin for yëur program.)

    1 Streampi as stopped developpment for now in its v2 snapshots. Still usable. But the dev want to rewrite in C++/Qt for a v3.