<gchristensen>
it was really useful for things where you didn't really want to share context
<gchristensen>
for example if you had a "guy" for anything specific, you didn't need to say anything other than Yo
<infinisil>
I like the idea
<infinisil>
Feels unixy
<samueldr>
right, useful to call up the plumber
<infinisil>
Right..
<gchristensen>
coincidentally that sort of thing is a useful time to have fully encrypted metadata, in case your landlord learns you called the plumber for the third time this month
<infinisil>
Well when those pipes need some cleaning it can't wait!
Dotz0cat has quit [*.net *.split]
leonardp has quit [*.net *.split]
Dotz0cat has joined #nixos-chat
leonardp has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<infinisil>
Aw crap, I ate too much
<infinisil>
I'm very bad at estimating good portion sizes
<samueldr>
aw crap indeed
<infinisil>
Heh
<infinisil>
And it wasn't even that good
<samueldr>
huh, I thought poo was one of the four humours, and was about to make a pretty bad pun... but it isn't
<samueldr>
so we know it, poop jokes are not humorous
slack1256 has quit [Remote host closed the connection]
lunc has joined #nixos-chat
bqv has quit [Quit: WeeChat 3.0]
bqv has joined #nixos-chat
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 264 seconds]
tilpner_ is now known as tilpner
aleph- has quit [Ping timeout: 264 seconds]
aleph- has joined #nixos-chat
<infinisil>
Would be surprised if that paragraph of a 0-point answer at the bottom of the cryptography stack exchange is the only place this has ever been mentioned :P
<infinisil>
"The accomplishment required the effort of no less than 91 postdoctoral researchers and 12 Ph.D. students from 19 different nations over a period of almost 12 years."
<infinisil>
Yeah, and most of it is way over my head
Peetz0r has quit [Quit: Doej!]
Peetz0r has joined #nixos-chat
<aleph->
Crypto stuff?
<siraben>
aleph-: the vitamin b12 synthesis presumably
<aleph->
Ah
<samueldr>
it sure would work better if that damned programmation language wouldn't allow me to do silly crap
<samueldr>
like using memory that isn't initialized or anything like that
<siraben>
samueldr: which language?
<samueldr>
C
<samueldr>
I hate writing C
<siraben>
what are you writing?
<samueldr>
glue/driver code for a thing that uses DRM
<siraben>
strings in C are the worst
<samueldr>
but before you suggest anything else
<samueldr>
it has to be C or else I need to re-implement way too much
<samueldr>
well, I guess that one language that ends up compiling down to C that I forgot the name of could be nice
<siraben>
Hm, but many languages have FFIs no?
<siraben>
Zig?
<samueldr>
sadly, not that one :)
<siraben>
I wish Zig compiled with Nix on darwin but we have an outdated SDK >.<
<samueldr>
another one that is much much simpler
<samueldr>
"simpler"
<siraben>
cython
<samueldr>
isn't cython python?
<samueldr>
or another thing that will be SEO'd out of existence by python's cython?
<siraben>
hmm
<samueldr>
yeah, many languages have FFI
<siraben>
cython is python, yeah
<samueldr>
but it has to integrate into an existing thing
<samueldr>
really, it has to be C (or compiled down to C, working with loads of C)
<siraben>
Haskell actually has a good C FFI, heh, probably out of necessity
<siraben>
but it's nowhere comparable performance wise to C
<Ke>
language mostly needs to have ffi for c to hook up with libraries
<samueldr>
so gross, that driver/glue code also does not really do good error management, so things failed early on in a controlled manner but the code continued to execute and tried to render to [insert zalgo here]
<Ke>
haskell ffi may be good, but it's not like it's really the language that thrives in ffi
<siraben>
samueldr: i'd do it in Rust, heh
<samueldr>
ugh
<siraben>
but then you'd have to wrap all the errors and whatnot
<samueldr>
I said I'm bound to do C here
<siraben>
ah
<Ke>
well at least in userland error wrapping is easy in development phase, as you can just visibly bail out
<samueldr>
hm?
<Ke>
for Rust
<Ke>
not C
<Ke>
I guess I do kind of similar with asserts on C, but the nasty part is asserts can be compiled out
<Ke>
you can obviously wrap abort in EXPLICIT_ASSERT
<siraben>
Emil Karlson: yeah, Rust error handling is ++
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has quit [Quit: Goodbye]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
<sphalerite>
samueldr: cython ≠ cpython :)
<sphalerite>
I think cython was suceeded by pyrex?
<sphalerite>
ok no, they're different things that partly overlap in terms of usecases.
* samueldr
continue with deep dive into browser history
<samueldr>
right, no need to, I'm sure it's that one
ece3 has quit [Read error: Connection reset by peer]
ece3 has joined #nixos-chat
bqv has quit [Quit: WeeChat 3.0]
bqv has joined #nixos-chat
<supersandro2000>
The most German thing the last days: Instead of using a broom to get the last little snowflake of your runway people just use their snow shuffle upside down and make really loud noise for half an hour for each neighbor
<supersandro2000>
also them: if you mow your lawn half an hour into lunch time or on a holiday they come over and threat you to call the police because disturbance of peace
<supersandro2000>
me setting here with headphones and loud music and still clearly can listen to that neighbor that wants his driveway completely wiped off while it is snowing
__monty__ has joined #nixos-chat
<hexa->
mittagsruhe is not a thing anymore
<LinuxHackerman>
I think that depends on where you are.
<supersandro2000>
hexa-: I just checked that and it is the case
<ar>
supersandro2000: not sure if it'll make you feel better, but it's not just germans who do this
<ar>
supersandro2000: poles do to
<ar>
too*
<__monty__>
Sounds like siesta?
<supersandro2000>
siesta but now with lawn mowing
<supersandro2000>
ar: no not really
<__monty__>
Oh, that's frowned upon here, especially on sunday.
<hexa->
people are finally home on weekends
<hexa->
time to tend to your house
<hexa->
lmao, not on a sunday
<hexa->
pls
<srk>
heh, I've seen many people cleaning up houses and garages when pandemic started
* srk
wants to move out of the city due to noise polution and people not giving a damn
<supersandro2000>
it has its advantages when people don't give a damn
<supersandro2000>
not the I make as much noise as I can but I don't care what my neighbors are doing as long as their are somewhat quiet
<supersandro2000>
everything has its advantages
<supersandro2000>
but the neighbors that threaten you with the police because you mow the lawn and they live like 3 streets away...
<__monty__>
I think the sparser the population the less people care to interfere with what you're doing.
<supersandro2000>
but then they know you all
ece3 has quit [Read error: Connection reset by peer]
ece39 has joined #nixos-chat
ddima has quit [Ping timeout: 256 seconds]
ddima has joined #nixos-chat
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
<sphalerite>
joepie91: the microscope has arrived, I can take some sample pictures later if you like :)
<joepie91>
sphalerite: would be interesting to see :)
<ldlework>
sphalerite: you getting into microscopy?
<sphalerite>
ldlework: well, if you can call "decided to spend part of an amazon voucher on a €30 USB microscope" that, yes
<ldlework>
oh
<ldlework>
I thought maybe Journey to the Microcosmos finally inspired someone I knew :P
<supersandro2000>
if you are forwarding your configs over ssh and instead of forwarding no vim config it forwards an empty one and you are thinking since months why the vim in there is so strange and does not respect any configs...
<eyJhb>
Sounds cool srk ! RPIs are fun to host on. - I really want to get going with SNM, but I first need to decide on which domain I should use for it. Thinking of having a box for my eyjhb.dk domain, where I will start to self host my blog, etc. as well
<srk>
or eyjhb.name :)
<srk>
sdcards sucks tho, I'm running this pi4 using USB3 flash drive
<eyJhb>
Well, I only own .dk atm. :D No need to add ever more domains to my payment :p
<eyJhb>
Had some "gold card" sdcards when I ran 3-4 RPi
<eyJhb>
But yeah, they are not great.
<srk>
we're using industrial grade ones in LoRaWAN gateways and IIRC one died recently, despite in-memory logging
<srk>
(don't gc your pi images.. :))
<gchristensen>
closing the lid on my earbud case crashed the software I was watching a video in
<gchristensen>
this is the dream of software integration
<abathur>
it compares how long lilgit, gitstatusd, and a plain `git status | parse` approaches each take to extract a status against a nixpkgs clone, with 1x, 10x, and 100x runs to make it a little easier to see the startup-time impact
<abathur>
ah hmm
<supersandro2000>
seems to be much faster
<abathur>
I hate that thing
<supersandro2000>
as I said rs-fs-monitor was a bit hicky at times
<abathur>
yeah
<supersandro2000>
and that it relies on watchman is also semy cool
<supersandro2000>
and turning it on globally didn't always work
<supersandro2000>
so I needed to do a few kill -9 watchman
<abathur>
the RAM number I'm reporting is a bit of a white lie, the current ~daemonization model uses coproc, so there's actually 1 daemon process per terminal right now
veleiro` has joined #nixos-chat
<supersandro2000>
as long as it won't stop working after a while and spamming 5 instead of one
<supersandro2000>
or leaving daemons behind like gitstatusd
<abathur>
suitability may depends some on what all is in your prompt, it's literally just branchname | 'detached @ 11-chars-of-sha', no color if clean, red if dirty
<srk>
neat!
<srk>
I wanted to do something about my prompts lagging in git repos recently
<supersandro2000>
I like to have unstracked and diff stats
<abathur>
ah, yeah
<abathur>
too minimalist for your case, then :)
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
veleiro` has quit [Ping timeout: 256 seconds]
<jD91mZM2>
I'm at a point in my config where I feel like deleting it all and redoing it from scratch. It's just that messy
<gchristensen>
imo it is fundamentally a messy thing so just move on and accept the reality
<jD91mZM2>
I guess sometimes that's the way, but sometimes the config just bites you too often for it to be a coincidence
Peetz0r is now known as Peetz1r
<jD91mZM2>
If I fear getting new machines because I'll have to work with the config, that's a problem
<gchristensen>
maybe less abstraction, more copy-paste is a good fit
<gchristensen>
the abstractions imo only really work well if you have well founded reasons to abstract them
<gchristensen>
for me, I only have a few machines, and I play and meander too much for abstraction to actually make sense
<jD91mZM2>
Yeah, definitely. I'm thinking of stripping down the configuration to the core: Just have a list of "modules" that just do one thing in a very opinioated way. For machines, I can install a number of modules that I want to keep, and then copy paste the rest where the module doesn't 100% fit
<gchristensen>
until there is a compelling reason to make something abstract, or a module
<sphalerite>
joepie91: so the sensor only seems to be able to do 640x480, and the physical snapshot button behaves… oddly. And it's not easy to hold steady while adjusting the focus. But it does a fair enough job overall. Not really any worse than I expected.
<sphalerite>
and it sure does have a weird USB plug :D
Peetz1r is now known as Peetz0r
Peetz0r is now known as Peetz1r
<gchristensen>
when I get a new machine, I copy the old system's directory and hack from there :)
<jD91mZM2>
Personally I'm way too obsessed about abstracting shit and having my config "optimal". And although I know I should ignore this, my brain won't seem to rest until I fix it once and for all
<jD91mZM2>
I think that's a good way to do it, but if you have something that is shared between 99% of machines, just pop it out into a file and include it where used
<gchristensen>
99% is only achievable if you have at least 100 machines :)
<gchristensen>
and if you have approaching 100, you probably have good foundations and reasons to abstract
<__monty__>
Why does twitter tell me "This is not available to you" every time I click a link?
<__monty__>
I always have to reload.
<sphalerite>
__monty__: cookie settings?
<jD91mZM2>
gchristensen++ is this bot still active
<{^_^}>
gchristensen's karma got increased to 410
<jD91mZM2>
yee
* jD91mZM2
goes to eat
<__monty__>
Also, why is it so hard to find what tweet that's responding to?
<__monty__>
sphalerite: Maybe? I have it in a multi-account container though not really aggressively blocking twitter cookies.
<abathur>
__monty__: twitter is flaky sometimes; I've only seen that once recently, but I have been plagued by it before; I've also been having a problem with twitter just not working in safari after long uptime, though I haven't seen this in the past few weeks so it might finally be fixed...
<abathur>
I've wondered, but not tried to investigate, if they have a serviceWorker misbehaving or something
<__monty__>
I'm just stumped that such a big company fails to get such superficially simple things working right.
<sphalerite>
joepie91: hm, it's fascinating but difficult to look at my iris :D
<sphalerite>
hrm, now I have a not-quite-empty juice bottle which has been growing mould and which I didn't throw away because I wanted to look at the mould under the microscope. But the bottle isn't so optimal for viewing it. But I also don't want to open the bottle. WHAT TO DO D:
<__monty__>
Not sure whether you want me to state the obvious but obviously you catapult it out into a field or desert then equip a drone with the microscope and look at it that way, duh.
<sphalerite>
drones: The Solution to Everything.
<ldlework>
The source and solution to all life's problems.
<srk>
not AI?
<srk>
reminds me I need to obtain driving license for drones /o\
<sphalerite>
AI drones please
<abathur>
CI, man, CI
<sphalerite>
zfs destroy -r thirtythree/backups # I'm feeling very hesitant to run this command
<gchristensen>
can libnotify / notify-send / something like that / mako / ... handle notifications whic hinvolve a question?
<sphalerite>
gchristensen: yeah just put a question mark in the message.
<sphalerite>
gchristensen: more seriously, a notification can have "actions", which are indeed probably what you want
<sphalerite>
gchristensen: so no free-text questions AFAIU, but definitely multiple-choice
<sphalerite>
notify_notification_add_action
<gchristensen>
it looks like I'd need to build a tool to do this, I'm not seeing a cli way to implement this
<sphalerite>
I don't think that's exposed in notify-send tho— yeah
<gchristensen>
I can write shell in python just as well as in bash, thank you :P
leah2 has quit [Ping timeout: 256 seconds]
lassulus has quit [Ping timeout: 256 seconds]
leah2 has joined #nixos-chat
evanjs has quit [Ping timeout: 256 seconds]
evanjs has joined #nixos-chat
lassulus has joined #nixos-chat
slack1256 has joined #nixos-chat
<sphalerite>
Hm, I used a really nice tool a while back that was able to recognise and tag my untagged music files… but I can't remember the name :( does anyone know such a tool?
<gchristensen>
can abcde do it?
<sphalerite>
iirc that uses an ID of the CD it's ripping (which I think is based on the precise track lengths) to identify the CD and tag the trakcs
<sphalerite>
that won't work for the files I'm trying to tag, which are rather mix-n-match :/
<sphalerite>
(it is a great tool though!)
<gchristensen>
ah I thought it used duration and hashes as hint
<gchristensen>
oh
<sphalerite>
it was in nixpkgs I'm pretty sure
<__monty__>
Beets?
<supersandro2000>
beets can do ID matches and show suggestions based on other more smart things
<sphalerite>
yeah beets is nice, though I don't think ti was beets either :/
<sphalerite>
hm
<sphalerite>
well, it seems very likely to me that the mechanism that tool used was acoustid, and I don't think the tool I used is listed on https://acoustid.org/applications
<infinisil>
"two-hour test window that opens at 4 p.m. EST"
<infinisil>
(Windows starts in 10 minutes)
slack1256 has quit [Ping timeout: 264 seconds]
<infinisil>
s/Windows/Window
<samueldr>
infinisil: Windows indeed starts in 10 minutes
<infinisil>
This interview feels awkward to me
<adisbladis>
gchristensen: Lol
<adisbladis>
Almost everyone I know that's on wayland end up on gnome sooner or later I feel like
* colemickens
hate-reads the -dev chat
<gchristensen>
adisbladis: in this case it isn't about wayland, but about tiling in general
<gchristensen>
I am a little surprised that gnome doesn't manage brightness of external monitors
<gchristensen>
I'm having all these funny little issues from the very peculiar way I had my system
<samueldr>
I have this growing concern, that wayland will end up creating shards of monocultures
<gchristensen>
I feel it already has
<samueldr>
because of "feature support" that has to be replicated into every compositor
<etu>
It has...
<samueldr>
X11 is frelly composable of tools
<samueldr>
freely*
<etu>
wlroots is kinda good in that regard since it unifies things a bit
<samueldr>
let's say my fear is that it will _stay_ that way
<samueldr>
the design makes it it's the easy path forward
<etu>
Then I had hopes that more things would use Mir as a wayland compositor to... be the X11 for wayland :p
<samueldr>
Mir should have rebranded, people will only think of Mir as "that not wayland"
<eyJhb>
colemickens: Spread love not hate?
<gchristensen>
that was fun ... I closed one (1) alacritty window and all of them (about 10) were terminated
<gchristensen>
gnome is truly like a totally different operating system
<__monty__>
Wayland has come across to me as "It's too hard to implement all of X11 correctly and performantly, so we're going to implement only the core and leave the hard parts for each WM/DE to deal with."
<etu>
That's pretty much it, but at the same time it's kinda nice to have a protocol that doesn't end up doing things like some of the things that ended up in X.org at some point, like the printer server that used to be there.
<samueldr>
the thing is "we were using X11 wrong"
<colemickens>
eyJhb: I'm pretty frustrated but would rather write something longer form about it than whine about it right now
<samueldr>
it wasn't intended for toolkits to throw pixels into framebuffers and show them
<samueldr>
but rather, build applications intelligently given primitives
<infinisil>
About T-30 minutes
<samueldr>
but those primitives had issues (AFAIUI) so it was worked around by throwing pixels on the display
<eyJhb>
colemickens: about the volth situation I assume?
<joepie91>
though X did gain additional APIs to deal with this new usecase
<infinisil>
eyJhb: I don't think so, I'm expecting a big vroom!
<joepie91>
so it's not exactly misuse of the system
<samueldr>
even things like themes in practice were "transparent" to where the app was coming from
<eyJhb>
I don't even think I will bother this time
<eyJhb>
I have missed 2 vrooms.....
<samueldr>
so I could `ssh -Y serverone xterm` from machine A, and it respects theme from machine A; do it from machine B and it respects theme from machine B
<gchristensen>
omg there are so many incoherent features going on
<infinisil>
I'll try to ,launch just before it starts :)
<eyJhb>
And one of them was even a link I sent.......
<samueldr>
since the theme is part of the server (where the windows are displayed)
<eyJhb>
:D
<eyJhb>
Thanks
<gchristensen>
like Settings -> Internet Accounts where I can add more accounts but not delete ones that apparently exist and are apparently in use by a bunch of applications
<samueldr>
joepie91: yeah, work arounds :)
<eyJhb>
Would be nice! Trying to work on my NixOS module then! Webhooks, will be awesome (and basic)
<gchristensen>
and the latency of even just typing in to a terminal is noticably high, oh god
<eyJhb>
gchristensen: You get used to all that! I also have screen tearing when I scroll in my browser :p
<gchristensen>
great!
<joepie91>
somehow every time people talk about wayland, my decision to wait it out is reinforced
<samueldr>
same :/
<samueldr>
last time I looked for real it looked like the only passable solution would be to implement my own compositor (using that monoculture'd lib)
<samueldr>
because nothing would work close to how I work
<samueldr>
and... frankly... that's not a passable solution
<samueldr>
or else go to gnome and hate every second of it
<ashkitten>
i started using wayland because sway worked better for general usage than i3 and has some extra features
<samueldr>
yeah, you're lucky, there was a post of (probably) most of your WM workflow
<ashkitten>
but admittedly it's come with some sacrifices of other functionality until those get implemented in wayland
<ashkitten>
like i have to switch to x11 to do vr stuff
<ashkitten>
because drm leasing is not possible yet
<eyJhb>
Wonder if DisplayLink works for wayland
<samueldr>
oh, and then there's my current workflow of using x2go to connect to my workstation
<samueldr>
_that's_ going to be hard to change
<samueldr>
at the very least I can still use x2go if the clients are wayland
<infinisil>
Oh are you using the x2go server module from nixos?
<samueldr>
no
<samueldr>
uh
<samueldr>
apparently yes?
<samueldr>
I thought it was just magically happening somehow
<samueldr>
but I have a note in my config that it's doing some not-good stuff apparently
<infinisil>
Yeah it's putting stuff in /usr/local/bin..
<infinisil>
I discussed this when it was added, apparently there's no easy way around it
<samueldr>
I seem to remember so too
<samueldr>
though, at the price of being incompatible with other x2go clients, it could be set to another location, but still requires "impure" locations
<gchristensen>
my probably unpopular opinion is we don't need to accept those packages
<samueldr>
or else you'd need the exact same store path both ways
<samueldr>
the thin client use case sucks in Linux
<samueldr>
there's apparently no one working on anything remotely good
<samueldr>
x2go is basically the best, and it's not perfect
<samueldr>
and it looks like everyone is working *against* making it easier
<samueldr>
I don't mean in NixOS
<samueldr>
I mean generally
<samueldr>
I remember around 2008 I was using NX client/server
<samueldr>
it was working better than the current x2go
<samueldr>
(which is based on those same technologies)
<__monty__>
>.<
<samueldr>
and somehow the Linux desktop experience only devolved from there
<samueldr>
the Linux *remote* desktop experience I should have said
<{^_^}>
Big static fire test in about T-6 minutes! https://www.youtube.com/watch?v=ELHOXi2t3lk: Ping for space stuff (edit this command to add yourself, see ",help"): infinisil Taneb ldlework etu philipp[m] eyJhb gchristensen __red__ red red[evilred]
<{^_^}>
SOON https://www.youtube.com/watch?v=ELHOXi2t3lk: Ping for space stuff (edit this command to add yourself, see ",help"): infinisil Taneb ldlework etu philipp[m] eyJhb gchristensen __red__ red red[evilred]
<infinisil>
Ohh it starts
<eyJhb>
Vroooooooooom
<infinisil>
VROOOM
<eyJhb>
Smoooke
<eyJhb>
I wish the structure would start to fly up...
<infinisil>
Damn these engines look sweet
<eyJhb>
*just a little*
<infinisil>
Lol yes
<infinisil>
I'm sure it moves at least a little
<gchristensen>
that is a lot of steam
<infinisil>
Oh yeah that's steam eh
<gchristensen>
yea
<infinisil>
Partly at least
<infinisil>
Aw, shutdown already
<gchristensen>
what was the goop spraying out next to all the engine nozzles before and after launch
<eyJhb>
I have no clue. My dumb brain wants to say fuel, but that would be insane :p
<eyJhb>
Cooling?
<eyJhb>
`A water spray system provides a cushion of water directed down into and around the primary flame hole beneath the solid rocket boosters, and a secondary water spray blocks the path of pressure waves to decrease the intensity of pressure at the launch site` ?
<infinisil>
Might just be water with a bit odd lighting?
<infinisil>
Well nothing exploded, and they ran for 1 minute, good enough :P
<steveeJ>
gchristensen: just stumbled upon this and thought of you as you were doing similar things to contain your desktop apps: https://github.com/corpix/nix-cage
<gchristensen>
uhoh
<infinisil>
Apparently SpaceX will have a starship SN9 flight in ~43 hours :o
<gchristensen>
this looks great!
veleiro` has joined #nixos-chat
<steveeJ>
I'm hoping that we as a community agree on taking something like this on as a defacto standard for how we enclose GUI and CLI apps
<cole-h>
Does anybody know if it's possible to restart the user systemd daemon without rebooting? e.g. adding groups does not take effect until after a reboot (even though relogging will show the new group in the output of `groups`)