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.

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

help-circle






  • Even if you control your router/modem, they still control the other end, it connects to. And some more infrastructure along the path. So i think it depends a bit where you’re going with this. If you’re worried about them doing packet inspection, or logging IP numbers you connect to, I don’t think there’s a big difference. They could do it anywhere. And they’ll likely do it in some datacenter.

    A router interfaces with your local network, though. So in theory a router can be used to connect to your internal devices and computers and maybe you have an open network share without password protection or something like that. But we’re talking violating your constitutional rights here. It’s highly illegal in most jurisdictions to enter your home and go through your stuff.

    I’ll buy my own router because I can then configure it to my liking. And my ISP charges way too much for renting one. And what I also do is not use my ISP’s DNS service. That’d just send every domain name I open to their logfiles. Instead I use one from OpenNIC




  • The way I make sense of it, is we sometimes return failure (i.e. from main). So 0 is no failure (aka success) and we can use the same thinking. The correct, expressive way to write it is probably use “EXIT_SUCCESS” and skip the ones and zeros. Pretty sure this comes from Unix. And with a lot of the other functions in cstdlib it’s the same way as using integers as booleans. For example a “malloc()” will either return your memory or a null pointer and the 0 is the special failure case.

    But IMO the programming language shows its age and the context it was used in. More modern programming language design tends to be more strict with the types. Differentiate between interfacing with Unix stuff and other kinds of values. And we got more powerful concepts to deal with errors. So we don’t always have to abuse the zero to say we ended up in some special case.



  • I think there are several reasons. First, if you do it with an int, you’re probably using up 32bits per value. You’d need 1 but waste the other 31, they needlessly take up storage. (Edit: Though your bool will most likely take 8 bit anyways due to other things.) And then sometimes it’s nice to be expressive. So no one needs to remember if 1 is True or 0, or if True is greater than False, whether 2 or -1 map to True or False. And you end up in situations where either 2 equals 1, or True isn’t always equal True. Or you do weird things to handle values other than 0 and 1 in the operations. All of that can be avoided and the code gets more readable with specific types.

    There’s nothing wrong with using ints, though. You just have to make sure the maths stays consistent.



  • I’d go with the Debian package. That’s tied into the system. You get nice updates, there’s more eyes on what the upstream developers do, sometimes the Debian maintainers disable things like tracking, fix vulnerabilities in libraries. It’s smaller, less permission issues… It’s just safer and more convenient…

    I’ll go for Flatpak once there’s some benefit. For example the sandboxing which is great to have for proprietary software. Or if the package isn’t available in the Debian repositories, and the alternative would be some third-party repo or deb file downloaded from a random website. And in rare cases when I need a specific version and the Debian maintainers are stuck with an old release.



  • And I feel a large contributing factor is the entire situation we’re in. It’s not like I can decide to use GPT 4 as a coding assistant and that’s it. I’m also aware that half the internet turned to shit with all the fake reviews, comparison sites. Microsoft pushes some Clippy 4.0 on me whether I want that or not, most customer support is unbearable now, thanks to AI. So all of that goes into the mix, not just usefulness. And I think romantic companions and legal advise is a bit due to negative media coverage.


  • Depends. Sometimes you’ll get a PC magazine or blog cover an upcoming laptop and test Linux compatibility. Or someone writes a long Reddit post after they got it, or updates the Arch Wiki. There definitely are ways to learn about Linux-compatibility with new models. We used to have Amazon comments and reviews…Just be super cautious with all the AI bots and fake comparison sites out there.

    And it’s a bit more complicated with gaming stuff. Sometimes they’ll add a weird webcam, or unsupported RGB LED controller, or have weird quirks in the firmware. Some other model lines like a business laptop from Dell or Lenovo tend to be just fine and you’ll get 100% Linux compatibility. There’s no guarantee, but any way, after a few Linux nerds blogged about it you should be fine.




  • Yes. My question is just, how do you participate in modern life with that? For example if you commute by train, you need a ticket. And the Deutsche Bahn tries to get rid of paper tickets. Their monthly subscription is an App now, available for Android and Apple. Do you install Waydroid and whip out your laptop once the conductor asks for your ticket? Do you also pull it out of your backpack 3 times on the platform to look up all the delays, changed platforms, trains you have to transfer to? What’s with the pkpass file for the concert, cinema, exhibition? I mean we can still print the QR codes. I do that, I have a printer at home and sometimes do the extra effort. I can’t take my laptops and tablets to concerts. And some other things will get more complicated as well. For example Shop & Go is almost impossible without a phone. You’re guaranteed to wait in line at the few cash registers left and waste an extra 10min… You’ll have to apply for a chip card to charge your EV, can’t update some of your electronic gadgets any more… And if you drive by car, how do you listen to Music and Podcasts? With an USB stick or a 12xCD changer in the trunk like in the early 2000s?