98
submitted 1 week ago by [email protected] to c/[email protected]

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.

[-] [email protected] 4 points 1 week ago* (last edited 1 week ago)

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

6
submitted 1 week ago by [email protected] to c/[email protected]
9
submitted 1 week ago by [email protected] to c/[email protected]
4
New UUID Formats (www.ietf.org)
submitted 2 weeks ago by [email protected] to c/[email protected]

This document presents new time-based UUID formats which are suited for use as a database key.

28
submitted 2 weeks ago by [email protected] to c/[email protected]

This specification defines the UUIDs (Universally Unique IDentifiers) and the UUID Uniform Resource Name (URN) namespace. UUIDs are also known as GUIDs (Globally Unique IDentifiers). A UUID is 128 bits long and is intended to guarantee uniqueness across space and time. UUIDs were originally used in the Apollo Network Computing System and later in the Open Software Foundation's (OSF) Distributed Computing Environment (DCE), and then in Microsoft Windows platforms.

7
submitted 2 weeks ago by [email protected] to c/[email protected]
41
submitted 2 weeks ago by [email protected] to c/[email protected]
10
submitted 3 weeks ago by [email protected] to c/[email protected]
[-] [email protected] 0 points 3 weeks ago* (last edited 3 weeks 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.

[-] [email protected] 1 points 3 weeks ago* (last edited 3 weeks 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.

[-] [email protected] 0 points 3 weeks ago

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

8
submitted 3 weeks ago by [email protected] to c/[email protected]
9
submitted 3 weeks ago by [email protected] to c/[email protected]
[-] [email protected] 0 points 1 month ago

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?

0
submitted 1 month ago by [email protected] to c/[email protected]
7
submitted 1 month ago by [email protected] to c/[email protected]
[-] [email protected] 56 points 3 months ago

Old issue, so why post it now make it sound like MS demands something?

Opened 11 months ago Last modified 11 months ago

It's a regression, so ffmpeg should fix a regression.

[-] [email protected] 1 points 3 months ago

It really depends on where you set the limit on what ORM is, JOOQ is kind of a thing you're looking for.

[-] [email protected] 1 points 3 months ago* (last edited 3 months 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/

[-] [email protected] 2 points 4 months ago

Just not in Java…

I think you're biased against Java. Amazon was started in C/C++ and Java J2EE during times when to configure a webserver required writing like 300 lines of XML just to handle cookies, browser cache and a login page. Until recently BMW had their own JRE implementation. It's not a secret that simcards, including these in Tesla cars run JavaCard too, even government issues sim cards in EU have to run Java Card, not C++. Everything was always fine with Java until ECMA Script appeared and made people iterate on software versions faster. New programming languages and team organisation methodologies left some programming languages in the dark, but this included C# too. All are quickly catching up. If Java was so bad, it wouldn't be here with us today, like Perl.

[-] [email protected] 5 points 4 months ago* (last edited 4 months ago)

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.

view more: next ›

agilob

joined 1 year ago
MODERATOR OF