gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<ashkitten> ugh, i don't want to learn to use code with gstreamer
<lovesegfault> ashkitten: I had to recently
<lovesegfault> it was painful
<ashkitten> it's a very cool software! and i would like to be able to do this very simple seeming thing with just gst-launch-1.0
<ashkitten> all i need is an element that's exactly like the tcpserversrc element except it can handle clients disconnecting and reconnecting
<ldlework> infinisil: gchristensen: pie_: http://logos.ldlework.com/caps/2020-06-10-00-17-45.png
<ldlework> :D
<gchristensen> hot!!
<pie_> pretty \o/
<ldlework> :)
<pie_> once zo have the frontend done you can start patching nix :ppp
Jackneill has quit [Ping timeout: 256 seconds]
<ldlework> pie_: what do you mean?
parsley936 has quit [Remote host closed the connection]
<risson> flake 'github:NixOS/nixpkgs/1d8c4410687390f9b8f92dbe6ff39fd8fc2b17c6' lacks attribute 'edition' grmbl
<risson> It was removed 2 days ago :/
Jackneill has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 246 seconds]
<ldlework> Now you can supply -v multiple times to get more information
<joepie91> ldlework: I'm waiting for the obligatory "❌ alwaysTrue"
<ldlework> hehe
<ldlework> I guess I could probably release what I have as 0.1
<ldlework> Trying to think what else is needed minimally
<ldlework> joepie91: help me with a nix-env invocation that would install nixt from github
drakonis_ has quit [Ping timeout: 256 seconds]
<infinisil> #90000
<{^_^}> https://github.com/NixOS/nixpkgs/pull/90000 (by mweinelt, 33 minutes ago, open): pythonPackages.spidev: init at 3.5
<joepie91> ldlework: sorry, about to go to bed :P
drakonis_ has joined #nixos-chat
<ashkitten> i'm dying of gstreamer
<ashkitten> i figured out how to do part of what i want
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos-chat
das_j has joined #nixos-chat
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos-chat
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
drakonis1 has quit [Quit: WeeChat 2.8]
rajivr has joined #nixos-chat
skrzyp has quit [Ping timeout: 260 seconds]
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
<ldlework> Nixt 0.1.0 released: https://github.com/nix-community/nixt
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 246 seconds]
<ldlework> https://github.com/nix-community/nixt/ repo made public
<lovesegfault> Anyone seen worldofpeace lately?
<lovesegfault> Haven't talked to them in a long while
<samueldr> there's no cause for concern, only yesterday worldofpeace has been active :)
<samueldr> (or the day before)
<ashkitten> ugh okay, i gave up on gstreamer shenanigans
<{^_^}> mopidy/mopidy#1920 (by ashkitten, 21 seconds ago, open): add continuous output for use with icecast
<lovesegfault> samueldr: Good to hear :)
<worldofpeace> lovesegfault: I keep my github status's as an up to date message for my activity 😉 for a month I've been away, and a few weeks ago a put in my status what exact day I was coming back
<worldofpeace> I'm back sorta now, but I'm just easing into it
endformationage has quit [Quit: WeeChat 2.6]
<lovesegfault> cccccckrhihknkefjjdduelehlknkcgkbtkeivvuhclh
<lovesegfault> oops
<samueldr> ccccccccombo breaker
<ldlework> yyyyyyyyubikey-key-key-ey-y
<lovesegfault> worldofpeace: Good to hear! Mostly just wanted to make sure you were healthy and well :)
<ashkitten> i wonder if i could fix this issue myself in mopidy
<ashkitten> but i don't understand how gstreamer applications work
<ashkitten> at the surface level it doesn't seem like such a big fix, at least
bqv has joined #nixos-chat
<lovesegfault> talyz: Please test https://github.com/nix-community/impermanence/pull/3 if you can :)
<{^_^}> nix-community/impermanence#3 (by lovesegfault, 3 days ago, open): nixos: bind mount with correct permissions
<worldofpeace> lovesegfault: I'm very healthy, as diva as it gets and probably a bit of a cyborg now
<worldofpeace> oh wait
<worldofpeace> I'll do a channel greeting
<cole-h> lovesegfault: "we want to get both /source/target/foo/bar/bazz and /target/foo/bar/bazz" Should that be "/source/foo/bar/bazz and /target/foo/bar/bazz"?
<worldofpeace> there cringy asf worldofpeace channel greeting. I hope it haunts me forever
<lovesegfault> cole-h: nope, you read it right
<lovesegfault> /state/etc/ssh/foo.key -> /etc/ssh/foo.key
vesper has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cole-h> Oh, I understand now.
glittershark has quit [Quit: ZNC 1.7.5 - https://znc.in]
vesper11 has joined #nixos-chat
glittershark has joined #nixos-chat
<cole-h> Maybe a more concrete example than our favorite foo bar baz would go along way so that others don't also have that confusion...
evanjs has quit [Read error: Connection reset by peer]
<cole-h> (e.g. exactly what you just wrote)
<worldofpeace> wtf, matrix just ruined that for me
<lovesegfault> cole-h: yep, on it
evanjs has joined #nixos-chat
<cole-h> lovesegfault: While you're touching that
<cole-h> lovesegfault: newline between the paragraphs, newline before the list (1. ..., 2. ..., etc), and add 2 spaces before each number in that list
<cole-h> Looks cleaner and easier to read
<lovesegfault> cole-h: pushed
<worldofpeace> here since matrix ruins everything #nixos-chat https://mastodon.social/web/statuses/104318240050921633
<cole-h> worldofpeace: lmaooooooooo
<worldofpeace> I've tooted the logs
<worldofpeace> we shall remember this day
__monty__ has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<lovesegfault> cole-h: did you configure zed?
<cole-h> Nope :)
<cole-h> I only did 2 ZFS things -- installed ZFS, and configured znapzend
<lovesegfault> Where do you zsnapsend to?
<cole-h> Nowhere (^:
<lovesegfault> lolwat
<cole-h> Local snapshots that only protect against user screwups and not system screwups
<cole-h> I need to get another external, because my current external is NTFS from when I used it for my Windows backups X years ago
<cole-h> (The very same one that was transferring my 400GB VM image at sub-1MB/s
<cole-h> )
<lovesegfault> I want a fancy one
<lovesegfault> like this
<cole-h> 1TB backup drive -- whack
<cole-h> 8TB spinning rust all day
<lovesegfault> Thunderbolt 3!!
<lovesegfault> 40GB/s baby
<cole-h> I would fill that up within probably a month of backups
<lovesegfault> wat
<lovesegfault> how much data do you go through
<samueldr> all of it
<cole-h> Well, considering it would have to back up a 400GB VM image every time
<cole-h> (:
<lovesegfault> Windows VM?
<cole-h> ye
<cole-h> worldofpeace: loving the "diva" sound effect lol
<worldofpeace> cole-h: ok, so, I think I've transcended graham's ofborg https://mastodon.social/web/statuses/104318297504144318
<worldofpeace> lovesegfault: ^ that's how I'm doin
<cole-h> "I coming for your gig"
<cole-h> :-D
<cole-h> lmao I see that sneaky delete-and-repost
<worldofpeace> ok
<worldofpeace> so
<worldofpeace> the upgrades
<worldofpeace> didn't include a punctuation module
<cole-h> still settling in? ;)
<lovesegfault> If I play that my wife is going to hear it
<lovesegfault> should I play it?
<lovesegfault> :P
<worldofpeace> that wasn't in the payment plan
<cole-h> haha
<__monty__> worldofpeace: No public view of that?
<cole-h> lovesegfault: If you're ready to explain who it is to her ;P
<worldofpeace> I would love to hear anyone's discussion explaining who worldofpeace is to their wife
<lovesegfault> Alright, I will protect my ability to use the IRC for tonight
<worldofpeace> __monty__: what do u mean?
<worldofpeace> the post is public
<cole-h> "cyborg that does lots of important NixOS stuff"
<eyJhb> "So it it this world of peace. that is a diva"
<cole-h> how'd I do
<eyJhb> Easy
<cole-h> diva cyborg****
<lovesegfault> I don't want her to think I'm on an online robot diva chat
<cole-h> lovesegfault: Why not?
<cole-h> ;P
<__monty__> worldofpeace: mastodon.social wants me to sign up.
<lovesegfault> s/think/know/
<__monty__> And I love the mastodon marketing but I don't feel a need to toot/tweet and I'm disillusioned by federation.
<cole-h> __monty__: Strange, I don't get that when I open in a private tab
<worldofpeace> yeah, it should be public
<worldofpeace> __monty__: if you mean how I look now, here https://mastodon.social/web/statuses/104278018885037926
<__monty__> Hmm, that url works fine. Guess you deleted the other?
<worldofpeace> ohhh
<cole-h> Oh
<cole-h> Yeah
<__monty__> Top joke though.
<cole-h> wop made a punctuation boo-boo that I pointed out, so had to repost >:)
<worldofpeace> It was a very on brand move for cole-h tbh
<worldofpeace> lovesegfault: so, as eyJhb said, that's worldofpeace, this is what we call a diva. but not like an online robot diva chat, don't get it twisted. they wish they could get ilke me
<__monty__> I'm pretty sure the ASMR crowd has a subset that'd be into these audios.
<cole-h> worldofpeace: Most of my open source contributions are nitpicks
<__monty__> Wow, what's with Conor McBride being such a tease.
<worldofpeace> __monty__: omg
<worldofpeace> wait
<ashkitten> worldofpeace: i don't think i'm capable of comprehending those posts you linked lol
<cole-h> OK, I need to hydrate and then sleep. Catch y'all on the flip side.
cole-h has quit [Quit: Goodbye]
<worldofpeace> __monty__: monty, I see you
<__monty__> o.O
<ashkitten> i'm so lost
<worldofpeace> u thought I wasn't going to clap back now
<worldofpeace> ashkitten: ok so, divaspeaking, I'm basically cyborg now and this is my greeting to #nixos-chat
* __monty__ fights the sudden urge to go underground
<ashkitten> what is divaspeaking
<__monty__> I fear only checking out the mastodon post will clarify that.
<__monty__> Or toot, rather.
<ashkitten> i uh
<ashkitten> did
<__monty__> Well toot*s*
<ashkitten> which clarified nothing
<worldofpeace> U just have to listen to find out
<ashkitten> actually listening might've made me more confused
<worldofpeace> ok, I'll clear things up
bqv has quit [Ping timeout: 272 seconds]
* __monty__ waits for another divaspeaking recording explaining divaspeaking.
<ashkitten> i cant tell if my broken brain just cant parse the joke or if it's intentionally obtuse tbh
bqv has joined #nixos-chat
<ashkitten> but i'll wait for you to clear things up like you said
<worldofpeace> ashkitten: it's there
<ashkitten> i don't know if that was meant to actually clear anything up actually
<ashkitten> or if it was and i'm not getting it
<ashkitten> i'm tired and my brain is fried from gstreamer on top of being broken like normal
<worldofpeace> so basically, one month is a long time to be away from nixos. I haven't been able to do such great stuff with yall. I missed everyone terribly, so I needed a solution to share myself even greater. Now from just being diva worldofpeace I'm diva **cyborg** worldofpeace. I believe gchristensen has gone through a similar transition like this with ofborg
<worldofpeace> his style is a little different than mine, he isn't actually a diva. but y kno, it's what you make of it
<DigitalKiwi> worldofpeace: get gchristensen to do nixos office hours friday :D
<ashkitten> i thought ofborg was a github bot
<worldofpeace> perhaps tomorrow I can do a stream and we can all do some bonding exercises and we'll see if Friday can be just chatting and we have fun?
<DigitalKiwi> we can stare at the leds
<worldofpeace> ashkitten: so gchristensen might not confirm this, but he's optimized a part of his conciousness to the github bot. so it's like a module. I have something similar going on, but tbh I'm more advanced now than you could possibly imagine
<DigitalKiwi> *cackle*
<worldofpeace> DigitalKiwi: that sounds kinda dull
<worldofpeace> I was thinking we could just do https://skribbl.io/
<ashkitten> tell me how to upload myself to the internet pls worldofpeace
<DigitalKiwi> have you seen the leds? they are anything but dull
<DigitalKiwi> i watched them for hours lol
<DigitalKiwi> maybe i'm just easily entertained :(
<worldofpeace> ashkitten: you're doing it right now, with each word you write. I keep a portion offline though because it can be tiresome having everybody at your throat sometimes
<DigitalKiwi> but my constant state of boredom suggests otherwise
<ashkitten> yeah but how do i upload my entire consciousness to the internet and escape this meat body
<DigitalKiwi> first you're going to need to be a billionaire
<ashkitten> gross
<DigitalKiwi> ikr
<worldofpeace> ashkitten: I have not mastered that I'm afraid. It's been more, how can I alter this meat body to suit my needs and live in both
<ashkitten> who would want money when they could instead give that money to people who need it more
<worldofpeace> I'm very sorry though that I can't console you about that though
<DigitalKiwi> well here's the thing...
<worldofpeace> *writes this down as a stream topic
<worldofpeace> gchristensen: if you're seeing this let's chat OMGGGGGG. like, can we just be stupid for a minute? Like, let's just start fresh and be playful about anything really.
<worldofpeace> (tomorrow obvi tho)
<ldlework> got one of my old game competition games working again, http://logos.ldlework.com/caps/2020-06-10-07-21-54.mp4
<worldofpeace> that's like having astigmatism. looks pretty understandable tho
<ldlework> two! make that two!
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 272 seconds]
bqv has joined #nixos-chat
<ldlework> :D
<eyJhb> Ahh sweet sweet exams, and having them online is pretty nerve wrecking
<eyJhb> It is much nicer physical, because then there will always be a couple of guys saying they haven't read up on it at all. And then you feel better about yourself :p
<DigitalKiwi> ace it. wreck that curve
<eyJhb> I have had around 24 hours to read up on
<eyJhb> So I will wreck it, but a lot in the negative direction :p
<manveru> ldlework: those are pretty cool, how did you make them?
<ldlework> manveru: in python for the pyweek competition
<ldlework> all made in less than a week
<manveru> wow
<manveru> with SDL?
<ldlework> sometimes
<ldlework> others with opengl/pyglet
<manveru> my son still wants to write games... but haven't found a really easy engine that doesn't involve python or js yet :P
<ldlework> If I were going to introduce a young person, I would definitely go the TypeScript/PhaserJS route
<ldlework> Being able to share you work, in progress and finished, with just a link
<DigitalKiwi> love2d?
<ldlework> It's really valuable
<ldlework> lua is puke
<DigitalKiwi> at least it's not js or python
<ldlework> i would take modern js over lua any day
<DigitalKiwi> well none of us is perfect
<ldlework> gotemmmm
<__monty__> We had a project for a tron clone in elm. Wasn't hard even without an engine/framework.
<DigitalKiwi> by modern js do you mean purescript
<manveru> coffeescript is where it's at...
<DigitalKiwi> that's one i haven't heard in a while
<manveru> i wrote some little games with elm, but it's probably not really intuitive for kids
<manveru> https://sarumem.manveru.dev/ this for example
<manveru> o.O
<DigitalKiwi> how old's your son
<manveru> 11
<DigitalKiwi> great age to learn haskell
<manveru> haskell has been an exercise in frustration for me...
<manveru> not sure i want to subject him to that :)
<DigitalKiwi> what's been getting you down
<manveru> well, i really like docs with examples
<__monty__> The worst thing about haskell is when you don't get to use it : /
<DigitalKiwi> there's a lot of work being done on expanding the docs to have examples right now
<DigitalKiwi> __monty__: ++
<DigitalKiwi> __monty__++
<{^_^}> __monty__'s karma got increased to 16
<manveru> and getting it to work with emacs or vim still hasn't been possible for me
<__monty__> When did I get past 13? 🤨
<__monty__> I'm quite happy with fasttags and ghcid.
<DigitalKiwi> manveru: i might be able to help with that
<manveru> oh, i wrote about that a long time ago :)
<DigitalKiwi> have you the hutton book?
<manveru> i have no book
jared-w has quit [Ping timeout: 256 seconds]
<ldlework> you guys written any games in haskell?
<manveru> i just went with Crystal for my typed scripting needs for now
<DigitalKiwi> i haven't written games in years and it was cocos2d-x
jared-w has joined #nixos-chat
<manveru> speaking of which, crystal 0.35 was released yesterday... gotta package that up
<DigitalKiwi> manveru: programming in haskell by graham hutton is one of the best haskell books imo
<manveru> maybe, i just never learned a language from a book :)
<manveru> and at this point i'd rather just learn idris or something
<manveru> Haskell still feels like a PhD playground
<DigitalKiwi> i have a tweet for everything
<manveru> :)
<manveru> there are other languages that give you that
<__monty__> Idris is a lot more of a playground imo.
<manveru> and they don't try to eat your computer
<manveru> or require cabal just to parse some json
<__monty__> What?
<manveru> i'm not saying idris is any less of a playground, but it got a lot better UX afaict
<DigitalKiwi> it inspired my 2 blog posts lol
<manveru> `I have to enable theOverloadedStrings extension because I’m not using the default String type from the Haskell Prelude.` *P
* DigitalKiwi has like half a dozen draft posts :(
<DigitalKiwi> oh if you think that's a lot get a load of this :P https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
<manveru> i've seen files with at least a dozen LANGUAGE pragmas
<manveru> how is that even the same language anymore?
<manveru> anw, i'm not saying it's a bad language per se, i just get very annoyed with it very fast :)
<manveru> maybe some day they'll have a pragma for helpful error messages
<manveru> and compile times that don't make me fall asleep
<manveru> sorry, i just like ranting about it :D
<DigitalKiwi> do you watch computerphile
<DigitalKiwi> graham hutton has a few good videos on it
<DigitalKiwi> he trys to stick to haskell 98 and not a ton of extensions
<DigitalKiwi> and he's on twitter! and is really nice
<manveru> i stopped reading twitter years ago..
<manveru> and no, haven't watched any of that
<manveru> anw... gotta get back to scala hell
<DigitalKiwi> oh you poor thing
<manveru> (not writing, just building)
<DigitalKiwi> is that supposed to be better
<manveru> hopefully
<DigitalKiwi> *doubt*
<manveru> :D
<manveru> i still have no clue how to make those sbt tests work in a derivation, so we just use nix-shell instead
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
<DigitalKiwi> manveru: have you seen https://code.world/#
<manveru> no, what's that?
<manveru> ghcjs?
<DigitalKiwi> it's for teaching kids
<DigitalKiwi> ~12 year olds
<manveru> i guess that might be fun if it was in German :)
<manveru> are you getting paid as Haskell evangelist?
<DigitalKiwi> no :(
<DigitalKiwi> unless you want to buy some stickers
<manveru> :D
<srk> speaking of elm I can recommend https://github.com/dmjio/miso instead :)
<DigitalKiwi> i just want to help people :D
<manveru> i tried miso
mog has quit [Ping timeout: 256 seconds]
<manveru> so far my favorite haskell library has been hakyll
<manveru> it was pretty easy to get into
<DigitalKiwi> my site is hakyll :D
<srk> hakyll is nice indeed
<manveru> i still ditched it because of pandoc... but well
<__monty__> What don't you like about pandoc?
<manveru> it's massive and depends on ghc at runtime :P
<__monty__> No it doesn't.
<__monty__> That was recently fixed.
<DigitalKiwi> yeah i wa slike i think they fixed that
<__monty__> 'T was a silly thing.
<__monty__> Smaller than sphinx and asciidoctor now I think.
<manveru> well it was when i tried it like two years ago
<manveru> can't keep up with you cool kids :P
<__monty__> Someone fixed it during the documentation improvement RFC.
<manveru> that's really good news
<srk> :D
<srk> manveru: did you like miso? can you compare with elm?
<srk> what I like about elm is the time travelling debugger candy
<manveru> i really like Mint these days instead
<__monty__> IIRC the time travelling debugger has long since been abandoned?
mog has joined #nixos-chat
<srk> pity
<__monty__> It was dropped when it stopped being about FRP I think. Which is ages ago.
<srk> manveru: interesting, but another lang? :)
<manveru> compare this example with https://haddocks.haskell-miso.org/Miso-Html.html
<manveru> i really didn't find miso intuitive
<manveru> srk: i like learning languages, i just don't like using all of them :)
<srk> hehe, this
<manveru> mint is super small and written in crystal
<manveru> and has awesome error messages like elm
<manveru> but much easier js interop and sensible syntax for writing html/css
<srk> what I like about miso is that it reuses tons of haskell ecosystem, like lucid for HTML, servant for endpoints/routes, ghcjs for frontend and so on :)
<srk> but yeah, if you're not familiar with these already it can be weird I guess
<manveru> if miso had docs like this: https://www.mint-lang.com/guide :)
<manveru> but no... all you get is haddock without any love put into it
<srk> mm, nice
<srk> compact :D
<manveru> i'm so glad i'm not doing full-stack dev for a living anymore :P
<srk> I'm starting to like it again as everything is .hs :D
<manveru> one think i was wondering, is there any haskell framework that combines front/backend?
<srk> well, miso ;)
<srk> that's the big deal about it I would say
<manveru> because the problem with mint and elm is that you can't use either on the backend
skrzyp has joined #nixos-chat
<manveru> and i really want something as seamless as elixirs LiveView
<manveru> `Chances are that you happen to know what the mathematical definition of isomorphism is.` :P
<manveru> anw thanks, i'll probably give it another chance when i have more mental capacity...
<manveru> i seem to learn haskell every year, but never end up using it
<srk> few annoying things got fixed recently, like consecutive text nodes which caused trouble
<srk> I've started at uni, than did a lot of C/C++/python until like 4 years ago when I've decided to switch to Haskell only and do _everything_ in it
<srk> so I don't have any excuses to not use it :D
<manveru> i write more nix than anything these days...
<manveru> still worlds better than writing CRUD in rails or react :)
<__monty__> You write nix but you think haskell lacks documentation?! 🤨 : >
<manveru> lol
<srk> __monty__: I find some of the docstrings with types in nixpkgs quite amusing :)
<manveru> Nix has docs, but more importantly it has a pretty small codebase that's easier to read than ghc in case the docs don't suffice
<manveru> and it's a tiny language overall...
bqv has quit [Remote host closed the connection]
<manveru> i really think a lot of people put a lot of effort into the nix docs
<__monty__> What are you writing that you need to know compilar intricacies?
<manveru> flakes
<manveru> that truly has no docs :P
bqv has joined #nixos-chat
<__monty__> No doubt effort is put into docs but I'd be hard-pressed to say nix is better documented than haskell.
<manveru> most haskell docs i've seen consist of pages over pages of type signatures...
<__monty__> Maybe you have obscure needs but the popular libraries have plenty of docs ime.
<srk> some libs have awesome haddocs, few don't need haddocs as the types are self explanatory :)
<__monty__> Note that I'm not defending the quality of haskell docs. Just that ime "haskell docs are just type signatures" is a bit of a tired meme. I regularly have to grep around the nix library because documentation doesn't cover most utilities.
<__monty__> Or at least not the docs I know of.
skrzyp has quit [Remote host closed the connection]
<manveru> i might just have stockholm syndrome
<__monty__> I know this will be an unpopular opinion but there's little reason to use regexes in haskell. The library infinisil linked looks well-documented enough though if you have to.
* srk agrees
<manveru> so what do you use instead of regex?
<srk> parser combinators
<manveru> and regex isn't even in prelude...
<__monty__> The prelude is very limited. Which isn't a bad thing per se imo.
<manveru> so you have to deal with dependencies if you just want to write a small script
<manveru> i come from a ruby/perl world, where you write whole games in regex :P
<manveru> so it just feels natural to me to use them
<manveru> even nix has regex built in
<srk> regexes are equivalent to finite automatons, just a bit cryptic :)
<__monty__> Built-in regexes lead to parsing atrocities : )
<srk> manveru: hnix only depends on regex-tdfa due to that - user interface :)
<manveru> anw, i really have to get work done, cu later folks :)
<srk> o/
<__monty__> But you can't leave! You're our excuse to talk about haskell!
<srk> I would like to get back to work but all I can do is to toy with polysemy now
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
<__monty__> I should take a look at it some time. Though opinions seem to be pretty polarized.
monsieurp has quit [Ping timeout: 256 seconds]
<srk> not surprising when you try to change how we compose programs :)
<srk> I didn't find stacks of monad transformers that appealing, struggled with them too much before
skrzyp has joined #nixos-chat
bqv has quit [Ping timeout: 272 seconds]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 272 seconds]
bqv has joined #nixos-chat
monsieurp has joined #nixos-chat
skrzyp has quit [Quit: WeeChat 2.7.1]
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos-chat
parsley936 has joined #nixos-chat
EatThem has joined #nixos-chat
EatThem has quit [Client Quit]
<gchristensen> is there any useful debugging I can do withotu debug symbols?
bqv has quit [Ping timeout: 260 seconds]
<JJJollyjim> How are you with reading assembly? :P
<gchristensen> bad
<gchristensen> I'm surprised I can't seem to even see the value of variables even if I don't know their names
<srk> -o2 makes stuff hard to debug, most vars get optimized :)
<gchristensen> dang
<JJJollyjim> You might end up with useful numbers in the registers tab
<{^_^}> packethost/vault-plugin-secrets-packet#12 (by grahamc, 2 weeks ago, open): Sometimes it gets stuck.
<JJJollyjim> But it's unlikely
<JJJollyjim> I wish there was a better option for "I want all the binaries on my system to be debuggable"
<JJJollyjim> iiuc there's split symbols which I can use with dwarffs, but most things I'd have to rebuild with enableDebugging or whatever
<pistache> some things can't even compile without optimizations
<JJJollyjim> Except a modified version of enableDebugging that doesn't turn off optimisation
<gchristensen> andturning it on globally is a 10-15% increase in storage
<__monty__> Can't compile without optimizations? o.O
<pistache> __monty__: Linux doesn't compile without optimizations, for example
<JJJollyjim> What stops more packages supporting split symbols?
<gchristensen> I think almost all of them could do it
<JJJollyjim> It's opt-in per-package right now right?
<gchristensen> yea
<gchristensen> I want to make it default on always, but the 10-15% increase in storage is hard to reckon with
bqv has joined #nixos-chat
<JJJollyjim> Oh, cache storage you mean?
<gchristensen> yea
<JJJollyjim> Got it
<JJJollyjim> Damn
<gchristensen> it would increase the load on everything a good bit. probably a good research project to be had there. I'd love to see some info
<JJJollyjim> I love the idea of running `perf top` or whatever and seeing the hot functions across my entire system
<gchristensen> oh shoot JJJollyjim I just realized I still owe you files :(
<gchristensen> very annoying how big they are.
<JJJollyjim> Haha yep :/
<JJJollyjim> Maybe if they had debug symbols :P
bqv has quit [Ping timeout: 272 seconds]
bqv has joined #nixos-chat
bqv has quit [Ping timeout: 240 seconds]
<gchristensen> tfw when `dontStrip = true` could have been `don'tStrip = true;`
bqv has joined #nixos-chat
<joepie91> ...
<joepie91> I never thought about that
tokudan_ has joined #nixos-chat
armin_ has joined #nixos-chat
<__monty__> Until you want to pass that in an override on the command line?
genevino has quit [Ping timeout: 256 seconds]
tokudan has quit [Ping timeout: 256 seconds]
jared-w_ has joined #nixos-chat
jared-w has quit [*.net *.split]
aterius has quit [*.net *.split]
hexa- has quit [*.net *.split]
jared-w_ is now known as jared-w
aterius has joined #nixos-chat
aterius1 has joined #nixos-chat
aterius has quit [Ping timeout: 256 seconds]
hexa- has joined #nixos-chat
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
<andi-> I was asked to cross-post this here: https://twitter.com/tpflug/status/1270689776904081408
<eyJhb> DigitalKiwi: hard fail, but currently only one passed out of 6 I think
rajivr has quit [Quit: Connection closed for inactivity]
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 260 seconds]
bqv has quit [Ping timeout: 260 seconds]
aleph- has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos-chat
drakonis1 has quit [Ping timeout: 264 seconds]
drakonis has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 265 seconds]
waleee-cl has joined #nixos-chat
Jackneill has quit [Ping timeout: 264 seconds]
Jackneill has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 260 seconds]
<eyJhb> Make up your damn mind
<colemickens> what are the poll results? I don't think they're viewable without an account, yay.
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 256 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos-chat
<makefu> eyJhb: it is a symlink, try rm result
<makefu> (i am pretty sure you knew that already, just wanted to clear this up for future reference)
cole-h has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<eyJhb> makefu: yes, ended up doing that :p It is just because I have set readlink, or whatever it is called to put / behind symlinks as well
<cransom> sigh. my kingdom for a reasonably priced aws machine with nested virtualization enabled.
tokudan_ has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
<samueldr> see the threads, previous posts for context https://twitter.com/marcan42/status/1270653756191854598
<cole-h> I saw that too... oofffff
<joepie91> cransom: if you can give up on the "AWS" requirement, that is entirely doable :P
<cransom> yeah. i'm told that a technology bill that doesn't go to aws is a hard sell upstream.
<joepie91> guess they will have to pay the AWS tax then
<pie_> wooooo enterprise
<cransom> i assume it's not impossible, but it would be an involved conflict.
bqv has joined #nixos-chat
<sphalerite> cransom: which upstream?
slack1256 has joined #nixos-chat
<cransom> the ones that are writing the checks.
<drakonis1> oooooooooooooooofffffffffff
<drakonis1> 97% performance loss
<drakonis1> hot damn
<samueldr> that's only in an artificial benchmark
<samueldr> it's much better at only 91% performance loss as a DoS
<gchristensen> I'm writing a polymorphic bash script and I'm pretty sure that means I'm doing goodf work
<DigitalKiwi> you're what
<drakonis1> 91% loss
<drakonis1> aaaaaaa
<gchristensen> you know, polymorphic bash scripts ... strategy=$(identify_network_strategy "$distro" "$version"); "${strategy}" # execute the strategy
<samueldr> fun!
<gchristensen> who wrote it networking.interfaces.<name>.ipv4.addresses = [ { address = "192.168.172.1"; prefixLength = 29; } ]; and not networking.interfaces.<name>.ipv4.addresses = [ 192.168.172.1/29 ];
<samueldr> I am horrified at your suggestion
<gchristensen> LMAO
<gchristensen> :D
<samueldr> mostly because it expands to an absolute path
<gchristensen> > 192.168.172.1/29
<{^_^}> /var/lib/nixbot/state/nixpkgs/192.168.172.1/29
<gchristensen> hahahaha even better
<cransom> this sounds like an opportunity
<samueldr> I'll tell eelco on you if you do
<gchristensen> oh no
<DigitalKiwi> snitches get stitches
<cransom> too bad it doesn't hold up for a v6 address.
<gchristensen> yeah :(
<joepie91> :P
<joepie91> more like snitches get PR triaging duty
<samueldr> I think a couple PRs triaging would be best suited for those having impure nix thoughts
<samueldr> (pun intended)
<gchristensen> hehe
<joepie91> hah, true
<joepie91> "this is the destruction that you would have brought upon the world"
<bqv> I cannot believe I'd never realised what this was https://github.com/jwiegley/nix-update-el/blob/master/nix-update.el
<bqv> this revolutionises my nix workflow
<bqv> gchristensen: polymorphic bash scripts sound like something I never want to have to interact with...
<gchristensen> muahaha
<gchristensen> from dhess
<gchristensen> foo=$((while true; do echo hi; sleep 9000; done) | head -n1) is there a way to make this exit as soon as that first line is printed?
<bqv> create a HUP signal handler in the subshell :p
<bqv> i don't think there's an easy way
<gchristensen> (read x; echo $x) < <(while true; do echo hi; sleep 9000; done)
<bqv> yikes.
drakonis_ has joined #nixos-chat
<gchristensen> yikes? it is beautiful! :)
<elvishjerricco> gchristensen: Huh, I do not understand how that works at all :P
<elvishjerricco> Does `<()` terminate as soon as its stdout is closed?
drakonis has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos-chat
<gchristensen> I dunno
<gchristensen> it might leak :)
<gchristensen> yeah it leaks
drakonis_ has quit [Ping timeout: 256 seconds]
aleph- has joined #nixos-chat
<elvishjerricco> gchristensen: So it just leaves a dangling sleep process in a while loop?
<ldlework> I should package up my old game-competition games with Nix
<__monty__> I thought that was how you got them running again.
<gchristensen> elvishjerricco: yeah
<gchristensen> $ git rebase -i origin/master --autosquash
<gchristensen> double free or corruption (out)
<gchristensen> Aborted (core dumped)
<bqv> well that's not good
<ldlework> __monty__: I just nix-shell'd, but I'm thinking about making them installable
<ldlework> Is there a trivial builder for "put this folder of stuff into the store"?
<infinisil> ldlework: "{./the-folder}"?
<ldlework> oh lol
<ldlework> I had ${./run_game.py}
<ldlework> but ${./.}/run_game.py should work too
<infinisil> :)
<ldlework> yep
<ldlework> Murmel, my first game-competition game, is now installable via nix: https://github.com/dustinlacewell/pw5-murmel
<ldlework> \o/
<ldlework> try it out!
<infinisil> ldlework: Just took a quick look, pretty interesting concept!
<infinisil> Also I love projects where you can just `nix-build` to build it <3
<infinisil> Oh you didn't pin nixpkgs though, that might be a problem later
waleee-cl has joined #nixos-chat
<bqv> execline-cd is real convenient in async-shell-command
glittershark has quit [Quit: ZNC 1.7.5 - https://znc.in]
__monty__ has quit [Quit: leaving]
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos-chat
<gchristensen> gosh, I want to report this bug to git but I really don't want to try my hand at and ultimately fail at sending the email just right to satisfy the grumps
<slack1256> What is wrong with git-am? It is supposed to satisfy their requirements by construction.
<energizer> protip: ask other people to read drafts of emails before sending
rajivr has joined #nixos-chat
<gchristensen> nah I'm just not going to bother, and am is for applying mail not sending, no?
<slack1256> D'oh, yes, I meant `git send-email`.
<samueldr> that's for sending patches, but what about bug reports?
<ashkitten> that'd be to their mailing list, right? and that's maybe even worse
<ashkitten> there's some list of email clients and how to configure them to not upset the techbros somewhere
<DigitalKiwi> lolgit?
<DigitalKiwi> yeet out an email with a throwaway and if they don't want to fix it...well that's on them
<abathur> someone (else) should make a twitter bot that turns its mentions into issue reports
<gchristensen> abathur: I bet I could conscript a caring twitter user in to reporting my bug for me
<gchristensen> hehehe
<abathur> could probably create a lifetime's worth of rage just by making a twitter account that *pretends* to be a bot filing issues based on its mentions
<gchristensen> omg!
<gchristensen> cruel
<abathur> I mean, only after they ignore the bug report
<abathur> joker avatar, etc
<abathur> not as much rage as an anti-stalebot that goes around re-opening copies of issues that stalebot closed
<abathur> though
<DigitalKiwi> that's amazing i'm not even mad
<joepie91> lol
<joepie91> abathur: thank you, your idea has been added to the 'rainy day' pile
* joepie91 hates autoclose with a passion
<abathur> I've thought, for years, about making a log of random/good/bad/dumb ideas I don't have time/desire/bodyguards to pursue myself
<DigitalKiwi> we would fix this coredump but unfortunately you did not submit it in a way that satisfies our pedantry even though you provided the appropriate amount of context and information to be able to
<DigitalKiwi> is it a specific git repo/set of commits or doest that command always fail
<gchristensen> juts this specific set of commits
<DigitalKiwi> are they public
<gchristensen> that commit is part of the set that fails :)
<DigitalKiwi> WHERE IS YOUR MRE
<gchristensen> clone the repo, check out that commit, git rebase -i origin/master --autosquash
<gchristensen> where origin/master is at ee03be7
<DigitalKiwi> oh that's a repo not a gist
<DigitalKiwi> uh did i do it wrong
<DigitalKiwi> Successfully rebased and updated detached HEAD.
evanjs has quit [Ping timeout: 240 seconds]
<gchristensen> *shrug*
<gchristensen> what version?
evanjs has joined #nixos-chat
<DigitalKiwi> git version 2.26.2
<gchristensen> git version 2.25.4
<DigitalKiwi> i clone the repo and did `git checkout ee03be7` and then did the rebase command
<DigitalKiwi> and it picked lots of commits
<DigitalKiwi> is that right steps?
bqv has quit [Ping timeout: 246 seconds]
<gchristensen> no, check out that commit and rebase -i ee03be7 --autosquash
<ashkitten> cram ghristensen
<DigitalKiwi> double free or corruption (out)
<DigitalKiwi> Aborted (core dumped)
<DigitalKiwi> yay
<gchristensen> nice
<gchristensen> I'll update the commit with that instruction
<ashkitten> gchristensen: i've started calling you gristensen to my gf whenever i quote nixos-chat
<gchristensen> hah
<DigitalKiwi> the first rule of nixos-chat is do not talk about nixos-chat
<ashkitten> 🤔
<samueldr> about what?
<gchristensen> oh cool it segfaults on windows too
<abathur> equality
<abathur> parity?
<DigitalKiwi> git is nothing if not consistent
<abathur> ah, consistency
<abathur> of course
<ldlework> Another one of my games, Wabble, is now nix installable: https://github.com/dustinlacewell/pw10-wabble
<ldlework> infinisil: ^
<samueldr> only the best brand of batteries for the best brand of keyboards
* energizer 🤔
<abathur> samueldr: :]
<joepie91> ah yes, the Panasonic clones
<joepie91> I got those with a device once
<ldlework> Here is a gameplay video of Wabble, http://logos.ldlework.com/caps/2020-06-10-23-53-34.mp4
<joepie91> that's truly some mid-2000s brand knockoffery
<joepie91> I remember when half of DX was filled with things that were 'creatively named' in that exact same way
<joepie91> before sellers started using seemingly randomly-generated "brand" names :P
<samueldr> FWIW some of them may be transliteration of names that mean something in china
<samueldr> at least I've read about "kebidumei" or similar that it's supposedly kind of "best value"
<samueldr> [citation needed]
<ldlework> We should have a Nix game programming competition
<ldlework> It would be really nice because everyone would be pretty much guaranteed to be able to run all the entries :P
<ldlework> which is not typical lol
<abathur> can only play the game once though
<ldlework> ?
* DigitalKiwi is having trouble imagining how to write a game in nix
<ldlework> you don't write it in nix
<ldlework> your entry must have a default.nix which is nix-buildable
<DigitalKiwi> well what's the fun in that
<ldlework> write it in whatever you want
<abathur> be careful
<infinisil> DigitalKiwi: I got a very small game written in Nix here! https://github.com/infinisil/nix-rts