• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Should I Get Into Gentoo? (x-post from /r/Gentoo)

      I've been using Linux for the past 5 to 10 years. I'm not a developer, but a mid-to-advanced user. I don't really know bash (or any programming language for that matter), but I got a folder with...

      I've been using Linux for the past 5 to 10 years. I'm not a developer, but a mid-to-advanced user. I don't really know bash (or any programming language for that matter), but I got a folder with 100 bash scripts I wrote myself. I compile my own Emacs (which I configured from scratch and contains more than 200 crudes functions of my own), Neovim (also configured from scratch) and other programs such as suckless terminal. I'm an i3wm user and currently use MX-Linux. I'm very good at Googling and pattern recognition.

      I got a brand new AMD desktop with a Ryzen processor (no dedicated graphics, wifi works fine with a USB adapter). Should I try Gentoo, or maybe I should study more (maybe with something like Linux Journey)in order to get a better experience?

      Reasons to install Gentoo:

      1. Learning experience
      2. A completely customized desktop experience
      3. Never having to reinstall my operating system again
      4. Masochism
      5. Putting my powerful processor to work
      6. It seems cool (and less painful than LFS)
      7. Some hypothetical performance gain
      3 votes
    2. What makes a Linux Distribution Stable instead of Not-Stable? (full-disclosure: I wrote this for Reddit - /r/ManjaroLinux - but I think I'd love to know what you think about the subject))

      Introduction I wanna say that I made several corrections, additions, and improvements just because I love you guys way more than I love the people at Reddit Please note that I'm merely a dedicated...

      Introduction

      I wanna say that I made several corrections, additions, and improvements just because I love you guys way more than I love the people at Reddit

      • Please note that I'm merely a dedicated Linux user, I'm speaking from that point of view. I'm not a developer and not a programmer. These are just my opinions of 10+ years using Linux

      • These are just some commentaries from a dude who happen to love the concept of STABILITY in general (autism represent) and would like to discuss how it works when it comes to Linux distributions. This is all based on my use-cases and on what I think is common sense. I have no knowledge of how open-source projects really work, and make no claims regarding how they should work.

      • Only distributions that claim to be stable are under my scope. So Arch and Debian Unstable are clearly out the scope, but Slackware, CentOS, Debian Buster, and MX-Linux are clearly under the scope.

      • All considerations are void if the malfunctioning is SOLELY a product of hardware, extremely rare conditions or your own lack of knowledge.

      • Except when otherwise noted, non-compliance means the distribution is deemed not stable.

      1 Deal Breakers

      After a correct installation by the user on hardware that is expressly supported by the developers, a stable distribution should, in the period of 1 year (counted from the first boot):

      1. Remains bootable, manageable and fully accessible.
      2. Work with almost no maintenance or intervention (updates excluded)
      3. Present no decrease in performance
      4. Freeze at most once every two weeks
      5. Have no package issue that cannot be solved by a simple command from its own package manager

      2 Major Issues

      Because of the complex nature of major issues, I'm not going to establish any criteria about them. Both stable and unstable distributions have critical problems that cannot have a fixed time-frame.

      3 Minor Issues/Bugs/Annoyances/etc

      Small issues are the ones that do not impede the usage of the machine, but provoke significant annoyances:

      Examples:

      1. Window switching is not working properly
      2. The mouse stops working for 3 seconds every 15 minutes
      3. For some reason, the letter "c" is sending "h" on the terminal
      4. My configurations are not saved after reboot
      5. My configurations are not being saved at all
      6. I must change video output manually every time I switch monitors
      7. I must change audio output manually every time I switch monitors
      8. Some essential configuration is ridiculously hard to find
      9. Configurations have no undo button
      10. Configurations have no reset button
      11. A certain package cannot be installed
      12. A certain dependence cannot be installed (dependency hell)
      13. There's a ridiculously accessible keyboard shortcut that makes your keyboard change layouts all the fucking time

      3.1 Places for Research

      Such minor issues must be solved within 30 days, as long as the user does their part and seek some of the following resources:

      1. Google
      2. Official websites
      3. Official forums
      4. Official warnings, newsletters, etc
      5. Semi-official communities
      6. FAQs
      7. Manuals
      8. Github Issues
      9. Gitlab Issues
      10. Other Venues to post issues

      If the minor issue is not solved in 45+ days, the distribution will be deemed not stable, regardless of the behavior of the user.

      4. Conclusion

      It is my opinion that, if any of the major and minor requirements are not fulfilled according to their particular rules, the distribution in question should not be deemed not Stable.

      4 votes
    3. Programming/software design practice?

      So, I've been going through Project Euler and solving problems as a way to brush up on my programming abilities, but it's mostly a math-focused set of problems. Which is cool..they're nice little...

      So, I've been going through Project Euler and solving problems as a way to brush up on my programming abilities, but it's mostly a math-focused set of problems. Which is cool..they're nice little puzzles that get the gears turning...

      BUT I'm wondering if anyone here has suggestions for a website/course that teaches software design in a piece-wise way. Like... each problem is a nugget of software design that builds off previous problems and eventually you're creating an entire application utilizing different algorithms/design patterns/data structures/etc.

      I'd appreciate any resources similar to that idea. Thanks!

      7 votes
    4. Linux Distro for an old PC

      I found my grandfathers old PC on the attic and want to revive it for him. He really loved that pc. Sadly that potato barely runs Windows xp so I thought about putting a Linux onto it. My Linux...

      I found my grandfathers old PC on the attic and want to revive it for him. He really loved that pc. Sadly that potato barely runs Windows xp so I thought about putting a Linux onto it. My Linux experience is limited to Mimt and Debian, both way to heavy for this old laptop. I need recommendations for a very light weight Linux Distro!

      Specs:
      256 mb DDR1 Ram
      Intel Celeron M 320 @ 1.4GhZ
      40gb Hard Drive

      It's a small, simple gift and nothing where I want to put money into. Also it won't be my granddads daily driver so please don't recommend me a new one (a lot of people did that on other websites so I am rather careful). Thanks in Advance!

      14 votes
    5. How do you power your personal site/blog? What should I use?

      I currently have a personal "portfolio" site that I haven't updated in close to a year. I'm planning now on revamping it, and I am using this opportunity to reconsider the static site generator I...

      I currently have a personal "portfolio" site that I haven't updated in close to a year. I'm planning now on revamping it, and I am using this opportunity to reconsider the static site generator I am using.

      I host my site on Github pages, which means that Jekyll was originally very appealing due to its nice integration with Github. However, I have found it difficult to greatly customize the themes I find, and I'm the type of person that likes to get everything "just right". It seems like Hugo might be more extensible in this regard, but I'm not sure if that alone makes it worth the switch from my current setup. Anecdotally, a lot of the blogs I find whose layouts I really like tend to use Hugo.

      Pure HTML/CSS is an option but that seems like a big overhead for what I want. I'm no web developer and I don't plan on becoming one.

      15 votes
    6. Would it be bad to mount a macbook pro upside down on a VESA tray?

      I've got a smaller desk with two monitor arms -- one with a monitor (left side, different system) and one with a VESA mounted tray for my macbook pro (late 2013 15".) I'm going to be adding a...

      I've got a smaller desk with two monitor arms -- one with a monitor (left side, different system) and one with a VESA mounted tray for my macbook pro (late 2013 15".)

      I'm going to be adding a 1440p monitor from the macbook pro, but I'm short on desk space. Instead of having the laptop on the tray normally, if I lay it lid down with the laptop portion up, the laptop base could sit behind the new monitor with the screen coming out the bottom -- perfect for static applications like VSCode, iTerm2, etc.

      Here's a mock up. The thicker outline represents the macbook pro screen.

      Can anybody foresee any issues with this configuration?

      6 votes
    7. Programming Q&A Thread

      An experiment I've been thinking about lately: a (recurring?) Q&A thread! Ask any questions about programming, answer other users' questions, or post suggestions for future threads. Don't forget...

      An experiment I've been thinking about lately: a (recurring?) Q&A thread! Ask any questions about programming, answer other users' questions, or post suggestions for future threads.

      Don't forget to format your code using the triple backticks or tildes:

      Here is my schema:
      
      ```sql
      CREATE TABLE article_to_warehouse (
        article_id   INTEGER
      , warehouse_id INTEGER
      )
      ;
      ```
      
      How do I add a `UNIQUE` constraint?
      

      Meta questions:

      • Should I turn this into a recurring thread?
      • If yes, should it be a weekly or a monthly thing?
      • Should DBA and SysAdmin questions be allowed or should someone else make a separate recurring thread for these?
      22 votes
    8. What's your dream laptop for running *nix?

      What's your dream laptop for running *nix? I'm currently using a Lenovo Thinkpad T410s, and it's getting ready to die. I think it's a great machine, but every computer eventually dies. It runs...

      What's your dream laptop for running *nix?

      I'm currently using a Lenovo Thinkpad T410s, and it's getting ready to die. I think it's a great machine, but every computer eventually dies. It runs Debian 8 (Jessie), but it can't handle 9 (Stretch) without overheating. On top of that, I need to use the proprietary drivers! My computer got dropped on the floor today (not my fault!), and it got me thinking that maybe it's time to start shopping for a new laptop.

      What are your ideas about what a good laptop for *nix OS's? Any recommendations? What should I look for? What should I avoid?

      I love having a SSD HDD, and playing with different distros, but I'd like to avoid the headache I've had with the propitiatory Intel drivers. I like to have control of my hardware, but still use the latest software. If a Raspberry Pi or BeagleBone could match the performance of a laptop then I'd seriously consider using one.

      26 votes
    9. How reliable is IP ownership information?

      I have interactive firewalls like OpenSnitch running on most of my desktop OS's. I like to see what is going on with my machines' network connections to learn about networking, infosec, and to...

      I have interactive firewalls like OpenSnitch running on most of my desktop OS's. I like to see what is going on with my machines' network connections to learn about networking, infosec, and to have have some peace of mind.

      Example workflow:

      1. Get a firewall notification of a new incoming connection to some process running on my machine
      2. If no DNS entry exists and only the IP address is provided, then I google the IP
      3. I find something like https://ipinfo.io/74.125.20.189
      4. I make a decision as to whether allow/deny based on the ownership info which I found in step 3.

      Aside from trusting the particular site presenting the ownership info, how reliable is this information regarding IP ownership?

      For example, if an IP came back as "Google" could it really be a GCP instance running a command and control server?

      Another example, I know that large corps own big blocks of IPv4, but they must lease these IP's out to whomever, right? I imagine there is some wild-west market for these with little accountability?

      Are either of these scenarios realistic? If so, is my entire workflow for "do I trust this IP" pointless?


      edit: btw, I used to catch and deny incoming connections from *.ru to the Windows legacy Skype client all the time. I cannot think of any non-evil reason why that should have been happening. That particular series of events is what really validated me doing this. If you can think of a non-evil reason for any incoming connections to skype from *.ru, please let me know.
      5 votes