gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
tilpner_ has joined #nixos-chat
drakonis1 has joined #nixos-chat
tilpner has quit [Ping timeout: 260 seconds]
tilpner_ is now known as tilpner
drakonis_ has quit [Ping timeout: 256 seconds]
<gchristensen> I hate, so much, that journalctl cant parse its own timestamps
<cole-h> Wait, really?
<gchristensen> yes
<ashkitten> infinisil: oh sorry i installed a whoopee cushion in your kitchen
<gchristensen> May 24 01:53:46 ceres hydra-evaluator[17013]: created new eval 1589120
<gchristensen> [root@ceres:~]# journalctl -e -u hydra-evaluator --since 'May 24 01:53:46'
<gchristensen> Failed to parse timestamp: May 24 01:53:46
<cole-h> oof
<cole-h> Can you change journald's timestamp format into something it CAN parse?
<gchristensen> I don't know/care
<gchristensen> not being grumpy, it should just do the right thing :P
<ashkitten> it should do the right thing, i agree
<ashkitten> iirc when i did it i just ran it through date -d
<{^_^}> systemd/systemd#15899 (by grahamc, 7 seconds ago, open): journalctl should be able to parse its own timestamps
<cole-h> samueldr: Fastest thumbs-ups in the west
<cole-h> lol
<cole-h> Wow, that's the fastest 4 thumbs-ups I've ever seen. A rate of ~1 per minute
<gchristensen> wow lol
<gchristensen> I've got a whole personal army here
<ashkitten> 7 now
<cole-h> Keeping up with the rate as well. 7 +1s at 6 minutes
<cole-h> gchristensen: "Get down, Mr. President!"
<ashkitten> cole-h: that's what people shout before they tackle you underwater in a pool
<ashkitten> (in my brain)
<ashkitten> (because summer camp)
<cole-h> Haha
<cole-h> Phew, we almost broke the streak of 1 +1/minute
<cole-h> HOT
<cole-h> Just seeing the organization
<cole-h> 😳
<MichaelRaskin> Hmm. I think I have accidentally produced a weapon-grade broken MKV file…
<gchristensen> ooooh?
<cole-h> Go on...
<MichaelRaskin> Well, it is broken in MPlayer, VLC and mpv in different ways!
<MichaelRaskin> In VLC I get no picture
<MichaelRaskin> Only sound and black screen
<joepie91> lol
<MichaelRaskin> In MPlayer if I try to navigate, video audio and time OSD apparently all three become pairwise desync
<MichaelRaskin> In MPV I can try navigating, but then audio disappears
<gchristensen> niice.
<gchristensen> how? :)
<MichaelRaskin> I am not sure if «how» should be told according to that one standard formula for cool stories
<gchristensen> lol
<MichaelRaskin> «Be me, try to produce a video» that one
<julm> has there been any attempt to make a Nixos installer taking care of formating disks like the Debian installer ? or does everybody still do it by hands or ad-hoc scripts?
<MichaelRaskin> The intermediate inputs in addition to «be me» are a PDF with slides, and recorded narration for each slide
<MichaelRaskin> julm: I think there was something (nix-part?), and also when I last installed Debian I gave up and partitioned by hand
<MichaelRaskin> I mean, it's not like the slides are not very «be me» too, but technically they are a beamer PDF
<ashkitten> does nixops support formatting disks?
<MichaelRaskin> So I convert slides to PNG, and try to tell ffmpeg to attach this image as video stream to the corresponding audio
<MichaelRaskin> Then concatenate the results with ffmpeg
<MichaelRaskin> Bright side: playing it with mplayer without navigating over timeline works, and the size is as it should be, size of PNGs + size of audio files
<joepie91> ashkitten: not on arbitrary systems over SSH, at least last I checked; but I believe it *does* support provisioning block-storage-y stuff on cloudycloud providers which looks kinda similar if you squint :P
<MichaelRaskin> Also bright side, but depends on your point of view: the resulting file breaks media players by existing
<joepie91> ... I should be in bed
<gchristensen> joepie91: go to bed
<joepie91> thanks :D
* joepie91 vanishes
<MichaelRaskin> Oh. Apparently if I change the pipeline a bit I get a significantly less broken file with only 2x size overhead
<MichaelRaskin> Not that bad
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
<ashkitten> i had an idea for a hardware thing i really want to build and i have no idea where to start (no experience with hardware design or anything)
soju has quit [Quit: Connection closed for inactivity]
buckley310 has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis1 has quit [Ping timeout: 260 seconds]
drakonis_ has quit [Ping timeout: 256 seconds]
ldlework has quit [Quit: co'o ro do]
ldlework has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
drakonis_ has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<JJJollyjim> oo what is it?
<JJJollyjim> oops 3 hours late lol
buckley310 has quit [Quit: Connection closed for inactivity]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-chat
drakonis has quit [Ping timeout: 260 seconds]
parsley936 has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
<eyJhb> talyz: even with noCheck it will fail :/
<eyJhb> The place where you /var/log resides, needs to have `fileSystems.<name?>.neededForBoot` flag true, so that it is available during boot. THen everything works fine :)
Jackneill has quit [Ping timeout: 256 seconds]
<talyz> eyJhb: Ah, yes, /persistent needs to be marked neededForBoot :)
<talyz> eyJhb: ..but that gave me different errors, though, iirc. Oh well, I should have told you that to begin with. Sorry for the confusion :)
Jackneill has joined #nixos-chat
<eyJhb> Different errors? Does not sound fun.. :p Now I am just going to configure my user env! First the lockscreen + background! <3
<Valodim> any reason why this room is +r, but others (e.g. #nixos-dev) are not?
<Valodim> if there aren't acute issues with spammers in this particular channel, I'd propose removing that mode
<eyJhb> Valodim: hmm, because chat is a privilege while the others are to contribute or get support?
<Valodim> ..a privilege for people who can figure out how to register with nickserv?
<eyJhb> Valodim: more or less :p But the intention was more to say, that the others aid the community in another way than this.
<eyJhb> But I think gchristensen might have a better answer
<LnL> it was enabled on all nixos channels because of spam at some point
<Valodim> yeah freenode had some issues with spam at some point
puzzlewolf has joined #nixos-chat
<eyJhb> (still does at points)
<eyJhb> talyz: or anyone, why enable the windowmanager in home-manager, instead of NixOS normally? Is it just so that it controls it better?
<Valodim> eyJhb: it's something to configure in ~/.config, not /etc
<Valodim> at least that's the least fuzzy definition I can come up with :)
leah2 has quit [Ping timeout: 260 seconds]
<eyJhb> Yes, but it can also start services such as windowWanagers etc. as far as I can tell :p
<JJJollyjim> i want a window wanager
<eyJhb> I just want this to work :p
<eyJhb> Never look at etu, adisbladis or talyz WM configs. THen you just end up with Emacs
__monty__ has joined #nixos-chat
<adisbladis> :D
<eyJhb> adisbladis: you outed yourself! Now I will ask support questions at you :p
<adisbladis> Emacs is love, Emacs is life
<eyJhb> If you have some time :p
<adisbladis> eyJhb: I feel bamboozled!
<eyJhb> Some day I might change, but not today :p
<adisbladis> Ask away =)
<eyJhb> You might have been lucky this time. Basically, do I stall need to set a services.xserver.windowManager in my normal nixos config, to get home-manager to use the xsession.windowManager.i3.enable?
<eyJhb> (seems to work when do like so, but isn't that ugly?)
<adisbladis> I don't think you need the global one
<adisbladis> But I don't know
<eyJhb> You don't have any lightdm etc. enable ?
<adisbladis> I'm still using the global config for windowManager it seems like
<adisbladis> I forgot how I did it ^_^
<eyJhb> AH! You just have xsession set, instead of i3 :p
<adisbladis> Tbh I'm not sure if I could remove any of this
<adisbladis> But works for me so I don't really wanna start fiddling
<eyJhb> From this I suppose some could
<eyJhb> But let me see
<eyJhb> Trying to have as litte stuff as possible
<eyJhb> Also, do you have a hatred for blocks adisbladis ? :p
<adisbladis> eyJhb: Nah, just remnants from my early nixos days
<adisbladis> Where I didn't really grok how things worked
<adisbladis> My config has evolved over the years, but some bits are still pretty much the same as my first experimentation
<adisbladis> And if it ain't broken..
<eyJhb> .. try to break it
<eyJhb> I think you can reduce some of your code, but it will be less readable
<eyJhb> Which is not worth it
<adisbladis> Whatever :P
<eyJhb> It overrides my Dvorrak howerever
<adisbladis> I have better things to do than refactoring my config
<eyJhb> Whaaat, no, never. Config is life adisbladis ;)
<adisbladis> I know :D
<adisbladis> I just prefer to work on nixpkgs and more impactful things than my own config =)
<eyJhb> Why the hell does it not use Dvorak, when I have that set in my config? `home.keyboard.variant
<eyJhb> X keyboard variant. If null, then the system configuration will be use
<eyJhb> `
<eyJhb> THat makes sense :p
<adisbladis> Hmm
<adisbladis> I want to use rsync over a serial port
<adisbladis> I'm wondering how I can achieve this
<eyJhb> _better things to do_? Are you SURE about that? :p
<eyJhb> Why do you want that?
<adisbladis> I want to see if a use case I'm thinking about is possible
<adisbladis> I don't want to say too much quite yet before I know if what I'm thinking is viable or not =)
<eyJhb> What do you want to do?
<eyJhb> And .. Seems like there is a bug in home-manager
<adisbladis> eyJhb: I've PMed
<eyJhb> Just saw :p Sorry
<__monty__> eyJhb: Does the bug occur between your keyboard and your chair? 🤔
<eyJhb> THis is not a safe space :(
<eyJhb> https://github.com/rycee/home-manager/blob/master/modules/xsession.nix#L89 if keyboard != nul. I have not set it. But I guess that some i3 might have
<__monty__> Only trying to help you troubleshoot ; )
<adisbladis> Ye olde layer 8 problem
KeiraT has quit [Remote host closed the connection]
<eyJhb> It is expected bahaviour, what
<eyJhb> Makes noo senso
<eyJhb> Makes noo sense
KeiraT has joined #nixos-chat
<eyJhb> Homemanager stuff - https://termbin.com/z8dps , config - https://termbin.com/bcx86
<eyJhb> It then activates the service, as linked with ` Process: 1586 ExecStart=/nix/store/mdhjlf3h3qavpkxmhrj02rcskqmk3xss-setxkbmap-1.3.2/bin/setxkbmap -layout us -variant (code=exited, status=0/SUCCESS)`
<eyJhb> Which seems to default to qwerty
<eyJhb> Go away stupid service
leah2 has joined #nixos-chat
<eyJhb> I have just set it to null, but wth
<eyJhb> Well, works now
<eyJhb> adisbladis: you are no longer allowed, to rename or take down your nixos configs. I am linking to that repo now :p
<adisbladis> eyJhb: Just pin the commit sha in the urls
<adisbladis> I'll likely do some restructuring at some point, but I won't take it down
<eyJhb> More renaming the repo :p But I have pinned the sha now ;)
<eyJhb> Are you working on your idea, so that the next user of NixOS will be the military? :p
<adisbladis> I already know people in the military using NixOS ;)
<eyJhb> But, production servers etc.? :p
<JJJollyjim> :/
<eyJhb> I have tried to pursuade FE (Forsvarets Efterretnings Tjeneste) to use it here in DK
<srhb> eyJhb: Don't give them any good ideas, they're terrifying enough as it is.
<eyJhb> srhb: no worries, my experience is that they can't even setup a stable network
<srhb> Phew.
<eyJhb> (Every bootcamp I have been to with them...)
<srhb> Danish incompetence is the one constant you can trust in.
<eyJhb> (Bootcamp/Cyberlandsholdet stuff)
<__monty__> Hmm, if we convince the Swiss military wouldn't every citizen get to know nixos? Cause of militia. 🤔 I have a cunning plan to convert Switzerland to NixOS.
<eyJhb> I am known as the guy who always complains
<eyJhb> srhb: 100% yes :p Hopfully it can change, and be for the better
<srhb> eyJhb: I disagree. :P
<eyJhb> Hopefully it will continue and be the same? :p
<eyJhb> __monty__: how?
<srhb> eyJhb: Or shut down, either way would make me happy. But not holding my breath.
<adisbladis> srhb: Us scandinavians can truly unite around our incompetent public sectors
<srhb> adisbladis: Word. It's amazing we're not worse off.
<adisbladis> A word I made up that I really like: spjutspetsinkompetens
<adisbladis> I don't know how well it translates to danish
<srhb> spet? pet? My swedish doesn't quite suffice :D
<adisbladis> Spjutspetskompetens == førende ekspertise
<srhb> Oh
<adisbladis> Acccording to skynet translate
<srhb> Speartip
<srhb> got it
<srhb> :D
<adisbladis> Yeah :)
<srhb> Couldn't quite parse it
<srhb> I'll.. borrow that >_>
<adisbladis> You don't write words together like in swedish?
<srhb> We do, I don't know quite why it failed to parse at first.
<srhb> Spydspidsinkompetence
<srhb> I need all that vowelly mushy goodness in my consonants to really see the big picture, I guess. Swedish is way too delineated in their syllables, you know? ;-)
<gchristensen> no special privileged to be here than other nixos channels :)
<__monty__> Hmm, having trouble parsing that.
<eyJhb> srhb: Some of them quite like QubeOS
<eyJhb> Seem to remember someone having a NixOS version of that
<gchristensen> qyliss' spectrum-os.org
<eyJhb> I should really change my terminal to something other than urxvt..
<eyJhb> Yes, that's the one!
<gchristensen> __monty__: there is some degree of privilege to being able to be part of the nixos community, in the sense that it isn't a fundamental right. no special privileges to be here.
<gchristensen> I figure if someone can't behave properly in any nixos channel, they aren't welcome in the others
<__monty__> Ah, thanks for explaining. Seemed a bit non sequitur though.
<gchristensen> it was in reply to eyJhb / Valodim
<__monty__> Guess that happened before my backlog started.
<MichaelRaskin> srhb: we-ell, I have by now worked in Denmark, France and Germany, and you know, I think Danish incompetence is a lie.
<srhb> MichaelRaskin: I think it mostly is too.
<Valodim> gchristensen: thanks :)
<MichaelRaskin> Although indeed, some way to limit the ambitions of the already-built surveillance state is needed, so maybe pretending to fail to build large-scale data processing quickly _and_ well is indeed a civil duty…
<srhb> MichaelRaskin: That's my thought.
<srhb> We currently have a prime minister whose dream (allegedly) is to have a big switch that can co-opt private property for surveillance purposes "only when it's absolutely necessary" -- of course. :-)
<srhb> I'm sure that would only be used veeery responsibly. :-P
<MichaelRaskin> Wait, what the hell, why do they need more _infrastructure_ when they already have more than enough of public one?
<gchristensen> srhb: the patriot act has only ever been used for good, you'll be fine!
<srhb> Surely!
<srhb> MichaelRaskin: Yeah, it was pretty wild, but then covid hit and now no one cares about that little side project.
<srhb> So I get wary with tech enthusiasm around government surveillance topics.
<MichaelRaskin> Apparently the weekly all-cause mortality numbers are not even out of once-a-decade range in Denmark, though (impressively)
<srhb> Yeah, it was a pretty hard lockdown. partially because we just shut down our large public sector.
<srhb> Well, probably not really partially. Though I'm no expert here, of course.
<MichaelRaskin> Isn't half of your public sector fully remote-able anyway? Well, except some step during getting NemID in the first place.
<srhb> lol
<srhb> The claim prior to these shenanigans would have been "no"
<srhb> But I'm really not sure how many office workers we're talking about here. I think you're probably right it's the majorty.
<MichaelRaskin> I mean, true, there are always many nice people who will gladly sit down with you at a computer with a large monitor and walk you through entering your NemID in the correct web form
<srhb> But because of how widespread it is, I also have like a friend who's a fine mechanic technician (what's the english word...) at a university. Jobs like that -- ones where you really need to be on-site and do work with physical objects -- may be non-obvious, but probably not that few.
<__monty__> I'm sure everyone here is capable of using these web forms but what about old people?
<srhb> __monty__: You're absolutely right.
<MichaelRaskin> __monty__: at some point I needed these nice people to make sure I am not missing some finer points of legalese in Danish
<MichaelRaskin> And I do not say their service is useless, just that a large part of it if remote-able if you have no choice
<MichaelRaskin> (I think even old people were mostly forced into using _some_ online NemID-based services by 2020)
<MichaelRaskin> (Like, tax notifications)
<srhb> You're right.
<srhb> And I absolutely do think large parts really are remoteable. I just don't really know the numbers. I would like to, though. I imagine the size of the bureacacy outnumbers librarians and technical personnel at universities, say.
* JJJollyjim uploaded an image: many-important-experiments-do-lab-solution-long-glove-box-tm-stay-at-home-long-gloves-reach-lab.jpg (86KB) < https://matrix.org/_matrix/media/r0/download/johnguant.com/qnTyYbJZNiLWRMhDuGlrhDro >
<srhb> JJJollyjim: lol!
<MichaelRaskin> Technicians probably can be scheduled in a way with a very sparse contact graph (and i guess that had to be done anyway, because buildings need maintenance even when empty and locked)
<srhb> Yeah. I think a little more than necessary was locked down because the additional planning needed was overwhelming, to be honest.
<srhb> Which is understandable, I think.
<srhb> Ah well. Armchair coviding is always fun.
<MichaelRaskin> (looking at the beautiful graphs here in Germany) did Germany just manage to lift exactly as many restrictions as to get just _slightly_ below 1 in the exponent?
<srhb> It does look impressive.
<MichaelRaskin> Here, the manufacturing was at no point ordered to shut down, but in-person non-medical non-food-shopping services were closed at some point
<JJJollyjim> I'm in New Zealand which is down to one new case in the past week
<JJJollyjim> Which is pretty wild
<MichaelRaskin> New Zealand is a country that can keep _rats_ off an island
<JJJollyjim> Uhh nope
<JJJollyjim> We have pretty much every invasive mammal
<MichaelRaskin> I said off an island, not out of entire country
<JJJollyjim> It's a huge problem, cos our native birds evolved without any land mammals, and forgot how to fly...
<JJJollyjim> Ah right :)
<MichaelRaskin> I think there is a long term plan of cleaning up larger and larger islands
<JJJollyjim> Yeah for sure
<JJJollyjim> I live near a big fenced-in conservation areas as well
<MichaelRaskin> Apparently some of the native birds were preserved exclusively thanks to cleaning up at least some islands where they can live comfortably
<JJJollyjim> *area
<__monty__> Just but cat hats on all the birds. Pretty sure nothing hunts cats.
<srhb> Said the apex predator.
<srhb> :-)
<MichaelRaskin> I am pretty sure city dogs hunt cats just fine.
<__monty__> I've never seen a dog succesfully chase a cat.
<MichaelRaskin> Remember that wolves are more suited to pack hunts, so are dogs.
<__monty__> People don't hunt cats much, though, srhb. They keep them in their houses and feed them even though all they do is cause mayhem, especially computer-related mayhem.
<srhb> __monty__: But they're so cute. :3
<JJJollyjim> :3
<__monty__> Are they, srhb, are they?!?
<MichaelRaskin> __monty__: some cities are kind of succesful at avoiding having packs of feral dogs, though.
<JJJollyjim> ugh monty you sound like a flightless bird
<etu> Humans are the worst
<MichaelRaskin> It's partially a scale effect
<MichaelRaskin> Nothing sized comparably with humans has even managed to reach that density for more than one generation
<__monty__> MichaelRaskin: Gnus?
<MichaelRaskin> Hmmm, their migrations are scary
<gchristensen> its compose window is pretty good though
<__monty__> >.<
davidtwco has quit [Ping timeout: 260 seconds]
steveeJ has quit [Ping timeout: 260 seconds]
zimbatm has quit [Ping timeout: 260 seconds]
raboof has quit [Ping timeout: 260 seconds]
zimbatm has joined #nixos-chat
steveeJ has joined #nixos-chat
raboof has joined #nixos-chat
davidtwco has joined #nixos-chat
waleee-cl has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
<eyJhb> srhb: THey are cute at times... But mostly idiots :p
evanjs has quit [Ping timeout: 246 seconds]
<eyJhb> And good place to get 1920x1080 wallpapers?
<adisbladis> eyJhb: bauhaus.dk ?
EatThem has joined #nixos-chat
<eyJhb> adisbladis: "I always meant all humans expect one, Fry was that one" or something like that
<eyJhb> adisbladis: I don't think scanning them will be nice :p Wallpapers/Backgrounds for computers :p
<EatThem> hi! How can i install a python pip module globaly in my configuration.nix?
<adisbladis> EatThem: You don't
<adisbladis> ,libs
<EatThem> :(
<adisbladis> I thought ,libs was a thing
<adisbladis> EatThem: Why do you think you want to?
<EatThem> then it's to all my different apps globally available like pass import
<EatThem> :D
cole-h has joined #nixos-chat
<EatThem> and i don't need a seperate file or nix-shell or sth.
<adisbladis> ,shell
<adisbladis> I obviously don't know {^_^} as well as I thought
<eyJhb> adisbladis: Do you know any commands right now :p
<adisbladis> DKK :D
<eyJhb> :(
<eyJhb> What are people using for lockscreens btw.?
<adisbladis> xsecurelock
<eyJhb> It has a trilion dependencies?
<adisbladis> I don't really care about that
<adisbladis> Most screen lockers have very bad security
<adisbladis> That's my number one concern
<eyJhb> True, but still wish it had fewer dependenices
<eyJhb> But, I will look at it then
<eyJhb> See what I can do
* etu runs physlock
<etu> It switches to a tty and disables most things :)
<adisbladis> Also not a bad approach
<eyJhb> Both means no pretty pictures :/
<etu> eyJhb: physlock probably have fewer deps
<eyJhb> Unless I use mplayer for xsecurelock
<MichaelRaskin> eyJhb: xsecurelock seems to support running XScreenSaver hacks?
<etu> eyJhb: My WM doesn't allow me having a background image since it happens to run a program in fullscreen which isn't transparent :p
<MichaelRaskin> Does this program draw on its window?
<etu> yes
<eyJhb> No
<eyJhb> Fun
<adisbladis> For more information on X and screen lockers read jwz's blog (the author of xscreensaver) https://www.jwz.org/blog/2015/04/i-told-you-so-again/
<eyJhb> Physlock locked up everything and spammed authentication failed
<__monty__> EatThem: This is the offtopic chat. You'll probably find more advice in #nixos.
<adisbladis> Most screen lockers are really, really bad.
<emily> I wish xsecurelock used a separate VT
<MichaelRaskin> I just use XScreenSaver's locking
<emily> if people keep talking about secure lockers in my presence I might end up baited into actually writing one
<adisbladis> MichaelRaskin: Also a sensible choice
<adisbladis> emily: I'll buy you a beverage of your choosing
<emily> btw I have bypassed the gdm lock screen by just keymashing. fwiw.
<MichaelRaskin> I actually have all the tooling to get a one-line physlock-style thing based on components which I already use
<emily> like, within the last couple years.
<MichaelRaskin> (forced VT switch. VT switch lock, and you are not going anywhere until the password matches)
<adisbladis> emily: Nowadays they'd just tell you to run wayland and that they're not accepting X bug reports..
<emily> I run physlock because I have pretty much zero trust in anything less obsessive to work. not that trying to lock a running machine against an attacker with physical access is a great position to be in to begin with.
<emily> but hibernation is slow and fussy with random swap encryption, so bleh.
<emily> adisbladis: this was wayland
<adisbladis> Such secure, much lock
<emily> haven't run Xorg in quite a while now (ok, really I have via Xwayland...)
<cole-h> Hehe
<adisbladis> It's funny how on the surface screen locking seems like a very easy task
<adisbladis> But in reality it's a horrid mess
<emily> it's not actually THAT hard if you take some basic precautions like not linking in your entire desktop environment's libraries into the process that releases control and fails-unsafe when it dies
<emily> I mean, there's a lot of fiddly long-tail details
<ldlework> lol
<eyJhb> Well I guess because I cannot decide, I will have no screenlocker!
<eyJhb> :(
<emily> but most of the lockers get the most basic stuff wrong
<eyJhb> Also, physlocker did really not seem to play nice
<eyJhb> %er
<adisbladis> emily: But then how do I browse the web on my locked screen?!
<etu> eyJhb: I usually append -ds to physlock
<emily> adisbladis: fwiw any solution I made would probably involve Wayland, so you have been warned :p
<adisbladis> Aww :/
<adisbladis> You lost me
<emily> (much rather a minimal Wayland compositor to keep isolated from the main graphical session than running an entirely separate Xorg, even if locking an X11 session)
<eyJhb> etu: I will come to Sweden if it crashes again :p
<etu> adisbladis: We need EWWM
<emily> (the Wayland protocol is just the natural choice for the communication protocol between the privilege-separated components)
<adisbladis> etu: Meh, I don't want to run wayland
<adisbladis> I've had enough bad experiences with it
<emily> reminder that "Wayland" is just a communication protocol / library and Wayland compositors talk to your hardware in exactly the same way the Xorg server does (i.e. DRM)
<emily> it doesn't make much sense to talk about "running Wayland" in the context of an isolated locker running separately from your session
<adisbladis> I think the way compositors are responsible for pretty much everything is really, really bad design
<eyJhb> etu: comming after you now :p Still just getting spammed authenticiaton failed... Maybe a nix-shell is not nice
EatThem has quit [Quit: Leaving]
<cole-h> eyJhb: Like, PAM authentication failed?
<etu> eyJhb: Pretty sure denmark won't let you in again so you won't come :p
<adisbladis> I have hardware which doesn't have drivers supporting GBM
<eyJhb> No clue, I cannot read the billion messages I get
<adisbladis> So now my compositor choice is _super_ limited
<cole-h> eyJhb: Might need to add a `security.pam.services.<....> = {}` to your configuration.nix
<eyJhb> etu: true... But I can blend into Sweden anyways with my name
<adisbladis> And the whole Wayland community just ignores that entirely
<srhb> eyJhb: Potato lingo tends to give us away :P
<eyJhb> cole-h: that would make sense
<cole-h> eyJhb: I had the same problem with swaylock :P
<eyJhb> srhb: but to be fair, even my danish is potato
<srhb> Ouch!
<eyJhb> Most conversations I have are "Var?"
<etu> adisbladis: That's why it's not a horrible idea to make Mir into a compositor
<srhb> eyJhb: xD
<adisbladis> emily: So I'm really on the fence around wayland...
<eyJhb> My mom have had to translate what I say to my dad ...
<srhb> oh god you're like literally from that sketch about Denmark losing its ability to even internally communicate
<etu> Kamelåså!
<srhb> indeed :P
<eyJhb> I basically had to relearn how to speak like 4 times now!
<eyJhb> :(
<MichaelRaskin> Isn't 4 the total number of dialects?
<adisbladis> etu: How would that solve anything?
<eyJhb> cole-h: might try to set that up, but do we call physlock more secure than than xsecurelock
<srhb> MichaelRaskin: Just about these days. :P
<eyJhb> I think we have more :p
<cole-h> eyJhb: /shrug
<srhb> I mean it's all about your resolution.
<etu> adisbladis: Then wayland is the same, and many things can use the same compositor. And that shared compositor can do things like supporting things, etc.
<eyJhb> But my ability to open my mouth keeps messing with how I pronounce things...
<eyJhb> cole-h: damn
<emily> adisbladis: "nvidia on linux is a mess" is a consistent theme, yeah.
<adisbladis> emily: I'm not even talking about nvidia
<etu> adisbladis: And if Mir "fixes" nvidia support, everyone has nvidia support
<adisbladis> I don't care about nvidia :P
<adisbladis> I care about phone hardware
<etu> adisbladis: And it can be done without doing things to wayland and when the compositor get's horrible we can still use the same protocol and make a new compositor. Instead of today when it's one big mess. We can have several slightly smaller messes. :)
<emily> adisbladis: I mean, it's either "there's nothing compositor developers can do to convince proprietary driver developers to support the common thing" or "the driver is free software and could be made to support the common thing"
<emily> someone has to do the work, from some direction
<adisbladis> emily: My point is that using X this is a non-issue
<emily> the problem with nvidia is that only some people can do the work on one side
<emily> sure because X duplicates the whole video driver machinery
<emily> "but worse"
<emily> (I realize it came before KMS/DRM, but it's still true in 2020)
<adisbladis> I'll just grab the hwcomposer or android driver and run whatever WM/DE I want
<adisbladis> or nvidia*
<adisbladis> But on wayland this is impossible
<emily> in this case (GPU API support), it's not like "the compositors are responsible for everything", it's more like "the kernel drivers are responsible for more"
<adisbladis> So Phosh of Librem5 fame is useless for any current android phone not having mainline linux drivers
<emily> the equivalent to the Xorg video drivers there are the in-kernel KMS ones
<emily> like, they could be ported to be kernel DRM drivers with GBM support and then existing compositors would be able to use the hardware, it's not an "every compositor has to implement X" thing
<emily> the only reason there's fragmentation is because not everyone supports the common X because proprietary driver politics
<adisbladis> emily: That's an impossibility for hwcomposer
<adisbladis> This really pisses me off to no end
<adisbladis> Sure, it would be nice with KMS/DRM everywhere
<adisbladis> But that's not the reality we're living in
<emily> adisbladis: I understand your frustration but Android is not exactly the world's most cooperative downstream :)
<emily> there's no way to avoid tons of fragmentation and complexity without standardizing on something, and Android has very little interest in making things work with the "upstream kernel" ways or moving patches there, for pretty much any feature tbh
<eyJhb> How can physlock hate me so much. Can't login again :p
<adisbladis> So for my phone porting efforts my choice of compositors is exactly one
<adisbladis> Only Kwin
<emily> and like, ok, I guess they've gotten slightly better at uplifting patches now but it's still the case that all phone stuff is messy non-standard Linux with a weird custom kernel in a bunch of ways
<emily> holding back the entire linux graphics stack due to an awkward fork that rarely even updates just doesn't seem like a viable thing to expect of the relevant developers
<adisbladis> I don't know what to expect
<adisbladis> But purely from my perspective as a user the Wayland way makes it impossible for me to run most window managers & DEs on phone hardware
<adisbladis> While running X gives me a plethora of choice
<adisbladis> To me (and I don't really know all that much about graphics) that indicates that _somewhere_ the design is wrong
<emily> all the crappy phone graphics drivers are definitely pretty wrong :p
<adisbladis> Sure, but there are literally billions of them out there, and I for one want regular linux and not this android crap
<adisbladis> And I'd like to do so on hardware I already own
<emily> getting things working together requires cooperation. because Linux is free software anyone can do whatever they want and not bother to cooperate. the result is that inevitably drivers written by people who don't care to cooperate won't work with the systems upstream people cooperate on
<emily> thus the experience is worse for nvidia, android, ..., but they could have guessed that was going to be the case when they decided to go their own way rather than cooperating with what upstream was doing, so it's kind of inevitable
<eyJhb> etu, emily does physlock require the root password or anything? Trying with services.physlock.enable = true, I can lock the screen but not unlock with my frigging password
<emily> sure, I agree to some extent
<emily> but I think that part of "Regular linux and not this android crap" is, well, working with the standard linux graphics APIs
<emily> eyJhb: it should work with your normal PAM authentication. iirc it looks up the user of the current session with logind
<emily> and only lets them unlock it
<emily> so perhaps that is going wrong if your logind session is broken
<etu> eyJhb: Mine wants my password
<emily> my physlock configuration is extremely secure: I use pam_u2f so it requires me to tap my yubikey. which lives permanently in my laptop's USB slot. unhackable
<emily> I want to set a PIN but it's waiting on a new pam_u2f version...
<eyJhb> Mine will simply not accept anything...
<emily> hopefully nobody who steals my laptop can figure out how to touch the yubikey
<eyJhb> emily: if it is in you slot, then.. Does it .. really provide that much?
<adisbladis> At least it's not a file on disk you can just copy
<emily> no :p
<emily> the real reason I use pam_u2f is for sudo
<emily> but it's not good for unlock, I just haven't made it better yet
<eyJhb> Well, for some reason it will not work. Lets see if i passwd root
<emily> eyJhb: what if you loginctl session-status?
<adisbladis> emily: I actually I agree with you re standard linux graphics API
<emily> my bet is that your logind setup is broken like I said
<emily> esp. if you manually run some window manager with startx, you might not be doing the right things to make it work
<adisbladis> It just really frustrates me to have hardware where I can boot just fine but a majority of the software you might want to run is not working
<adisbladis> For reasons beyond my control
<emily> adisbladis: mhm
<emily> the phone ecosystem is very frustrating
<eyJhb> emily: let me restart and check, setting 1234 as PW for root was not accepted either
<eyJhb> 1 - eyjhb (1000) emily
<emily> adisbladis: FWIW, there's nothing in Wayland that inherently says "the monolithic compositor is responsible for everything", either. you can make a modular, pluggable compositor that delegates to other components for the "WM/DE" functionality (Weston was sort of trying to be this). you could probably even define privileged Wayland protocols for the window management functionality so that the WM component can be an entirely separate Wayland client
<cole-h> (For pluggable, see: Wayfire)
<emily> adisbladis: it's just that the existing stuff is either monolithic to begin with (e.g. GNOME) or based more on a "compositor-creating library / compositor-WM" split like wlroots/sway
<eyJhb> Waait a minute
<emily> though even with sway it has protocols to delegate some functionality to other clients, e.g. screen recording is separated out to clients
<eyJhb> Nvm. Fixed it
<emily> again, Wayland is just a protocol for compositors to talk to clients, and the details of what those compositors actually look like is pretty much entirely up to you
<eyJhb> 100% not because my terminal is qweerty, and xsession is dvorak
<emily> hahaha
<etu> :D
<emily> good job
<MichaelRaskin> cole-h: well, it's in-process pluggable for segfaulty wl_roots
<emily> yeah I don't think an in-process plugin architecture is really the best idea for Wayland
<emily> you already have an extensible IPC protocol right there
<eyJhb> Next part is, and good terminal emulators that can be recomended? (not Emacs)
<cole-h> I like Alacritty :) Definitely not because I made my first real open source contribution there...
<emily> no, there are no good terminal emulators :(
<emily> alacritty is probably one of the least-bad options, fancy Unicode support (emoji (I think partially supported now), ligatures) is a little lacking though, also potentially eats up a lot of GPU memory
<adisbladis> eyJhb: I'll recommend vterm regardless ;)
<adisbladis> libvterm is from neovim!
<adisbladis> So not-strictly emacs
<eyJhb> vterm seems not maintained anymore
<adisbladis> Of course there is more than one vterm
drakonis has joined #nixos-chat
<adisbladis> eyJhb: Don't research it too much
<adisbladis> I'm semi-trolling
<adisbladis> Unless you want to live inside your editor
<cole-h> emily: Emoji support is pretty good in my experience. Ligatures, nobody has offered to work on (and the principal developers don't use them so don't have any desire to implement :P)
<cole-h> But yeah, that GPU memory is something to note (though, it *is* touted as a GPU-accelerated terminal)
<emily> sure, though I kind of question how valuable "GPU acceleration" is for a terminal
<emily> latency is way more important than throughput
<eyJhb> WHy do pages have to list all the ways to install their thing? Just list the platforms that package it damn it
<eyJhb> adisbladis: Do you want me to go full in on vim ?! :p
<adisbladis> eyJhb: You're already on the dark side
<emily> and alacritty did pretty badly when people actually measured its latency (though I think it got better since?)
<ldlework> i've been using urxvt for like 15 years
<ldlework> maybe not that long, but 'for as long as i can remember' :P
drakonis_ has quit [Ping timeout: 272 seconds]
<eyJhb> ldlework: it is what I currently use :P
<ldlework> ah i haven't been following too closely. did you run into some issue
<eyJhb> Somewhat enjoy it. I mostly use tabs, links highlight, and the ability to mark things with keyboard commadns
<eyJhb> Not really, I just feel like it is bloaty and points, managing the plugins are annoying and the way to configure the layout is no fut
<eyJhb> fun*
<eyJhb> But simply reconsidering it, if there is anything that can replace it
<emily> if you find urxvt bloated then maybe st would be more your pace >.>
<eyJhb> Considered that as well
<eyJhb> But I think my bloated is unfair to throw at urxvt, as I cannot explain why I feel that way :p
<eyJhb> But I think I should stop with having tabs in my Terminal emulator, as I can do it in i3 anyways
<eyJhb> Do we have any modules for st?
<emily> not sure which of these two sudo 1.9.0 changelog entries worries me more:
<emily> Sudo now includes a logging daemon, sudo_logsrvd, which can be used to implement centralized logging of I/O logs. TLS connections are supported when sudo is configured with the --enable-openssl option.
<emily> It is now possible to write sudo plugins in Python 4 when sudo is configured with the --enable-python option.
<etu> adisbladis: I should really test vterm some day
<emily> new early-access version of python available exclusively to sudo plugins
<adisbladis> emily: I need to check my calendar, is it april 1?
<srhb> emily: Gotta get some of that!
<adisbladis> emily: This is a good time to mention cole-h recently made a doas module
<emily> yep, I'm running it ^^
<cole-h> Yep, they run it :D
<MichaelRaskin> eyJhb
<emily> although I actually do have a usecase for sudo plugins that wouldn't work with PAM, which is annoying
<MichaelRaskin> Why would st need a module??
<emily> (forwarding yubikey-based sudo over ssh in a way that lets me confirm the actual command being sudo'd)
<emily> probably "patch/clone doas" is my best bet for that I guess
<eyJhb> MichaelRaskin: configuration of it, in a easy way. But I guess one would just use nix magic and override the source?
<MichaelRaskin> I guess so. Or even not really the source, just patches/postPatch
<cole-h> emily: Unfortunately, Duncaen has made it clear they won't merge/implement features that aren't implemented upstream (e.g. in the OpenBSD doas)
<emily> st.overrideAttrs (old: { patches = old.patches ++ [ ./st-config.patch ]; }) I guess
<emily> cole-h: yeah, and that's reasonable
<cole-h> So you could patch OpenBSD doas and then patch Duncaen's port... :D
<emily> cole-h: mostly it would be nice to have something even smaller than doas, that delegates policy
<emily> doas without the doas.conf, "bring your own access control"
<emily> since the sudo plugin thing basically just makes sudoers irrelevant and gives you control over policy
<adisbladis> etu: You really should and tell me how you fixed term titles with fish + vterm ;)
<etu> :D
<etu> adisbladis: Any day now
<bqv> is doas the new popular thing?
<bqv> should i migrate?
<eyJhb> *sigh* maybe I should switch away from bash as well...
<bqv> eyJhb: 72 hours on xonsh and i'm a happy customer
<cole-h> bqv: It's not for everyone. Try it if you like -- it's as simple as `security.doas.enable = true;`
<emily> bqv: look up sudo CVEs and decide for yourself
<bqv> ..before that i was on fish, before that elvish, before that zsh, before that bash
<bqv> cole-h: emily: heh, fair enough
<cole-h> bqv: It "provide[s] 95% of the features of sudo", but do note that means 5% of sudo's features are missing.
<emily> sudo is pretty much strictly more flexible so security and technical aesthetics are the only reasons to use doas, but I really don't trust sudo at this point
<eyJhb> Well, it just seems like most Terminal emulators do not have vi mode, so maybe a shell ... nvm. screw that
<bqv> enabled in config, i'll test it next time i rebuild
<eyJhb> I want vi mode in my terminal emulator
<emily> bash has vi mode...
<adisbladis> eyJhb: Emacs has evil :3
<__monty__> Yeah, what does vi mode in a terminal even mean?
<cole-h> eyJhb: Alacritty has vi mode ;) (master-only until the next release)
drakonis has quit [Ping timeout: 260 seconds]
<adisbladis> __monty__: It means that you can't exit it
<__monty__> Has doas had much battle testing? Cause "problems that were fixed" doesn't sound worse than "unknown problems" to me.
<__monty__> eyJhb: You *should* switch to fish, it's great.
abathur has quit [Quit: abathur]
<adisbladis> I like how much shilling this channel is doing sometimes
<adisbladis> <3
<__monty__> Fish is worth shilling for : )
<adisbladis> Absolutely
* adisbladis remembers a time when there was 3 ppl in the fish irc channel
<cole-h> I wish fish had powerlevel10k (because it's git is super fast)
* adisbladis <- fish hipster
<das_j> __monty__: Have you tried posh? I was thinking of evaluating it but almost nobody I know has any experience with it
<cole-h> s/it's/its/
drakonis1 has joined #nixos-chat
<__monty__> Haven't heard of it. Unless you mean the Spice Girl? If so, she's hilarious.
<bqv> eyJhb: pretty sure most shells have vi mode
<das_j> s/posh/pwsg/
<das_j> s/pwsg/pwsh/
<das_j> looks like typing is not my thing today
<__monty__> bqv: Shells yes, but terminals?
<bqv> well, if you want a terminal with vi mode, maybe try emacs?
<adisbladis> __monty__: I can't ever think of her without thinking of the interview with Ali G
<__monty__> Afaik the emacs-y/vi "modes" of shells are just readline?
<__monty__> adisbladis: That's exactly what I had in mind : )
<adisbladis> "Do you want to be a footballer like your dad or a singer like Mariah Carey"
<adisbladis> Something like that
<adisbladis> <3
<adisbladis> Ali G overall
<adisbladis> <3
<__monty__> <3 Ali G
drakonis has joined #nixos-chat
<eyJhb> Needs to be the terminal emulator, as if it is just the shell it isn't useful in many commands. But nice if alacritty has it
<eyJhb> But I will have to look at it all, but shell should be changed at some point
<eyJhb> But might stay with ldlework :p
abathur has joined #nixos-chat
<__monty__> Didn't know ldlework was a shell.
<emily> i'm not really sure what you want from a terminal emulator vi mode, just selection functionality?
<emily> if so, termite has that
<ldlework> Here is my handle, here is my spout.
<pie_> MichaelRaskin: you use freepascal?
<MichaelRaskin> Rarely nowadays
<MichaelRaskin> But sometimes
<MichaelRaskin> And I am not sure anything better than Delphi/Lazarus for quickly making simple GUIs will ever exist…
<pie_> yeah thats sort of the only reason im kind of inclined to look at it
<pie_> my uncle might give me a part time delphi job idk
<pie_> im not a fan of pascal syntax but reading around on the internet it doesnt sound completely terrible
<ashkitten> i've tried fish but didn't really like it over zsh, partly because of it wanting to rope me into its stateful superglobal variable setting
<pie_> though im actually yet to read a decent language summary so uhh
<ashkitten> fish seems to be meant more for people who don't like writing configs
<pie_> somehow the first thing i ended up trying to research is if i can write custom analysis passes...
<pie_> (alternatively; if anyone wants to give me a flexible nix job :P)
<MichaelRaskin> pie_: Pascal is very readable.
<MichaelRaskin> Traditionally, Pascal compilers are better at complaining that you do an undefined thing than at optimising via undefined behaviour abuse
<pie_> heh
<pie_> MichaelRaskin: sidenote; poked you because your listed as the package maintainer
<pie_> MichaelRaskin: have you looked at any fpc internals?
<__monty__> ashkitten: Not sure what you mean. Pretty sure you can use config.fish like zshrc.
<MichaelRaskin> Actually yes, a bit
<MichaelRaskin> But very long ago
<pie_> how is it?
<pie_> im not much of a compiler engineer / i havent looked yet (but im probably about to once i clean up my tabs a bit)
<ashkitten> __monty__: sure, but i don't like how easy it is to accidentally insert stuff into the binary formatted fish superglobals file
<cole-h> __monty__: They probably meant the `set --global --export` and `set --universal` vs the `export` of bash and zsh
<MichaelRaskin> I think it was pretty clean and straightforward
<MichaelRaskin> But I do not remember which parts I read
<MichaelRaskin> It also follows the old Wirth maxim that a compiler should compile itself in reasonable time
<__monty__> ashkitten: Maybe set up gchristensen's erase-on-boot but just for fish? : )
<ashkitten> lol
<ashkitten> or! fish could stop tricking me into doing a statefulness
<pie_> MichaelRaskin: hehe
<__monty__> But to answer your question, fish's history completion is better than zsh's. The differences aren't dramatic but death by a thousand cuts... It's also quite a bit snappier according to someone I convinced to switch recently.
<ashkitten> anyway i think i ended up liking zsh more because i'm still used to bash-isms and zsh is way more clear
<ashkitten> i still need to figure out how to make / in my vim mode work properly
<ashkitten> but keep forgetting because i use it so little
<__monty__> das_j: Oh, if you meant powershell why didn't you say powershell? I'm sure there must be some former windows users here.
<ashkitten> yes i've heard fish's vim mode is top tier
<ashkitten> powershell rocks actually
<das_j> __monty__: because people tend to hate on microsoft products if they didn't try them ;)
<ashkitten> hot take powershell is cool
<__monty__> Don't use vim mode. But the history completion's enough to convince pretty much anyone to make the switch to fish #nobs.
<ashkitten> powershell function naming conventions suck but what other shell has support for structured data
<das_j> ashkitten: xonsh if you really hate yourself
<ashkitten> my gf thinks processing loads of text with awk and grep and sed is better than structured data and maybe it is it terms of speed but it's not in terms of usability
<__monty__> What sort of structured data processing are people doing in terminals so often?
<ajs124> ashkitten: awk, grep and sed? aren't you misspelling perl?
<ashkitten> i mean, piping ls to anything is one
<ashkitten> ajs124: perl isn't coreutils
<das_j> __monty__: One classic example is having some table (like ps), and grepping over that. regular grep (if you don't write fancy regex expressions) will always search all columns
<MichaelRaskin> Also, Perl is less readable than sed
<ajs124> Janne Heß: grepping ps? what is this and why isn't it pgrep?
<das_j> Andreas Schrägle: I have never seen you using pgrep so don't play a card you don't have ;)
<__monty__> I sometimes resort to ps | rg because pgrep has trouble with nix wrappers for some reason.
<ajs124> Janne Heß: pgrep is literally aliased in my dotfiles 👀
<ashkitten> i don't trust pgrep because i can't see the command line associated with the pid it gives, lol
<ajs124> if you grep the shell history on our servers, you'll probably find it a lot. it's what I find to kill nix-store processes.
<ajs124> s/find/use to find/
<__monty__> Also, ripgrep's already so fast I can hardly imagine being smart enough not to grep the PID column is gonna be noticeable to me.
<ashkitten> powershell to me is strong for shell one-liners where you would otherwise have to do some janky parsing of a command's output
<ashkitten> also iirc output redirection in powershell is top tier
<__monty__> Does it work for *any* structured output? Or does it require understanding of the command? Or altering of the command?
<ashkitten> i'm pretty sure it can parse json, and columnar output with some teasing. if you're using builtin commands then they already output structured data that's formatted at display time
<ashkitten> not sure otherwise
<emily> ashkitten: what do you mean by "binary formatted fish superglobals file"? my ~/etc/fish/fish_variables is tracked in git and totally plaintext
<emily> if you are interested in "structured shells" then see also nushell, elvish
<__monty__> emily: It doesn't seem to be where `set -U blah blah` goes though?
<ashkitten> iirc when i looked at that file it was not easily readable
<emily> it is for me
<__monty__> Yeah it's plain text for me too.
<emily> ashkitten: it has a bunch of ansi escapes in it for the default prompt setting
<emily> but that's just because the strings are not readable to start with
<ashkitten> i don't remember
<emily> it's wholly in text form (\x1d escapes etc.)
<emily> __monty__: emily@renko ~> set -U foo bar; tail -n 1 ~/etc/fish/fish_variables
<emily> SETUVAR foo:bar
<emily> replace ~/etc with your $XDG_CONFIG_HOME, of course
<ashkitten> okay
<__monty__> Huh, guess I just haven't set my usual vars on this box. Saw that file but it only had fish defaults in it.
<eyJhb> emily: selection functionality yes
abathur has quit [Quit: abathur]
<gchristensen> I tried to buy a chest freezer but it is back-ordered until August 22 :x
<pie_> so no bodies to hide until then i guess
* __monty__ starts pinching his nose.
<etu> gchristensen: ouch
<etu> I've ordered an antenna more than a month ago from a German store that said "in stock soon (with a date)", now it's on hold for unknown time because the manufacturer in the US can't get parts :/
<eyJhb> gchristensen: do you need one sent from DK?
<gchristensen> it would get here sooner :'0
<eyJhb> It would yes :p
<eyJhb> Maybe not cheap
<pie_> MichaelRaskin: any recommendations on lazarus setup? ive got it running in a shell but compiling the example project or whatever it is immediately runs into errors for several missing gui libs
<MichaelRaskin> Hmm, I do not remember exactly what I did
<MichaelRaskin> Maybe just passed all the dependency libraries via LD_LIBRARY_PATH
<pie_> i mean i can of course just start adding them but if you have a nix expression of the most commonly missing stuff or something that would help
<MichaelRaskin> I think it might be missing the same libraries that are already its dependencies
<{^_^}> #48871 (by OPNA2608, 1 year ago, open): lazarus: Unable to compile any program
andi- has quit [Ping timeout: 260 seconds]
<pie_> i did nix-shell -p lazarus and lazarus-ide isnt wrapped
<eyJhb> __monty__: https://i.imgur.com/RE4tjjl.png fonts
<pie_> MichaelRaskin: ok after taking a closer look at the nix file i want startlazarus
<pie_> i wish we had a meta option for "default launcher bin" or something
andi- has joined #nixos-chat
<pie_> mmm...linking errors while telling lazarus to rebuild itself :/
<pie_> probably best to throw FHS at it but i dont feel like figuring that out...
<MichaelRaskin> Did you try adding all of the deps to LD_LIBRARY_PATH?
<pie_> Build IDE: Exit code 2, Errors: 1
<pie_> lazarus.pp(165,1) Error: Error while linking
<pie_> /nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: cannot find /nix/store/anvwd9iwqvqj998s01pdv2j7brdwlq9g-lazarus-2.0.8/lib64: No such file or directory
<pie_> /nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: cannot find '-rpath: No such file or directory
<pie_> /nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: warning: /home/user/.lazarus/bin/link.res contains output sections; did you forget -T?
<MichaelRaskin> Hm
<pie_> i think i found a linker file
<pie_> doesnt contain any references to lib64 though
<pie_> err, same linker file as mentioned in the above message
<pie_> ok i figured out how to work the output dialog
<pie_> trying to get it to copy the messages hangs the ide though >_>
drakonis1 has quit [Ping timeout: 258 seconds]
<__monty__> eyJhb: ? If you mean the coloring usually highlighting the text will make it readable.
<ldlework> Your daily invitation to be contributor to Styx, and join us in #nixos-styx as we work out our roadmap.
* ldlework makes rainbow gesture.
<cole-h> Would you say you're located... out in the styx?
slack1256 has joined #nixos-chat
<cole-h> 😎
<__monty__> If only styx didn't use the nix language.
<ldlework> I'm starting to warm up to it.
<ldlework> functionally, it's such a match made in heaven for the use-case
<ldlework> my biggest difficulty with Nix is mostly debugging it
<__monty__> Yeah, that's the problem.
<adisbladis> I'd kill for a Nix debugger
<__monty__> Give me types, I'm not smart enough for untyped programming.
<ldlework> I wish it were typed too
<adisbladis> gchristensen: Haskell?
<pie_> > this will put 152 mb of text on the clipboard, are you sure?
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):312:46
<pie_> oh.
<__monty__> gchristensen: You mean nix, which is something to find a replacement for?
<gchristensen> I'll give you a hint
<pie_> adisbladis: i wonder if using the haskell implementation with the ghci debugger would work
* adisbladis actually likes programming in Nix
<samueldr> obviously it's bash
<gchristensen> you might be surprised that they decided to go without it
<adisbladis> Oh
<samueldr> I guess gchristensen is thinking of Go
<samueldr> but it could be Dart
<jD91mZM2> OOOOH yeah lol
<adisbladis> They darted past it
<pie_> oh lol <samueldr> I guess gchristensen is thinking of Go
<ldlework> > gchristensen is thinking of Go
<{^_^}> undefined variable 'gchristensen' at (string):312:1
<ldlework> if only
<adisbladis> gchristensen: I guess they don't want languages with Gc in chromium
<__monty__> ldlework: I think I'd want dhall as a language for this. Rib's interesting too: https://rib.srid.ca
<ldlework> that kid had promise
<ldlework> ^_^
<emily> adisbladis: not so, the very same page talks about expanding GC more widely as a memory-safety strategy
<emily> Go is just crappy at deeply integrating with C(++) codebases, tbh
<joepie91> adisbladis: it lists JS though
<adisbladis> joepie91: Different contexts
<gchristensen> and Java is on the list
<adisbladis> emily: Oh
<ldlework> __monty__: haskell is another level, but if you can climb that high good on ya
<adisbladis> I mentally blocked out Java
<gchristensen> emily: so is rust on the C++ front
<emily> gchristensen: it doesn't have the same fundamental "impedance mismatch" problems cgo is dealing with but yes
<emily> Rust's case is more a "small matter of tons of infrastructure", Go actively chooses to exist in its own world for the most part
<adisbladis> emily: lmftfy "Go is just crappy at deeply integrating with * codebases, tbh"
drakonis1 has joined #nixos-chat
<gchristensen> careful now lol
<MichaelRaskin> Well, C++ is garbage at allowing deep integration
<__monty__> ldlework: It's really not. Not sure why that perception is so widespread.
<adisbladis> I like Go, but the FFI story is not good.
<ldlework> I've tried twice now. *shrugs*
<__monty__> But dhall is the closest thing I know to "typed nix."
<jD91mZM2> I am finally managing everything in my dotfiles, in one way or another, with Nix btw guys :D Took me some time, but I now use Emacs with Nix, and I place my bspwm config file using Nix! I delayed this because I didn't want to lose the ability to update config files without running home-manager switch, but for my most active components I have made a cool little HM module that directly links
<jD91mZM2> stuff instead of linking to a /nix/store copy. Unrelated thing, I'm just happy about it :)
<emily> Haskell is easier than Nix in some ways. it has better error messages :p
<adisbladis> jD91mZM2: Right! I meant to ask someone about this, but what's your workflow around LSP in emacs
<pie_> MichaelRaskin: i think its looking for lib64 in the startlazarus directory?
<pie_> bin lazarus share
<pie_> $ ls /nix/store/anvwd9iwqvqj998s01pdv2j7brdwlq9g-lazarus-2.0.8/
<jD91mZM2> adisbladis: I use lsp-mode, lemme get you a link to my config. It's fairly basic
<cole-h> jD91mZM2: Sounds like you implemented the recently-added `config.lib.file.mkOutOfStoreSymlink` yourself ;^)
<ldlework> The thing I like about using Nix for this, is that you can just whip up secondary tools and bring in anything you want to process your data however you'd like.
<pie_> ok i have no idea but yeah
<adisbladis> jD91mZM2: I found the ergonomics lacking. It kept asking me about "blah blah do you want to import this project" something
<adisbladis> I'm severly lacking on details as I gave up quickly
<pie_> ldlework: have you talked to profpatsch lol
<cole-h> adisbladis: I don't think it asks if it's a vcs-controlled project
<ldlework> pie_: no idea who that is
<jD91mZM2> cole-h: Oh, that's a thing? AAAAAAAHHHHH
<cole-h> adisbladis: When I was doing my programming assignments this last semester, they weren't in git repos and thus asked me to import it lol
<adisbladis> I guess lsp-auto-guess-root is where the magic happens
<__monty__> pie_: Expand? I <3 Profpatsch.
<adisbladis> jD91mZM2: Thanks <3
<adisbladis> I'm gonna try it again with your config
<adisbladis> I really want rnix-lsp :)
<gchristensen> it is insane that grocery stores here are still not "normal"
<pie_> MichaelRaskin: its from the wrapper though so im about to check that
<jD91mZM2> cole-h: Ok, that's cool! Mine is way over-engineering compared to that, I made my own activation script that links stuff
<__monty__> gchristensen: Is it? Seems reckless if I see the US numbers.
<gchristensen> I mean, like,
<cole-h> jD91mZM2: Yeah, I did the same before that was added :D
<gchristensen> I still can't buy toilet paper.
<__monty__> Oh, that took weeks to resolve here too. Don't think many people actually ran out though.
<jD91mZM2> cole-h: Aha, fun :)
<gchristensen> there are many things I am running out of that I also can't get
<__monty__> Flour's the big one here.
<gchristensen> like flour :)
<samueldr> I've been reading that it wasn't for some US people, but it seems they maybe weren't alone?
<samueldr> I think the only not-normal thing is one brand of TP that, I think, comes from the US still isn't available here, otherwise it seems mostly normal
<jD91mZM2> adisbladis: And yes btw, sorry, lsp-auto-guess-root is the magic. But I agree there's waaay too much default interactive stuff with lsp-mode. I still haven't really solved that when you start it in a buffer with missing lsp it just goes dO YoU wAnT Me To DOwnLOaD ShaDY BInaRIeS Of ThIS LanGUAge SErVeR??
abathur has joined #nixos-chat
<adisbladis> jD91mZM2: I'm gonna steal some stuff from your config later <3
<jD91mZM2> Yay, do that! Let me know how it goes, and if you have any problems. I'm heading off for the night
<cole-h> o/
<pie_> MichaelRaskin: the NIX_LDFLAGS substitution is kind of broken i think
<jD91mZM2> cole-h++ btw
<{^_^}> cole-h's karma got increased to 60
<MichaelRaskin> pie_: pity
<MichaelRaskin> Thanks for the investigation of the current state! pie_++
<{^_^}> pie_'s karma got increased to 13, it's a crit!
<__monty__> Welcome to the Unlucky 13 club, pie_ : )
<adisbladis> Funny idea for karma farming: Change your nick to your normal nick ending with ++
* __monty__ jumps on the bandwagon
<samueldr> + isn't in the allowed nick characters on this server
<adisbladis> Aww :/
<__monty__> Oh smh, freenode conspiring with infinisil to make scamming impossible.
<pie_> MichaelRaskin: should be easy to fix i think? i edited startlazarus by removing the two extraneous paths end removing some weird quoting and it seems to work now
<ashkitten> karma farming, or karming for short
<pie_> MichaelRaskin: yep, successfully recompiled in single window ide mode
<pie_> though it seems kinda ugly...
<__monty__> Is ✨ allowed?
<MichaelRaskin> Oh cool
<cole-h> Oh no, I updated unstable-small and now I'm rebuilding the world.
<cole-h> Mistakes were made
<ashkitten> does it even work without a space between ✨ and the nick?
<ashkitten> ✨ashkitten
<ashkitten> yeah, no
<pie_> MichaelRaskin: are you willing to fix the package?
<MichaelRaskin> I dunno, I am kind of resigned that what we do with linking is ugly-ish, and FPC does things slightly differently, so if it is transparent ugly, so be it
<samueldr> even then, the IRC protocol only "supports" UTF-8 by treating everything as bytes in messages
<samueldr> (iirc)
<samueldr> at least, at one point it was
evanjs has joined #nixos-chat
<MichaelRaskin> pie_: could you paste the diff?
<pie_> MichaelRaskin: yeah was about to do something uglier than that, good idea
<MichaelRaskin> I can merge or turn it into postInstall sed or something
<pie_> MichaelRaskin: i mean i jsut edited the raw script
<pie_> ill show you
<MichaelRaskin> I guess you copied it out of the package and edited
<MichaelRaskin> So you can diff
<pie_> MichaelRaskin: not great lol https://bpa.st/DM7Q
<pie_> yeah
<pie_> err
<pie_> no?
<pie_> so i just removed the weird quote noise and the two rpath entries
<pie_> but it looks like the nix script is substituting NIX_LDFLAGS from the build environment
<pie_> i havent done a thorough triage
<pie_> MichaelRaskin: if you happen to fix, please leave a comment on https://github.com/NixOS/nixpkgs/issues/48871
<{^_^}> #48871 (by OPNA2608, 1 year ago, open): lazarus: Unable to compile any program
<pie_> MichaelRaskin: i think the issue can also probably be close?
<MichaelRaskin> Well, if it ends up working reliably and with no external setup around
<MichaelRaskin> Thanks
<evanjs> Welp. I’m back lol
<evanjs> That was super easy this time. After I got my dev license back bc I didn’t want to setup a dummy Apple account and had to use Device Impactor, etc
<evanjs> Saw “deb” again when I started installing packages and sad I can’t do nix tho lol
<eyJhb> Why can't you?
<__monty__> evanjs: Running the jailbreak or creating the jailbreak?
<eyJhb> Guessing running
<eyJhb> And that nix does not run on iPhone
<cransom> so, whats the killer app for a jail broken iphone?
cole-h has quit [Quit: Rebooting]
cole-h has joined #nixos-chat
<evanjs> eyJhb: yeah the closest I got was trying to install it with iSH lol
<evanjs> __monty__: and yeah running
<eyJhb> `May 24 22:27:30 eos2 xss-lock[1604]: Error spawning locker: Failed to execute child process “physlock” (No such file or directory)` damn it
<evanjs> cransom: so one of the things that got me interested again was truecuts. If you’re familiar with shortcuts (formerly workflow) they now allow you to make automations
<evanjs> But some automations cannot run before prompting the user, like in a notification
<evanjs> Truecuts allows you to remove such restriction and run _any_ automation without user interaction 😃
<evanjs> Just one of the things that made me want to get into this again
<evanjs> A simpler commonly desired feature is the ability to discretely screenshot in Snapchat in etc, lol
<cransom> ah. when i jailbroke much earlier, there wasn't all that much interesting that i felt the need to keep it.
slack1256 has quit [Remote host closed the connection]
xd1le has quit [Ping timeout: 260 seconds]
xd1le has joined #nixos-chat
<gchristensen> I got 2 full pounds of rice wet by mistake. any tips?
<__monty__> Rice pudding/cake?
<__monty__> Sake?
<adisbladis> Make tons of fried rice
<gchristensen> rice pudding takes 1/2 cup of rice to make 6 servings
<gchristensen> multiple tons of fried rice sounds best case scenario
<__monty__> Yeah, but rice pudding's delicious : >
<cransom> cook/cool/divide freeze sounds optimal
<gchristensen> cransom: probably right
<MichaelRaskin> Another option for «ton of rice» is https://en.wikipedia.org/wiki/Pilaf
<adisbladis> gchristensen: Topokki!!!
<adisbladis> Topokki <3 <3 <3
<adisbladis> Omg my mouth is watering just thinking about it
<gchristensen> adisbladis: link??
<MichaelRaskin> As an overview
<adisbladis> Maangchi is great for korean recipes
<adisbladis> You can use the rice in the blender instead of using rice flour
<adisbladis> Bai tang gao (spelling?) is also really good
<adisbladis> I used to have that one all the time, it's a sweet rice dessert
<adisbladis> Never made it myself though
<adisbladis> gchristensen: There's lots of different nice chinese rice cakes
drakonis1 has quit [Ping timeout: 256 seconds]
<adisbladis> Super ambitious: Cheung Fun
<adisbladis> Omg
<adisbladis> You're getting me started
<gchristensen> adisbladis: I'mma need a list of recommended recipes, b/c they all sound amazing -- but for this batch I'm going to make it boring style since I think I pretty much just have to cook it straight away
<MichaelRaskin> Boring way is boil and then mix with spices before eating?
<MichaelRaskin> (me: still not sure there is another way, well, maybe boil-then-dry-fry)
<adisbladis> Normally cheung fun is made with shrimp or pork (char siu), but the place I always went to have it had a delicious one with mushroom (dong gu) and zucchini
<adisbladis> This was my go-to breakfast as I lived right next to a michelin rated place that had it and was dirt cheap
<gchristensen> :o
<adisbladis> I'd really want to find proper dong gu for this though
xd1le has quit [Read error: Connection reset by peer]
<samueldr> (can you be michelin rated, but the worst rating?)
xd1le has joined #nixos-chat
<adisbladis> God I miss this kind of food
<gchristensen> having never *really* having it ... me too.
drakonis1 has joined #nixos-chat
<emily> you ever take so long to upstream a nixos module that you forget how to use it by the time you're writing the docs?
cole-h has quit [Quit: Rebooting]
cole-h has joined #nixos-chat
cole-h has quit [Client Quit]
<evanjs> emily: how about why you opened the PR in the first place? 🤪
cole-h has joined #nixos-chat
<emily> https://gist.github.com/emilazy/8941339de265939c6ffd3761251c3d6c somehow I feel like there's no way I worded this clearly enough for someone whose DNS provider doesn't support glue records to actually get it right first time :/
xd1le has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos-chat
xd1le has joined #nixos-chat
drakonis_ has quit [Ping timeout: 272 seconds]
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
xd1le has quit [Quit: Quit]
<joepie91> automagical data visualization server thingem
<aleph-> Nice
drakonis2 has joined #nixos-chat
drakonis1 has quit [Ping timeout: 240 seconds]