fourwd
0
27
fourwd

@programming.dev

fourwd 49 points 2 years ago

Have you tried Debian?

path: 0 10917687 10917835, hotness: undefined, score: 49, children: 3
fourwd 39 points 2 years ago

The language idea is good, but: THREE.WebGLRenderer: A WebGL context could not be created. Reason: WebGL is currently disabled.

Seriously? Why do I need WebGL to read TEXT in docs? :/

path: 0 10191826, hotness: undefined, score: 39, children: 0
fourwd 18 points 2 years ago path: 0 9890514, hotness: undefined, score: 18, children: 1
fourwd 18 points 2 years ago

In Elixir, we mark statuses by using a question mark at the end of the variable name. Something like this:

authorized? = user |> get_something() |> ensure_authorized?()

I like this better than the is_ prefix

path: 0 10289883 10290014 10290259, hotness: undefined, score: 18, children: 5
fourwd 17 points 2 years ago

I've never understood why GNU/Linux actually needs swap. Okay, I created a 4G partition for it, having 32G of RAM. I never used all that RAM, but even so, stuff regularly ends up in swap. Why does the OS waste write cycles on my SSD if it doesn't have to?

However, if I artificially fill up all 32G of RAM, the system almost completely freezes faster than switching to using swap as a "lifeline". And it only comes back to life when OOM Killer finally remembers its existence and kills some f__ing important process.

path: 0 11024373, hotness: undefined, score: 17, children: 2
fourwd 17 points 2 years ago

In my case, I didn't see any advantages compared to public trackers. Users of private trackers are supposedly all so elite, but in reality they pay for seedboxes and try to be the first to download literally every new release to at least somehow support the ratio around 1.0.

Guys, while you seed all sorts of junk for the sake of who knows what, I seed really useful content on public trackers and have a ratio of 99.3, which in fact does not affect anything.

There are normal private trackers, of course, such as Milkie, but there are a lot of dead torrents there.

path: 0 12172605, hotness: undefined, score: 17, children: 1
fourwd 14 points 2 years ago

You can use tools like spotdl and yt-dlp to download songs from YouTube music and Spotify

To get quality like this https://youtu.be/cX4KA-AFS9M ? Nah thanks.

path: 0 10367242, hotness: undefined, score: 14, children: 2
fourwd 9 points 2 years ago

console.log() is really easy to learn, but what happens after that is a complete "wtf"

path: 0 10262248 10262845, hotness: undefined, score: 9, children: 1
fourwd 8 points 3 years ago

Try not to work in pitch darkness :)

path: 0 9316073 9316234 9316354 9316924, hotness: undefined, score: 8, children: 0
fourwd 7 points 3 years ago

Just build the app on very old distros like Ubuntu 16.04 if possible. But in general, packaging should be handled by the maintainer. If you want to be both a developer and maintainer, packaging problems will take up 75% of your time.

It's not really hard for us users to follow your README and just copy the built binary to ~/.local/bin.

path: 0 9269766, hotness: undefined, score: 7, children: 2
fourwd 6 points 2 years ago

Heroic user here. You can use this feature to apply .exe patches:

path: 0 12425033, hotness: undefined, score: 6, children: 1
fourwd 5 points 2 years ago

Some "pro" guys on YT will probably point you to https://github.com/... and https://github.com/.... But...

I don't recommend reinventing the wheel if you want to gain REAL development skills. Development is really about achieving your goal using existing (and preferably popular) solutions.

It makes no sense to write any system-level projects from scratch in 2024 if projects with a similar purpose already exist. Try using them as a regular user. Maybe you will find features that you would like to fix or add.

path: 0 9931642, hotness: undefined, score: 5, children: 2
fourwd 4 points 3 years ago

It's very similar to FreeTube, which looks really cool.

path: 0 9015388, hotness: undefined, score: 4, children: 0
fourwd 4 points 3 years 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.

path: 0 9316699, hotness: undefined, score: 4, children: 5
fourwd 4 points 2 years 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 :)

path: 0 10631371, hotness: undefined, score: 4, children: 0
fourwd 3 points 2 years 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.

path: 0 10170602, hotness: undefined, score: 3, children: 0
fourwd 3 points 2 years 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 :)

path: 0 10330358, hotness: undefined, score: 3, children: 0
fourwd 2 points 2 years ago path: 0 10202653, hotness: undefined, score: 2, children: 0
fourwd 2 points 2 years ago

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

path: 0 10256904, hotness: undefined, score: 2, children: 0
fourwd 2 points 3 years ago
path: 0 9128739, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...