pleroma.debian.social

Daniele Tricoli moved to eriol@akko.mornie.org | @eriol@pleroma.debian.social

I wear many hats, sometime simultaneously.

@sneak I know that if my system would be compromised my last problem is being worried about the webcam. 😄

@mindspillage

@sneak I do because I prefer to have control and sometime I'm a bit distracted: sometime when a join an only audio call on jitsi using the browser I just press OK on the dialog to allow microphone and the webcam of my laptop and it starts to stream. So I see the black video stream and I turn off the video sharing.

The effort to put a cover on the laptop webcam is extremely low and cheap so I'm used to do it.

@mindspillage

@mindspillage for a lot of years I used to cover the webcam with a piece of black tape or a small post it, but several month ago I got some webcam cover: it's just a little slider. You may want to look at them.

There are some projects ready to 3D print like this one:

https://www.thingiverse.com/thing:2754874

but I never tried to print one.

@paoloredaelli I follow @sneak but I was not sure he want to be added to random discussion 😄

I completely agree with you about Apple and I always try to push free as in speech systems.
However I can understand if a specific use case need a closed system right now, but I see all the free software projects and movements as a lever to remove the need of closed systems/solutions.

I hope a world without closed systems will exists in the future.

@stebby

@stebby I'm happy it was useful!

@paoloredaelli

@florian I think that the happy part of the story is that upstream author asked for a security review and fixed the discovered issues. A programming language is never a silver bullet. And security as you know better than me is really hard:
https://marc.info/?l=oss-security&m=158025335429456&w=2

The OSS bubble that is and the blogging bubble that was - Baldur Bjarnason:

https://www.baldurbjarnason.com/2021/the-oss-bubble-and-the-blogging-bubble/

The quote “Capitalism will always find a way to exploit common resources. It’s just a matter of time.” is so sad and true...

@solene --system-site-packages for both virtualenv and venv.

@paoloredaelli performance measurement, logging etc are only specific cases, you can apply decorators in a lot of use cases: every time you can compose your functions. But the core, as I said, it's just that: function composition. Decorators can accept parameters, you can make them more complex that in the silly example above. :) HTH

@paoloredaelli and

>>> @g
... def h() -> float:
...     """I'm like f but with a new name and already decorated"""
...     return random.random()
...
>>> f()
0.9379232620733947
>>> g(f)()
10.1676747637114
>>> h()
10.486860853177589

In the example above we are doing g ∘ f. The @ syntax is just syntactic sugar.

This is the core concept, but usually decorators have a more practical applications like in the examples of your quoted article like performance measurement.

@paoloredaelli you can think decorators like mathematics function composition.

For example (a really silly one, but only to get the idea):

>>> import random
>>> import typing as t
>>> def g(f: t.Callable) -> t.Callable:
...     def add_ten():
...         return f() + 10
...
...     return add_ten
...
>>> def f() -> float:
...     """Return a random value in [0.0, 1.0)"""
...     return random.random()
...

@abloo there is anacron that doesn't assume the system is running continuously, but it can only run task once a day (or weekly or montly) so maybe its not what you want... @kayden

Designing a storytelling dice using solvespace

https://mornie.org/blog/designing-a-storytelling-dice/

@paoloredaelli at my past job I used evolution + evolution-ews and it worked, included calendar and contacts.
Unfortunately I was not able to use thunderbird so I don't know if it can works.
I use mutt for my personal accounts so I did not investigated too much on thunderbird since evolution was working with office365.

@zhenech I think that with some people it's not even a DLC...

@tindall great!

@paoloredaelli to check my IP address recently I'm using http://ifconfig.co/ but one of this weekend I will self-host it: it's released under BSD-3-Clause License.

@paoloredaelli the sad thing is that not only we are moving to platforms, but it also seems that general purpose computers will be a thing of the past replaced by hardware appliances. I hope this will not be the future.

»