profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rehno-lindeque/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Rehno Lindeque rehno-lindeque CircuitHub Pretoria, South Africa http://rehno.lindeque.name/ Co-founder at CircuitHub

puffnfresh/roy 821

Small functional language that compiles to JavaScript.

rehno-lindeque/adt.js 32

Algebraic data types for JavaScript

ocharles/opaleye-tf 13

An alternative interface to Opaleye, built around type families

rehno-lindeque/Blender-WebGL-exporter 13

A fork of the blender webgl exporter at http://code.google.com/p/blender-webgl-exporter/

rehno-lindeque/dotfiles 4

Configuration (NixOS + XMonad + Haskell + Gnome3 + Vim)

rehno-lindeque/adt-html.js 3

Treat HTML like any old Algebraic Data Type

rehno-lindeque/adt-typecheck-signature.js 3

Typecheck your JavaScript function parameters

rehno-lindeque/adt-typecheck.js 3

Type check your JavaScript data structures

rehno-lindeque/bimserver 3

just testing if github is fast enough for BIMserver

rehno-lindeque/adt-svg.js 2

Treat SVG like any old Algebraic Data Type

push eventrehno-lindeque/nixops-aws

rgrmrts

commit sha 2ece6c64c5572a482fcecec9c759d2030811404c

update IRC reference to Matrix

view details

adisbladis

commit sha 371aedeb7fd53b8978a60dd7c37d3a6c38101c48

Merge pull request #142 from rgrmrts/master update IRC reference to Matrix

view details

Rehno Lindeque

commit sha ea50463bdb024c070f82ddd0ca091aa194e848d7

Regenerate ec2-properties, but retain instance types that no longer exist.

view details

push time in 4 days

startedNixOS/nixops-aws

started time in 4 days

create barnchrehno-lindeque/nix-remote-builder-template

branch : multiple-zones

created branch time in 4 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha ebf4022a8cfafe75de0b06c8a6a1d181a81b3d1b

s3 upload needs the new nix 2.0 commands

view details

Rehno Lindeque

commit sha 184f25aa25ae1854b8b6d914b8189d84ec8773f0

fix command being echo'd

view details

Rehno Lindeque

commit sha 6864b610fbcb0d4c2d622d302787dc48f92b0dd6

Correctly set s3 bucket name in iam role

view details

Rehno Lindeque

commit sha 0ec1cbf40ce68e09945967056e3ba631e200507e

aws: ability to specify the base ami

view details

push time in 4 days

startedkarpathy/minGPT

started time in 6 days

startedstassa/louise

started time in 6 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 38f00e5e4667c5642b9c48b40e51c9d57a8ced4b

add name, instance options to the templates

view details

push time in 7 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 4ab669aad1a6efd226cd6f9376cd08811c372e6e

Move ec2 instance type & price to configurable options

view details

Rehno Lindeque

commit sha 21acccc0ee77319e3a089ba7228c045123e82e0f

fix references to nix in s3 upload script

view details

push time in 7 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha d3021c9617d42e07fbb36bb26050d12ae68838c8

pkgs, lib passed into deployments, not network

view details

Rehno Lindeque

commit sha 31a03a049946366a33030fbff17a4f1c7331006c

managed s3 bucket as an option

view details

Rehno Lindeque

commit sha ca4402859f1778abbdd2d9bbdb2dbac971e19941

binary cache private key should be in configuration template

view details

push time in 10 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha a7dfe27c3bf38dc0f96ef357480dcff6c7bf0d7e

Explicitly pin nixops to the version that works well with nixops-plugged

view details

Rehno Lindeque

commit sha 364b3ca977d654e455e3c3cb0549d3a713d6d2b5

Overlay needn't be system-specific

view details

Rehno Lindeque

commit sha f7929b475b17b70d54d33f0f51b16adeff6767df

Remove dead code in nixopsConfiguration

view details

Rehno Lindeque

commit sha 3f883c1147b73385adecc0a7f80baf489cf97475

use legacyPackages instead of import nixpkgs

view details

Rehno Lindeque

commit sha cb0cb99b7522ed8071072031f001c1d3485de7ae

Make nixopsNetwork a flake lib output

view details

Rehno Lindeque

commit sha d2184d6a3b698d67e5951612fbce225ae126d1fe

Fix infinite mutual recursion: packages output depends on overlay output

view details

Rehno Lindeque

commit sha 97d3c3e819e1832333688c0c2727b3d39ed80357

Add simplified remote builder template

view details

Rehno Lindeque

commit sha fcbd139781c3480d5d117316c21d613540628c5f

