Skip to content

Instantly share code, notes, and snippets.

View gist:9ea4165a39ff0379f1bbdd0fec0400bd
5 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/man/man1
8 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/man
504 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/C/accerciser/figures
565 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/C/accerciser
568 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/C
32 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/ca/accerciser/figures
96 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/ca/accerciser
100 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/ca
4 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/cs/accerciser/figures
67 /nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0/share/help/cs/accerciser
View gist:670d455c1bee6d263bdff27a79b21138
/nix/store/dpps0ibhpramnbga9y9953m4axprg458-accerciser-3.40.0
├── bin
│   └── accerciser
├── lib
│   └── python3.10
│   └── site-packages
│   └── accerciser
│   ├── about_dialog.py
│   ├── accerciser.py
│   ├── accessible_treeview.py
View sound.nix
{
hardware.bluetooth.enable = true;
hardware.bluetooth.package = pkgs.bluezFull;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
View gist:ddbae40e0fe8229b2c9e272ce50d38bb
discourse # [ 83.558771] discourse-pre-start[1299]: rake aborted!
discourse # [ 83.593056] discourse-pre-start[1299]: NoMethodError: undefined method `unknown_asset_fallback=' for #<Array:0x0000000005ba4cf8>
discourse # [ 83.594798] discourse-pre-start[1299]: /nix/store/49ylr5d1h8jib8ikanbbk57qx4wlp2h0-ruby2.7.6-railties-7.0.3/lib/ruby/gems/2.7.0/gems/railties-7.0.3/lib/rails/application/configuration.rb:108:in `load_defaults'
discourse # [ 83.595826] discourse-pre-start[1299]: /nix/store/49ylr5d1h8jib8ikanbbk57qx4wlp2h0-ruby2.7.6-railties-7.0.3/lib/ruby/gems/2.7.0/gems/railties-7.0.3/lib/rails/application/configuration.rb:115:in `load_defaults'
discourse # [ 83.596661] discourse-pre-start[1299]: /nix/store/49ylr5d1h8jib8ikanbbk57qx4wlp2h0-ruby2.7.6-railties-7.0.3/lib/ruby/gems/2.7.0/gems/railties-7.0.3/lib/rails/application/configuration.rb:138:in `load_defaults'
discourse # [ 83.597521] discourse-pre-start[1299]: /nix/store/49ylr5d1h8jib8ikanbbk57qx4wlp2h0-ruby2.7.6-railties-7.0.3/lib/ruby/gems/
View gist:fb812651faabe5af8b49a9e5f4bcaf9d
@nix { "action": "setPhase", "phase": "qtPreHook" }
qtPreHook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/vqbn14xggz8g8pqmwzi37043d833wrnj-pyside-setup-opensource-src-5.15.2.tar.xz
source root is pyside-setup-opensource-src-5.15.2
setting SOURCE_DATE_EPOCH to timestamp 1605209529 of file pyside-setup-opensource-src-5.15.2/sources/shiboken2/data/docgenerator.1
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/n1jymia77nmkr9340bmq6lqjfxr7fywq-nix_compile_cflags.patch
@ryantm
ryantm / ruby
Created January 28, 2022 18:54
View ruby
matrix_zero_default = NMatrix.new(matrix_with_nan.shape, 0.0, stype: :yale)
matrix_with_nan.each_stored_with_indices do |val, i, j|
matrix_zero_default[i,j] = val
end
@ryantm
ryantm / gist:de7bbc79ee2623ab48a835924d60c8ca
Created January 27, 2022 18:16
NMatrix default value NaN
View gist:de7bbc79ee2623ab48a835924d60c8ca
> d = NMatrix.new([1,1],0.0, stype: :yale) / NMatrix.new([1,1],0.0, stype: :yale)
#<NMatrix:0x00000000074cd2e8 shape:[1,1] dtype:float64 stype:yale capacity:3>
> d.dot(d)
*** NotImplementedError Exception: matrix default value must be some form of zero (not false or nil) for multiplication
nil
> d.default_value
NaN
> d.cast_full(:yale, :float64, 0.0).default_value
NaN
View gist:d1b93434a4497ab3e6db947b1160bb31
12 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/bin
5 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share/man/man1
8 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share/man
12 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share
27 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0
View gist:1ea11370a46a28be75c5af34b54e62e0
/nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0
├── bin
│   └── zfs-prune-snapshots
└── share
└── man
└── man1
└── zfs-prune-snapshots.1.gz
4 directories, 2 files
View gist:072e122e51d8c6f43ac7dc2bd663cfd4
12 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/bin
5 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share/man/man1
8 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share/man
12 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0/share
27 /nix/store/rnl1xn3vnb7cw8bmf6r97n8mxcanrl67-zfs-prune-snapshots-1.3.0