Mix.install(
[
{:exgboost, "~> 0.3.1", override: true},
{:nx, "~> 0.6"},
{:exla, "~> 0.5"},
- @idlehands DMs are open
- [email protected]
- Testing Elixir Book: the sample code is downloadable without buying the book
- Coveralls Coverage Library
- Mox library for test doubles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, fetchzip, fetchFromGitHub | |
# build tools | |
, gfortran, m4, makeWrapper, patchelf, perl, which, python2 | |
, cmake | |
# libjulia dependencies | |
, libunwind, readline, utf8proc, zlib | |
# standard library dependencies | |
, curl, fftwSinglePrec, fftw, gmp, libgit2, mpfr, openlibm, openspecfun, pcre2 | |
# linear algebra | |
, blas, lapack, arpack |
Clojure CLI tools (with deps.edn) allow for a built in way to create projects.
Official CLI/deps guide: https://clojure.org/guides/deps_and_cli
-
Pre-reqs: Clojure and dependencies installed.
-
Install a project creation Tool.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let fold = https://prelude.dhall-lang.org/List/fold | |
let filter = https://prelude.dhall-lang.org/List/filter | |
let equal = https://prelude.dhall-lang.org/Natural/equal | |
let Obj = <User | Pet | List> | |
let Key = <Id | Type | Name | Pets | Head | Tail> | |
let Entry = <Int_: Integer | Bool_: Bool | Double_: Double | Text_: Text | Id_: Natural | Type_: Obj | Nil> | |
let Row = { ptr: Natural, key: Key, val: Entry } | |
let Db = List Row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ modulesPath, pkgs, lib, ... }: { | |
imports = [ | |
"${modulesPath}/virtualisation/amazon-image.nix" | |
]; | |
ec2.hvm = true; | |
################################################ | |
system.autoUpgrade = { | |
enable = true; | |
allowReboot = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, ... }: | |
with lib; | |
{ | |
config = { | |
i18n.defaultLocale = "de_DE.UTF-8"; | |
time.timeZone = "Europe/Paris"; | |
services = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = | |
[ | |
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix> | |
./machine-config.nix | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
# To use this shell.nix on NixOS your user needs to be configured as such: | |
# users.extraUsers.adisbladis = { | |
# subUidRanges = [{ startUid = 100000; count = 65536; }]; | |
# subGidRanges = [{ startGid = 100000; count = 65536; }]; | |
# }; |
NewerOlder