Add simple-remote-builder-network readme

view details

Rehno Lindeque

commit sha 8759ef00c10ca584c96de9c635876fcb4fbff69e

minor synchronizations between templates

view details

push time in 12 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha a6b2927aa5c7b5687b6d41b4f38afff67bd2783b

Tiny clarification

view details

Rehno Lindeque

commit sha 9ad7e2d4b04aaf072a9049603fa763eac0104b87

Move placeholder for extra system packages to the configuration

view details

Rehno Lindeque

commit sha 8fb52810ffaa6171ac532c1db2e4832b5d6b5999

Explicitly pin nixops to the version that works well with nixops-plugged

view details

Rehno Lindeque

commit sha 3faa5a026008ca34ab7af7c10a6faad6ad061aef

Overlay needn't be system-specific

view details

Rehno Lindeque

commit sha e3296e717705a4eb502d48f824d297ca0c749aaa

Remove dead code in nixopsConfiguration

view details

Rehno Lindeque

commit sha 8f00404289d4cae1f9f4efadc7a45ccd30fd7e2b

use legacyPackages instead of import nixpkgs

view details

Rehno Lindeque

commit sha 6de854ec8dd8e22a8c7f4aace07fae178a0622c3

Make nixopsNetwork a flake lib output

view details

Rehno Lindeque

commit sha 47ae8bde37bb126c2eac62900de20cbf587d28fd

Fix infinite mutual recursion: packages output depends on overlay output

view details

push time in 12 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 4307f66c4450229cfc0311e4ac97b6036157ffbb

Still more modularity

view details

Rehno Lindeque

commit sha d7d5358eead417da09079415943b246b325fef69

Remove redundant nixos configuration It doesn't seem helpful since it's easy to add, but vanishingly unlikely to be used on its own.

view details

Rehno Lindeque

commit sha 1fe0ee5733d6b5043c5729bfc51e9e96d2d30099

Add the wrapped ops package to the flake packages This is to make things easier in derived flakes.

view details

Rehno Lindeque

commit sha 399555370e73bdab5818d95148b8705c7ef861b9

Move nix.sshServe.keys to the nixops configuration

view details

Rehno Lindeque

commit sha a5c3118730fa198d7843287f773c3a0561969f58

minor cleanup: eliminate dead code

view details

push time in 25 days

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 3e204b7c1a185f5f07129db730327b511f04ccf8

README: Add a note about template structure being WIP

view details

Rehno Lindeque

commit sha 2485c2d30db74f18af31898f40a4b5f06bb96c54

modularize nixops network definition

view details

Rehno Lindeque

commit sha 15718afa9cb53fada2e6b5035ed0463b89dd4ae9

remote-builder-network: instructions for getting started

view details

Rehno Lindeque

commit sha 187c2c044fbe2642db1c040332917d341958b8a5

minor refactor of binary cache options

view details

Rehno Lindeque

commit sha 5c44007fad86c289b2fe18228544296fe2c9d2b0

eliminate dead code

view details

Rehno Lindeque

commit sha 2ac9d09fde3732a8dc43dc79efecd5088014d7d8

minor refactor of aws options

view details

Rehno Lindeque

commit sha 3d5feaf8f85c4515655310a16e5dfd216cb1a3e8

minor refactor of nixops modules

view details

Rehno Lindeque

commit sha 4bb0ef9fb725bc35306d1e1c040a8b7e4b7fae22

networkName probably should not be a flake output

view details

push time in a month

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 975537537171d5ebea471ff0671e9e00726da82b

Tweak template description

view details

Rehno Lindeque

commit sha 8b600e6426ea3d030873b028f784709250ecea17

Instructions to instantiate the template

view details

push time in a month

push eventrehno-lindeque/nix-plugins

Shea Levy

commit sha f35b3e012683a3851ab423e530d3d273922825c6

Update for Nix 2.4. Inspired by #6. Closes #6.

view details

Rehno Lindeque

commit sha c815bb5e284a87ed69fa5c43dcb53e6de9447ea2

Force function application before returning extraBuiltins Before this commit builtins.extraBuiltins couldn't be used without manually introducing strictness via seq or let binding. The error nix reported was ``` error: value is a function application while a set was expected ```

view details

push time in a month

pull request commentshlevy/nix-plugins

Force function application before returning extraBuiltins

@shlevy

