[-] fourwd@programming.dev 4 points 3 weeks ago* (last edited 3 weeks ago)

When I started learning programming, I was like "tf is a map function?" and I always forgot about it. Then I tried the functional programming language Erlang and understood all these functions very well. But there is a downside, now most for-loops in C++ look terrible to me :)

[-] fourwd@programming.dev 3 points 1 month ago* (last edited 1 month ago)

It would be better for your nerves to just do a normal GNU/Linux installation. There are too many ways the installation can go wrong:

replace swap partition with ISO contents

For example, Ubuntu ISO has a size of 5.7G. But my swap, which you previously deactivated, was 4G. Either 2G, or it didn't exist at all.

move user data from C:/ to other partition

The other partition may not exist or may have capacity smaller than C:/.

replace C:/ with linux

The installed Linux must also be stored somewhere. And there is also a copy partition for C. The same problem of lack of space.

move user data to /home/$username

From %APPDATA%? You would have to be a know-it-all to resolve the location paths and configuration names of literally every existing program.

reboot into linux

~~And it is at this moment that Windows will completely randomly decide to update and rewrite the bootloader :)~~

[-] fourwd@programming.dev 2 points 1 month ago

so not sure why you think one or the other is less complicated

Because of this:

And some note by the author of the scheme:

Unfortunately, the operation of bash startup scripts is dependent on patches added by OS distributions

Why should I guess at the tea leaves instead of just using deterministic zsh?

[-] fourwd@programming.dev 2 points 1 month ago* (last edited 1 month ago)

Bash has a very strange sequence of sourcing scripts like .bash_profile and others, and the type of shell (interactive or not) adds fuel to the fire. There is no chance to sort through this bunch of init files in order to correctly and conveniently set up environment variables. In zsh, only 3 files are needed for proper configuration; it couldn’t be easier.

[-] fourwd@programming.dev 2 points 1 month ago

Why don't you just remove all plugins and use standard zsh? All sorts of oh-my-soy are not really needed.

[-] fourwd@programming.dev 3 points 1 month ago

I used DuckDuckGo a couple of years ago, but they added their own blacklist of sites (pretty stupid), and for my language it started returning crappy generated spam sites instead of relevant results. They shouted at the top of their lungs that for my language they simply index the results from Yandex, but this is a lie, they are different.

StartPage gave the best results, but they introduced a captcha that I got every damn request.

I'm currently using SearXNG, which collects results from Google. And these are damn normal results, unlike other search engines that consider themselves the smartest and edit the results.

[-] fourwd@programming.dev 2 points 1 month ago

EndeavorOS offers a choice of systemd-boot and GRUB. So, if you don't have GRUB, you probably have systemd-boot.

[-] fourwd@programming.dev 2 points 2 months ago

It's working now

[-] fourwd@programming.dev 4 points 2 months ago* (last edited 2 months ago)

Used dark (not black) themes everywhere for 8 years. My eyesight is still good according to my annual physical, but recently I've noticed that I have a hard time reading text written on a dark background. It is slightly blurred, especially when there is no light in the room.

Somewhere I still use dark themes, but I always try to switch to light mode if things look okay with code highlighting or smth.

[-] fourwd@programming.dev 1 points 2 months ago

If you build your app with glibc 2.32 and then run it with glibc 2.39, it will run fine. But it won't work the other way around.

There is no best README template, but for my personal projects I use this:

  1. Title
  • Brief description of the project
  • Features
  1. Build
  • List of supported OS
  • List of dependencies (what packages do I need to build your application)
  • Commands to build the application (what do I need to do to build your application)
  • Binary Locations (where can I find the built binary)
  1. Usage
  • Program arguments (what do I need to provide to use your CLI application)

You can find an example here. I'm not saying this is the best README, but I think it's simple and informative.

view more: ‹ prev next ›

fourwd

joined 3 months ago