• 0 Posts
  • 20 Comments
Joined 11 months ago
cake
Cake day: August 15th, 2023

help-circle
  • Something like that indeed.
    Every active network connection, every process, every piece of hardware and others are in your file system.
    Then there’s also the possibility for linking to a file and links take up no space, but can show up like files.
    You can use a command like ‘stat’ to get more information about a file (or directory).


  • Something to realise when starting with Linux is that everything is a ‘file’. Sockets, processes, input, output etc. That’s very different from Windows and part of why scripting on Linux is so powerful. You can interact with anything.
    So some directories are filled with things that aren’t necessarily files but look like it. Someone else posted a whole list, just realise that under those directories/paths shouldn’t be messed with unless you know what it’s for.
    Generally when you’re getting used to Linux, /home/$user (aka ~) is where you put personal things. The rest is managed by OS and applications, don’t worry about it.
    Edit: spelling




  • What nonsense, of course you can write safe code in other languages. What makes it safe is the people that are experienced in writing it securely and test it. But not all code has a high standard of quality, due to time pressure or due to lack of skill. So yes, the only way to be sure you have safe code without spending more time on training and testing is if the language does it by design. Has this guy ever worked in software engineering?





  • Yeah the 300meg isn’t going to get much less. Switching to Debian won’t change much there. Perhaps you can look into running a minimalist container distro if you are just using the machine for that. I personally want to check out Talos, there’s also RKE and Burmilla. No experience with them, to me the memory doesn’t matter much because I run a homelab. So I currently just run Debian and k3s. On my systems the containers are actually what gobbles up all the memory. If you’re using public container images, there’s a good chance the memory configuration on them isn’t optimal. Especially JVM services are a lot of the time configured to just use whatever is available. If you give them less memory they will do more garbage collection. So if CPU is less an issue then mem, that could be worth looking into (it’s just parameters you can pass on startup). Hopefully any of this is of use. Good luck :)


  • In my experience kernel tweaks aren’t going to be a major change on memory usage. Most distros are meant to be full featured and not necessarily lightweight. So unless you are already running a minimalist distro, make sure you don’t have bunch of background services running you don’t need. I can recommend using Debian Minimal iso’s, they require 256MB of mem. Depending on what features you enable you could use a lot more.


  • My 2c, buy RPi’s because what makes them so great is the availability of drivers and information. You will end up paying with your time if you try to save some money up front. I had several OPi, one randomly started throwing errors. After several reinstalls with various sd card, the information I could find was that the SoC itself was causing the errors. Also getting any hardware to work with it is just a major pain, driver support is severely lacking. Support for the Linux versions is community driven, so you’re dependent on Armbian maintainers. If you have a very new or an older board, you’re probably out of luck when you want to do anything outside of Linux. Example, I could not get a camera and BT module working. I later bought a RPi4 and had the same hardware working within hours.




  • The article states that the iPhone (the device itself) will be limited to USB 2.0 speed. Do you have information otherwise? Also limiting the speed does not mean it will not support the additional protocols that USB-C would allow for. I believe why people are making a fuzz over this is that people with iPhones want to be able to do large exports/backups/imports. Specifically those that use the devices professionally. In those cases you would want all the speed you can have, and this feels like an arbitrary limit set by Apple because they don’t want to fully comply. Perhaps there are good reasons due to heat issues in the storage controller.





  • I didn’t make this about me, there is no hatecrime here. That was what I responded to. The people that seem to be mostly aggravated aren’t the strangers in the strange land but the people that live in regimes that couldn’t care less about their own people. They use their doctrine to divide and subjugate their people, talking about fascism. And stop with the name-calling, that’s just pathetic. Speaking about human beings with feelings, look at those regimes once again.
    We are talking about the mascot for trans people, what do you think happens to LGBTQ+ people inder those regimes in name of that book?
    No we need to be more sensitive about that book and less about those people??!


  • So where is the hatecrime? You used a lot of words but none to actually talk about this. You apparently have strong feelings about the burnings. But that does not make them a hatecrime. I think it’s stupid to burn any book, but as an atheist I think both sides are acting foolish. By now they have burned more Swedish flags than there were book burnings. So perhaps that should be enough. The post and your comment read as a call to ban Ikea for being Swedish because there were book burnings in Sweden. By that logic we can ban just about anything.