Jump to content

Dat Guy

Member
  • Posts

    1,949
  • Joined

Reputation Activity

  1. Agree
    Dat Guy reacted to jaslion in what's the best free way of keeping my bot online for atleast a day   
    You could self host for now? Just run it on a pc at home.
  2. Agree
    Dat Guy got a reaction from goatedpenguin in How is it that not more people switch to Linux?   
    Ah, right, but still, not using systemd-boot (they seem to have absorbed gummiboot) is not the same thing as not using systemd.
  3. Like
    Dat Guy reacted to goatedpenguin in How is it that not more people switch to Linux?   
    Btw to @BoomerDutch since you think that systemd just works means that its good? That is not the case here at all. Systemd has grown so large that its basically saying fu to the UNIX philosophy with 1.3 million lines of code while UNIX version 7 only uses a few thousand lines of code. To get an idea of what systemd is managing like services, processes etc. run this command "systemd-analyze dot --user --order | dot -Tsvg > systemd-user.svg"
     
    you might need the graphviz package to be installed on ur system and it will make an image in ur current working dir. Just a tip is to open it with the browser since the image is so big my image viewer did not even work. I hope when you see this tree graph you will think what would happen if Systemd would be zero dayed or compromised? 
  4. Agree
    Dat Guy reacted to goatedpenguin in How is it that not more people switch to Linux?   
    Honestly systemd running on PID 1 worries me sometimes. One privilege escalation done on that process and everything running under it which is like the whole system is screwed.
  5. Like
    Dat Guy reacted to Ralphred in How is it that not more people switch to Linux?   
    I've always been wary of systemd for two reasons:
    "Do one job and do it well" as a paradigm, has always served me exceptionally well. zeroconf and pulseaudio were a fscking sh**show for years before you were able to bridle them and make them dance to your tune. At one point I got to the stage "Well, you are building for a laptop, systemd is supposed to be quicker for boot and such". Soon after setting the system up I realised that because I "sleep, then hibernate after 60 minutes of sleep" the longest part of the boot process was copying 8Gig of SSD disk into 8Gig of ram, so "boot time" was actually pretty moot.
     
    After (genuinely) hours trying to reconcile systemd's self contradictory documentation, I gave up trying to make it do what it was told, and created my first "systemd-network-unf**ker.service". As the build evolved (read: added layers of needed software) I had to write 2 more systemd-[system component]-unf**ker.service files and associated fixing scripts.
    Some months later, a systemd update was available, and after applying it, it started "booting fresh" from hibernation status. At this point I gave up and switched to OpenRC - it took less time than trying to reconcile systemd's docs, let alone writing 3 "unf**ker" services.
     
    Tl;dr, my conclusion from this exercise in pointless ovine mediocrity: Never again, ever; if your "distro of choice" makes it take longer to write an LACP network config than it does switch from systemd to SysVinit, then you chose wrong, because I know I did when thinking "systemd might actually work!".
     
    Thanks for reading my blog,
            T. *nix user of 28 years and counting.
  6. Funny
    Dat Guy got a reaction from goatedpenguin in How is it that not more people switch to Linux?   
    I am implying that Linux is not more secure than Windows. That's a different thing.
     
     
    All firmware blobs.
     
     
    Again, Microsoft pays various security experts.
     
     
    Linux has ALL the NSA in its kernel. And Microsoft.
    By the way, did you know that the guy who found the xz hole in Linux (OpenBSD, which is an actually secure system, does not have that) is a Microsoft security expert? So, without Microsoft's security guys, Linux would have one more giant security hole. Checkmate, you said?
  7. Like
    Dat Guy reacted to Needfuldoer in How is it that not more people switch to Linux?   
    [ Thread cleaned ]
     
    Be excellent to each other, personal attacks are unnecessary.
     
    https://linustechtips.com/topic/1381504-community-standards-updated/
     
  8. Agree
    Dat Guy got a reaction from MarkPol88 in How is it that not more people switch to Linux?   
    I know, other companies like Red Hat which ported svchost.exe and named it systemd, also the NSA, have probably contributed more to Linux than Microsoft did. Not sure if that’s a good thing.
     
    Anyway, as your way to communicate is hostile trolling by now, I’ll put you on Ignore right after this post. Life is too short to fight against zealot attacks.
  9. Agree
    Dat Guy got a reaction from CosmicEmotion in How is it that not more people switch to Linux?   
    I know, other companies like Red Hat which ported svchost.exe and named it systemd, also the NSA, have probably contributed more to Linux than Microsoft did. Not sure if that’s a good thing.
     
    Anyway, as your way to communicate is hostile trolling by now, I’ll put you on Ignore right after this post. Life is too short to fight against zealot attacks.
  10. Funny
    Dat Guy reacted to The Hope in How is it that not more people switch to Linux?   
    Linux is becoming more popular on the desktop in India and China.
     
    India: https://gs.statcounter.com/os-market-share/desktop/india#monthly-201412-202312
     
    In China it will replace windows on 30 million government PC's.
     
    Linux is also rising in general on desktops:
    https://www.networkworld.com/article/1312235/linux-hits-4-desktop-user-share.html
     
    windows and macOS are pre-installed on most devices, which is the main reason Linux is not more popular.
     
    What I find especially bizarre is that Linux is not more popular on the desktops that enterprises use.
    For many functions it is crucial to be able to guarantee data privacy.
    But this is not possible on windows systems, since the source code of windows systems cannot be audited by security experts.
    And large companies can save millions by switching to a free OS & free software on their desktop systems.
  11. Like
    Dat Guy reacted to Red Nova in On Moving From Windows To Linux   
    Whichever you choose, just don't use gnome, I'm having bad experiences with it to play video games, better use KDE plasma.
  12. Funny
    Dat Guy got a reaction from Red Nova in On Moving From Windows To Linux   
    No. Try BSD.
  13. Agree
    Dat Guy got a reaction from Eigenvektor in Trying to setup Vim.   
    Probably the most relevant question here is why you want to use Vim. It will not make you a better programmer and chances are that you'll never reach the point where you saved more time with Vim's keybindings than you spent learning them.
  14. Like
    Dat Guy reacted to tomasklaen in I made Drovp   
    Since the app is completely based around plugins and processors they add, I wanted to optimize for the ease of making and publishing them. And what is currently the most popular language and package registry? Yeah, unfortunately it's JavaScript and npm. But at least making a plugin is just writing a node module, and publishing is just `npm publish` away.
     
    And since plugins were going to be node modules, it made sense to use Electron, as it already has a built in node module integration.
     
    In retrospect though, making this app in Electron was and continues to be an incredible pain in the ass, and the bloat is making me dizzy as well sometimes, but performance is really important to me, so at least everything that is in my control is as fast and efficient as it can be. I even wrote my own reactive state library, router, and pretty much 95% of dependencies I use, as I considered the popular alternatives to be way too bloated or slow for what they do. (web devs tend to take the "avoid premature optimizations" to the extreme and a lot of times it seems like they don't care about performance at all)
     
    At the end of the day, you can make a good app in any combination of language and UI framework you choose, it just depends on how you use it. In practice, all that Electron is causing in itself is just a couple hundred extra milliseconds of startup time, and if you notice any other slowdowns, it's usually developer's fault. But I do agree with you. If I had to do it again, I don't think I'd choose Electron.
  15. Like
    Dat Guy reacted to tomasklaen in Useful Software Megathread   
    Drovp - https://drovp.app (github.com/drovp)
    A cross-platform and extensible app for creating convenient drop zones for bulk operations such as:
    - encoding, converting, resizing, cropping of video, images, or audio files (encode plugin)
    - perceptually lossless image & svg optimization (optimize plugin)
    - bulk renaming of files based on templates that support file meta such as artist/album/etc for audio files (rename plugin)
    - running arbitrary CLI commands on dropped items (run plugin)
    - upscaling images or video with ESRGAN or waifu2x (upscale plugin)
    - uploading files to get a URL to share (share plugin)
    - ... and others
     
    There's even a 3rd party plugin for downloading videos with yt-dlp by simply dragging links or urls from browser directly into its dropzone.
     
    You can also do basic video/image/audio editing like cutting, cropping, resizing, and rotating by creating an encode dropzone, and holding Ctrl when dropping files into it. You can also concatenate by holding Alt or both concatenate and edit by holding Ctrl+Alt.
     

     
    I'm the creator, and I've made a topic for it here if anyone wants to ask questions: https://linustechtips.com/topic/1545593-i-made-drovp/
  16. Agree
    Dat Guy reacted to TheLANguy in Useful Software Megathread   
    Windows File Manager: https://github.com/microsoft/winfile
    Windows File Manager is the original Windows 3.0 file manager with a few small changes. 
    I have found it to make navigating directories faster than File Explorer. Or perhaps the speed comes from regularly using older systems.
  17. Funny
    Dat Guy reacted to EllieCat in The under 100 line challenge!   
    While True do: print (" forum member ") Lua code.
  18. Agree
    Dat Guy reacted to HeroRareheart in Switching to Linux, but WHICH ONE?   
    Oh god that blows. I feel like every time I venture outside the Debian family tree, with the exception of Fedora, it invites way to many issues.
  19. Agree
    Dat Guy reacted to HeroRareheart in Switching to Linux, but WHICH ONE?   
    ALSO correct. My P4 laptop that I tried it on took days and at the end of it I botched the install because it's GenToo and no matter how well the guidebook is written it's still hard to understand what to do.
  20. Agree
    Dat Guy reacted to Needfuldoer in Looking for a web browser.   
    The only one I know of that's remotely modern but isn't just Gecko (Firefox) or Chromium (Chrome) in a branded wrapper is NetSurf.
     
    https://www.netsurf-browser.org/
     
    Otherwise you've got SeaMonkey (an old-school wrapper around Gecko, the closest thing there still is to Netscape Communicator), Dillo (which may as well be Netscape Navigator 4), and Lynx (great if you love text and only text).
  21. Funny
    Dat Guy reacted to Timme in No programming experience   
    Let's not be those guys. They are the first in line to be replaced with ChatGPT.
  22. Agree
    Dat Guy reacted to Marko_98 in AntiVirus   
    If you're on Windows 10 or 11, Windows Defender is your best bet. It has improved a lot since Windows 8 days, and it will never cause you any problems (Microsoft knows its OS the best, right?). 
     
    I'd recommend going with 3rd party antivirus only in case of using older version of Windows.
  23. Agree
    Dat Guy reacted to TizzyT566 in No programming experience   
    Just an idea but "shipped" can mean that a product is available, like say in production.
    Any who, There are indeed libs that you can use for these unmanaged languages but I wouldn't go as far as saying learning how memory works is pointless. I think it is very much a necessity these days as more and more programmers take resources like memory and cpu for granted.
  24. Agree
    Dat Guy got a reaction from dcgreen2k in No programming experience   
    "Shipped" = "it is already there".
     
     
    C and C++ have non-standard libraries to achieve (semi-)automatic memory management. You will need to
    understand that allocated memory can leak, so you actually understand that they could help, for which you will need to find (and install) them, understand how to use them and hope that they don't have their own set of critical issues. That's not quite the same thing as automatic memory management for which you don't even need to think about memory.
  25. Like
    Dat Guy reacted to dcgreen2k in No programming experience   
    @Dat Guy is correct. Boehm GC is not included in C/C++ by default, and I would not call smart pointers "garbage collection" by any means.
×