![](https://sh.itjust.works/pictrs/image/2e9ff40f-9ba2-41a1-b27b-494d66b4a3c6.png)
![](https://lemmy.world/pictrs/image/5c3ce1f7-8312-4614-958a-9588f927c212.jpeg)
Classic
Classic
The markdown you’re looking for is _underscores_
or *asterisks*
for emphasis.
The crontab starts Chrome in an environment without graphical frontend, so Chrome will refuse to start.
You’ll have to go through the DE’s autostart.
It’s Hellsing Abridged for me.
pavucontrol
probably the best option given your distro. Go with that.
Ain’t that the truth. But I love the workflow they offer. You don’t have to go looking for new windows. You can easily pin applications to virtual desktops and I prefer the multihead model they use over the one used by gnome or KDE.
You can’t expect the user to have one.
It’s only useful during development there.
Bullshit!
module/__init__.py
:
__all__ = ["foo", "bar"]
module/foo.py
:
def foo():
print("foo")
module/bar.py
:
def bar():
print("bar")
module/baz.py
:
def baz():
print("baz")
main.py
:
from module import *
from module import baz
if __name__ == "__main__":
print("main")
foo.foo()
bar.bar()
baz.baz()
Output:
$ python main.py
main
foo
bar
baz
No errors, warnings or anything.
Renders correctly for me
You could guard it.
__init__.py
:
_GUARD_SOME_UTILITY_FUNCTION = True
from .utilities import SomeUtilityFunction
utilities.py
:
def SomeUtilityFunction():
if not _GUARD_SOME_UTILITY_FUNCTION:
raise SomeException("Helpful error message")
Take this with a grain of salt, as I’m typing this on my phone and haven’t actually tried it.
Alternatively there’s the import-guard
package on PyPI. No idea if it’s any good, though. Just something a quick search brought up.
Edit:
Ok, I tried my suggestion and it doesn’t work.
That’s not correct. __all__
is not a whitelist. It is only the list used for
from module import *
If you have a module with submodules foo
, bar
and baz
and __all__ = ["foo", "bar"]
it will not prevent you from importing baz
manually. It just won’t do it automatically.
Maybe. Every time I’ve looked into this so far I found it confusing enough to just go with a cable.
At least I can play games and get directional audio. Beyond that I care little how they achieve it.
Good to know. Thanks for the heads up. I’m still on the tether.
Exactly. You set up the virtual sink for 5.1 output and make pipewire convolute the signal with a suitable impulse response to turn it into a stereo signal that sounds like it’s coming from the correct direction. And yes, most games will output surround sound, given the option.
A few of things I’d look out for:
Same. Randomly discovered them on Spotify a few years back.
So much nomenclature in tech is watered down and obfuscated because we let marketing monkeys make decisions.
But you’re running Debian, so it’ll be 2 years at least before you get it.