erdtree
kubectl
erdtree | kubectl | |
---|---|---|
57 | 13 | |
2,252 | 2,688 | |
- | 0.9% | |
7.3 | 9.2 | |
about 1 month ago | 8 days ago | |
Rust | Go | |
MIT License | Apache License 2.0 |
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.
erdtree
-
How can someone who has primarily worked in Web/Mobile development break into systems engineering?
The most substantial project that I have to show for my knowledge of the lower level topics is this project I work on in my spare-time called erdtree and I'm really banking on that to stand-in as "experience" in the absence of professional systems experience.
-
In search of Rust projects to contribute
I'm working on this little project called erdtree and could use a bit of help adding information about file owners and permissions for the windows build if you're interested. No worries if not :)
-
fn main() at the top or bottom?
I actually do put my main function in the middle
-
Announcing ️🌈 erdtree v3.1 ️🌈
User feedback really helps drive erdtree's development so happy to accept input if you have any! And yeah et became erd because of name clashes with a lot of other existing packages.
-
Hosting a free 2-hour Rust intro course tomorrow over Google Meets
I'm a self-taught developer working professionally as a director of engineering who writes Rust on weekends. I've been using Rust now for a little over 2 years and am the author and maintainer of this little command-line tool called erdtree. Before I was a programmer I did extensive tutoring in various subjects like organic chemistry, biochemistry, physics, calculus, etc..
- erdtree: a modern, multi-threaded, general purpose disk usage and filesystem utility that combines aspects of tree, du, wc, ls, and find.
-
What's everyone working on this week (23/2023)?
Took a healthy break from this little open-source project I've been iterating on.. ready to get back to it this weekend :]
-
ls, tree, du, etc. - which do you prefer and why?
I personally use erdtree, it even uses icons to differentiate various kinds of files
-
Creating a project to show off your skills
Here’s a project that I work on in my spare time. I initially worked on a very bare bones version on a 6-hour plan ride back in spring of 2022 because I was bored and wanted to work on something challenging without the need for internet. After two days I posted a naive version onto GitHub and after like 6 months it got around 100 stars on GitHub so I then decided to give it special attention in January of this year and have been iterating on it since.
kubectl
-
What are these orphaned PVC objects?
Check https://github.com/kubernetes/kubectl/issues/151
-
Setting kubectl context via env var
I have read this issue, and up to now it seems not possible to change the kubectl context via an env var: https://github.com/kubernetes/kubectl/issues/1154
-
Deciding between Rust or Go for desktop applications
However, I would encourage people to take a look at what the code looks like before assuming the Go developer experience on this was positive. Bear in mind that's just the top level kubectl command and some helper functions, the subcommand definitions take up a several more files split into a few more packages. Then you're still not even done, because code that uses the parsed flags still has to redundantly check things that couldn't be enforced at the type level, something Go folks like to pretend is a good thing for some reason.
-
Recommendations on file/dir/module structure, common dependencies, and/or anti-patterns for writing CLI tool in Rust
kubectl is for sure battle tested, but it involves very Kubernetes specific implementations and is going to be too complicated for the first pointer
- Recommendations on building a simple DSL REPL?
-
Why Go and Not Rust?
> context.Background() is typically only used when one doesn’t care about the result. If you did care about the result, you should be passing the parent context to preserve the circuit breaker timeout in case the operation takes too long.
Not necessarily. You would use context.Background in a test situation. It's also commonly used for short-lived applications like a CLI invocation. You can see kubectl uses context.Background quite a lot: https://github.com/kubernetes/kubectl/search?q=context.backg...
> I think the level of pain you experience from mutable references in Rust depends on if you’re coming from an OOP or FP background. I have a FP background and so the patterns I use to build code already greatly restrict mutation. You can usually change code that updates data immutably (creating a new copy of it) with mutable code in rust because the control flow of your program already involves passing that new version back to the caller which also satisfies the borrow checker in most situations.
There has to be a better solution to needlessly copying data.
-
kubectl - Create PV/PVC
This is particularly useful for academic purposes, and makes somehow convinient to get the yaml template of k8s objects. I was looking for this as well due to an upcoming ckad test i have. Unfourtunately due to not being considered best practice the request for it was dismissed. https://github.com/kubernetes/kubectl/issues/1073
-
Must `kubectl apply` twice to allow CRD usage?
I see, apologies, I did misunderstand. This is actually a known race condition between kubectl (or even helm, or any Kube API client) issuing the requests to deploy CRs that depend on CRDs while those CRDs are still being installed on the API server. Simply put, kubectl makes these requests too quickly. There is no solution to this currently aside from deploying CRDs separately from the resources they expose. See this kubectl issue: https://github.com/kubernetes/kubectl/issues/1117, and there are some links in the comments to other issues echoing the same problem in helm and elsewhere.
-
What's the number one annoyance that drives you crazy about Kubernetes?
Go add --no-really-all if you really want it: https://github.com/kubernetes/kubectl
-
How to change a POD label via client-go?
You could take a look at how kubectl actually does it: https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/label/label.go
What are some alternatives?
broot - A new way to see and navigate directory trees : https://dystroy.org/broot
helm - The Kubernetes Package Manager
funix - A command to install the Flutter sdk
robusta - Kubernetes observability and automation, with an awesome Prometheus integration
ERSaveIDEditor - ELDEN RING savedata SteamID64 editor (convert cracked to legit)
kubernetes - Production-Grade Container Scheduling and Management
wg - Coordination repository of the embedded devices Working Group
client-go - Go client for Kubernetes.
hoard - cli command organizer written in rust
cli - GitHub’s official command line tool
cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
Mattermost - Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..