Self-hosted VoIP?
h3ndrik @ h3ndrik @feddit.de Posts 3Comments 469Joined 2 yr. ago
Yes, as long as you don't link in their libraries or incorporate other parts of their code, you should be able to license your extensions and stuff that ties into some APIs as you like.
Companies usually like permissively licensed projects like MIT, Apache or BSD. But if you want them not just to take your work, a copyleft license like one of the GPL licenses is a good choice.
And maybe clean the insides of your laptop, that's probably the first thing that could solve the issue. See if all cables are still locked in their connectors. Maybe take out the SSD, clean the contacts and you can use compressed air to clean the socket. But be careful, you want to do it right or you might cause damage. No dampness or water, it has to be either isopropyl alcohol or dry. And don't use a rag that introduces static electricity. And no workshop air compressor. Maybe something like a paintbrush is better suited. And don't just shove the vacuum in. I've done that and it might dislocate small components or key-caps and suck them in and it's a major annoyance to get them out of the vacuum cleaner bag 😆 Just be a bit careful. But I already had something like loose connectors/components cause random errors. Especially in equipment that is moved around or gets dropped occasionally. After 5 years, you might also find some dust inside. At least it used to be that way, It seems to be less of a problem with modern laptops. And more and more stuff gets soldered anyways.
And don't do too much if you're not comfortable with that. IMHO the SSD should be a safe thing to touch for most people. But it's really easy to break or bend some tiny contacts from other components or ribbon cables. And there are consumer devices that aren't really meant to be serviced. I wouldn't disassemble such a model without prior experience. If it's still working you might also leave it as is. Do backups. Storage devices often fail even without prior warning.
That'd be the easiest solution. But I think it won't work with this specific hardware, as it needs to close the damper with a separate 10s(?) pulse after the exhaust hood turned off.
Sounds good. Usually the simpler solutions are best. At least around the house in my experience.
Yes, it's probobly not worth it. I wouldn't know how to wire it to a 3 position switch, that's not easy.
I just included the idea because it could be a cleaner solution. I mean there are edge-cases. For example with your setup, you can't cook while the Wifi is down. That might or might not be a concern.
No, I mean for the input sensing. To see if someone pushed the switch for the hood... The shelly 2.5 has 2 outputs and 2 additional inputs for switches. You cant't control a third device. But you can measure if there's mains voltage on 2 additional inputs. If wired correctly to the switch of the hood... You can detect if it's on and control the 2 damper channels all with one shelly 2.5
I think the 2 outputs are like controlling blinds. That's a fairly common use-case for something like a shelly 2.5 and should work fine.
Good call. I've added this as a feature request: https://github.com/TeamPiped/lemmy-piped-link-bot/issues/252
Your Shelly 2.5 also has 2 inputs: SW1 and SW2. You could also wire one of those in to the hood so it can directly detect if it's powered. If that's possible... Idk, it needs to be after its switch. likely the hood isn't made for this and you'd need to mess with the internal wiring. Your setup is a bit easier.
I'm not sure what happens if both channels are active simultaneously... Some devices handle this and prefer one direction, but not all of them. I can't tell from the eBay page.
I'd use the built-in. Or use Oauth2 or OIDC if you want a more elaborate setup and have an application that supports it.
It's been the same on Reddit, so I think with lots of people coming from there, it's just the logical consequence that we get the same demographics here. My perspective might be a bit skewed on that... I've also talked to some British and Canadian people here. There's some server statistics (on Fediverse observer or something) that reflect a similar thing with the origin of the servers. Ultimately I like platforms like this for connecting people all across the world.
Hehe, we seem to share a few things...
I mean we're often predctable, and while Lemmy is somewhat diverse, most people I meet here are either American or German and males from, lets say 20-40. And there are certain types prevalent. Like the Meme-Lord, the casual Linux expert, the normal guy or the agitated opposer. Some people fulfill multiple categories or like being a bit schizophrenic on the internet. But I've also met people with crazy niche interests, or trying new things, so there is that.
And I can't really tell: Playing devil's advocate, participating in memes and internet culture and having multiple sock-puppet accounts for different use-cases are fairly common and make it difficult to judge a person. And my own behaviour is also very different in real-life than what I do here.
What's your question? I mean different types of services exist. You're currently on a platform powered by volunteers. If you don't like it, there is alternatives like Reddit which is a commercial / for-profit company.
We have projects like Lemmy, Linux and the whole Free Software which somewhat relies on kindness and giving. It's the same for charity, your schools extracurricular club where parents and teachers volunteer their time and energy. Or bring cake to a special day.
And with the "trust": I think it's more nuanced. You also rely on other peoples kindness to stop at the red light at a traffic junction and not crash into you at full speed. Theoretically nothing is stopping them. It's the same concept, you're forced to cooperate sometimes and rely on other people to abide by the law and also cooperate. It regularly works fine. Just make a good choice whom you trust and why.
You don't need to worry about your IP. It's really not a big deal if people know it... I'd have a look at who's running a service once I upload private documents with my finances etc, photos of me... More than random ramblings. And experience shows also the services that don't rely on volunteering aren't a safe bet. Most of the big companies and platforms have been hacked. https://haveibeenpwned.com/ lists my email AND password has been lost at least 3 times by the big players.
And regarding you specifically... I already know enough about you by reading your public posts. You're probably from the USA. At least I didn't find comments in other languages, and statistics tell me people here are either american or german. You use Android, know what FOSS is, seem to like it and play things like Supertuxkart. You like to waste some of your time in meme communities and casual conversation and just created this account yesterday. And you talk a certain way which makes me think this isn't your first time on the internet. What else am I supposed to deduct by knowing your IP?
You're right asking the question "should I trust you with my data". That is why I don't use Facebook, Microsoft, bonus cards, TEMU...
Yes, there are laws against doxxing in several countries.
There is no technical aspect stopping it. Every website has your IP, sometimes also the people you chat with or write emails to, as this might (or might not) be part of the meta-information.
An IP address is a boring piece of information. Usually you can just infer the country and which internet service provider someone uses. You'd need to sue the ISP or get a court order to get the name and address of who's using that IP number.
Running these services is a lot of work and requires some skill, at least to do it sustainably. Usually it's certain people who are dedicated enough and willing to put in the effort... They are motivated to build something or help people. That's what drives them. It's somewhat unlikely but not impossible that they participate in malicious behaviour. Sometimes internet drama happens. But users aren't stupid either.
(But people who want to destroy and troll, rarely have the character traits to succeed at something like this. You'd pass on easier methods to wreak more havoc, to instead spend time learning webhosting, Linux, build up a community and maintain the server... You wouldn't do all of that unless it were worth it. I can only imagine that happening in a targeted attack that pays a good amount of money. Or a really good amount of internet fame because you doxxed a high-profile celebrity or something like that.)
Yeah, I think we should extend on the sandboxing features like AppArmor, SELinux and Flatpak for desktop use. Look at MacOS and Android and what they're doing for desktop users. That is currently not the Linux experience. Ultimately I'd like my system to have an easy and fine grained system to limit permissions. Force third-party apps to ask permission before accessing my documents or microphone. have sane defaults. make it easy to revoke for example internet access with a couple of clicks. make it so I can open an app multiple times. and have different profiles for work, private stuff and testing. This should be the default and active in 100% of the desktop applications. And apps should all use a dedicated individual place to store their data and config files.
Librewolf and more [...] used as Flatpak, [...] its way more stable.
That's just not true. I've been using Linux for quite a while now. And I can't remember my browser crashing in years, seriously. Firefox slowed down a bit when I had 3000 tabs open, but that's it. How stable is your Flatpak browser? Does it crash minus 5 times each year? How would that even work? And what about the theming and addons like password managers I talked about in the other comment? Use the distro's packaged version. It is way more stable. And as a bonus all the edge-cases will now work, too.
I mean it's not even my own problem. I just have Spotify, Microsoft Teams and Zoom installed that way, and a few pieces of software that I'm testing. I use a rolling distro so I have the most recent versions of every software I need anyways. And I have the skills to configure stuff. So I myself don't have an use-case for a spyware-riddled Chrome browser from Flathub or something. I have a nice LibreWolf from the unstable channel of my distro. Steam and all the other stuff is there, too. And it works almost flawlessly. Why would I trade that in for a 4GB version of the same software that has downsides?
It's the newer users I'm concerned with. Their sub-par experience of Linux.
This is what I mean:
- https://github.com/keepassxreboot/keepassxc/issues/7352 (Maybe Keepass works as of now(?) I don't think so but I haven't tried. At least some addons do. But other's don't. It requires the permissions to be configured by the prople preparing both flatpaks that want to talk to each other.)
- https://itsfoss.com/flatpak-app-apply-theme/ / https://docs.flatpak.org/en/latest/desktop-integration.html
- All the issues people had with Steam, the graphics drivers, attaching gamepads/controllers or headsets, getting Discord and extras working. (Some of that seems to have been resolved in the meantime. They put quite some work into it.)
- Some distros don't update Flatpak packages as part of their standard update mechanism. You need to learn to regularly run "flatpak update" or learn how to activate that.
- I have some packages still rely on old runtimes that are missing security patches. I suppose it's the same for a lot of other people. And there isn't a mechanism to warn you. You also need to learn how to figure that out.
- I don't remember which of the video conferencing solutions this was, but I remember fighting with the webcam permissions and advice on the internet was to disable sandboxing entirely. I set the permissions a bit better but then also screen sharing wouldn't work.
As I said, it's okay for someone like me - and probably you - to use, and I don't complain. I'm glad I have Flatpak available as a tool. But look at the issues I've linked above and the steep learning curve for the beginner. They need to learn what GTK is, what QT is, what desktop they use, learn what Flatseal is, use the CLI. They have no clue why it is even required to do that much work to get their Keepass set up. And that it's not Linux' fault but their decision from 2 weeks ago to install the browser that way. And their experience is just worse than it needs to be. And this isn't unsubstianced, I'm speaking from experience. I've answered these questions over and over again. It's already annoying to get the NVidia stuff set up reliably, find new software and adapt your workflow. And the switch from X11 to Wayland broke things like screen sharing/recording, anyways. And we're now piling 20 other things on top, to learn and do manually if you happen to be one of the users who don't use the default standard setup.
And nothing of that is "bad" or can't be fixed... We're making progress with all of that. And we'll get there. All I can say with my experience helping people with their Linux woes and the current state of Flatpak: The "use Flatpak for everything" mentality is causing issues for some newer users. And experience shows: They rarely understand the consequences but heard the hype about Flatpak. And few of them can explain why they used Flatpak over the proper packages in their distro.
So my opinion in short:
- Flatpak is nice : yes
- try a Flatpak first, then the distro package if it doesn't work: hard no
- you can get recent software on older distros with flatpak: yes
- you can recommend Flatpak: Yes, if you also explain the consequences of the sandboxing and pulling things from potentially unreliable third-party sources. You're doing people a disservice if you don't.
- some of this will change in the future: yes
- we should have more sandboxing: yes
Hehe, No. It's the sandboxing.
But with this approach you take over the answering questions to newbies... Why doesn't the webcam show up in the videoconferencing? Why doesn't my GTK / QT themes apply to some software and it's a 2 page tutorial with lots of command line commands to fix that? Why can't I install Firefox add-ons and on Windows and MacOS everything just works? Why is Linux so complicated and regularly stuff doesn't work?
I had this argument multiple times now. There is an easy solution: Do it the other way around until you know what you're doing and about the consequences. Distributions are there for a reason. They put everything into one package and do testing to make sure everything works together. They provide you with security patches if you choose the right distro. LibreOffice and a Browser even come preinstalled most of the times. If you do away with all of that, it's now your job to tie the software into your desktop, your job to handle the sandboxing if there is addons that need to pierce the sandbox. Your job to make sure the Flatpak publishers do quick updates and keep the runtimes up-to-date if a security vulnerability arise within an used library...
I'm not directly opposed to using Flatpak. I'm just saying there are some consequences that aren't that obvious. There are valid use-cases and I also use Flatpak. But in my experience hyping some of the available technologies without simultaneously explaining the consequences is regularly doing a disservice to new users.
I'd be happy if people just cut down on advertising Chrome/Firefox and LibreOffice via Flatpak to new users. They should use the packaged version. That's why we have distributions, to make the whole system a smooth experience and everything tie together.
Flatpak is slowly getting there and I think at least some distros have it preconfigured so the default GTK themes are in place.
Ultimately, I'd like sandboxing to be available natively in Linux, at least for desktop applications. And we can talk about a packaging format that is available to the user, allows pulling software directly from the upstream project, includes libraries and runtimes.
We're also regularly debating Flatpak here. That password managers don't tie into the browser and the desktop themes don't apply. It's also not the best solution and regularly confuses newer users.
Hehe. Yeah I meant per default, everything is copyrighted. So it'd fall back to being restricted and thus "not allowing anything"... If the wording doesn't hold up... I'm not really in the position to judge this. Could be very well the case that once somebody touches it, it's not "this" product anymore and it's no longer covered. Or taking just parts of it is also not "this product". Or a copy. I can imagine that something like that is the reason why other licenses go on and on talking about modified versions and copies etc... But I'm really not a lawyer and you're right with being creative with things. I did not intend to be too negative 🤗
It can even do XMPP in addition to telephony.