Maciej Lukksepp · @icejam_
5 followers · 160 posts · Server hachyderm.io

I hated yaml files so I started using here and there to not lose sanity. Now I hate yaml even more.

#dhall

Last updated 1 year ago

Christian Pietsch 🍑 · @chpietsch
3801 followers · 13223 posts · Server digitalcourage.social

@liaizon

You know I'm neither impatient nor an IT noob, but when trying to install on Debian 11 yesterday, I gave up after two hours.

The first hour passed while cargo compiled almost 1000 Rust packages. Fine, I guess this is what happens when you enter a new ecosystem.

The second hour was more infuriating because I failed to construct a valid configuration file for Kitsune. These are in a language called which seems to be inspired by Haskell.

I tried renaming the config.example.dhall and switching it to sqlite because I thought that for a test drive, installing PostgreSQL was overkill. So I copied the line from docs.joinkitsune.org/en/runnin and got this error message:

thread 'main' panicked at 'Failed to connect to database: Pool(Backend(ConnectionError(CouldntSetupConfiguration(DatabaseError(UnableToSendCommand, "invalid connection string: unexpected EOF")))))', kitsune/src/main.rs:94:6

Using the entire configuration example from that website results in the same error message.

/cc @dev

#dhall #kitsune

Last updated 1 year ago

Hamish Rickerby · @rickerbh
106 followers · 156 posts · Server mastodon.nz

I’ve been struggling with generating a bunch of HCL for with today. Finally got it working and it’s a dream. Can now generate dev and production specs with a single command, then commit, and terraform cloud takes over and executes the plan for us.

Biggest issue was dealing with the lack of text equality checks in dhall, but got around that with union types and it’s much better. Strongly typed, no fat finger mistakes possible.

#terraform #dhall #infrastructure #winning

Last updated 2 years ago

Gaël Reyrol · @GaelReyrol
141 followers · 207 posts · Server mamot.fr

My website is now entirely built with using including my resume which is created from a configuration extending the schema !
Feel free to review my Nix files 🥰 github.com/gaelreyrol/dhall-re github.com/gaelreyrol/gaelreyr

#zola #nix #dhall #jsonresume

Last updated 2 years ago

Felix · @leobm
141 followers · 1858 posts · Server norden.social

@tommorris
I actually find configuration files quite interesting.

dhall-lang.org/

github.com/dhall-lang/dhall-la

#dhall

Last updated 2 years ago

Alejandro Baez · @zeab
102 followers · 413 posts · Server fosstodon.org

CI builds get so utterly complicated. It's why I favor . You get an absolute with all the dependencies, cache, environment, and releases. 😅

Still, options are now alone to do nix on CI. A small list of tools that to help in this world:

- code ci
- dsl ci
- dsl for artifacts
- yaml generation
- yaml generation

#nix #daggerci #earthlyci #dhall #cue

Last updated 2 years ago

Xe :verified: · @cadey
3675 followers · 3336 posts · Server pony.social
Xe :verified_purple:​ · @xe
91 followers · 45 posts · Server vt.social

Hey all! I'm gonna be streaming on Twitch at 13:00 EST. I'm gonna write a little pronoun.is replacement in with and

Please check it out!

twitch.tv/princessxen

#rust #axum #dhall

Last updated 2 years ago

Nuno · @ncrav
23 followers · 105 posts · Server mas.to

Dhall is a programmable configuration language with no unexpected side effects

dhall-lang.org/#

#json #yaml #configuration #functionalprogramming #dhall #dhalllang

Last updated 2 years ago

lucasdicioccio · @lucasdicioccio
106 followers · 34 posts · Server fosstodon.org

I've significantly improved the codebase organization of KitchenSink, my static blog engine. Now I get to understand my code better. The code is now more amenable to extensions and to new layouts.

I've also slightly improved the support:
- in addition to `html` and `cmark` a Dhall section can now generate `json`, and hence substitute itself for a `.json` sections
- the Dhall expression get a `kitchensink` variable with (for now only) the source filename
- errors are better

#dhall

Last updated 2 years ago

Zau · @16gbmicrosd
57 followers · 257 posts · Server tech.lgbt
Tomodachi94 · @tomodachi94
1 followers · 3 posts · Server floss.social

is pretty cool.

I'm using it to configure some tools that don't support environment variables (eg. gem) in their configs. Then, I have execute the dhall-to-yaml compiler, link the compiled file to the right spot, and it just... works.

(You can see this in action at my dotfiles repository, github.com/tomodachi94/dotfiles.

#dotbot #dhall

Last updated 2 years ago

Alejandro Gallo · @cadr
29 followers · 26 posts · Server masto.ai

@cadey I like , but I've found that the personal use-cases I have for that it felt over engineered, a simple s-expression made the trick always. For other test, like for instance github CI yaml files, I found the types to be over-strict. So I stopped using it :( But is cool!

#dhall

Last updated 2 years ago

Xe :verified: · @cadey
2954 followers · 2522 posts · Server pony.social
Matthew Turland · @elazar
352 followers · 650 posts · Server phpc.social

@dirtside I agree, but I think it may be a bit of a catch-22: people don't do that because there haven't been very many DSLs up to this point, short of SQL and regex, that are as well-supported and easily integrated with GPLs.

I think that may be changing now, though, with people starting to explore languages like , , , etc.

#cuelang #dhall #racket

Last updated 2 years ago

Utku Demir · @utdemir
48 followers · 18 posts · Server mastodon.nz

@CorbaTheGeek @lisp_discussions

I believe the most realistic use-case of nixlisp right now would be parsing different file formats.

Currently support of different formats are usually implemented as primitives in the Nix language (ie. `fromTOML`). It would be good to be able to easily implement them within the language, I’d love to have , for example.

#dhall

Last updated 2 years ago

River Likes Math · @riverlikesmath
26 followers · 72 posts · Server tech.lgbt

Installed and today! Don't have time to actually play with them atm, but functional config and package management are on their way.

#nix #dhall

Last updated 2 years ago

Jon Raphaelson · @accidental
3 followers · 10 posts · Server techhub.social

I've been interested in , but I think it comes at _config_ from the wrong side; it's a programming language first (syntax/feel wise), and data format second.

Dreaming of something more yaml-like in syntax, but with PHP-esque blocks for tree-native templating, with dhall's type system.

#dhall

Last updated 2 years ago

iooioio · @iooioio
198 followers · 2986 posts · Server fosstodon.org

@IslandUsurper This is my first time hearing about by the way. Looks interesting. I'll check it out.

#dhall

Last updated 3 years ago

Alejandro Baez · @zeab
83 followers · 349 posts · Server fosstodon.org

I know , like no other language, yet I never had put two and two together of using it with erlang/elixir. Until now, that is. I'm totally doing this. Especially considering I was looking to use for a similar configuration reasons.
erlang-solutions.com/blog/how-

#dhall #lua

Last updated 4 years ago