supersandro2000 has quit [Disconnected by services]
zonyth has left #nixos-chat [#nixos-chat]
supersandro2000 has joined #nixos-chat
<samueldr>
running software considered harmful
rajivr has joined #nixos-chat
konubinix has joined #nixos-chat
Raito_Bezarius has quit [Remote host closed the connection]
Raito_Bezarius has joined #nixos-chat
slack1256 has joined #nixos-chat
slack1256 has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
matthewcroughan has joined #nixos-chat
<ashkitten>
samueldr: wait, so it depends on when the file was last changed, not the path?
<ashkitten>
and therefore anything in the nix store would never be invalidated?
<aaronjanse>
I think it's the other way around; things in /nix/store would almost always be invalidated due to timestamps
<ashkitten>
oh
<ashkitten>
how's that make sense tho
<samueldr>
aaronjanse: it should be the other way around
<samueldr>
but the cache is fresher than the nix store path!
<samueldr>
so there's no need to update the cache!
<samueldr>
I haven't validated why it didn't evict things
<samueldr>
but definitely things weren't being eviceted
<aaronjanse>
Uhh, double "other way around"? Will the /nix/store be preferred?
<samueldr>
evicted*
<samueldr>
Qt sees there's a load action for qrc:///main.qml, it checks the cache, sees the cache is fresh enough (fresher than the binary) loads from cache
<clever>
matthewcroughan: vlan 35 is internet service, dhcp gets you a public ip, NAT, done
<clever>
matthewcroughan: vlan 34 is tv service, dhcp gets you a 10.x.y.z ip, configure multicast routing and QoS, and you have tv service (i have yet to reproduce that config...)
<clever>
matthewcroughan: i didnt document it, but the official router, has a 3rd vlan, that is BRIDGED into the PRIVATE side of the lan, making the NAT/firewall effectively useless
<clever>
in theory, the ISP could route that vlan to a VM in a rack, and that VM is essentially on the inside of my network
<matthewcroughan>
clever: you're insane, but you knew that already
<clever>
matthewcroughan: i'm insane, because of how i figured that all out :P
<clever>
i configured 2 linux machines, to emulate both the "internet+modem" side, and a normal computer
<clever>
then i put the isp router in the middle
<clever>
so its effectively in a test env, with a fake internet on the WAN port
<clever>
then i probed it from both directions at once, and looked at what it did
<clever>
matthewcroughan: also, for more evidence of my insanity: https://youtu.be/u7DzPvkzEGA what do you see here?
<matthewcroughan>
clever: I have got no idea
<clever>
matthewcroughan: no pre-existing drivers or firmware was involved in generating that video
<clever>
that is all code i wrote (or copied a bit), directly interacting with the hardware
Guest84 has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
slack1256 has joined #nixos-chat
tomberek has quit [Ping timeout: 240 seconds]
slack1256 has quit [Remote host closed the connection]
Guest84 has quit [Quit: Connection closed]
waleee-cl has quit [Quit: Connection closed for inactivity]
<lovesegfault>
so I was in bed with my wife tonight and I farted
<lovesegfault>
so she elbowed be in revenge
<lovesegfault>
but I was really close to the edge
<lovesegfault>
so I fell off
<lovesegfault>
and in the process I kicked one of those wall COAX plugs
<lovesegfault>
and now I have a big cut on my foot :(
<aaronjanse>
Oh no
<lovesegfault>
lessons learned:
<lovesegfault>
1. don't fart
<lovesegfault>
2. cover your coax plugs!
<Ke>
needs more causal chain
<Ke>
what did you eat before the fart
<lovesegfault>
kimchi fried rice
<Ke>
did you properly participate in plug standardization to make it safer
<lovesegfault>
no :(
<lovesegfault>
the coax really _is_ sharp
<ldlework>
Anyone like to see some AI art I have been working on?
<srk>
nice. I find this ability to mix languages a killer feature
<ldlework>
I wonder if the marketing team would be interested in Babix
cole-h has quit [Ping timeout: 246 seconds]
* ldlework
shrugs
<ldlework>
Babix + crdt.el :)
<srhb>
Oh, that's a really cool showcase.
<srk>
combined with nix it makes a lot of sense for reproducible orgs / research
<ldlework>
I should probably just add crdt.el to the Babix distribution.
<ldlework>
collaborative co-editing out of the box
<siraben>
why are you recommending nix-env -i -f . in your readme gasp
<ldlework>
*my* readme?
* ldlework
looks at contributor listing
<ldlework>
well well who is this
<ldlework>
siraben?!
<ldlework>
:D
<siraben>
our readme :P
<sphalerite>
ldlework: any reason you don't load the dependencies lazily? i.e. rather than putting all of them together ahead of time, use nix-shell to build/run the examples?
<siraben>
ldlework: Profpatsch has an interesting approach to doing something similar to babix
<supersandro2000>
such comparisons are utterly useless
<supersandro2000>
linux dns -> getnameinfo aka os api
<supersandro2000>
if windows DNS is not working you are like 🤷 maybe it works after a reboot
<ehmry>
if you look at what libc does internally you might get an even bigger chart
<ehmry>
YP, NSS, LDAP, etc
<supersandro2000>
if we look at the windows internals we are certainly also get a bigger chart
<supersandro2000>
and probably take a few turns through registry and AD
<patagonicus>
Something I learned earlier today: syncplay crashes on startup if it can't write to its config file. So to use it with home-manager I had to patch it to just not write its config file. 🤷♀️
<patagonicus>
On the other hand, it's great how easy it is to do small patches in NixOS. Didn't even have to look at how syncplay is built.
<pie_>
someone please make the bigger map i dont want to figure this out myself
<pie_>
xD
<f0x>
pie_: you just set the right networking keys and rebuild, all is well :P
Raito_Bezarius has quit [Ping timeout: 260 seconds]
<siraben>
Sometimes pinned nixpkgs in flakes annoys me and I resort to overriding `nix build --override-input nixpkgs nixpkgs --no-write-lock-file github:foo/some-package`, what other solutions are there?
<siraben>
the flake could automatically lock its nixpkgs, but is it really that bad to use `<nixpkgs>`?
<siraben>
automatically update the lock*
__monty__ has joined #nixos-chat
<aaronjanse>
Most of my personal projects with auto-updated Nixpkgs break after about a month
<aaronjanse>
Then when I want to use them later, I have to bisect Nixpkgs to figure out what commit works
<aaronjanse>
So I'm strongly in favor of pinning Nixpkgs
<aaronjanse>
*and not updating the pin without testing
boredom101 has joined #nixos-chat
<eyJhb>
Working with this JSON API, and they have a lot of "this is a int", but they give it as "123456"........... So it is really a string.
<aaronjanse>
I prefer Scuttlebutt protocol's approach
<aaronjanse>
Where lots of things are floats
<aaronjanse>
But there serialization must exactly match the way some Javscript library does it
<aaronjanse>
Meaning it's actually a string
<aaronjanse>
Even though it's a number
<aaronjanse>
*their serialization smh
<eyJhb>
It. Sucks. aaronjanse :(
<aaronjanse>
:-/
<eyJhb>
Wondering if I should do a custom JSON Unmarshaller now...
<aaronjanse>
Aaah
<aaronjanse>
Maybe
<aaronjanse>
Which language? (Go?)
<eyJhb>
I found out there might be a keyword I can use on the struct `,string` :D
<eyJhb>
Yeah Go :)
makefu has quit [Quit: WeeChat 2.6]
<siraben>
aaronjanse: dang, not pinning breaks after a month?
<siraben>
I guess it depends on the project and language
<aaronjanse>
Sadly so :-/
<aaronjanse>
Do you know if there's a way to have a flake as an `input` but override its nixpkgs?
* etu
have gone the route of Trackman Wheel -> Logitech M570 -> Logitech MX Ergo :)
leonardp has quit [Ping timeout: 265 seconds]
adisbladis has quit [Remote host closed the connection]
hl has quit [Read error: Connection reset by peer]
colemickens has quit [Ping timeout: 246 seconds]
katrin has quit [Remote host closed the connection]
hl has joined #nixos-chat
supersandro2000 has quit [Ping timeout: 245 seconds]
Ke has quit [Ping timeout: 265 seconds]
Ox4A6F has quit [Ping timeout: 240 seconds]
supersandro2000 has joined #nixos-chat
aaronjanse has quit [Ping timeout: 240 seconds]
manveru[m] has quit [Ping timeout: 240 seconds]
adisbladis has joined #nixos-chat
matthewcroughan has quit [Remote host closed the connection]
philipp[m]1 has quit [Ping timeout: 244 seconds]
rmcgibbo[m] has quit [Ping timeout: 244 seconds]
nicolas[m] has quit [Ping timeout: 244 seconds]
veleiro has quit [Ping timeout: 244 seconds]
artturin has quit [Ping timeout: 258 seconds]
kraem[m] has quit [Ping timeout: 258 seconds]
LinuxHackerman has quit [Ping timeout: 268 seconds]
chvp has quit [Ping timeout: 268 seconds]
aanderse has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
matthewcroughan has joined #nixos-chat
thefloweringash has quit [Ping timeout: 258 seconds]
njha[m] has quit [Ping timeout: 240 seconds]
ma27[m] has quit [Ping timeout: 240 seconds]
bbigras has quit [Ping timeout: 240 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 244 seconds]
danielrf[m] has quit [Ping timeout: 244 seconds]
joe[m]2 has quit [Ping timeout: 240 seconds]
immae has quit [Ping timeout: 240 seconds]
DavHau[m] has quit [Ping timeout: 240 seconds]
leons has quit [Ping timeout: 240 seconds]
kloenk has quit [Ping timeout: 240 seconds]
puzzlewolf has quit [Ping timeout: 258 seconds]
emily has quit [Ping timeout: 268 seconds]
jdnixx-M has quit [Ping timeout: 268 seconds]
ky0ko1 has quit [Ping timeout: 268 seconds]
skrzyp has quit [Ping timeout: 265 seconds]
Guest57260 has quit [Ping timeout: 244 seconds]
kalbasit[m] has quit [Ping timeout: 244 seconds]
rycee has quit [Ping timeout: 258 seconds]
mjlbach has quit [Ping timeout: 258 seconds]
katrin has joined #nixos-chat
cwprobablydead[m has quit [Ping timeout: 268 seconds]
crazazy[m] has quit [Ping timeout: 268 seconds]
skrzyp has joined #nixos-chat
<gchristensen>
"not all perfect according to my taste" trolls
<adisbladis>
Trying to figure out a good way to get my entire screen transition from black->white->contents
<adisbladis>
Any takers?
<adisbladis>
I'm trying to "emulate" an e-ink refresh cycle
lopsided98 has quit [Ping timeout: 256 seconds]
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
boredom101 has quit [Quit: Connection closed]
lopsided98 has joined #nixos-chat
leonardp has joined #nixos-chat
jdnixx-M has joined #nixos-chat
colemickens has joined #nixos-chat
<__monty__>
Woah, why?
<adisbladis>
Because I want to have a window layout change hook that refreshes my monitor
<__monty__>
gchristensen: Not working as in the device or it's not helping your hands anymore?
ky0ko1 has joined #nixos-chat
<NinjaTrappeur>
adisbladis: I was about to suggest `cat /dev/null > /dev/fbx`, but my system greets me with a "cat: write error: No space left on device". I remember having used that trick for my e-ink portable terminal though :/ That's weird.
<gchristensen>
the device is unreliable now
<adisbladis>
NinjaTrappeur: Probably a device that draws directly to the framebuffer
<adisbladis>
I'm on X11
<NinjaTrappeur>
You can use a simple graphics rendering system like pygame to perform that.
<NinjaTrappeur>
Yeah, I'm on wayland. That might be the issue :/
<adisbladis>
I think it doesn't matter if you're on wayland or x11
<adisbladis>
But I have some issue re full screen + my wm in a certain condition
philipp[m]1 has joined #nixos-chat
kraem[m] has joined #nixos-chat
nicolas[m] has joined #nixos-chat
rmcgibbo[m] has joined #nixos-chat
veleiro has joined #nixos-chat
aaronjanse has joined #nixos-chat
JJJollyjim has joined #nixos-chat
artturin has joined #nixos-chat
LinuxHackerman has joined #nixos-chat
chvp has joined #nixos-chat
thefloweringash has joined #nixos-chat
aanderse has joined #nixos-chat
<__monty__>
gchristensen: Could be an easy fix if it's anything like the scroll ball on the Apple Mighty Mouse.
Ke has joined #nixos-chat
Ox4A6F has joined #nixos-chat
siraben has joined #nixos-chat
danielrf[m] has joined #nixos-chat
DavHau[m] has joined #nixos-chat
kalbasit[m] has joined #nixos-chat
Guest57260 has joined #nixos-chat
<gchristensen>
nah, the keyswitches don't work properly -- releasing clicks midway and then re-triggering
mjlbach has joined #nixos-chat
<gchristensen>
and right click hasn't worked in, uh, years
boredom101 has joined #nixos-chat
leons has joined #nixos-chat
boredom101 has quit [Client Quit]
<__monty__>
Ok, sounds ripe for replacement.
puzzlewolf has joined #nixos-chat
kloenk has joined #nixos-chat
emily has joined #nixos-chat
rycee has joined #nixos-chat
njha[m] has joined #nixos-chat
<gchristensen>
yeah so I've had this trackball for 9 year now, and a couple of those years it was at the bottom of a parts bin. I don't think it owes me anything7
bbigras has joined #nixos-chat
ma27[m] has joined #nixos-chat
crazazy[m] has joined #nixos-chat
cwprobablydead[m has joined #nixos-chat
jtojnar has joined #nixos-chat
jess has quit [Quit: K-Lined]
joe[m]2 has joined #nixos-chat
immae has joined #nixos-chat
cole-h has joined #nixos-chat
tomberek has joined #nixos-chat
waleee-cl has joined #nixos-chat
<kraem>
anyone using xautolock with an external monitor? i can't get it to respect my `-corners` settings when i have an external monitor plugged in and the builtin laptop display off..
<samueldr>
though as long as eink is held hostage under patents by that one eink company... I don't have high hopes to see it in consumer products other than ebook readers
<__monty__>
Dasung Paperlike?
<samueldr>
I should have said something more precise before being linked under an avalanche of niche products
<gchristensen>
I've seen a little desk thing that has a piece you sit on, and then a piece that is stable
<gchristensen>
I think I'd need a kinesis
<gchristensen>
so remarkable + a stand + kinesis + ssh might do just fine
<bbigras>
I wonder if it's only for the CM4 or if the regular Rpi4 would work too.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
<samueldr>
getting the SSD on the PCIe bus will be the hard part on the regular rpi4
<samueldr>
*maybe* the raspberry pi platform is worth a look, now that it doesn't use terrible backing storage
<samueldr>
its early boot flow still is a mess though
<samueldr>
unless the CM4 added more "out of band" storage for the early boot firmware?
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
endformationage has joined #nixos-chat
<adisbladis>
gchristensen: lassulus: Using the remarkable like that is terrible
<adisbladis>
The software just isn't there
<adisbladis>
It's far too slow
<lassulus>
I guess scrolling through code could be slow, how about typing single characters?
<adisbladis>
The Dasung however 🤤
<adisbladis>
lassulus: There isn't good enough control, so it's either ghosting as hell or it's super slow
<aaronjanse>
Ooh, thanks for the link @boredom101
<samueldr>
adisbladis: do you know if it changes between RM1 and RM2?
<adisbladis>
samueldr: Nope, doesn't
<elvishjerricco>
bbigras: Before the CM4 came out, there was a guy who desoldered the usb controller from a regular Pi 4 and used it to connect other PCIe devices. So you could probably boot off NVMe that way :P
<elvishjerricco>
s/usb/usb 3/
makefu has joined #nixos-chat
<samueldr>
yep, though you're left with only the type-c connector for USB
<samueldr>
I don't remember how the RJ45 connector is connected to the SoC though
<elvishjerricco>
samueldr: I thought two of the USB ports were USB 2 ports that didn't go through the USB 3 controller?
<samueldr>
maybe
<samueldr>
(I don't recall)
<elvishjerricco>
I think the RJ45 connector goes to a dedicated ethernet controller. No idea how *that's* connected to the SoC, but I know it's not through the USB 3 controller
<bbigras>
elvishjerricco: wow
<bbigras>
For the desoldering part
<elvishjerricco>
Yea his Pi looked like a Frankenstein because of all the wires soldered to the middle of the board running to some PCIe monstrosity
<samueldr>
yeah, obviously I meant what path through however many steps :)
<rmcgibbo[m]>
I agree. I think those of us in this community who agree ought to consider signing on. (Maybe some people have the other position, don't want to start a flame war, but imho it's good for people with a position of prominence to speak up).
<gchristensen>
"Institutional affiliation is provided for identification purposes only and does not constitute institutional endorsement."
<gchristensen>
they're getting a lot of PRs
<lovesegfault>
gchristensen: if I have a bunch of steps that all depend on one previous step, like steps B, C, D, E, F, G all depend on A, but they can run in parallel after A is OK, do I need `depends_on` for each of those?
<lovesegfault>
or is there some handy way of saying "this group depends on that guy"