- 2 Posts
- 9 Comments
confusedpuppy@lemmy.dbzer0.comto
Technology@beehaw.org•Cloudflare Global Network experiencing issues
12·18 hours agoEven though I don’t host anything important, I’m still glad I found alternative ways to hosting my own stuff without the use of any of Cloudflare services.
I’ve noticed over time that the self-hosted communities have been suggesting Cloudflare Tunnels less and less since Trump and his gang took over America. Maybe this latest outage will push more people to not recommend Cloudflare again in the future.
I still remember when I first got into self-hosting and being mocked pretty hard for questioning the use of such a large centralized service like Cloudflare. I’m glad I persisted and kept learning in my own direction but that still was very demotivating at the time.
confusedpuppy@lemmy.dbzer0.comto
Selfhosted@lemmy.world•Self hosting Sunday! What's up, selfhosters?English
2·2 days agoI actually started with RPi’s. The first one, a used Pi 4b, is dedicated only to HomeAssistant. I don’t tinker with it anymore because it does what I want and I don’t want unexpected downtime when I have to use the bathroom or use the lights in my room.
I bought a used Pi5 with the intention of upgrading later. In life I am quite minimal and find a joy in using what little tools and material I have to create something new. That seems to hold true to technology and scripting too. The RPi5 with an old USB3 HDD is actually way more power than I can currently use and can imagine using for a long time. The extra room to work is convenient though.
I’ll have a look into some of the places you suggested, those seem like the places to draw good inspiration from, thank you.
confusedpuppy@lemmy.dbzer0.comto
Linux@programming.dev•Can someone please explain what is this ? https://curl.se/
1·2 days agoI don’t have much experience with curl. From what I understand, it’s an old but constantly maintained command line tool. If you type
curl https://www.google.com/in your terminal of choice, you should get a text display in return of google’s search page. That’s if thecurlcommand is installed on your system, which it most likely would be.You won’t be able to interact with it since it’s in text but you can see how the page has been written in the HTML language before it gets rendered into the website you would normally see in a web browser.
When it comes to terminal commands, I find it helpful to do web searches using
linux <command name>. For examplelinux curland that will lead me to many sites that help explain the command and give multiple examples of how to use the command.Once you get more experienced with using a terminal, using the command options
--helpor-hwill give you information that could help you use the command. For examplecurl --helpThere’s also manual pages, or man pages that give a more technical look at commands within your terminal of choice. You can access them with
man <command name>. Example:man curl.In the case of federation, every platform that is using federation is using a communication protocol called ActivityPub. Simplified, it functions like email but instead of private emails, it’s transferring public social media content. Microbloggers and threaded conversations can communicate with each other using ActivityPub but the information exchanged between the two platforms is slightly different. That’s how we get quirks like this when two different ActivityPub platforms communicate with each other.
confusedpuppy@lemmy.dbzer0.comto
Linux@programming.dev•Can someone please explain what is this ? https://curl.se/
6·2 days agoDifferent federated platforms talking to each other will look like this sometimes. In this case it’s a microblogging platform talking to a threaded conversation platform. It’s just a quirk of federation in general.
confusedpuppy@lemmy.dbzer0.comto
Selfhosted@lemmy.world•Self hosting Sunday! What's up, selfhosters?English
5·3 days agoI started out rewriting my network backup scripts only to realize I was adding functionality to a previous script I wrote to automatically mount and dismount luks encrypted volumes. I still want to type in my luks passphrase because I don’t want everything automated and prefer to include inconvenience as an additonal security measure in securing some of my data.
I also came to the realization recently that the reason I don’t relate strongly to other self hosters is because I’ve unknowingly been trying to create a minimal self hosted system that is more beneficial to small, low powered devices.
I’ve been using Alpine Linux, I install only the bare, older but well established tools and have been creating scripts soley based off those tools instead of seeking out bigger, more complicated modern tools. For example creating workflows by only using
rsyncor using https://github.com/RayCC51/BashWrite to create a blog that only usesbashand GNUsedto create a static blog site.At least now that I’m aware of this, I can keep an eye out for such projects or communities and would hopefully be able to contribute something in that direction.
confusedpuppy@lemmy.dbzer0.comto
Linux@programming.dev•Which command substitution do you prefer in shell scripts: backquotes `` or $() syntax?
4·6 days agoShellcheckis a great tool for scripting.When I’m building a new script, I usually add the following function to the script and run the function before anything else. The script will exit immediately if any issues are found so I have a chance to correct things. If no issues are found, the script will simply continue.
It’s small and simple so it’s easy to remove when I’m done building a script.
script_check() { if ! shellcheck "${0}"; then exit 1 fi } script_checkShellcheck has helped me learn a lot about scripting and I strongly recommend using it too.
confusedpuppy@lemmy.dbzer0.comto
Selfhosted@lemmy.world•Is self-hosting becoming too gatekept by power users?English
34·7 days agoI’ve experienced gatekeeping issues long before I got into self-hosting specifically. Years ago I wanted to learn C++ for Arduino and I was constantly talked down for asking questions.
“Why don’t you just do …” in response to a question feels very rude as a newcomer because it feels like I am being talked down to for not knowing what others already know. Even when I made an effort to show I was making an effort to learn on my own, I was still belittled.
I’m all for hearing different ways of approaching my issue but from the replies, it often feels like other people insist there is only one true specific way to handle an issue.
When I first got into self-hosting, people kept pushing Cloudflare on me. When I expressed concern over a large centralized corporation having that much control and how they might have service issues, I was mocked really hard. Half a year later and there was a significant outage and suddenly there’s all this talk about how centralized the internet is and how that is bad.
After that I took it upon myself to find alternative ways to protect myself without Cloudflare’s services but every step of the way has been an isolating experience. Every step of the way has been full of people saying that my efforts are pointless and that the bots will win anyways so I shouldn’t bother.
I decided to try to secure myself through multiple layers of obscurity and every question in that direction has been full of people saying that obscurity is not security, the bots will find you anyways!
I’ve stopped myself from asking too many questions now. I still keep learning in my direction. I feel like I’ve managed to find multiple solutions that both obscure and protect myself. I’ve constantly check my logs for months now and the bot is less than I expected in places I expect them to be and completely zero in other places I thought there would be some activity.
I want to share what I have learned and my experiences but I know I will receive backlash for deviating from the norm.
I’ve spent a lot of my self-hosting efforts trying to find ways to protect myself with minimal use of third party services, documenting as much as I could only feel afraid to share what I have learned.
This comment may not be about learning self-hosting as a beginner specifically but the vibe has been pretty damn consistent throughout me learning C++, self-hosting, linux and shell scripting. All things I enjoy but all so full of people ready to talk down to someone who wants to learn.
True.
My self-hosting strategy is wildly alternative and not one I speak much about publicly. I’m the only person connecting to my own domain so as long as I continue to practice shutting the fuck up, I can get away with using multiple layers of obscurity rather than fiddling with third party solutions.
I check my logs daily and the only activity I ever see is my own. Since I am not hosting anything critical or sensitive, I have the opportunity to experiment this way without much risk to myself.
The way I’m set up, I am not concerned with DDOS attacks because it would fail to get past the Dynamic DNS. If I were hosting a social media platform or something more public, then I would need to take stronger measures to protect myself and that data.