!rMMJVYqfOEOLttKGza:nixos.org

NixOS Matrix Suggestions

425 Members
Actionable suggestions for the Matrix space. Please hold discussion in #matrix-discussion:nixos.org, then bring the suggestion and context here. | https://pad.lassul.us/Nix-Matrix-Suggestions#141 Servers

Load older messages


SenderMessageTime
19 Dec 2021
@artturin:matrix.orgArtturinNodeOS17:48:00
@artturin:matrix.orgArtturinoh no its real http://node-os.com/17:48:26
@jonringer:matrix.orgjonringerHow to install c dependencies? Or is it the concern of each package to bootstrap their native dependencies18:23:34
@kevincox:matrix.orgkevincoxThat was also my thought. I guess they probably have packages with C libraries compiled? I think it is actually common for many ffi libraries to include the C library in NPM, but I think the more common libraries like openssl are usually assumed to be available.18:26:50
@adis:blad.isadisbladis
In reply to @artturin:matrix.org
NodeOS
The first operating system powered by node.js and npm <- Maybe there is a reason for that..
21:31:09
@adis:blad.isadisbladisOh wow, this is a special brand of terrible: https://github.com/NodeOS/NodeOS/blob/master/bin/install-dependencies21:33:04
@adis:blad.isadisbladis
In reply to @jonringer:matrix.org
How to install c dependencies? Or is it the concern of each package to bootstrap their native dependencies
See the script above, basically the answer is to yolo it
21:33:58
@jonringer:matrix.orgjonringer.... So it just delegates it to some of the more popular actual package managers. Sounds incredibly fragile and prone to breakages.... Then again that describes most large npm packages21:53:51
@dandellion:dodsorf.asDandellion #offtopic:nixos.org 22:05:31
21 Dec 2021
@mic92:nixos.devMic92 joined the room.07:17:07
@mic92:nixos.devMic92#systems-programming:nixos.org (kernel, stdenv, low-level hacking, patchelf....) (open for other names as well)07:18:42
@grahamc:nixos.org@grahamc:nixos.org all set: #systems-programming:nixos.org 12:22:21
22 Dec 2021
@janne.hess:helsinki-systems.deJanne Heß
In reply to @mic92:nixos.dev
#systems-programming:nixos.org (kernel, stdenv, low-level hacking, patchelf....) (open for other names as well)
a tad bit late, but I would have suggested #nixos-lowlevel
12:41:24
25 Dec 2021
@freshgum-bubbles:halogen.cityfreshgum changed their profile picture.00:37:00
26 Dec 2021
@asymmetric:matrix.dapp.org.ukasymmetric left the room.22:24:30
28 Dec 2021
@v0id:nltrix.netv0|d joined the room.19:32:13
29 Dec 2021
@v0id:nltrix.netv0|d set a profile picture.10:14:59
@v0id:nltrix.netv0|d changed their display name from v0id to v0|d.10:15:05
2 Jan 2022
@zhaofeng:zhaofeng.liZhaofeng Li Hi, can I have the alias #colmena:nixos.org for #colmena:zhaofeng.li (https://github.com/zhaofengli/colmena), probably in the Community sub-space? Thanks! 01:45:54
@grahamc:nixos.org@grahamc:nixos.org Zhaofeng Li: yep, I'll chat with you there 01:49:38
@hexa:lossy.networkhexa #colmena:nixos.org still missing from the space 04:14:32
@adis:blad.isadisbladis I would also like to list #poetry2nix:blad.is 07:12:14
@adis:blad.isadisbladis (cc grahamc (he/him) ) 07:12:29
@grahamc:nixos.org@grahamc:nixos.org
In reply to @hexa:lossy.network
#colmena:nixos.org still missing from the space
I bet we could check this with the API. Any chance you could figure out how to do that and write a script or something?
12:21:36
@hexa:lossy.networkhexa m.space.child events on a room 12:48:33
@hexa:lossy.networkhexa * m.space.child events on a room hold the internal room id 12:48:44
@grahamc:nixos.org@grahamc:nixos.orgit'd be great to have a script which extracts all of the rooms in a space, recursively19:07:46
@grahamc:nixos.org@grahamc:nixos.org * it'd be great to have a script which extracts all of the rooms in a space, recursively through subspaces19:07:53
3 Jan 2022
@janne.hess:helsinki-systems.deJanne Heß
In reply to @grahamc:nixos.org
it'd be great to have a script which extracts all of the rooms in a space, recursively through subspaces
#!/usr/bin/env bash

