agilob

joined 2 years ago
[–] agilob@programming.dev 6 points 6 months ago

Source: https://lwn.net/ml/all/CAHk-=whNGNVnYHHSXUAsWds_MoZ-iEgRMQMxZZ0z-jY4uHT+Gg@mail.gmail.com/

Ok, lots of Russian trolls out and about. It's entirely clear why the change was done, it's not getting reverted, and using multiple random anonymous accounts to try to "grass root" it by Russian troll factories isn't going to change anything. And FYI for the actual innocent bystanders who aren't troll farm accounts - the "various compliance requirements" are not just a US thing. If you haven't heard of Russian sanctions yet, you should try to read the news some day. And by "news", I don't mean Russian state-sponsored spam. As to sending me a revert patch - please use whatever mush you call brains. I'm Finnish. Did you think I'd be supporting Russian aggression? Apparently it's not just lack of real news, it's lack of history knowledge too. Linus

[–] agilob@programming.dev 6 points 6 months ago

Hide to tray has been requested by users for 20 years. It even has been promised multiple times.

[–] agilob@programming.dev -2 points 8 months ago (3 children)

I would like to confine it to firms using AI recruiting tools

and actively do damage to companies that don't.

 

To be clear, I don't blame the poster of this comment at all for the content of their post – this is accepted as "common knowledge" by a lot of Linux sysadmins and is probably one of the most likely things that you will hear from one if you ask them to talk about swap. It is unfortunately also, however, a misunderstanding of the purpose and use of swap, especially on modern systems.

[–] agilob@programming.dev 4 points 1 year ago* (last edited 1 year ago) (2 children)

I'm not sure if you understand what swap actually is, because even machines with 1Tb of RAM have swap partitions, just in case read this post from a developer working on swap module in Linux https://chrisdown.name/2018/01/02/in-defence-of-swap.html

[–] agilob@programming.dev 0 points 1 year ago* (last edited 1 year ago)

The Linux kernel uses the CPU default scheduler, CFS,

Linux 6.6 (which recently landed on Debian) changed the scheduled to EEVDF, which is pretty widely criticized for poor tuning. 100% busy which means the scheduler is doing good job. If the CPU was idle and compilation was slow, than we would look into task scheduling and scheduling of blocking operations.

[–] agilob@programming.dev 1 points 1 year ago* (last edited 1 year ago)

EDIT: Tried nice -n +19, still lags my other programs.

yea, this is wrong way of doing things. You should have better results with CPU-pinning. Increasing priority for YOUR threads that interact all the time with disk io, memory caches and display IO is the wrong end of the stick. You still need to display compilation progress, warnings, access IO.

There's no way of knowing why your system is so slow without profiling it first. Taking any advice from here or elsewhere without telling us first what your machine is doing is missing the point. You need to find out what the problem is and report it at the source.

[–] agilob@programming.dev 0 points 1 year ago

The CPU is already 100% busy, so changing number of compilation jobs won't help, CPU can't go faster than 100%.

[–] agilob@programming.dev 0 points 1 year ago (1 children)

Yeah this survey is super inappropriate and offensive. Please do not ask such personal questions.

Did you notice that more inappropriate questions appear and disappear based on your previous answers?

[–] agilob@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I completely missed that user namespaces were added in 1.25. It will make homelabs much easier and safer with little effort.

Support user namespaces in pods (KEP-127)
User namespaces is a Linux-only feature that better isolates pods to prevent or mitigate several CVEs rated high/critical, including CVE-2024-21626, published in January 2024. In Kubernetes 1.30, support for user namespaces is migrating to beta and now supports pods with and without volumes, custom UID/GID ranges, and more!

https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/

1
Async File IO (concurrencydeepdives.com)
[–] agilob@programming.dev 3 points 1 year ago* (last edited 1 year ago) (1 children)

There are two schools:

  1. the best stack is the one you know best
  2. the best stack is the one designed for the job

Remember that Google was written in Python and Java. Facebook in PHP. iOS in Objective-C. GitHub in Ruby on Rails.

[–] agilob@programming.dev 4 points 1 year ago

After doing it for 15 years, I must be good at it and everything should be easy.

hidethepainharold.jpg

view more: next ›