gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<eyJhb> DigitalKiwi: So you're saying it could be worse?
mog- has joined #nixos-chat
mog has quit [Ping timeout: 258 seconds]
mog- is now known as mog
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<samueldr> >> Go forth and do full system rebuilds! Yocto and Gentoo are great for this, as will systems that use buildroot.
<samueldr> no love for Nix :(
<pie_> well, at least guessing from the headline, i was really wondering about this :p <samueldr> oops http://kroah.com/log/blog/2021/02/05/8-bits-are-enough-for-a-version-number-dot-dot-dot/
<samueldr> userspace breakage might be happening soon :)
<samueldr> though tbf I don't think it should affect any builds, since we don't have much packages depending on kernel packages
<pie_> oh ha. funky.
<pie_> all the broken unmaintained software :(
<pie_> solve it by going to 4.5
<samueldr> the issue is there's already a 4.5!
<pie_> damn
<samueldr> I don't like how `wchar_t ***` is a type that seems sensible to C developers
<samueldr> (or even plain char ***)
<pie_> whychar_t ***
<pie_> the _t is for terrible? :P
<samueldr> nah, part of a standard IIRC
<pie_> noob q: whats wrong with ti
<samueldr> with ***?
<pie_> yea
<samueldr> I don't get what it should be
<samueldr> char* is an array of chars, so a string (meh, not great)
<pie_> pointer pointer pointer?
<samueldr> char** is an array of strings (ugh...)
<samueldr> but char*** ?
<pie_> oh hm
<samueldr> it might be to allow passing a reference to an array of chars
<samueldr> I don't know
<samueldr> I hate C
<pie_> well array and pointer are basically semantically arbitrarily interchangable so who knows right? :P
<samueldr> yeah
<samueldr> and _t is reserved for "system" types, according to POSIX
<pie_> is that right or left associative
<samueldr> do I look like a C developer to you?
<pie_> more than when i look in the mirror :P
<samueldr> I'm writing code that generates code, both not C, to ensure I don't have to write C
<samueldr> somewhat automating FFI bindings
<pie_> cool
<samueldr> but yeah, I was combing through the types it detected and saw that
<samueldr> recoiled in horror
BaughnLogBot has quit [Ping timeout: 258 seconds]
BaughnLogBot has joined #nixos-chat
alex_giusi_tiri has joined #nixos-chat
Dotz0cat has quit [Remote host closed the connection]
Dotz0cat has joined #nixos-chat
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-chat
<DigitalKiwi> samueldr: have you seen copilot
<samueldr> I don't know what that is
<samueldr> I don't do haskell, so no
<DigitalKiwi> boo hiss
<infinisil> Don't do <s>drugs</s> haskell kids
<samueldr> haskell: not even once
<samueldr> anyway, I don't want to get things from hackage
<samueldr> I don't want to be hacked
<infinisil> lol
<DigitalKiwi> it's on nixpkgs too though it might be broken :(
<DigitalKiwi> probably stacks fault
<samueldr> though if I understand what it does, it's not what I am doing, but still it looks neat
<DigitalKiwi> somewhere i have an arduino uno that runs haskell*
<DigitalKiwi> (that asterisk is doing a lot of work)
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
das_j has quit [Quit: Bridge terminating on SIGTERM]
das_j has joined #nixos-chat
cole-h has joined #nixos-chat
evanjs- has joined #nixos-chat
evanjs has quit [Ping timeout: 276 seconds]
BaughnLogBot has quit [Ping timeout: 264 seconds]
BaughnLogBot has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
alex_giusi_tiri has quit [Quit: Leaving.]
disasm has quit [Ping timeout: 246 seconds]
disasm has joined #nixos-chat
cole-h has quit [Ping timeout: 240 seconds]
<eyJhb> I did a lot of cleanup, and now the code actually works - https://termbin.com/9yj7 :D
<adisbladis> eyJhb: Now to make sure it evals the same on Darwin... ;)
<eyJhb> I think you shoud go back to bed adisbladis :p
<eyJhb> I made one blind change in the end, but there might be more that needs to change as well... :(
<adisbladis> For reals though, nix regexes may not eval the same on darwin :/
<eyJhb> Well, those are jq regexes, so hopefully they eval the same :D
<adisbladis> Yeah...
<adisbladis> What if... builtins.jq
<eyJhb> !!
<eyJhb> You don't have a mac, do you adisbladis ?
<adisbladis> eyJhb: I use MacOS in VMs when I have to test stuff
<eyJhb> For anyone wanting to try, `curl https://termbin.com/hl46 | base64 -d | unzip -` I think.. :p
<eyJhb> ANd no, it is not a zip bomb
<DigitalKiwi> just once i want a zip bomb :(
<DigitalKiwi> luckily nix-daemon regularly has the same effect
<eyJhb> If you have ZFS with compression it will not make a difference I guess... :p
<eyJhb> OF however you do not! Then I can give you one :D
<DigitalKiwi> i do
* DigitalKiwi enables dedup; send me thousands!
rajivr has joined #nixos-chat
<eyJhb> DigitalKiwi: You can get this? http://www.unforgettable.dk/42.zip :D
vesper11 has joined #nixos-chat
<DigitalKiwi> unforgettable digital kiwi
<DigitalKiwi> what is this
* DigitalKiwi opens with ark from firefox
<DigitalKiwi> what could go wrong
patagonicus has quit [Read error: Connection reset by peer]
patagonicus has joined #nixos-chat
vesper11 has quit [K-Lined]
<patagonicus> Looks like I was time travelling before. One of my VMs is running with system.stateVersion = "23.03"; Too bad I don't remember anything about the future.
<adisbladis> patagonicus: Wow, who know what you'll end up with!
<patagonicus> I just changed it to 20.09 and it's a zero diff. So apparently not much is happening in the next few years. Which, I think, is a good thing. ;)
<DigitalKiwi> 21.03pre267812.7cbec40a095 (Okapi)
<DigitalKiwi> and i thought that was futuristic :(
<patagonicus> Extra "fun" fact: that VM is still using nixos-20.03 …
* etu have low hopes for 21.03
<adisbladis> Yeah, it's not quite future enough
<DigitalKiwi> etu: i think we should skip it
<etu> Indeed
* DigitalKiwi should probably file an issue about plasma...
<adisbladis> At some point I want to get back into plasma packaging..
<adisbladis> I wonder if it runs properly on wayland yet, that was the motivation killer for me last time
<adisbladis> I was running plasma on wayland for a bit, then something broke it
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
<DigitalKiwi> have i just never noticed a million of these Feb 06 09:12:22 mvp-nixos nix-daemon[25101]: accepted connection from pid 19580, user kiwi (trusted)
<DigitalKiwi> or are they new?
patagonicus has joined #nixos-chat
<etu> Sounds a bit like nix
cosimone has joined #nixos-chat
<patagonicus> "That just sounds like NixOS with extra steps."
<patagonicus> Reminds me that I want to set up at least some of my VMs to wipe / on boot. Or just have it in tmpfs.
<adisbladis> etu: "NixOS at home"
<srk> infinisil: is nix units lib published?
<eyJhb> patagonicus: rollback on boot is easier most of the time, as some builds etc. might eat all your ram
<eyJhb> I guess this is OK, but I really hate people that refer to a formula that is 14 pages back in the book.
<eyJhb> It doesn't feel fair to have to swap back and forth that much, when it is used extensively to explain a concept. Define it once, get LaTeX to throw it in on-demand
__monty__ has joined #nixos-chat
<sphalerite> abathur: nice blog post on resholve, but I found it awfully hard to read visually. IMHO bigger text, a proportional font for the prose, and use of size would make it a lot more pleasant. I realise that would kind of completely ruins the aesthetic you're going for, but as it is I really had a hard time with the content.
<sphalerite> Up to you whether to do anything about it of course, but I thought I'd let you know :)
<eyJhb> sphalerite: link?
<eyJhb> > Helle | Using JQ as SQL, but for JSON has been one of the best choices I made in a project, thanks for the program
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):471:7
<eyJhb> gchristensen: Thought you might enjoy that "quote" frome #jq :D
<eyJhb> s/frome/from/g
<pie_> ++<eyJhb> I guess this is OK, but I really hate people that refer to a formula that is 14 pages back in the book.
<__monty__> Oh, dang, that's not the right link.
<__monty__> I recommend going to the homepage and trying to find the post : ), such nostalgia :')
<eyJhb> __monty__: Which way from here?! :D
<__monty__> That's the challenge : )
<eyJhb> pie_: In gerenal I would say, I just really hate this book. The figures are also like.. 1 page away, and fill the entire page at some points
<infinisil> srk: Nah
<infinisil> It also doesn't really work that well, it's just a big hack :P
* srk imports Numeric.Units.Dimensional
<aanderse> infinisil: with freeform module if i set one of the freeform option types to `either (str int)` when i try to build the manual i get this error: error: value is a function while a set was expected, at /home/aaron/nixpkgs/lib/modules.nix:664:12
<aanderse> any ideas?
<aanderse> if i set the type to int or string it works fine
<infinisil> aanderse: It's `either str int` :)
<aanderse> well... i feel silly :)
<aanderse> thanks
<aanderse> also, i finally got around to using freeform modules... <3
<aanderse> infinisil++
<{^_^}> infinisil's karma got increased to 409.9999999999999
<infinisil> :D
<eyJhb> Things I want that the VPS providers don't want: a experation time for my VPS so that it gets auto-deleted and I don't have to find out once I get my bill by the end of the month...
<eyJhb> Is there anyone that provides this?
<gchristensen> AWS does
<gchristensen> Packet too, I think
<gchristensen> well. .. that isn't relaly applicable though
<eyJhb> :o
<eyJhb> does AWS ? But isn't that more their spot pricing?
<gchristensen> mmmm you can make it happen with an autoscaling group with non-spot bids
<eyJhb> So it would scale from 0 to 1, once there is activity?
<gchristensen> you can scale based on time
<gchristensen> so when youwant to use it, create a condition saying you want one and another condition of when you want it to expire
<eyJhb> Ehmm... Did packet just get aquired?
<eyJhb> Or what is their site?
<adisbladis> It was a while ago
<gchristensen> they've been acquired long enough that I should just be calling them Equinix Metal now
<eyJhb> THe site they redirect you to really sucks
<adisbladis> Doesn't roll off the tounge quite as well
<eyJhb> Not a fan, can't find anything on the new site, little to no information, a ton of animation BS....
cole-h has joined #nixos-chat
<eyJhb> adisbladis: Did you end up going with Hetzner
<gchristensen> yeah it sucks
<eyJhb> gchristensen: Glad I am not the only one that agrees. I was not even sure wth they were selling... :|
<gchristensen> which sucks since equinix needs to remind people they sell more than real estate now
<adisbladis> eyJhb: Yep
<eyJhb> https://metal.equinix.com/product/pricing/ ahh, lovely , no real pricing. No I don't want a quote
<andi-> gchristensen: I think they are just way too deep in the "contact sales" corner of annoying businesses
<gchristensen> yeah
<andi-> If I have to call up sales to test your prodct I will not test it.
<gchristensen> it is weird they hide pricing there because they *have* public pricing: https://metal.equinix.com/product/servers/
<__monty__> Maybe the immediate association I had with "equinox" wasn't that far off the mark.
<andi-> No interest in being chased for the next 10y
<eyJhb> andi-: *notes that down, chase andi-*
<andi-> At the risk of having said that before but the moment equinix took over ancotel in Frankfurt the service went shit.
<andi-> also I don't like how they are invading the corner that their customers used to play in.. As if I would host my book store on AWS.
<eyJhb> From their website, it seems like they are the ones that provide AWS with servers?
<eyJhb> True/not true?
<__monty__> How is AWS not big enough to make doing it themselves profitable?
<andi-> Many of the big companies are customer of equinix
<andi-> They have to "meet" (aka connect) with other ISPs (still)
<eyJhb> Weeeeird... Didn't really know that
<eyJhb> Embarassing how bad a website they can make, compared to that.
<__monty__> Looks like the sort of company driven entirely by the sales department.
<__monty__> They probably figure any customer worth having will ask a quote for X hundred boxes?
<__monty__> Anyone attending FOSDEM?
<andi-> I'll wait for recordings.
<andi-> and then look through them. Right now the schedule only links to the livestreams and things are almost as clustered all over the place like in person
<__monty__> Yes, stream per devroom afaict.
<andi-> yeah and even things in the past just link to the live version
<andi-> Not blaming them. It is a ton of work.
<andi-> Just not something I feel like doing on a saturday after having been at home for a year and in daily video calls..
<__monty__> Usually the videos take a couple days to appear in the archive so I'm not surprised they're not managing that part live this year : )
<andi-> IIRC many things are prerecorded thisyear
<__monty__> Ah, makes sense.
<__monty__> What I like about the live experience is it makes we watch whatever's going on rather than just the bits that sound interesting. As a way of expanding my horizon.
<andi-> yeah
<andi-> I usually just sit in random rooms from time to time to learn something new
waleee-cl has joined #nixos-chat
<infinisil> I long for the day when my github notifications are just empty
<infinisil> If that even happens
<adisbladis> They're so spammy they're next to useless
<LinuxHackerman> ugh. Wanted to make a quick video of me clicking "select all", "select all 426 notifications", "done"
<LinuxHackerman> Tried playing the resulting video
<LinuxHackerman> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
<LinuxHackerman> lol thanks wf-recorder
cole-h has quit [Ping timeout: 256 seconds]
evanjs- is now known as evanjs
<infinisil> xD
<infinisil> I do have many notifications I want to get back to, but I just don't have enough time next to work
<ehmry> if there aren't pending notifications, then how will you be engaged with the platform?
rajivr has quit [Quit: Connection closed for inactivity]
clever has quit [Ping timeout: 246 seconds]
clever has joined #nixos-chat
<DigitalKiwi> ideally as little as possible
<DigitalKiwi> and mainly via a git client ;)
<DigitalKiwi> is there a product git social yet
<DigitalKiwi> "github but honest naming"
cosimone has quit [Quit: cosimone]
<ldlework> I just learned that you cannot make more than THREE trades in a day unless you have a margin account with 25 grand in it.
<ldlework> What
<ldlework> The
<ldlework> Fuck
<ldlework> holllllly shit that's some bonkers anti-poors bullshit
<ldlework> my mind is a supernova right now
<lassulus> ldlework: sounds like a cheap broker?
<ldlework> it's federal law
<abathur> sphalerite: what kind of device did you read on?
<LinuxHackerman> my laptop
<abathur> did you zoom in the browser?
<gchristensen> LinuxHackerman: looks like it only applies for margin accounts?
<gchristensen> erm, ldlework
<LinuxHackerman> abathur: Yeah, that helped a little. Not with the colours though.
numkem has quit [Quit: Ping timeout (120 seconds)]
numkem has joined #nixos-chat
<ar> this is how you properly use a lathe: https://i.imgur.com/R6EcNM4.jpg
slack1256 has joined #nixos-chat
<gchristensen> lol
__monty__ has quit [Quit: leaving]
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos-chat
ky0ko has joined #nixos-chat
cole-h has joined #nixos-chat
<eyJhb> ar: what are you doing?
<eyJhb> Besides shortening drill bits
<ar> eyJhb: not me
<eyJhb> Ah, damn :D
<ar> eyJhb: and cutting a part for the mill
<gchristensen> Mic92: can pipeline steps upload more pipeline steps with drone.io ?
<cole-h> gchristensen: Haven't yet found the answer, but there is "scripting" in Starlark / Jsonnet
<ldlework> gchristensen: the only exemptions are covered cash accounts and futures afaiu
<gchristensen> hm