xmonad
jenkins-std-lib
xmonad | jenkins-std-lib | |
---|---|---|
76 | 14 | |
3,242 | 48 | |
0.2% | - | |
7.8 | 0.0 | |
7 days ago | 11 days ago | |
Haskell | Groovy | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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.
xmonad
-
Installing Xmonad on Arch
The official guide and the archwiki do say that it's okay to just install it via pacman, but I've also found some issues on the official repo that strongly suggest against installing via pacman and to use stack instead, as sometimes pacman breaks dependencies.
-
Is it just me or it nix becoming more common
Especially Haskell tools often live in proximity to nix as well, e.g., pandoc or xmonad.
-
[Media] shrs: a shell that is configurable and extensible in rust
Hey everyone đź‘‹ ! I'm currently working on a rust library for building and configuring your own shell! It's inspired by projects like xmonad and penrose where the configuration of the program is done in code. This means that for example, instead of using Bash's arcane syntax for configuring the prompt, it can be configured instead using a rust builder pattern! The project itself is still at a very young stage, so there are plenty of bugs and unimplemented features. However, some things that are (partially) implemented are:
-
Genuine question: how do you all use Haskell IRL?
Daily, because xmonad
-
MultiToggle is toggling layout on all workspaces when using WorkspaceCursors
If the problem is as described in the reply linked below, then this isn't a fundamental issue, but just a matter of how sendMessage is written. In fact, the fix already exists in xmonad/432:2fff2a0.
- home | xmonad - the tiling window manager that rocks
-
What LaTeX setup do you use?
There are a few other things I could mention, but there are more like side issues, and not relevant to my actual LaTeX setup. First and foremost—and thus perhaps noteworthy after all—is bibliography management with arxiv-citation (see here for more words). This is integrated very well with the XMonad window manager, which makes it even more of a joy to use.
- Developers How Do You Organize your Windows
-
Floating Steam windows slide off the screen
The tl;dr is that this is a bug in steam, see https://github.com/xmonad/xmonad/issues/423
-
My Arch linux desktop configuration
And here is my Xmonad configuration
jenkins-std-lib
-
The worst thing about Jenkins is that it works
> On a previous team I had used Concourse CI to some extent, but I wasn’t really blown away by the experience. Travis and Circle were mentioned. I was a fool. I should have committed to seriously researching some of the contenders and making a more informed decision, but I lacked the willpower and the discernment.
The whole post can be summed up as he had very little CICD experience. Made lots of beginner mistakes, which is easy to do in Jenkins. Then decided to write a post where all his complaints about Jenkins are not only wrong but are the issues that plague all the other CICD tools.
> So instead of writing Bash directly, you’re writing Bash inside Groovy
Why are you doing that? You have a fully featured programming language and you are running `sh('npm install')`. You could do this instead https://github.com/DontShaveTheYak/jenkins-std-lib/blob/mast... . How is bash inside of YAML better?
> The trouble is: Groovy is a much, much worse language for executing commands than Bash. Bash is interpreted, has a REPL that is great for experimentation, does require a ton of imports, and has lightweight syntax. Groovy has none of these things.
Groovy has a language server, linters and a vscode IDE plugins. They are probably not as stable or full featured as the bash ones, but they are available and very few take advantage of them. Again, how is YAML+Bash better?
> The way that developers test their Groovy steps is by triggering a job on the remote Jenkins server to run them. The feedback loop is 2 orders of magnitude slower than it is for just executing Bash locally.
This is a rookie mistake. For about 60-75% of pipelines you can run them locally in a docker container on your local machine. You can even set up hot code reload so as you change your pipeline the Jenkins reloads it. You can also configure the job to kick off a build when it reloads the code. When Jenkins is configured correctly it has the fastest feedback loop of any CICD tool on the market. GitHub actions comes in a close second since it can also be run locally but you cant run a "clone" of what you run in production, like having the same secrets, so it gets second place. Beside Jenkins and GitHub actions, I dont know of any solutions for the other tools.
You can run a GitHub action on Jenkins. It's a very deep and complex system. It's like an iceberg and so many engineers dont leave the surface before deciding it sucks and one of the YAML CICD tools is better. Sure the YAML alternatives are EASY to get started with and to do basic stuff with. But they are Terrible at anything complex. While Jenkins is not easy to get started with, once mastered, you can build complex pipelines with ease.
I get that I'm a Jenkins fanboy. Most of the things I mentioned above, I either contribute to or I'm the author of. I know Jenkins has issues. I know it has hurt lots of people, I read the complaints online. But it's still the best out there. The best software in the world is not written in bash or yaml and the same is true of the best CICD pipelines in the world. It's a shame very few people get to see/use those pipelines.
-
GitHub actions top alternatives
With Jenkins you can still run your favorite GitHub actions. https://github.com/DontShaveTheYak/jenkins-std-lib/blob/master/jobs/github/actions/step_example.groovy
-
Looking for a speaker on a panel on "how to make the most of Jenkins", pm me if interested
This library has a lot of helpful features https://github.com/DontShaveTheYak/jenkins-std-lib , one of my favorites is being able to run GitHub actions natively in Jenkins pipelines.
-
Jenkins in kubernetes without docker
Here is an example using s6 overlay https://github.com/DontShaveTheYak/jenkins-std-lib/tree/master/docker/prod
-
Which CICD Pipeline is the least hardest to develop from
Run a Jenkins locally in docker. I use a vscode dev container for this. https://github.com/DontShaveTheYak/jenkins-std-lib/blob/master/.devcontainer/devcontainer.json
- What CICD tool do you guys use?
- Ask HN: Where are all the Show HNs?
-
The worse production code you have ever seen
I do my best https://github.com/DontShaveTheYak/jenkins-std-lib
-
GitHub Actions Limitations and Gotchas
If you use Jenkins and want to try actions then check out https://github.com/DontShaveTheYak/jenkins-std-lib
It let's you run actions on top of Jenkins.
- GitHub actions down for some users
What are some alternatives?
Hyprland - Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
i3 - A tiling window manager for X11
hbr - handbrake runner - runs HandBrakeCLI with settings specified in a keyfile. Allows for repeatable and easily modified encoding.
dotfiles-2.0 - XMonad™️. Widgets go brr.
cache - Cache dependencies and build outputs in GitHub Actions
Arch-Linux-xmonad-setup-guide
roadmap - GitHub public roadmap
dotfiles
source-to-image - A tool for building artifacts from source and injecting into container images
xmonad-contrib - Contributed modules for xmonad
actions-runner-controller - Kubernetes controller for GitHub Actions self-hosted runners