{ pkgs ?
    import <nixpkgs> {
      overlays = [ (self: super: {
        nix =
          self.nixFlakes;

        nix-plugins =
          (super.nix-plugins.override { nix = self.nixFlakes; }).overrideAttrs
            (oldAttrs: {
              src = self.fetchFromGitHub {
                owner = "shlevy";
                repo = "nix-plugins";
                rev = "f35b3e012683a3851ab423e530d3d273922825c6";
                sha256 = "1dss6m1jn5bxdrvibjf52qn5v6142sf2n53yzd4s36glc0s479rh";
              };
              buildInputs = oldAttrs.buildInputs ++ [ self.nlohmann_json ];
            });
      })];
    }
}:

let
  now = pkgs.writeScript "now.sh" ''
    printf '"' && (date +%Y-%m-%d | tr -d '\n') && printf '"'
  '';
  example-builtins = pkgs.writeText "example-builtins.nix" ''
    { exec, ... }:

    {
      now = exec [ "${now}" "+%Y-%m-%d" ];
    }
  '';
in
pkgs.mkShell {
  buildInputs = with pkgs; [
    nix
    nix-plugins
  ];
  shellHook =
    with pkgs;
    ''
      echo 'nixpkgs: ${lib.version}'

      nix \
        --option plugin-files ${nix-plugins}/lib/nix/plugins/libnix-extra-builtins.so \
        --option extra-builtins-file ${example-builtins} \
        eval \
        --expr 'builtins.extraBuiltins.now'
    '';
}
$ nix-shell shell.nix 
warning: unknown setting 'experimental-features'
nixpkgs: 21.05.2001.d4590d21006
error: value is a function application while a set was expected

       at «string»:1:1:

            1| builtins.extraBuiltins.now
             | ^
(use '--show-trace' to show detailed location information)

Changing

--expr 'builtins.extraBuiltins.now'

to

--expr 'builtins.seq builtins.extraBuiltins builtins.extraBuiltins.now'

fixes the issue

rehno-lindeque

comment created time in a month

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 65edcc9811f4de8be1632c908906004353fa3b04

Move .gitignore to the template

view details

Rehno Lindeque

commit sha 03d00c1eb6af23882afda5524516cb816d6c68fe

Create a flake with the template

view details

push time in a month

startedbitc/hs-term-emulator

started time in a month

push eventrehno-lindeque/nix-remote-builder-template

Rehno Lindeque

commit sha 937646197a2d60e0d8bfca8eca6da6be45bdc26e

Instructions for setting up AWS secrets

view details

Rehno Lindeque

commit sha 21d2a8716f6be5617315214621bb1ab19083c6e3

Begin a remote builder network template

view details

Rehno Lindeque

commit sha b9b1c9153dcbfdfed6d4e3a25fa1bf45df167483

remote-builders-network: Add a deployment shell environment

view details

Rehno Lindeque

commit sha 520fa0a319e9d616384edcb16d8c93ebe1453446

Add network definitions for AWS resources and the builder instance

view details

Rehno Lindeque

commit sha babc828cc04d14d2a60e3d5ec420421463775bda

Additional commands to control the remote builder

view details

push time in a month

create barnchrehno-lindeque/nix-remote-builders-ml

branch : master

created branch time in a month

created repositoryrehno-lindeque/nix-remote-builders-ml

Remote builders for machine learning (based off https://github.com/rehno-lindeque/nix-remote-builders)

created time in a month

push eventrehno-lindeque/old-remotebuilders-network

Rehno Lindeque

commit sha 7580a4f94507b16a5f7f6bdfcc6c3266bd878142

Create README.md

view details

push time in a month

create barnchrehno-lindeque/nix-remote-builders

branch : master

created branch time in a month

created repositoryrehno-lindeque/nix-remote-builders

Personal nix flake containing a template for quickly instantiating a network of remote builders on AWS EC2

created time in a month

pull request commentNixOS/nixops-aws

Update ec2 instances

Note that in all the cases where supportsNVMe was changed, it was changed from false to true. So I've retained those.

rehno-lindeque

comment created time in a month

PR opened NixOS/nixops-aws

Update ec2 instances

I ran the generate-ec2-properties.sh script and updated ec2-properties.nix with the new entries, while retaining any entries that would have been deleted.

(I've tried to replicate what was done in 75b1e1b0ab8d26289d2e7a688c5035eda7ec4f8f.)

+133 -127

0 comment

1 changed file

pr created time in a month

create barnchrehno-lindeque/nixops-aws

branch : regen-ec2-properties

created branch time in a month

pull request commentshlevy/nix-plugins

Support for Nix 2.4

This is definitely a bug, I'll test on the current version and see if it's a new one.

Great, I'll submit a separate PR for it: #7. It was just a quick fix feel free to reject if it's not quite right.

rehno-lindeque

comment created time in 2 months