A software developer and Linux nerd, living in Germany. I’m usually a chill dude but my online persona doesn’t always reflect my true personality. Take what I say with a grain of salt, I usually try to be nice and give good advice, though.

I’m into Free Software, selfhosting, microcontrollers and electronics, freedom, privacy and the usual stuff. And a few select other random things as well.

  • 9 Posts
  • 2.52K Comments
Joined 5 years ago
cake
Cake day: August 21st, 2021

help-circle

  • hendrik@palaver.p3x.detoAsk Lemmy@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    4 days ago

    Empathy and availability are great. Listen to them, respect their struggles growing up. I don’t think that necessarily means being strict/authoritative or lenient, for me it means more feeling respected as a person. And a sane, straightforward way to deal with mistakes. Because we all make mistakes. Especially while learning and growing up.

    And I’d say shared memories are awesome. Whatever that means for you. Go on a Canoe trip, teach them how to fix their bike, do woodworks, drill a hole into the wall or bake a cake.





  • hendrik@palaver.p3x.detoLinux@lemmy.mlLearning Linux via AI
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 days ago

    Speaking from my own experience… Lots of people try to cobble together information and try to learn something quick. To varying degrees of success… But it’s a bit of a hit and miss sometimes. And you don’t necessarily learn it the proper way or the right way around if you go by the random order your questions arise.

    I think one of the most efficient ways (and least time-consuming in the long run) is still good old books. They’re mostly written by clever people. And they come with the information curated. And laid out in the correct order, so you’ll get the basics first and then the stuff building on top of that. So you don’t need to waste a lot of time jumping back and forth and get entangled because you don’t really know you’re missing some basics while learning some advanced concept.

    It’s not easy either. I mean first of all you gotta find some book that matches your learning style. And then I regularly struggle with the first few chapters because I kind of already know 70% of the stuff, yet not all of it. So it’s tricky to hit some balance between brushing over things, and not missing important information… But it gets better after that.

    But I think more often than not, it’s the proper way. And since it’s curated and all, it’ll save time in the long run.

    (I can’t really compare it to the AI approach. I’ve used AI to look up documentation for me. But never used it to learn any more complicated concepts. So I don’t have any first-hand experience with that.)


  • hendrik@palaver.p3x.detoFediverse@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    8 days ago

    To be fair, you accumulated most of the downvotes (I see) in a single post and the attached comments. You got two things at the same time: the unpopularopinions community tends to be harsh. From my experience I’d say you get way more downvotes there, than in other communities. And secondly, you picked one of the two super controversial topics. Brace for downvotes if you post about AI. Or Israel. Dunno if the latter toned down a bit, or if I’ve unsubscribed from enough communities since.

    It’ll be better with almost all other topics.

    Not sure if I’d go straight for “silencing”. I mean the post and most comments are still there. So it’s just that you got a lot of backlash. But I can still read what you wrote. And you got quite some engagement. But I get what you mean.

    And down-votes are a bit weird. We never agree if they mean bury the content somewhere at the bottom. Or if it means " I disagree with what you wrote". That just gets lumped together. And some people use them sparingly, some hand out a lot of downvotes. Which I guess could be fine if they’re used to for the frontpage ranking to sort the posts. But the way we use them doesn’t really give them the right weight.

    And by the way, I’m not sure if I like up-votes either. You’ll get 300 of them for re-posting a meme. And 3 upvotes for coming up with really good advice to someone’s question.



  • hendrik@palaver.p3x.detoSelfhosted@lemmy.worldPower efficiency
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    8 days ago

    Yeah, I think the correct sticker on a PSU would be something like 80 Plus Ruby?! Everything else comes with 80+% efficiency at 20% rated load. Which is 200W for a 1000W PSU. And there’s no guarantee on what happens below that, so it might very well be utter garbage at a home server power draw of 20-30W.

    You never know without looking up the datasheets. Though, back when I built my home server/NAS, I failed to find a good one. I got a PicoPSU and a 12V power brick instead. Not sure if that’s still a thing. But I remember it was a lot of work to find proper and efficient components. And it doesn’t make any sense to put in all the effort (and money) and then burn all the saved energy, and then some more, in an average PSU.

    Some MiniPCs, NUCs and even computers also come with fairly efficient power supplies.


  • hendrik@palaver.p3x.detoSelfhosted@lemmy.worldPower efficiency
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    9 days ago

    I got a power-efficient mainboard and PSU. I think that’ll be the lion’s share. And I don’t have any unnecessary stuff like a GPU or extra stuff connected.

    I ran powertop and adopted the recommendations to set the various buses, peripherals and devices into powersave mode. That does a few Watts here and there. CPU of course is also allowed to save power when idle.

    And then I made the harddisks spin down after 40min of not being used. Or something like that. So they’ll automatically spin down at night and when I’m not using them. As spinning hdds consume quite a lot of power if you have multiple of them and compare it to the 15-20W or so the rest of the computer uses. The operating system is on a SSD.




  • hendrik@palaver.p3x.detoSelfhosted@lemmy.worldCollaborate: VPN or Open Access?
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    12 days ago

    I’ll just open them up to the internet via an nginx reverse proxy. Make sure sign up is disabled in the applications, and something blocks people from brute-forcing passwords. Pretty sure Nextcloud comes like that per default. And I’ll do updates. And see if I can run stuff in containers or seperate users so in the unlikely case something happens, access to one of my services doesn’t compromise the entire server.

    Lots of other people use VPNs though. Like Wireguard, Netbird, Tailscale…



  • Just don’t do it like me and think copy-pasting stuff from ChatGPT would do it. It’s not good at writing Nix configuration at all. And it doesn’t have a solid understanding either, of all the concepts in the background. Like not being able to execute binaries, what it takes to adapt something without the FHS, the intricacies of Python… Which options are real or just made up…


  • Ah great. Yeah, the entire premise of it is: you get to “program” your experience instead of clicking on some install buttons.

    You can temporarily just install something in your shell: nix-shell -p firefox-esr

    How would I know how to program in a certain package or setting without internet?

    I guess the easiest way, and what all people do is just use https://search.nixos.org/ In doubt, use your phone 😅
    You can also install “nix-search-cli” to search for packages. or “nix-option” to get info on options. However, I’m not sure how you’d end up in a situation without internet and wanting to change the configuration. I mean the moment you want to compile and install anything, it needs access to Github or wherever the code is stored. And if you don’t compile it yourself, it will pull it from the NixOS cache, which is also on the internet. So you can’t do anything. And the times we had a DVD to install software are long gone. So it’s probably down to some rare exception when you’re on the train or airplane, want to prepare something to apply later?! I don’t think there’s a good solution except the two CLI tools and maybe a local copy of the documentation / handbook.

    And in my experience, the NixOS documentation isn’t great. It’s either there and straightforward. Or it’s a lot of searching stuff on the Wiki, forum… Using GitHub search with an appended: “language:nix” to see if someone already came up with a config. Or I’ll end up reading the code. That is for more advanced things, or niche stuff. It’s a bit similar to the overall experience of NixOS (in my opinion). Either things are super straightforward and mostly done for you to configure with 3 lines of code. Then there’s a fine line of stuff that’s moderately complex. And all the things not covered can get very complex and much more involved.


  • If it’s just you, and you’re fine with the regular login… Just disable signup and don’t add more authentication mechanisms like oauth/openID.

    I’m using nginx as a reverse proxy as well. For now, I added a lot of “deny” directives to ban all the address ranges from Tencent, Alibaba, OpenAI. It’s not a 100% solution, but works well enough for me. I’m mostly worried about AI crawlers causing too much load on my server. And it stopped since, so I don’t think I’m gonna need Anubis and all these extra things in front if my applications. If you like you can look into solutions like a web application firewall like Crowdsec.


  • How long have you been using Linux, so on the one hand you still keep thinking about Windows. And on the other hand you already progressed to an Arch derivate, use BTRFS, snapshots, a non-standard bootloader and all that stuff?

    I like NixOS. But it’s really for people with too much spare time to learn new programming languages, abstract concepts and weird quirks. It’s great. But sometimes you’ll also do a simple nixos-rebuild switch and it’ll greet you with 4 pages of gibberish. Or you’ll spend 3h packaging some weird Python stuff, because you can’t just install and run it like on a regular distro 😅



  • Well, previously we had LemmyNSFW. That one died, pretty much out of the blue. Now the second admin(?) of it launched FediNSFW as a successor. We have that - for now - I guess? They said they’re gonna try to make sure the same thing doesn’t happen again.

    But I guess it’s still a single point of failure. If they don’t properly ensure there’s several people who own the domain and hosting infrastructure, can administer the contracts, server etc, it might still be down to one person and their ability to keep it up. And if there’s legal troubles, uncertainty, not enough donations, law changes or the hoster or Cloudflare pulls the trigger, that might be the end of all of it as well. A severe technical issue/mistake could also take down a singular instance. And due to the delicate nature of NSFW content, they probably can’t afford to be 100% transparent with us, so I wouldn’t know whether they’re in a healthy place or not.

    I mean there’s nothing wrong with FediNSFW’s existence. I just think it’s massively questionable to all bet on the same horse, and then call us the “Fediverse”, a decentral platform…