<cole-h>
What's a good terminal calculator? I usually use bc, but I'd like floating point support
<bqv>
Theres also dc, iirc
abathur has quit [Ping timeout: 264 seconds]
<bqv>
Otherwise I just resort to python, heh
<cole-h>
I guess Python will do lol. Thanks.
<samueldr>
I use irb
CodeSpelunker has joined #nixos-chat
<infinisil>
cole-h: bc has floating point support?
<cole-h>
infinisil: Does not, which is why I was asking for another one
<infinisil>
cole-h: bc -l
<cole-h>
Oh, nice.
<infinisil>
Or just `scale=20` or however many digits you need
<cole-h>
The manpage isn't very forthcoming about what -l does lol. "Define the standard math library." is too vague
<infinisil>
It mentions below that it does that, but also sets the scale to 20 by default
<infinisil>
bc is my go-to calculator
<cole-h>
Oh
<cole-h>
Guess I should have read more of the manpage
<cole-h>
(x
<samueldr>
nah, reading the manpage is for other people
<cole-h>
To be fair, that's way the way down.
<colemickens>
next you're going to try to teach me to fish.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
abathur has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos-chat
<cole-h>
I remember a while ago that I could `cat` some "file" in /proc/$pid/ to see things like loaded fonts. Anybody happen to know which "file" I'm looking for?
<ivan>
cole-h: /proc/$pid/fd/
<cole-h>
Maybe, but there was a singular file that would contain many loaded assets in text form
<cole-h>
Oh, it was /proc/$pid/maps
CodeSpelunker has quit [Quit: CodeSpelunker]
rajivr has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
<ashkitten>
my laptop boots too fast :(
<ashkitten>
colemickens: any idea why waypipe says "fork failed"?
<colemickens>
I think I'm just done with sway for a while. I've had my fill of restarting multiple times a day because "reload" trashes my entire system.
<ashkitten>
oof
<colemickens>
No, I haven't had a chance to use waypipe.
<ashkitten>
didn't they fix that bug?
<ashkitten>
iirc sway 1.5 fixes that crash
<ashkitten>
ofc, might have other crashes, but...
<ashkitten>
oh, waypipe only complains on the version from nixpkgs-wayland
<ashkitten>
hmm
<colemickens>
the waypipe def i have might be old
<ashkitten>
how do i get the original package in my nixos config?
<ashkitten>
:( kitty does not work via waypipe
<ashkitten>
does it not support hw accel?
<colemickens>
I don't know, you'd probably have to re-import ${pkgs.path} with overlays set to [] and see if that wokrs
<ashkitten>
the gsoc blog post for waypipe says kitty should work :/
cjpbirkbeck has quit [Quit: Goodbye, take care]
<ashkitten>
hmmmm
<ashkitten>
using -n to disable gpu makes kitty work
<ashkitten>
ah, it says "Modifiers specified, but DRI is too old"
drakonis has quit [Quit: WeeChat 2.8]
<ashkitten>
oh huh, i realized that since wayland doesn't have an equivalent to GLX (applications connect to the GPU on their own) it might not be necessary to have explicit hw accel support in something like waypipe
<ashkitten>
aside from hw accel encoding
<clever>
i think the new way might be something based on drm?
<clever>
ive seen stuff about getting a token, then passing it to the drm master, to get permission to do something
ashkitten has quit [Quit: WeeChat 2.8]
ashkitten has joined #nixos-chat
cole-h has quit [Ping timeout: 260 seconds]
<Ashy>
has anyone else noticed that attempting to screenshare in teams just crashes teams?
<Ashy>
seems to be nixos specific as my coworkers Fedora install manages fine
<Ashy>
I've tested on nixos on a laptop with the Intel GPU and on a desktop with AMD GPU
<Ashy>
happens in both xorg and Wayland (gnome, i3 and sway)
__monty__ has joined #nixos-chat
<colemickens>
Termite doesn't have a maintainer / developers.
<colemickens>
"Termite doesn't have a maintainer / developers. " -- thestinger
<samueldr>
__monty__: I don't think that exists, but maybe ask anyway and at worst you'll scare the crap out of us
<__monty__>
Ok, so here goes, I have submodule.recurse set to true because I always forget to update submodules. This has been bliss. But now when trying to push my branch I'm getting errors relating to a submodule, something about src refspec: http://ix.io/2t6L
<samueldr>
ah, that looks like something I had once without submodules
<samueldr>
I don't exactly remember, but something about the ref pointing to something that didn't exist anymore at the remote?
<__monty__>
Hmm, my branch still exists at the remote. I did rebase. I'm not 100% sure what a refspec is though.
<samueldr>
yeah, git internals are confusing and always end up surfacing to the user without any warning :(
<bqv>
im a bit jealous of windows 10's android-like url handling system
<bqv>
i know linux has xdg-mime, but nothing uses it
<samueldr>
I also would have liked to be able to intercept any "URL navigation" (in apps that opt-in)
<samueldr>
so e.g. I could just open mpv for a youtube url
<samueldr>
including when it's clicked in a browser
<bqv>
yeah, exactly
<drakonis>
kde implements that
<__monty__>
Used to have a script for vimfx to open urls with mpv using link hinting.
<drakonis>
it is reasonbly interesting though
<bqv>
i could probably emulate it with nyxt
noonien has joined #nixos-chat
<noonien>
hello folks
<noonien>
oops, wrong channel ^_^
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
numkem7 has joined #nixos-chat
numkem has quit [Ping timeout: 256 seconds]
numkem7 is now known as numkem
<eyJhb>
Late night hacking again?!
<eyJhb>
:o
<eyJhb>
With more raft gameplay!
<bqv>
oh, fuck
<bqv>
my system invalidates the cache so much that nix-index breaks
<eyJhb>
Hooow?
<eyJhb>
Does not sound ideal
<bqv>
most of the packages aren't in the cache
__monty__ has quit [Quit: leaving]
parsley936 has quit [Remote host closed the connection]
abathur has quit [Quit: abathur]
<bqv>
oh wtf, haskell.nix overlays harfbuzz
polezaivsani has quit [Quit: ERC (IRC client for Emacs 26.3)]