gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
hexa- has quit [Quit: WeeChat 2.7]
evanjs has joined #nixos-chat
hexa- has joined #nixos-chat
hexa- has quit [Client Quit]
<infinisil> Interesting, if you go from A to B, which are say 1 light year from each other, you can do so pretty much instantly by going near the speed of light
<infinisil> Since time moves slower for you
<infinisil> A year will still pass for everything else though
<cole-h> Why "near the speed of light" and not "at the speed of light"?
hexa- has joined #nixos-chat
<averell> maybe because near would be technically achievable i guess
<cole-h> Just curious if there was a concrete reason ("you risk tearing apart the fabric of space and time if you go c m/s") or it was just cuz
drakonis has quit [Ping timeout: 272 seconds]
<cole-h> Really sucks when your professor assigns homework, but doesn't have any form of a rubric so you can't know if you're doing it right or wrong
Synthetica has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<samueldr> on a geological timescale
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
das_j has joined #nixos-chat
ajs124 has joined #nixos-chat
drakonis has joined #nixos-chat
<gchristensen> >>> b"" == ""
<gchristensen> False
<samueldr> well
<samueldr> isn't that one of the language where strings should never be == compared, but still can?
<samueldr> I know a bunch of languages have that caveat
<gchristensen> python3
<samueldr> anyway, that makes sense to me in a way, where one is a byte soup, the other is a unicode soup
<samueldr> like 0 == 0.0, in a way
<samueldr> (which I don't know if it's true or not)
<samueldr> >>> 0 == 0.0
<samueldr> True
<samueldr> there goes my theory
<samueldr> or, simile
<samueldr> anyway, thinking about it, it'd be inconvenient, just as it is in your case
<gchristensen> disagree
<gchristensen> if not even the empty thing can be compared, it should error
<gchristensen> I hate this port P
<gchristensen> :P
<samueldr> never said that it was *right* :)
<samueldr> convenient != right
<samueldr> oh, error
<samueldr> >>> 1 == "1"
<samueldr> False
<gchristensen> g'night )
<samueldr> should this error, too?
<samueldr> (maybe!)
<gchristensen> grrr my colon key is busted
<samueldr> (probably!)
<samueldr> 'night!
<gchristensen> samueldr: dunno, but changing the lang to return bytes instead of str in some cases and then making every comparison dangerous and suspect with no error?
<gchristensen> another decision could have been made.
<samueldr> programming language design is hard :)
<samueldr> but I sure can empathize on how horrible that makes working with strings in that particular case
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
endforma1 has quit [Ping timeout: 260 seconds]
aditsachde has joined #nixos-chat
cole-h has quit [Ping timeout: 258 seconds]
waleee-cl has joined #nixos-chat
veske has joined #nixos-chat
<eyJhb> gchristensen: Well, type compare and then compare value seems to make the most sense
<infinisil> Okay I need to change my font. I just wasted like 10 minutes for confusing an i with an l
<eyJhb> infinisil: which font do you use?
<infinisil> eyJhb: Iosevka
<infinisil> Happened on a pretty low res screen, and I'm rather tired, but even then I don't want the font to get in my way :)
<eyJhb> infinisil: true! What laptop? :p
<eyJhb> I assume
<infinisil> projector
<eyJhb> Ahh
<eyJhb> I sometimes have the same issue too, but that is on my laptop.. It functions fine etc. I just think the screen is small and somewhat old laptop
<eyJhb> Also just realised my phone is aread 5.5 years old..
<eyJhb> Also infinisil , why code on a projector?
<infinisil> Hehe, I'm currently using an iPhone 5
<eyJhb> Damn, that is old! Does it still receive updates?
<eyJhb> (same age as my laptop :p)
<infinisil> eyJhb: It's what I use to watch stuff when in bed
<infinisil> And coding too sometimes :)
<infinisil> eyJhb: Nah it doesn't get ios updates anymore, can't get the latest one
<eyJhb> Ahh, guessing the time is not 08:49 AM where you are ;)
<infinisil> Also can't get updates for some apps anymore
<infinisil> Um, I'm afraid it is!
<eyJhb> Yeah, that would be a problem for me :( I don't think I would be taken very seriously in any security relation without a up-to-date patch version etc. :p
<eyJhb> Ah. get out of bed and do stuff then infinisil !
<infinisil> Gotta sleep first!
<eyJhb> Wait, just heading to bed or just extra tired?
<infinisil> Well and finally fix this Swift build on Linux before that :P
<infinisil> I've been in bed for hours, just not yet sleeping
<eyJhb> Haha, all those projects ;) - Wish it was me. The bed part... Having a lecture on probability atm.
<infinisil> eyJhb: Ah, I guess it's not that interesting given that you're here? :)
<eyJhb> Problem is, most lectures that I have aren't something I will use in my projects (15 ECTS project, 3*5 ECTS courses)...
<eyJhb> Which makes it less interesting :/
<infinisil> Not very motivating yeah..
<eyJhb> Sadly not. And this semester it is 20 ECTS project, 2*5 ECTS courses (bachelor project). But, it can be somewhat fun if you know all the rules. Then just moving stuff a little around etc. is always fun
<eyJhb> And abusing the rules as much as possible!
<infinisil> That's regarding the probability course?
<eyJhb> Yeah, and also in general. I like playing around with math, but there isn't a lot of it in the projects. So it is quickly forgotten about, when you don't use it
<eyJhb> And then needed to be refreshed for exams at the end of semester
Jackneill has joined #nixos-chat
<infinisil> I on the other hand am glad to not have to touch maths anytime soon
<eyJhb> infinisil: well! Depends on what math :p But yeah
<eyJhb> Finished education infinisil ?
<infinisil> Yup!
<infinisil> Just received confirmation that I passed the last test, will have my bachelors diploma soon :D
<infinisil> And this last test was from the course "algorithms, probability and computing", which was very maths heavy.. did not like that!
<infinisil> s/test/exam
<ashkitten> today i learned that in factorio, food is a projectile you throw at yourself to deal negative damage
<ashkitten> one of the most beautiful gamedev crimes i've seen
<eyJhb> infinisil: going for a masters after then?
<eyJhb> ashkitten: never played it, worth it?
<ashkitten> eyJhb: if you like automation games yes
<infinisil> Nope, I'm done with studying, can't do that anymore..
<ashkitten> i've been playing with some friends on a server with some mods mostly for quality of life... it's really fun
<ashkitten> (so i don't know exactly what is part of the vanilla game or not)
<ashkitten> nanobots are indespensible imo
<eyJhb> infinisil: What is your bachelor in?
<eyJhb> ashkitten Opensource?
<infinisil> computer science
<ashkitten> factorio's not open source, no
<ashkitten> you can get it drm free though i'm fairly certain
<ashkitten> and there's very good mod support
<eyJhb> infinisil: that is also very theoritically heavy as far as I remember
veske has quit [Quit: This computer has gone to sleep]
<infinisil> This swift build better not fail again, takes like an hour to run
<eyJhb> *croses fingers*
<eyJhb> I just build Blender on my LP without power.. Had 10 minutes of power left after that
<infinisil> My laptop's battery is so bad that I can only build something for maybe 10 minutes max
<eyJhb> I just bought a new battery (6-8 months ago), and I got two instead of one
<eyJhb> So it can hold power for 5 hours or so
<eyJhb> People do not expect that, once they see my laptop :p
<infinisil> Nice
<eyJhb> Worst/Best part is, the reason for x2 batteries, was I told them that I received the battery at 0%, and that wasn't very healthy for a battery. So they just gave me another one (also at 0%.. but free)
waleee-cl has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos-chat
__red__ has quit [Quit: WeeChat 2.6]
bridge[evilred] has quit [Remote host closed the connection]
psyanticy has joined #nixos-chat
waleee-cl has joined #nixos-chat
<Taneb> I'd like it if Hydra displayed lists of jobs in a more heirarchical manner
<Taneb> Like instead of listing all python packages and haskell packages, there'd be folders you could expand like "python27Packages", "python37Packages", "haskellPackages"
<gchristensen> infinisil: may I recommend Comic Mono?
claudiii has joined #nixos-chat
ravndal has quit [Remote host closed the connection]
ravndal has joined #nixos-chat
endforma1 has joined #nixos-chat
philipp[m] has joined #nixos-chat
<Taneb> Heh, I've just noticed that the PR I made this morning has a palindromic number
<gchristensen> nice
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos-chat
<ajs124> hm. what happens if I fork something on github that is a fork of one of my projects? does anyone know? should I just try it out?
<Taneb> gchristensen: thank you for picking up the Python 3 NixOps PR, sorry for leaving it a mess :)
<gchristensen> no worries :)
<gchristensen> impressive seeing multun's PR
<infinisil> gchristensen: I'll check it out :)
cole-h has joined #nixos-chat
ircfreenodenetlo has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
Irenes[m] has quit [Ping timeout: 252 seconds]
aanderse has quit [Ping timeout: 246 seconds]
leons has quit [Ping timeout: 260 seconds]
rycee has quit [Ping timeout: 260 seconds]
thefloweringash has quit [Ping timeout: 260 seconds]
arcnmx has quit [Ping timeout: 252 seconds]
colemickens has quit [Ping timeout: 252 seconds]
atopuzov[m] has quit [Ping timeout: 246 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
aditsachde has quit [Ping timeout: 245 seconds]
jtojnar has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 256 seconds]
vaibhavsagar has quit [Ping timeout: 256 seconds]
worldofpeace has quit [Ping timeout: 272 seconds]
philipp[m] has quit [Ping timeout: 272 seconds]
thefloweringash has joined #nixos-chat
aanderse has joined #nixos-chat
Irenes[m] has joined #nixos-chat
thefloweringash has quit [Quit: killed]
Irenes[m] has quit [Client Quit]
aanderse has quit [Quit: killed]
colemickens has joined #nixos-chat
tokudan[m] has joined #nixos-chat
arcnmx has joined #nixos-chat
leons has joined #nixos-chat
aanderse has joined #nixos-chat
loyon[m] has joined #nixos-chat
jtojnar has joined #nixos-chat
dtz has joined #nixos-chat
vaibhavsagar has joined #nixos-chat
rycee has joined #nixos-chat
worldofpeace has joined #nixos-chat
emily has joined #nixos-chat
Irenes[m] has joined #nixos-chat
thefloweringash has joined #nixos-chat
atopuzov[m] has joined #nixos-chat
<gchristensen> /!\ Today's office hours is a different format /!\ watch live: https://youtu.be/FKpeI8U8-AE discuss in #nixos-officehours, no group Zoom call today. We're discussing the last few weeks: Hydra's memory problems, the flakes.nix merge to nixpkgs, RFC process, etc. We start in 38 minutes
averell has quit [Quit: .]
averell has joined #nixos-chat
drakonis has joined #nixos-chat
<jared-w> To add to the list of useless things I selfishly want: https://github.com/NixOS/nixpkgs/issues/26722
<{^_^}> #26722 (by Slabity, 2 years ago, open): Plymouth does not show password prompt with encrypted root
<jared-w> tfw no pretty login prompt
<drakonis> secret management first tho
<samueldr> ???
<drakonis> its irrelevant to that, i know.
<samueldr> how is that related to plymouth in stage-1?
<drakonis> i just said its irrelvant
<samueldr> I pressed enter as the message showed up on my screen
<jared-w> lol
<drakonis> i have a latency problem i think.
<samueldr> might be a combination of both ours
<drakonis> 14 seconds latency, hot diggity
<jared-w> noice
<jared-w> Nice to meet someone from a moon colony
<samueldr> I mean, I could also have missed something about plymouth in stage-1 :)
<gchristensen> office hours in 9 minutes! #nixos-officehours
<drakonis> seems to be lowering again, but who knows.
<drakonis> ITS DEAD JIM, 110s latency now
<drakonis> that issue's about plymouth running after decryption
<jared-w> and the desired behavior is running it so you can enter the decryption password in plymouth :p
<drakonis> jared-w: my latency is high because i'm on data instead of wifi
<drakonis> there's no way to reorder the boot steps right now, right?
<drakonis> or perhaps this is a matter of getting plymouth onto the boot image and have it load before asking for decryption, its time for some spelunking
<jared-w> not that I know of. I'm aware that ubuntu does this (probs with grub) and Fedora does this "correctly" however that is
<drakonis> fedora has a whole infrastructure for generating build images from what i'm aware
<drakonis> it has used plymouth for many years
<jared-w> wouldn't be surprised. They *really* wanted 100% flicker free smooth boot and they got it
<gchristensen> #nixos-officehours stream is started: https://www.youtube.com/watch?v=FKpeI8U8-AE
<jared-w> shame there's no auto captions. Kinda surprised google hasn't gotten that working
<drakonis> shame my net is crapola
<jared-w> gchristensen: I'll have to check the after notes if there are any since I won't be able to hear. Hope you have a productive meeting though :)
<drakonis> i wish i didnt have to redownload so many packages every time i did a channel bump
<drakonis> s/so many/every
<cole-h> Pin them with overlays!
<cole-h> Or the important ones
<drakonis> perhaps i should ditch kde for the lappy.
<drakonis> it wants 3gb upgrades every time
drakonis has quit [Ping timeout: 245 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
<cole-h> Started messing around with Haskell recently... It's insane how fast a simple factorial function is
<cole-h> `fac n = product [1..n]` -> `fac 10000` takes no time at all
<cole-h> What types of purposes is Haskell used for?
<drakonis> plt?
<samueldr> stuff and things, mainly
<__monty__> cole-h: I don't think that's particularly fast actually. Multiplying numbers with an accumulator one by one? And to get the numbers you have to evaluate a thunk at each step.
<__monty__> This is an example of something that looks embarrassingly parallel.
* colemickens is so happy Mozilla chose Matrix
<colemickens> I have a new favorite things. Excessively laggy/buggy JS frontends that steal focus out of textboxes AND have excessive key-bound actions.
<colemickens> So all the sudden, I'm typing, some page event happens, now I'm typing into the page itself and my keystrokes are manipulating the UI. Undoubtedly some keystroke would move/delete files here too. lovely
<waleee-cl> riot?
<colemickens> maybe, just keep experiencing it in Drive.
<colemickens> But I'm probably wrong for trying to use Drive with Firefox.
<joepie91> colemickens: oh hey that sounds like Twitter
<joepie91> great fun, going back and un-liking and un-RTing and un-muting all the shit I accidentally interacted with
<waleee-cl> missed the "move/delete files" :)
cole-h has quit [Quit: WeeChat 2.7]