jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-chat
drakonis2 has joined #nixos-chat
drakonis has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<ekleog>
,locate opencv.pc
<{^_^}>
Found in packages: opencv3, opencv.dev, python27Packages.opencv3, python37Packages.opencv3, python27Packages.opencv.dev, python37Packages.opencv.dev
das_j has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis2 has quit [Ping timeout: 276 seconds]
drakonis1 has joined #nixos-chat
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis1 has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.4]
Myhlamaeus has quit [Ping timeout: 244 seconds]
endformationage has quit [Quit: WeeChat 2.5]
eyJhb is now known as eyJhb
__monty__ has joined #nixos-chat
<sphalerite>
samueldr: the best kind of fml!
<sphalerite>
like when I started reimplementing autorandr because I didn't realise it had this fingerprinting ability
<eyJhb>
I have done worse. Once did a web scraber in Python to get some ZIP codes. After it finished and I got them all, I found the "download as csv" link....
<sphalerite>
lol
drakonis1 has quit [Remote host closed the connection]
<eyJhb>
Yeah, not my proudest moment. Is autorandr still working for you sphalerite ?
<sphalerite>
eyJhb: perfectly!
<eyJhb>
Great :D What would you have reimplemented it in btw.?
makefu has quit [Ping timeout: 258 seconds]
<sphalerite>
python. I'd really like for my go-to language for this kind of thing to become haskell, but alas, I haven't actually done enough of it for that to work well yet
<sphalerite>
and it's a vicious cycle: want to do something quickly -> use python -> fail to improve haskell skills
<eyJhb>
Was so happy when I read "go", then I reread :p - But yeah, I know that as well...
<eyJhb>
I do the same thing. I have also been known to do things in Python that could easily be done in Bash
<eyJhb>
Or things in Bash that should be made with a Makefile...
<sphalerite>
oh I use bash for lots of things where I really shouldn't use bash
<manveru>
adisbladis: speaking of which, apparently the location of the kdeconnectd executable has changed, so the service is broken with newer versions
<manveru>
adisbladis: fixed it with `ExecStart = "${package}/lib/libexec/kdeconnectd";`, but maybe you wanna make a PR for that :)
<adisbladis>
manveru: Thanks for the heads up :) I'll do it in a bit
Jackneill has quit [Ping timeout: 245 seconds]
alex_giusi_tiri has joined #nixos-chat
Jackneill has joined #nixos-chat
Jackneill has quit [Ping timeout: 268 seconds]
Jackneill has joined #nixos-chat
drakonis has joined #nixos-chat
<__monty__>
infinisil: Explain this dark magic.
<__monty__>
Why does blowing a raspberry make {^_^} obey you?
<joepie91>
__monty__: SD card holder works pretty okay btw
<joepie91>
I don't think the designer ever actually tested the tolerances, but eh, it works :P
<joepie91>
(or well, tested any of the mechanical properties really)
<__monty__>
Ah, that's the thingiverse risk I guess.
<joepie91>
yeah :P
<joepie91>
and like, I know for a fact that I can print flush objects on my printer
<joepie91>
(have printed a screw and a replacement knob for my tap before, both of which fit perfectly flush)
<joepie91>
so it pretty much has to be a design error
<joepie91>
might try to do an updated design some time
<__monty__>
Or the author's machine is calibrated differently enough?
<joepie91>
__monty__: that's still a design error. it's the job of the slicer to adjust the model for a given printer, that shouldn't be encoded in the STL :)
<joepie91>
(both the aforementioned screw and knob were designed on exact measurements)
<cransom>
i feel like i should fade the ws2812 string on my window to half brightness.
<sphalerite>
joepie91: I'm starting to want to 3d-print some stuff myself. :D
<joepie91>
cransom: ++
<joepie91>
sphalerite: do eet :P
<sphalerite>
joepie91: as it happens, a colleage of mine is bringing his 3d printer to work tomorrow :D
<joepie91>
heh, I just have this one sitting at home
<joepie91>
so much easier, don't need to worry as much about whether I'll be around for long enough to monitor my print
<joepie91>
(as would be the case when printing at $hackerspace)
jtojnar has quit [Ping timeout: 245 seconds]
jtojnar has joined #nixos-chat
alex_giusi_tiri has quit [Quit: Leaving.]
endformationage has joined #nixos-chat
<ashkitten>
lol, speaking of language choices for small scripts.. i haven't found one i like yet. mostly because i'm so disinclined to write loops in my code since i discovered the joy of chaining iterators
<ashkitten>
python doesn't really do iterator chaining
<ashkitten>
it's more of a function programming thing
drakonis has quit [Ping timeout: 250 seconds]
Myhlamaeus has joined #nixos-chat
<evanjs>
Tried building off master to enable a module not yet in nixpkgs-unstable... realized just how much I _don't_ miss Gentoo...
<makefu>
evanjs: just for trying a module i think it is easier to import the one new module via <nixpkgs-master/nixos/modules/...>
<makefu>
nobody likes to wait for computers
<evanjs>
makefu: I tried that but it has a kernel driver and python packages it requires
<joepie91>
ashkitten: JS people need to hurry up and add the pipeline operator to the language
<evanjs>
joepie91: don't forget null coalescing/propagation... except it's all done AFAIK. Just feature-gated ATM
<joepie91>
evanjs: yeah, that's the other one on my "gief yesterday pls" list
<joepie91>
:P
<joepie91>
I think the pipeline stuff is still more in flux?
Myhlamaeus has quit [Read error: Connection reset by peer]
<ashkitten>
hm
<ashkitten>
i guess we've got a pretty decent syntax with assigning the result of a block, wherein you can do whatever you like
<ashkitten>
even if the pipeline operator might seem slightly more ergonomic
Guanin has joined #nixos-chat
<sphalerite>
ashkitten: turtle?
<ashkitten>
sorry what?
<evanjs>
ashkitten: yeah that's the general conclusion I've seen across multiple RFCS now. This, ternaries, etc
<sphalerite>
ashkitten: turtle is a library for haskell, for building shell-script-like things (hence the name)
Myhlamaeus1 has quit [Remote host closed the connection]
<ashkitten>
evanjs: "the current syntax is more powerful, though slightly more verbose" is my revised take now
<ashkitten>
sphalerite: oh
<evanjs>
Mostly because of how expressive/multi-functional just plain old blocks can be in Rust
<evanjs>
And yeah
buckley310 has quit [Remote host closed the connection]
buckley310 has joined #nixos-chat
Myhlamaeus1 has joined #nixos-chat
<kraem>
curious; anyone running wayland (sway)? i know everyone has their own definition of what makes a system working as a daily driver or not. but for the people running it; is it ready for to run as a daily driver? what are its biggest flaws?
<waleee-cl>
kraem: do you need x-forwarding in ssh?
<kraem>
nope
<samueldr>
do you use features that stem from the way X is less secure than wayland? e.g. using synergy (or its fork, barrier?)
<samueldr>
not sure what's the state of synergy-likes on wayland as of today though, maybe it's better
<samueldr>
do you use software that capture the screen, e.g. web browser screen sharing
<waleee-cl>
kraem: sounds like you'd probably be good to go then
<samueldr>
though that's something that can be worked around by starting a nested X session
<kraem>
hm yeah i share my screen on slack from time to time
<averell>
and what are the advantages, other than being more modern?
<emily>
better API that allows for better performance, better hidpi/input (e.g. scroll inertia) support, better security, ...
<emily>
"not being the horrifying ball of mud that Xorg is" counts for a lot by itself tbh
<samueldr>
the input thing, I'm not sure, isn't that only libinput?
<samueldr>
though I wouldn't be surprised that stuff on wayland make this easier to handle than it would on X11, making it so a toolkit doesn't implement it on X11
<emily>
as I said, gtk/xorg doesn't implement it and gtk/wayland does
<emily>
it's not theoretically impossible to handle for the former but I don't think anyone is chomping at the bit to implement it
<emily>
doing it in the driver was ruled out for the reason I said though (focus changing)
<kraem>
would i still set keyboard layout in services.xserver.layout? can't find any sway/wayland options related to it
<emily>
nope, `man sway-input`
<emily>
input ... xkb_layout ...
<emily>
generally speaking anything that was done by xserver on x11 is done by the compositor in wayland
<kraem>
alright cool
<kraem>
the option to enable libinput is under services.xserver.libinput, do i need to enable it some other way or is it baked into wayland somehow?
<samueldr>
hm! interesting, with gtk3 from unstable (didn't verify on stable, the demo app isn't there) kinetic scrolling works alright on X11 both from touchscreen and touchpad
<samueldr>
env -i to make sure I have nothing special in my environment
<samueldr>
though I do have libinput enabled
<samueldr>
and I have double-checked with xev that it's not some driver-level horror with multiple events
<samueldr>
(though AFAIK it doesn't exist for touchscreens)
<samueldr>
I wonder if it would differ under wayland
<emily>
hm, odd
<emily>
I remember it working for touchscreens but not touchpads, maybe
<emily>
Firefox's kinetic scrolling is definitely Wayland-only, but maybe my info is outdated for gtk3
<joepie91>
anyone here happen to have some resources on designing a dependency specification mechanism for modules within a codebase? that is, a runtime dependency between two components in different modules, not an install-time package-manager-type dependency
<joepie91>
looking for something language-agnostic
<joepie91>
(think plugin systems)
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-chat
<kraem>
just tried sway out, seems nice. must try it out when i have access to an external screen to test some dual hidpi screens and hot plugging out. seems like one has to find some new workflows replacing some applications though.. just when i had a relatively good setup going 🤦 :)
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-chat
<samueldr>
are there relatively unknown wayland compositors / DE / tools or things that I should be looking out for, that I wouldn't find through a usual search?
<samueldr>
I still haven't used wayland, though want to give it a good try at one point
<ldlework>
I'm biased, but I think QTile is the best TWM there is.
Myhlamaeus1 has quit [Remote host closed the connection]
<evanjs>
Having a derp moment. in the snippet `{config, pkgs, lib, ...}`, lib would be referred to as an import, correct?
<joepie91>
evanjs: no, it would be a parameter/argument
<joepie91>
actually I think there's a Nix-specific term for it
<samueldr>
it's the set pattern form of function signatures
<evanjs>
Ah alright
<evanjs>
A few instances I'm seeing just leave the word out. e.g. "remove unnecessary makeWrapper". I guess that works 😝
<emily>
samueldr: there are certainly options beyond gnome/sway (way-cooler is one), but the increased responsibilities of the compositor make it a much bigger project than writing a small x11 wm is
<emily>
samueldr: I understand that sway is looking to support other "WMs" on top of its core in the future
<samueldr>
yeah, that's what I figured :)
<samueldr>
though I was still curious in looking at all new wayland things
<samueldr>
unknown ones especially, sometimes there are hidden gems!