| 22 Nov 2025 |
Grimmauld (any/all) |  Download image.png | 13:12:39 |
piegames | Ne das ist schon richtig so | 13:13:17 |
piegames | Wenn man sich '' als raw strings denkt | 13:13:29 |
Grimmauld (any/all) | dass multiline string literal aber immer raw ist, ist halt etwas sucky | 13:13:52 |
piegames | Die anderen sind auch multiline | 13:14:09 |
Grimmauld (any/all) | wut? TIL | 13:14:20 |
Grimmauld (any/all) | na gut | 13:14:27 |
piegames | Das was an denen suckt ist dass sie kein indentation stripping können | 13:14:36 |
| 23 Nov 2025 |
zitrone | i found some very cursed code in all-packages.nix:
inherit
({
timeshift-unwrapped = callPackage ../applications/backup/timeshift/unwrapped.nix { };
timeshift = callPackage ../applications/backup/timeshift { grubPackage = grub2; };
timeshift-minimal = callPackage ../applications/backup/timeshift/minimal.nix { };
})
timeshift-unwrapped
timeshift
timeshift-minimal
;
| 16:13:24 |
hexa | und da hast du dir gedacht, du bringst den am besten mit nach Darmstadt? 😄 | 16:13:49 |
zitrone | jap | 16:14:11 |
hexa | dann kriegste folgendes feedback | 16:15:00 |
hexa |  Download image.png | 16:15:03 |
hexa | https://nix.dev/guides/best-practices.html | 16:15:15 |
zitrone | ja aber da hätte man einfach das ganze inherit weglassen können, naja | 16:16:35 |
hexa | ja, wo leute zusammen kommen passieren dumme dinge | 16:18:41 |
hexa | manchmal braucht es nicht mal das | 16:18:57 |
grimmauld (any/all) | Tbh ich will envirnment.systemPackages = [ inherit [pkgs] curl jq hello ]; oder so | 16:19:17 |
grimmauld (any/all) | also quasi inherit für listen | 16:19:25 |
grimmauld (any/all) | ist halt problematisch, weil listen space-seperated sind | 16:19:52 |
zitrone | https://wiki.lix.systems/books/lix-contributors/page/nix-lang-v2#bkmrk-set-slicing | 16:21:06 |
zitrone | * set slicing https://wiki.lix.systems/books/lix-contributors/page/nix-lang-v2#bkmrk-set-slicing | 16:21:17 |
grimmauld (any/all) | ja, das wäre z.b. okay | 16:22:24 |
piegames | In reply to @grimmauld:m.grimmauld.de Tbh ich will envirnment.systemPackages = [ inherit [pkgs] curl jq hello ]; oder so pkgs.[curl jq hello] (one day) | 16:39:56 |
hexa | I don't fancy the way it looks 😄 | 16:40:42 |
pentane ⭔ | Julia also has a syntax for vectorizing functions that looks something like this | 17:00:25 |
pentane ⭔ | basically, if you have a function callef foo, you'd normally invoke it as foo(x), but you can also invoke it for each member of a list by writing foo.([a, b, c]) which essentially is the same as [foo(a), foo(b), foo(c)] | 17:01:38 |
pentane ⭔ | makes scientific computing a whole lot easier | 17:02:00 |
piegames | That is a weird way to write a map ^^ | 17:04:51 |
pentane ⭔ | yeah, vectorization in julia basically is the same as map for 1D arrays :D | 17:05:26 |