dotfiles
dhall
dotfiles | dhall | |
---|---|---|
6 | 10 | |
22 | 900 | |
- | 0.3% | |
7.8 | 7.3 | |
8 days ago | 6 days ago | |
Emacs Lisp | Dhall | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" 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.
dotfiles
-
Installing Python/PIP tools with home-manager
(taken from https://github.com/siraben/dotfiles/blob/master/home-manager/.config/nixpkgs/python-packages.nix) but that did not even download the packages in question.
-
Make Linux Fast Again
I had the exact same kernel parameters in my NixOS configuration[0] and after some benchmarks (mostly Emacs-related) I observed a 10-15% speedup, pretty neat.
[0] https://github.com/siraben/dotfiles/commit/c0eb0b43083738cab...
-
Using LSP in Emacs and Debian
Note that when you use LSP with Emacs, installing language servers can quickly lead to dependency hell. I use home-manager[0] to specify which language servers I want installed[1] (among other things such as compilers for different languages) so integration with Emacs is reproducible.
[0] https://github.com/nix-community/home-manager
[1] https://github.com/siraben/dotfiles/blob/bad2e8a29b6622e10bc...
-
How to write a linter using tree-sitter in an hour
Using Nix and home-manager I'm able to have this setup with Emacs work across Linux and macOS (x86 and arm64) because it compiles the grammars from Nixpkgs itself (the grammar list can also be augmented declaratively with other grammars).
[0] https://github.com/siraben/dotfiles/blob/a0f49781ecb05693908...
-
How to Learn Nix
I recently got into running my own NixOS server—setting up Nextcloud[0], a website[1], DNS server and most recently a mail server[2] were all incredibly easy, in fact, setting up DNS records is more involved than configuring a mail server on NixOS! This was all done on a server with less than 10 GB of disk space as well.
With additional software such as NixOps, personal servers can also be easily spun up and provisioned.
While inevitably there are rough edges if you look deeply enough, I think the default OOTB experience has been incredible for use on a server and as a day-to-day distro. Highly predictable and declarative configurations is the way to go.
[0] https://github.com/siraben/dotfiles/blob/ffaaacf8888a5c4167b...
[1] https://siraben.dev
[2] https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
- Using libgccjit to make Emacs 2.3x to 42x faster [pdf]
dhall
-
Why Functional Programming Should Be the Future of Software
```
If you mean installing Dhall's dependencies (https://github.com/dhall-lang/dhall-haskell/blob/master/dhal...), those aren't too crazy, but they're definitely not all "beginner level". Template Haskell in particular is quite heavyweight.
-
Dhall: A Gateway Drug to Haskell
Ok, lets be specific. Lets write a comment to explain this function:
https://github.com/dhall-lang/dhall-haskell/blob/master/dhal...
-
Nix: An idea whose time has come
I haven't tried it but apparently you can compile to Nix from Dhall:
> You can use this compiler to program Nix using the Dhall language. This package targets people who wish Nix had a type system.
https://github.com/dhall-lang/dhall-haskell/tree/master/dhal...
- Usage Of Cryptonite Library In GHCJS
-
How to Learn Nix
If the problem is the syntax and people wants some other format that compiles to nix, there's dhall
https://dhall-lang.org/
https://github.com/dhall-lang/dhall-haskell/tree/master/dhal...
https://www.haskellforall.com/2017/01/typed-nix-programming-...
Dhall is a generic config language with some programming capabilities (but not turing complete) that can compile to json, yaml, and other formats, like in this instance nix.
-
Google Summer of Code Summary: Dhall bindings to CSV
For my GSoC project, I built from scratch the dhall-csv package on the Dhall Haskell implementation Github Repository. Said package provides two executables, dhall-to-csv (which converts Dhall files into CSV files) and csv-to-dhall (which converts CSV files into Dhall files). It also provides Haskell libraries with the functions that translate bidirectionally between Dhall and CSV.
-
Wuffs the Language
> If you add constraints (like not being able to feed the program to itself as is done in the halting problem and not allowing unbounded loops) then it is possible to determine if a program will terminate or not.
Dhall is a good example - https://github.com/dhall-lang/dhall-haskell .
-
INTERCAL, YAML, And Other Horrible Programming Languages
See also https://dhall-lang.org/
-
Common Nginx misconfigurations that leave your web server open to attack
That just seems like an even greater nightmare to me. Soon you would have to learn to read and understand a custom program in a Turing-complete language for each and every installation.
The proper solution is a DSL, just a better DSl. Or perhaps a DSL embedded in something like dhall <https://dhall-lang.org/>, but definitely not a general-purpose programming language.
-
i want that
Dhall
What are some alternatives?
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
accelerate - Embedded language for high-performance array computations
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
accelerate-cuda - DEPRECATED: Accelerate backend for NVIDIA GPUs
agenix.el - Transparent editing for agenix secrets inside Emacs
dhall-nix
dhall-lang - Maintainable configuration files
hLLVM
lorri - Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
haste-compiler - A GHC-based Haskell to JavaScript compiler
nixos-mailserver - A complete and Simple Nixos Mailserver
egison - The Egison Programming Language