gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
pie___ is now known as pie__
Lisanna has joined #nixos-chat
{`-`} has joined #nixos-chat
{`-`} has joined #nixos-chat
* samueldr needs to setup a testing setup for the irc logging bot...
{`-`} has joined #nixos-chat
<samueldr> and re-do the setup so a web change doesn't affect the irc bot!
{`-`} has joined #nixos-chat
<samueldr> though, the service disruption has been worth it: highlighting is now much better
emily has quit [Ping timeout: 252 seconds]
<joepie91> samueldr: oh, you built that interface, or?
<samueldr> adding stuff on top of whitequark's https://github.com/whitequark/irclogger
<joepie91> ahh
<samueldr> I should **probably** 1. upstream changes 2. add the logger as a nixos service
<joepie91> yes and yes :)
<samueldr> it's currently holding with bubblegum and staples from my initial interests in nixos
<joepie91> live updates is definitely broken
* samueldr grumbles
<samueldr> it wasn't
<joepie91> hehe
* joepie91 cardboard cutout testing script
<samueldr> though I can safely assume one of the service probably didn't wake up
<samueldr> one small CSS fix can't break a (IIRC) websocket service!
<joepie91> fun - the documentation for a library changed between yesterday and todday
<joepie91> today*
<joepie91> time to re-read it!
<joepie91> samueldr: right :P
* samueldr has to remember how it all works
<samueldr> the trouble with things that runs without maintenance: the moment you need to maintain it, you need to learn it all back
emily has joined #nixos-chat
<samueldr> OH
<samueldr> first non-nixos "bug" in the logger
<samueldr> live updates only work if you haven't followed a link to a specific line
<samueldr> so nothing broke
<samueldr> (had to patch some FHS assumptions out)
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has joined #nixos-chat
<joepie91> samueldr: blame the upstream! L:D
<joepie91> :D*
<Church-> And here you are again joepie91
<Church-> Yandere stalker
<Church-> :P
<joepie91> lol
* joepie91 ticks off box for this month's accusation of being everywhere
sir_guy_carleton has quit [Quit: WeeChat 2.2]
Church- has quit [Quit: WeeChat 1.6]
drakonis has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos-chat
tertl3 has quit [Quit: Connection closed for inactivity]
Lisanna has quit [Remote host closed the connection]
obadz- has joined #nixos-chat
obadz has quit [Ping timeout: 252 seconds]
obadz- is now known as obadz
<jcrben> tried to install ubuntu to a flash drive, but instead it overwrote my nixos bootloader (https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/704763) and I learnt a lot about uefi, systemd-boot, and grub. managed to fix my nixos bootloader (thanks https://nixos.wiki/wiki/Bootloader) and properly boot ubuntu from usb (will replace it with systemd-
<sphalerite> jcrben: yay learning!
jasongrossman has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos-chat
jasongrossman has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
sir_guy_carleton has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 240 seconds]
tertl3 has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
jasongrossman has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
<jD91mZM2> Hey, I heard you like terminals. So I wrote a terminal in your terminal so you can terminate your terminals: https://streamable.com/5rijj
<__monty__> I need to know where this comes from. What mad genius created this frankenterminal?
<jD91mZM2> I'm making it right now
grokkingStuff has joined #nixos-chat
<jD91mZM2> ... but I can explain
* jD91mZM2 can't actually explain
<grokkingStuff> hi there! Trying to get the wifi working on my laptop while installing nixos
<__monty__> Is there a github link?
<__monty__> grokkingStuff: Ask in #nixos. You'll get more help there.
<grokkingStuff> Thanks!
<jD91mZM2> __monty__: Not yet, soon:tm:. Want to get an initial Good Enough:tm: version
<jD91mZM2> Only thing I can think of left currently is sending SIGWINCH to child processes when windows are resized
<__monty__> How are you doing image display?
<__monty__> Does it require any terminal support?
<jD91mZM2> Not really anything out of the ordinary - It's all just colored unicode half blocks
<simpson> grokkingStuff: Do you have any more detail? "wpa_supplicant dies" is not enough.4
<grokkingStuff> i keep getting the error CTRL-EVENT-SCAN-FAILED ret=-16
<grokkingStuff> i'm afraid i'm not that great at linux - been lucky so far
<simpson> Does your NIC have the basics working? Do `iwconfig` and `iwlist` work?
<grokkingStuff> nope, which is really weird
<simpson> Then your hardware's drivers aren't working. Irritatingly, you probably can't pastebin dmesg.
<grokkingStuff> I could transfer it to a usb and do it that way?
<grokkingStuff> would that be helpful?
<grokkingStuff> also, should i download the hardware drivers for surface on the github repo?
<grokkingStuff> think i saw it a while back
<grokkingStuff> this one - https://github.com/NixOS/nixos-hardware
<grokkingStuff> it has an older version on my laptop on it
<jD91mZM2> __monty__: That one is in nixpkgs btw
<simpson> grokkingStuff: https://github.com/jakeday/linux-surface/tree/master/patches suggests that you need at least kernel 4.16 in order to have it working, and that you have a Marvell chipset with the `mwifiex` driver.
<grokkingStuff> so install the driver and it should work?
<grokkingStuff> i can do that!
<simpson> Linux ain't Windows. Free your mind from "installing drivers".
<simpson> Linux drivers come with the kernel.
<simpson> The reason to know the driver's name is that it will tell you what to look for in dmesg, and what to slap with modprobe if necessary.
<grokkingStuff> so it's probably called mwifiex_pcie
<simpson> Could be, sure.
<__monty__> How does it compare to caca, timg and others?
<grokkingStuff> modprobe-ing both of them has no effect yet
<__monty__> jD91mZM2: ^
<simpson> Oh, wait, is the device present in iwconfig? If it's not present, then you need to load the driver. If it *is* present, then you might just need to bring it up with ifconfig.
<jD91mZM2> __monty__: Not the slightest clue :P
<jD91mZM2> never used any of them
<grokkingStuff> so the device is present but network manager keeps deleting. Tried to flush the device and restart it but it didn't work
<grokkingStuff> s/deleting/deleting it
<simpson> Oh, networkmanager. No idea how to make that thing happy, sorry.
<grokkingStuff> yeah, that's why i stopped it from running
<grokkingStuff> isn't deleting my wifi device anymore :)
<grokkingStuff> wpa_supplicant can use that device but it fails after a while
<simpson> Mm.
<simpson> Well, I've got about a 50% prior on the problem being the inherent shittiness of embedded ARM drivers and hardware.
<simpson> And about a 25% prior on networkmanager being the problem merely by being nearby.
<simpson> But I'm not sure how to debug further. You're using NixOS to configure wpa_supplicant, right?
<grokkingStuff> yeah
<grokkingStuff> oddly enough i've seen people do it from debian livecds
<simpson> Sounds like you did everything right.
<grokkingStuff> was planning on doing it from debian if it didn't work from nixos
<simpson> Debian might have different patches applied to their kernel, or a different version of the kernel, in addition to a very different way of doing boot.
<simpson> Sure, if Debian works, use Debian. Nobody's going to force you to use NixOS.
<grokkingStuff> no, i meant booting into debian and installing nixos that way
<simpson> Go with whatever you like.
<grokkingStuff> alright. Thanks for the help, I really appreciate it.
<simpson> No problem, hating a single proprietary embedded POS tablet is easier for me this morning than hating an entire k8s cluster.
<grokkingStuff> heh, i guess whatever makes you less angry makes you happier?
<samueldr> POS as piece of shit, or as point of sale?
<samueldr> (both?)
<grokkingStuff> :(
<grokkingStuff> it isn't that bad :(
<samueldr> oh, I didn't think simpson's comment was about hte surface
<samueldr> the "embedded" part about "POS tablet" made me think it's about somthing else
<grokkingStuff> guess i'll just stick to opensuse and nix
<grokkingStuff> thanks a lot for the help!
<samueldr> grokkingStuff: do try again in the future, everything might be bettter, 2017 is still not that far back!
<samueldr> (though if the wifi requires a non-redistributable firmware it's always going to be a small issue)
<grokkingStuff> yeah, i will. Thanks!
<simpson> samueldr: I was absolutely talking about the Surface.
<simpson> grokkingStuff: Tis the season; never forget https://en.wikipedia.org/wiki/Halloween_documents
<simpson> Also I am not a happy person, so don't worry about that.
<samueldr> the "embedded" part got me, I was sure it was a point-of-sale thing you were working on :/
<simpson> Nope, I spent yesterday and this morning dealing with k8s. IBM Cloud changed a bunch of stuff about how their Ingress works, and suddenly I was unable to push any kind of Ingress updates.
<simpson> So now I guess I'm serving a bunch of Web off of a new GCE cluster instead of Bluemix. Yay?
grokkingStuff has quit [Quit: grokkingStuff]
jD91mZM2 has quit [Ping timeout: 246 seconds]
jD91mZM2 has joined #nixos-chat
<jD91mZM2> __monty__: Released to https://gitlab.com/jD91mZM2/termwm
drakonis_ has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 240 seconds]
ma27 has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
<__monty__> Thanks.
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
ma27 has joined #nixos-chat
<jD91mZM2> Was going to upload an asciinema cast to the README, but I'm getting network errors. Here's a preview: https://streamable.com/4hoqh
<jD91mZM2> As you can see I migrated to unicode borders, and added a way to dynamically create terminals
drakonis1 has quit [Ping timeout: 252 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.2]
grokkingStuff has joined #nixos-chat
<__monty__> jD91mZM2: Now all you need to do is implement tiling. : >
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
<jD91mZM2> __monty__: But that would make it like tmux, actually kind of useful
<jD91mZM2> Biggest problem is actually ambigiouty. I wouldn't know if keypresses should be forwarded or intercepted. tmux solves this by making Ctrl+B special and letting you press it twice to escape.
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 264 seconds]
<simpson> # nix run nixpkgs.kubectl
<simpson> error: unable to exec 'bash': No such file or directory
<simpson> Sometimes it's weird being in a container, y'know?
<samueldr> jD91mZM2: make it modal like vim
<samueldr> normal mode is window manipulation, i to start inserting, and uh.... escaping will be harder :)
<jD91mZM2> samueldr: Are you trying to make my project actually be useful?
<samueldr> are you?
<samueldr> :D
<jD91mZM2> Nope :P
<samueldr> you can't do it
* samueldr tries reverse psychology + sniping
<samueldr> ;)
<jD91mZM2> heh
<jD91mZM2> I mean, there is already tmux :)
<samueldr> I mean, there is already ed
<samueldr> :)
tertl3 has quit [Quit: Connection closed for inactivity]
<__monty__> jD91mZM2: Someone pointed out finch (a pidgin client) does something similar: https://inconsolation.files.wordpress.com/2013/01/2013-01-24-solo-2150-finch.png
grokkingStuff has quit [Quit: grokkingStuff]
pie__ has quit [Ping timeout: 252 seconds]
pie__ has joined #nixos-chat
<jD91mZM2> __monty__: Cool
<jD91mZM2> samueldr: The main reason is that this will never be perfect, so I think I might as well not announce it as a serious project
<jD91mZM2> ransid has a few rendering glitches, only X11 mouse mode is supported, etc
<jD91mZM2> Making stuff serious takes a lot of effort, effort I can't give now that school is eating almost all my time, and moving between split parents the tiny bit I have lef
<jD91mZM2> s/$/t/g
<jD91mZM2> Speaking of which, gtg :|
jD91mZM2 has quit [Quit: WeeChat 2.2]
<samueldr> heh, (I know jd9... is gone) mainly making fun of it all :)
<samueldr> some says "this project isn't serious" I say "but what if"
pie__ has quit [Ping timeout: 272 seconds]
drakonis1 is now known as drakonis
<infinisil> "Get a 10% volume discount when you order 10!"
<infinisil> 10! is a large number!
<infinisil> > fact 10
<{^_^}> undefined variable 'fact' at (string):202:1
<infinisil> > fact = n: if n <= 1 then 1 else n * fact (n - 1)
<{^_^}> fact defined
<infinisil> > fact 10
<{^_^}> 3628800
pie_ has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.2]
pie_ has quit [Ping timeout: 252 seconds]
pie_ has joined #nixos-chat
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
pie__ has joined #nixos-chat
pie_ has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos-chat
pie___ has joined #nixos-chat
pie__ has quit [Ping timeout: 245 seconds]
__monty__ has quit [Quit: leaving]
drakonis has joined #nixos-chat