pueue
Rack
Our great sponsors
pueue | Rack | |
---|---|---|
37 | 23 | |
4,553 | 4,829 | |
- | 0.6% | |
8.7 | 7.5 | |
14 days ago | 9 days ago | |
Rust | Ruby | |
MIT License | 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.
pueue
-
Sequential and parallel execution of long-running shell commands
You can probably do a good subset it in bash, it's just a nicer interface with a lot of configurability and several convenience features.
I'm generally a big fan of showing alternatives: https://github.com/Nukesor/pueue/?tab=readme-ov-file#similar...
Would you be willing to write a proper guide on how to do all of these things in bash? It would be great to have this as guide an alternative inside the Pueue wiki and link to it. It'll help people to make a more informed decision on whether they need this tool or not.
-
Looking for a pueue debian maintainer
there is a command line manager for long running tasks called Pueue. It is released into Nix, Arch, Alpine, Void, etc, but not for Debian based distros. I know that releasing into Debian is a bit more challenging, but I just wanted to ask if anybody here might be interested in packaging it. Just as a disclaimer, I am not the author of this project, just a regular user.
-
Can't find the name of a tool...
This one? https://github.com/Nukesor/pueue
-
Systemd timer having service running one after the other at a set time.
How about this: https://github.com/Nukesor/pueue/? I have it bookmarked from a thread here from few years back and never got to test it eventually, but maybe it will serve your purposes?
-
How can I run commands in parallel and write the output of each command to different linux terminals, one linux terminal for each command running in parallel.
Multiplexing is great for your multiple outputs, but I would highly recommend using pueue & pueued for job control. Lets you organize your background jobs into groups which can be paused, resumed, etc. Also lets you act on jobs from different terminals w/the pueue interface.
-
What "nice-to-have" CLI tools do you know?
pueue -- a queue for tasks, running in background
-
Why is Tmux better than neovim's built-in terminal?
For the command that takes a long time to complete, I always use pueue to run. This thing let you run multiple commands in order and can schedule the execution later which is really helpful to my workflow.
-
Should I use async or multiprocessing in my project and which library to use?
That said, you're basically building pueue. https://github.com/Nukesor/pueue/blob/main/ARCHITECTURE.md might give you some pointers. From reading it, there seems to be a mishmash of tokio stuff, and then everything gets serialised onto an MPSC channel (that's serviced by TaskHandler, on a single thread that's also responsible for polling for finished processes etc, every 200ms).
-
What do you use to copy large files from one HDD to another?
exchange for pueue and you can even queue them up.
-
What are some popular background job processing frameworks in the Rust ecosystem?
This is the only one I know of: https://github.com/Nukesor/pueue
Rack
- Como desenvolvi um backend web em Clojure
-
How to Use Sinatra to Build a Ruby Application
Because of its lightweight and Rack-based architecture, Sinatra is great for building APIs, mountable app engines, command-line tools, and simple apps like the one we'll build in this tutorial.
-
Building a Ruby app without any framework
Since you mentioned Sinatra and Rails I assume you're talking about web apps. In that case you want to build a Rack Application. That's where web frameworks' responsibility ends.
-
Ask HN: Release Notes
I'm thinking about building a website that scrapes release notes from sources like https://community.ui.com/releases, https://github.com/rack/rack/blob/main/CHANGELOG.md, https://developer.android.com/about/versions/13/release-notes etc, and cleans them up & formats into the same format so they can be searched a lot easier.
It seems like the best place to start would be for folks who read HN since we refer to these quite a bit day-to-day to figure out what changes in software, apps, etc. Let's open this up with a few questions:
1. Would you find a service like this useful? Why or why not?
2. What release notes would you want to have formatted into the same thing and why?
3. What features or capabilities would you like to see a service like this do? e.g. would you like to select multiple "products/apps/whatever" and see their release notes in one timeline? Side-by-side? etc. etc. etc.
-
Elixir Plugs
In Elixir world, Plug is a bit similar to Rack in Ruby. Official documentation describes Plug as:
- Rack 3 Upgrade Guide
-
Newb here: have you written your own web server? Seeking advice
The spec for Ruby's Rack is another good reference for how a Ruby webserver is expected to work.
-
The Definitive Guide to Rack for Ruby and Rails Developers
You've been around in the Rails world for a while. You know your way around rails. But you keep hearing this word 'Rack' and don't really understand what it is or what it does for you. You try to read the documentation on the Rack Github repository or the Rails on Rack guides, but the only thing it does is add to the confusion.
-
Crafting mini RubyOnRails
Begin with writing a rack-middleware. Rack is a standard library for writing a web server. The main structure is simple. Here is an example:
-
Request Coalescing in Async Rust
Coming from the Ruby ecosystem, a lot of this played out similarly to how the Rack[1] middleware conventions developed in the early Rails v1 and v2 days. Prior to Rack there was a lot of fragmentation in HTTP server libraries, post-Rack everything more or less played nicely as long as libraries implemented Rack interfaces.
I don't write Rust professionally, but it was a bummer seeing that this seems to be a place that was figured out (painfully) in ecosystems used heavily for web development--Javascript and Elixir have their own Rack equivalents[2][3]. I hope that Tower plays a similar role to unify the library ecosystem in Rust.
1. https://github.com/rack/rack
2. http://expressjs.com/en/guide/writing-middleware.html
3. https://github.com/elixir-plug/plug
What are some alternatives?
tantivy - Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust [Moved to: https://github.com/quickwit-oss/tantivy]
Puma - A Ruby/Rack web server built for parallelism
tab-rs - The intuitive, config-driven terminal multiplexer designed for software & systems engineers
Unicorn - Unofficial Unicorn Mirror.
awesome-rewrite-it-in-rust - A curated list of replacements for existing software written in Rust [Moved to: https://github.com/TaKO8Ki/awesome-alternatives-in-rust]
Goliath - Goliath is a non-blocking Ruby web server framework
breeze - An experimental, kakoune-inspired CLI-centric text/code editor with |-shaped cursor (in Rust)
falcon - A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
nq - Unix command line queue utility
Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js
starfetch - Display constellations in your terminal
Thin - A very fast & simple Ruby web server