sudo
automaxprocs
sudo | automaxprocs | |
---|---|---|
48 | 6 | |
1,105 | 3,788 | |
1.5% | 1.3% | |
9.5 | 6.0 | |
about 23 hours ago | 3 months ago | |
C | Go | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sudo
-
Run0 – systemd based alternative to sudo announced
It depends on whether sudo was compiled with --disable-env-reset or not, it's on by default[1].
Also some variables are inherited regardless (e.g. DISPLAY, TERM), and some useful ones (e.g. HOME) are initialized by sudo, but I can't tell where that's done.
[1]: https://github.com/sudo-project/sudo/blob/ef52db46f9b375d7ff...
- Sudo Contributors
-
Sudo for Windows
Side note that I've always found interesting: sudo is almost entirely maintained by one dude: https://github.com/sudo-project/sudo/graphs/contributors
-
Rowhammer Resistant Coding in Sudo
The n=2 case also occurs in the commit: https://github.com/sudo-project/sudo/commit/7873f8334c8d3103...
And indeed, the two values ate bitwise complements.
-
The First Stable Release of a Rust-Rewrite Sudo Implementation
One feature they didn't mention they left out was the ability to run `make me a sandwich` (https://github.com/sudo-project/sudo/blob/main/Makefile.in#L...)
-
to Linus Torvalds, maybe?
It's (kind of) back - https://github.com/sudo-project/sudo/commit/9757d29a24ac1872872cf09757b0439c54089707
-
Testing the memory safe Rust implementation of Sudo/Su
└───────────────────────────────────────────────────────────────────────────────────────┘
As a comparison, this is the output for https://github.com/sudo-project/sudo:
0.0439 secs
-
what is funniest prompt u have got from the terminal for incorrect password
Complete list (can be found here, files ins_*.h):
-
Get gnu gnu'd
Fun fact, the “incident will be reported” message was close to being removed from sudo recently: https://github.com/sudo-project/sudo/commit/6aa320c96a37613663e8de4c275bd6c490466b01
- ‘Godfather of AI’ quits Google and gives terrifying warning
automaxprocs
-
Go, Containers, and the Linux Scheduler
We use https://github.com/uber-go/automaxprocs after we joyfully discovered that Go assumed we had the entire cluster's cpu count on any particular pod. Made for some very strange performance characteristics in scheduling goroutines.
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
Follow notable issues on https://github.com/golang/go to understand such things like why https://github.com/uber-go/automaxprocs was created.
-
Setting GOMAXPROCS without CPU limits in Kubernetes?
Please never set the value manually in a kubernetes production environment. Use https://github.com/uber-go/automaxprocs
-
What are goroutines and how are they scheduled?
There is an environment variable (GOMAXPROCS) that you can set which determines how many threads your go program will use simultaneously. You can use this great library from Uber to automatically set the GOMAXPROCS variable to match a Linux container CPU quota. If you are running Go workloads in Kubernetes, you should use this.
-
Shouldn't have happened: A vulnerability postmortem
AFAIK, it hasn't changed, this exact situation with cgroups is still something I have to tell fellow developers about. Some of them have started using [automaxprocs] to automatically detect and set.
[automaxprocs]: https://github.com/uber-go/automaxprocs
-
CPU throttling despite being well below the limit
For you own applications, you can use: https://github.com/uber-go/automaxprocs
What are some alternatives?
doas - A port of OpenBSD's doas which runs on FreeBSD, Linux, NetBSD, and illumos
rfcs - RFCs for changes to Rust
cosmopolitan - build-once run-anywhere c library
go-perfbook - Thoughts on Go performance optimization
php-docker - Docker Official Image packaging for PHP
go-internals - A book about the internals of the Go programming language.
sudo-rs - A memory safe implementation of sudo and su.
go-licenses - A lightweight tool to report on the licenses used by a Go package and its dependencies. Highlight! Versioned external URL to licenses can be found at the same time.
dotfiles
tiny-rust-executable - Using Rust to make a 137-byte static AMD64 Linux executable
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
guide - The Uber Go Style Guide.