• 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: August 8th, 2023

help-circle

  • JGrffn@lemmy.mltoSelfhosted@lemmy.worldBeginner in need of real help!
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    Yeah, as someone else mentioned, this step is just for creating a folder. You probably need to get more intimate with the commands you’re running to understand the process better, but I would honestly take a step back and use something more streamlined for these things.

    Someone mentioned Proxmox for these things. I would also mention TrueNAS Scale. Both of those make it so that the process of spinning up containers and VMs becomes a lot more streamlined and easy to follow. They also forego a UI on the equipment you’re using, opting for a web UI you’d access from another device instead. Make no mistake, this is a good thing. 99% of things you’ll be wanting to do anywhere will be through web UIs, so that’s where you’ll want to be. The 1% of the time where you’ll be seeing your laptop server’s screen (or an SSH terminal) will be the most painful 1% of your life, and it will be when you misconfigured something and the web UI becomes inaccessible (on that note, also make sure to at least configure SSH access on something so you understand how that works). I’ve had to do this plenty of times with my pfsense box, and as a relative noob to these things as well, having to use nano and vim for editing pfsense configs to revive my server…it’s fucking horrible (sorry vim enjoyers). The good news is, you learn the hard way, but you learn. Try not to have this happen to you, or you’ll be back here soon. Once you’ve had a lot more experience with your tinkering, this will seem less daunting and you’ll be more comfortable debugging directly on your laptop server screen.

    TrueNAS Scale, as the name implies, is better suited for when you want to include NAS Capatbilities on your setup. Since you mention things meant for Plex/Jellyfin setups, I’d say you could start there.

    However you do mention a laptop, so I’m imagining a very basic setup where you probably have limited space or a couple of USB drives or something. You could, instead, opt for Proxmox. You lose the specific capabilities of creating complex RAID setups that TrueNAS would give you, but it sounds like you wouldn’t be needing those anyways, as they better fit a setup where you have a bunch of disks connected through SATA or PCIe interfaces. Proxmox is a lot more specialized for containers and VMs so it’s probably a good tool to get acquainted with, and might be better suited for a setup where you have just the laptop and maybe a couple of drives to toy around with.

    Whichever you choose, make sure to watch YouTube videos about it, read the docs, truly understand what’s going on with that tool first, as well as how to set it up correctly. This will introduce networking concepts to you in the process, as you’ll need to understand how to access the computer through the network with a browser, as well as with SSH. Make sure you don’t ignore networking knowledge. It might seem daunting, or skippable (why bother with local domain names when you can just use the IP and port number?), but a lot of networking concepts are actually rather simple to follow, take a moment on the first few tries but become very easy to reproduce afterwards, and it will make your life easier (yeah turns out, now there’s 20 services and you forgot what ports are for what service…if only you had dedicated time to telling the network that port 69420 was for radarr.localdomain and port 42069 was for sonarr.localdomain).

    I’d check out Lawrence Systems on YouTube. They make videos covering networking configs with pfsense and the like, as well as TrueNAS configs, and maybe they’ve delved on Proxmox? Craft Computing, another YouTube channel, for sure teaches about Proxmox. There’s tons of video guides for *arr services, I haven’t looked for platform-specific configs, but I’m sure you can find both videos for Proxmox and TrueNAS Scale configs. Once you get your first one, most other *arr services are very similarly configured (though not all are, some are very quirky).

    Another thing you’ll need to understand is how containers work, as well as how to map things from outside the containers into them. Containers are, well, contained, and mappings are how you expose parts of the container to the outside. You’ll probably be guided to map things such as your data and the service’s config files from outside the container to better organize and persist those things. Make sure you understand this concept, where things are on your setup, where they’re getting mapped to in the container, and what this means when it comes to modifying the container (hint: it means you can delete or upgrade the container and things still work exactly as you configured them once your container is back up).

    Maybe a controversial advice, but I’d steer clear of the console unless it can’t be helped, since you honestly can do a lot from the UI for the vast majority of things you’ll need to do. If you DO need to use the console, however, I’d bother ChatGPT and documentation for whatever youre doing, to make sure you understand what every command you try does. Things like “sudo mkdir xyz” should be crystal clear to you. In the case of this failed command, for instance, you should be aware that mkdir doesn’t create entire paths, but rather only specific folders. If the preceding folder doesn’t exist, the command fails, so if /home doesn’t exist, nothing else will work. If /home/user doesn’t exist, you’re not going to be creating /jackett_config, and so on. Sudo is also a very powerful keyword, which means whatever follows it is an order from the big boss and must be obeyed. As such, absolutely make sure you understand any command that starts with “sudo”, as those are the ones that can easily set fire to your entire config. If you don’t understand what it’s doing, don’t run it.

    While we are on the subject of folder structures, theres no shame in looking up videos and docs explaining the Unix file structure. If youre coming from windows, this is a veeeeery easily confusing bit, and understanding where you are is very helpful.

    Hopefully some of my ramblings make sense to you. Hit me up, or hit the community up, if you need more specific guidance. Things can seem daunting at first, especially if you’re new to Unix, but I promise you it becomes easier as you build good foundational knowledge.


  • I see where you’re coming from, because I kinda also hate the genres you mentioned in specific, but man, it’s not ALL bad. You put on some Juan Luis Guerra and he makes better bachata than anyone else you can think of. It’s actually fucking enjoyable. It took me decades to even begin to appreciate some of the more pop music (or even tolerate it, cause fuck regueton…but everyone listens to it where I live), and he definitely stands out.

    That’s it, I just wanted to mention the 440.


  • This dude is trying to get people to think, to notice, to act, he’s trying to educate people and to help them change. Maybe don’t immediately disregard him as “not a true socialist”, maybe don’t outright jump to calling him a tankie. We’re all in this hell hole together, the least we could do is help each other out and spread the educational content, work together to give a friendly summary on our points of view, and keep moving forward.

    I like his content, and I like that he’s trying, that’s my opinion on him.


  • I had pretty much the same experience you did. I did randomly find a reddit post with a ublock custom filter to avoid the whole “page not loading at all” thing. Ever since, I’ve had only one ubo failure that I fixed with the routine filters refresh, and dare I say youtube’s actually been getting faster for me lately? I did have that slowdown, due to their thing that prevented the page from loading, but now it’s almost like they’ve ramped down on their efforts.

    Edit: I’m here to stand corrected. Fuckers are messing with any browser that’s not theirs. Add the following filter to ublock if your video pages take 5 seconds to load: www.youtube.com###+js(nano-stb, resolve(1), 5000, 0.01)



  • If data structures weren’t working with MSVC, you’re probably working with non-portable code in the first place. Don’t assume an int is 32 bits long!

    Oh absolutely! I was starting out during this time, and started using memcpy for a uni project, hardcoding byte sizes to what I assumed long’s size was, instead of checking or using standardized data types (because I didn’t even know they existed). The result was such a mess, exacerbated by the good ol “let’s write it all in one go and run it when we’re done”. Boy did I suffer in that class.


  • I’ll one-up you, and I hope nobody I know reads this. I work from home as a web dev. I have ADHD. I sometimes work deep into the night because I procrastinate all day. I’ll be working with one hand and stroking it rock hard with another, with no real horniness or need to cum for hours. It’s just like a fidgeting thing. I’m looking at code, sleep deprived out of my mind, and somehow rock hard. I don’t get it, but I’m too stressed to care.



  • JGrffn@lemmy.mltoProgrammer Humor@lemmy.mlC Compilers be like
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    1 year ago

    I haven’t touched compilers in a while, but I was a dirty little MS pig boy back in college. Qt with MSVC just made sense for me, with the single exception of non standard byte lengths for longs (almost cost me a class due to not using std uints, totally my bad but you don’t really expect compilers to understand basic data types differently).

    The true shitfuckassface experience for me was ICC. Stupid little pig boy decided he wanted his Qt working with ICC, due to all dem optimizations for Intel CPUs. After hours of debugging nonsense errors and janking my way through Qt code which was way above my head, I finally got a Qt build, only to have ICC find thousands of completely removed errors in a project where no other compiler would find errors.

    Yeah that was the day I stopped caring for C++, stopped licking intel’s ass, and started getting ever so slightly radicalized due to the lies of the republic.




  • I still use common colloquialisms without paying much mind to them. “thank God, oh my god, Jesus christ” etc. Kinda hard to get rid of those, but it’s no biggie, really.

    What I will say, is that while I do identify as an atheist in the sense of not believing in established religions or cults, I do consider that I am able to believe in more than what reality presents. I’ve always said I’m an agnostic atheist, but as of late, I’ve been feeling like it’s rather OK and even necessary to wonder about reality and existence a lot more than what science allows itself to. For example, if you take even a moment to ponder about what physics and the quantum realm means about reality, you’ll feel like something else is definitely going on, like we’re obviously not seeing the full picture and there’s a good chance we never will, and that the picture were missing is unparalleled in its majesty. To just think that we seem to be just a combination of countless fields fluctuating together to form reality, but at the end of the day you could just say we’re the expression of different waves going through different mediums juxtaposed on each other. A combination of planes crashing in on each other in a multidimensional membrane, a universe that could be just one possibility out of a mostly dead multiverse, where even our universe seems to be mostly dead, yet here we stand. It’s hard to wrap your mind around it, or even begin to grasp it all. Definitely makes you feel like there’s more to it than just chance, hell, chance sounds like an implausible explanation for all of this.

    I think I mostly take issue with “matter of fact” stances, where people will claim things are a specific way because their faith or textbook says so. No. Just, experience life, question it, question your beliefs, but also question life itself, don’t settle for just “big bang and chance and meaninglessness” as science is just a tool, don’t settle for just “God willed it all and demands these things of us”, we’re not here for that long, let’s ponder on it all while we can, and enjoy the life that were lucky (or unlucky) to be able to experience for one moment in eternity of nothingness, or an eternity of eternities of different existences. Who knows what were doing here, where we go from here, where do we come from? It’s ok to acknowledge that the answer to those questions is “nobody on this earth knows, and maybe we’ll never know”. Let’s cope together, let’s smile together, let’s live and ponder together.



  • Yeah I want to know as well. His content isn’t exactly my cup of tea and can feel dystopia, but my dude flies around the world giving away free surgery to people and shit, and he promotes charities and foundations and actually moves people to donate to them. His thumbnails are creepy as shit, and his content feels like it was made to be cut up into a bunch of 6 second tiktok videos, but I don’t really see a dark side here.


  • I don’t mind having less fun content, the content that’s here is good enough for me as far as scrolling a feed goes. My main problem is that every source of actually good information and good community-sourced solutions to things is still on reddit. You want to figure out why your game is acting weird? Check out for config issues that people mention on reddit. You’re trying to decide between two solutions/softwares/products? Yeah, you’re gonna get all the info you need on reddit. Tutorials, guides, recommendations, fixes, solutions, it’s all better when it’s communities talking about them, and all of that information is still over on reddit, better indexed, more condensed, the whole nine yards.

    I have made ONE post on reddit since things went to shit, and it was to ask redgifs for better lemmy support. I don’t add anything to reddit otherwise, but it is still impossible to find good information without relying on reddit.


  • We’re way beyond saving by planting trees. We’re way beyond saving by picking up trash on the streets. This is a worldwide systemic issue that can NOT be solved by individuals reducing their carbon footprint, we as a species need a negative carbon footprint to survive this century, or even these next few decades, or even these next few years. We have a transport problem, we have a factories problem, we have an affluence problem, a conglomerates problem, we have a capitalism problem, we have a “progress” problem.

    It’s ridiculous to get angry at a child that sees all this and cries out in desperation, most of us will die before she and her generation does, and they’re going to be left with a mess beyond repair. And it’s not because Timmy ate a burger or because Anne didn’t pick up trash in a park, nor is it because Bob commutes using a car, it’s because our economic system demands “progress” at all cost right this moment. It’s because our cities around the world prioritize cars and cheap individualistic transportation. It’s because prices need to be stable, so let’s throw products away to create a limit on supply. It’s because it’s more profitable to implement planned obsolescence than it is to implement renewability and durability into products. This is clearly not something that can be solved by a single person, whether that person is an everyday anon who does his or her best to reduce their carbon footpront, or whether that is a kid addressing the world leaders while in distress about her future life in this world. The change that needs to happen is revolution, and the world is too complacent and too scared of taking such actions to save itself, and I can’t really blame people for it, even if we should.