• 19 Posts
  • 192 Comments
Joined 1 year ago
cake
Cake day: December 28th, 2023

help-circle
  • At least in my country, google is going balls-to-the-walls mode with the chrome psyop. Like every third ad on youtube is an ad for chrome. And if you’re a little older, you’ll remember their countless other ad campaigns that propelled chrome into the mainstream. The only reason so many people use chrome is because they’re brainwashed into it.


  • Yes this is so confusing to me. There was a blast of attention about it when it was launched that lasted like a week max and then everyone completely forgot about it. I thought it was a short-run experiment that got shut down. What reason is there to use threads? Are there any actual humans who still use it? I’ve never visited it but something tells me that it’s just like reddit with at most 100 real users and the rest is just bots replying to bots.



    1. Invent some incredibly specific but entirely false fact (e.g. the kingdom of bolivia was once ruled by King Aron the Benevolent before he was brutally murdered by his cousin-in-law over a dispute about the colonies)
    2. Embed said fact in invisible font among material you own the copyright to
    3. Let AI bots suck it up as training data
    4. Ask random AI bots about King Aron the Benevolent of Bolivia and sue the companies since you now have proof that they violated your copyright

    I mean this probably wouldn’t work from a legal standpoint, but whatever. It’s nice to image.




  • Just fucking putting data into json files in a folder is so much easier than databases. Sure, databases are faster and give you access to powerful SQL queries. But if you’re just making something small and simple, you don’t need those things. Save yourself the hassle and just use the filesystem.

    Or use minio/s3, which can either be the best or the worst of both worlds depending on your usecase.



  • Hi, I recently set up my own email server

    • It’s a huge pain in the ass getting things like DMARC and DKIM and whatever to work. Without those, most providers won’t even deliver your messages. But luckily, there are websites that help you check and fix your configuration
    • Even once you do get these things set up correctly, most providers will send your outgoing messages straight to the recipient’s spam folder
    • That being said, I believe most providers will mark you as “not spam” if the other person initiates the conversation. So this could be a non-problem if you’re making an email for your business and putting it on business cards or something.
    • Mullvad (VPN provider) self-hosts their support email, and they seem to be doing fine.

    Hope that helps



  • The .net-ification of *nix just seems bonkers to me.

    It IS bonkers. As a case study, compare the process of setting up a self-hosted runner in gitlab vs github.

    Gitlab does everything The Linux Way. You spin up a slim docker container based on Alpine, pass it the API key, and you’re done. Nice and simple.

    Github, being owned by Microsoft, does everything The Microsoft way. The documentation mentions nothing of containers, you’re just meant to run the runner natively, essentially giving Microsoft and anyone else in the repo a reverse shell into your machine. Lovely. Microsoft then somehow managed to make their runner software (reminder: whose entire job consists of pulling a git repo, parsing a yaml file, and running some shell commands) depend on fucking dotnet and a bunch of other bullshit. You’re meant to install it using a shitty setup.sh script that does that stupid thing with detecting what distro you’re on and calling the native package manager to install dependencies. Which of course doesn’t work for shit for anyone who’s not on debain or fedora because those are the only distro’s they’ve bothered with. So you’re either stuck setting up dotnet on your system, or trying to manually banish this unholy abomination into a docker container, which is gonna end up twice the size of gitlab’s pre-made Alpine container thanks to needing glibc to run dotnet (and also full gnu coreutils for some fucking reason)

    Bloat is just microsoft’s way of doing things. They see unused resources, and they want to use them. Keep microsoft out of linux.


  • No, sorry. I’m a python dev and I love python, but there’s no way I’m using it for scripting. Trying to use python as a shell language just has you passing data across Popen calls with a sea of .decode and .encode. You’re doing the same stuff you would be doing in shell, but with a less concise syntax. Literally all of python’s benefits (classes, types, lists) are negated because all of the tools you’re using when writing scripts are processing raw text anyway. Not to mention the version incompatibility thing. You use an f-string in a spicy way once, and suddenly your “script” is incompatible with half of all python installations out there, which is made worse by the fact that almost every distro has a very narrow selection of python versions available on their package manager. With shell you have the least common denominator of posix sh. With Python, some distros rush ahead to the latest release, while other hang on to ancient versions. Even print("hello world") isn’t guaranteed to work, since some LTS ubuntu versions still have python pointing to python2.

    The quickest cure for thinking that Python “solves” the problems of shell is to first learn good practices of shell, and then trying to port an existing shell script to python. That’ll change your opinion quickly enough.





  • Better would be to leave the 1970s and never interact with a terminal again…

    I’m still waiting for someone to come up with a better alternative. And once someone does come up with something better, it will be another few decades of waiting for it to catch on. Terminal emulation is dumb and weird, but there’s just no better solution that’s also compatible with existing software. Just look at any IDE as an example: visual studio, code blocks, whatever. Thousands of hours put into making all those fancy buttons menus and GUIs, and still the only feature that is worth using is the built-in terminal emulator which you can use to run a real text editor like vim or emacs.


  • People keep on telling me that python is a “scripting language” but honestly I would rather use the shoddiest and most barebones shell you would give me than python if I had to make a script. It all boils to interfaces, and there are more programs, libraries, and daemons that have a shell interface as opposed to whatever other “better” language there is out there. Trying to write scripts with Python or ruby or whatever will just boils down to plumbing data between external programs in a less succinct syntax. What good is type safety, try/catch, and classes if all the tools that you’re using are taking in and spitting out raw text anyway?