set -euo pipefail

hs='https://helsinki-systems.de'
accessToken='' # must match the HS!

recurseSpace() {
	local mxid="${1}"
	local pathSoFar="${2:-}"
	# Get some basic info
	local roomName="$(curl -fsLH 'Accept: application/json' -H "Authorization: Bearer ${accessToken}" "${hs}/_matrix/client/r0/rooms/${mxid}/state/m.room.name" | jq -r .name || :)"
	[ -z "${roomName}" ] && return # wat
	local roomType="$(curl -fsLH 'Accept: application/json' -H "Authorization: Bearer ${accessToken}" "${hs}/_matrix/client/r0/rooms/${mxid}/state/m.room.create" | jq -r .type)"

	if [ "${roomType}" = m.space ]; then
		# It's a space - fetch children and recurse them
		for child in $(curl -fsLHH 'Accept: application/json' -H "Authorization: Bearer ${accessToken}" "${hs}/_matrix/client/r0/rooms/${mxid}/state" | jq -r '.[] | select(.type == "m.space.child") | .state_key'); do
			recurseSpace "${child}" "${pathSoFar}/${roomName}"
		done
	else
		# It's not a space - print it
		echo "${mxid} - ${pathSoFar}/${roomName}"
	fi
}

recurseSpace "!MKvhXlSTLGJUXpYuWF%3Anixos.org"
11:39:47
@janne.hess:helsinki-systems.deJanne Heß

this does however only work when you can see the room state and some rooms only show the state when you joined them which is why the list is incomplete for me:

!DBFhtjpqmJNENpLDOv:nixos.org - /NixOS/NixOS Systemd
!GsmxjHfeAYLsTEQmjS:nixos.org - /NixOS/Nix Matrix Discussion
!KEJUbONnoBpiYKGWEq:nixos.org - /NixOS/NixOS Gaming
!KqkRjyTEzAGRiZFBYT:nixos.org - /NixOS/Nix / NixOS
!RjBlCIbsLDzHBIzmaA:nixos.org - /NixOS/NixOS on ARM
!DBFhtjpqmJNENpLDOv:nixos.org - /NixOS/Teams/NixOS Systemd
!MthpOIxqJhTgrMNxDS:nixos.org - /NixOS/Teams/NixOS ACME / LetsEncrypt
!RROtHmAaQIkiJzJZZE:nixos.org - /NixOS/Teams/NixOS.org Infrastructure
!RjBlCIbsLDzHBIzmaA:nixos.org - /NixOS/Teams/NixOS on ARM
!UNVBThoJtlIiVwiDjU:nixos.org - /NixOS/Teams/Staging
!ZRgXNaHrdpGqwUnGnj:nixos.org - /NixOS/Teams/NixOS Security
!aGqRytqbCECitOFhbt:nixos.org - /NixOS/Teams/Release Management
!sBfrWMVsLoSyFTCkNv:nixos.org - /NixOS/Teams/OfBorg
!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org - /NixOS/Teams/NixOS Matrix Subsystem
!zghijEASpYQWYFzriI:nixos.org - /NixOS/Teams/Hydra
!VRULIdgoKmKPzJZzjj:nixos.org - /NixOS/Nix Hackers
!ZRgXNaHrdpGqwUnGnj:nixos.org - /NixOS/NixOS Security
!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org - /NixOS/Community/NixOS Matrix Subsystem
!kjdutkOsheZdjqYmqp:nixos.org - /NixOS/Nix / Nixpkgs / NixOS Dev
!rMMJVYqfOEOLttKGza:nixos.org - /NixOS/Nix Matrix Suggestions
!sgkZKRutwatDMkYBHU:nixos.org - /NixOS/Nix Offtopic
!tCyGickeVqkHsYjWnh:nixos.org - /NixOS/NixOS Networking
!tDnwWRNkmmYtMXfaZl:nixos.org - /NixOS/Nix Language
!MthpOIxqJhTgrMNxDS:nixos.org - /NixOS/Topics/NixOS ACME / LetsEncrypt
!UUYziobKGGxpovWyAN:nixos.org - /NixOS/Topics/Robotnix
!ayCRiZriCVtuCUpeLp:nixos.org - /NixOS/Topics/Nix Cross Compiling
!kyXJonZuBXCGzVwuSn:nixos.org - /NixOS/Topics/Systems Programming
!zghijEASpYQWYFzriI:nixos.org - /NixOS/Hydra
11:40:26

Show newer messages


Back to Room ListRoom Version: 6