gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<ASHKITTEN> I WROTE SOME CODE TODAY FOR THE FIRST TIME IN MONTHS
<ASHKITTEN> YAY ME
<ADISBLADIS> ASHKITTEN: GO YOU!
<ASHKITTEN> THANK YOU
<ASHKITTEN> I AM USING PAIR PROGRAMMING TO GET OVER MY BURNOUT
<samueldr> is that where you program a fruit?
<ASHKITTEN> NO THAT WOULD BE PEAR PROGRAMMING
<ADISBLADIS> PEAR TO PEAR
<ldlework> pair programming is one of the most underrated things in our industry that is strangely stigmatized by people who have never done it
<ldlework> it seems inconceivable from a business perspective
<ASHKITTEN> IT HELPS TO NOT BE LOOKING AT A WALL OF TEXT ON YOUR OWN
<ADISBLADIS> LDLEWORK: YOU'RE TELLING ME YOU WANT TWO PEOPLE TO DO THE JOB OF ONE?!
<ADISBLADIS> (NOT SERIOUS BTW)
<ldlework> The first Docker orchestrator ever built was built through some glorious few weeks of passionate, totally shared-switched-context between friends and coworkers.
<ldlework> It was one of the best professional experiences of my life.
<ASHKITTEN> IF PROGRAMMING WAS ABOUT WRITING CODE IT WOULD BE LUDICROUS TO PUT TWO PEOPLE ON THE SAME KEYBOARD, BUT PROGRAMMING IS ABOUT FIGURING OUT WHAT CODE TO WRITE
<ldlework> I feel the same kind of minor pity for those who have never experienced that, in the same way I feel for those who've never had a psychological experience.
<ldlework> It's a slice of the transcendental.
<ldlework> oops s/psychological/psychedelic
<ldlework> lol
<ASHKITTEN> PROGRAMMING IS A FIELD WHERE 5 LINES OF CODE CAN TAKE THE SAME AMOUNT OF EFFORT AS 500 LINES AND THAT'S BEAUTIFUL
<samueldr> programming is a field in a DVR's database
<ldlework> Often when I'm writing code, a lot of the time I'm stuck is during design or decision paralysis. Mostly on minor things, but which have narrow relevancy to you down in some trench. Do I go this way or that way. Having a friend who's in the trench with you go "Tbh, I think we should go that way" .... the value of that is just enormous...
<ASHKITTEN> PROGRAMMING IS A FIELD OF ROSES AND ONIONS AND BROCCOLI AND TOILET SEATS AND BEANBAGS
<ldlework> It's totally different from being in that trench, and reaching out to other members of your team each of which are in their own trench. And you ask them "What do you think about this?" and they can do their best to give you a valuable answer but it doesn't compare to the answer given by someone *in the same trench*.
<ADISBLADIS> ASHKITTEN: YOU JUST GAVE ME A FLASHBACK FROM ABOUT A YEAR AGO
<ADISBLADIS> LITERALLY 5 LINES OF CODE THAT TOOK AN ENTIRE AFTERNOON/EVENING
<elvishjerricco> I've missed something... what is with the caps lock?
<ADISBLADIS> ELVISHJERRICCO: WHY NOT?
<ADISBLADIS> THATS BASICALLY IT
<ASHKITTEN> IT'S #BASIC-CHAT HOUR
<ASHKITTEN> AND HAS BEEN FOR THE PAST MULTIPLE HOURS
<ADISBLADIS> ASHKITTEN: ME AND ETU ARE IN ANOTHER CHANNEL WHERE WE HAVE A YEARLY TRADITION TO CHANGE NICKS AND WE CALL IT THE $TRADITION-DAY EVEN THOUGH IT ALWAYS SPANS TWO DAYS
<ASHKITTEN> YOU SWAP NICKS?
<ADISBLADIS> NO, YOU CHANGE YOUR NICK TO THE FIRST TO LETTERS OF YOUR FORENAME AND THE TWO FIRST ONES OF YOUR SURNAME
<samueldr> hey, how do you even opt-out of these things?
<ADISBLADIS> SAMUELDR: WHY WOULD YOU WANT TO :D
<samueldr> as someone who has to sometimes share roads with those dangerous vehicles already, adding *more* impredictability is terrible
<joepie91> LOOK WHAT Y'ALL HAVE DONE WITH YOUR CAPS DAY, NOW FAGRADALSFJALL HAS ERUPTED https://twitter.com/FreyjaErlings/status/1373033777258246145
<samueldr> I'm not saying that about the general concept of self-driving
<samueldr> I'm saying that about the whole experiment on the real streets with things that are obviously not done
<ADISBLADIS> SAMUELDR: OH, I THOUGHT YOU WERE TALKING ABOUT CAPS
<samueldr> ADISBLADIS: NO
<samueldr> I don't care about caps
<samueldr> see, I don't care about them!
<ASHKITTEN> AS SOMEONE WHO IS PROBABLY GOING TO BECOME A MOTORCYCLIST SOON I'M ALREADY TERRIFIED ENOUGH OF CARS AND REALLY DON'T NEED TO BE AROUND MUSK FANS FALLING ASLEEP AT THE WHEEL
<samueldr> yep, people will probably end up too comfortable with the "often okay" experience
<samueldr> and there is no opting-out of this for anyone else
<ASHKITTEN> THE MOST DANGEROUS PART ABOUT RIDING A MOTORCYCLE IS BEING AROUND SHITTY CAR DRIVERS
<samueldr> when you can literally defeat them with looney tunes tactics
<samueldr> like extending the middle stem of a three so it looks more like a 8 to their cameras
<samueldr> then they go 85 in a 35 (mph) zone
<ASHKITTEN> WOW
<ASHKITTEN> THAT IS TERRIFYING
<samueldr> other looney tunes tactics include re-tracing the lane dividers
<samueldr> untexted: painting a fake tunnel in a wall
<samueldr> untested*
<ASHKITTEN> I DON'T THINK THAT WOULD WORK GIVEN THE CARS PRESUMABLY HAVE REAL DEPTH SENSORS
<samueldr> not teslas
<samueldr> built on top of cameras only
<ASHKITTEN> WOW
<samueldr> (if I can believe what I was reading)
<ASHKITTEN> REMEMBER THAT CONTEST DARPA HAD FOR SELF DRIVING CARS AND THEY ALL HAD GIGANTIC SENSOR ARRAYS?
<ASHKITTEN> THAT'S WHAT I THOUGHT WE WOULD END UP WITH, NOT SHITTY VISUAL ONLY CRAP
<samueldr> it's fine
<samueldr> AI is going to solve it
<samueldr> it's been tested in their backyard totally-representative-of-a-city testing lot
<samueldr> 'tis fine
<samueldr> (no it's not)
<samueldr> (as we can see in the previously linked video)
<ASHKITTEN> I JUST DON'T UNDERSTAND WHY THEY'RE USING SENSOR DATA TO SEE STOP SIGNS AND SPEED LIMITS WHEN PRESUMABLY THE CITY IS ENTIRELY MAPPED OUT
<ASHKITTEN> MAYBE AS A FALLBACK BUT IT'S RIDICULOUS OTHERWISE
<infinisil> Not everything is mapped, and maps get outdated
<infinisil> Example: Construction site
<ASHKITTEN> THAT IS TRUE BUT IT SHOULD BE FAIRLY OBVIOUS NOT TO GO 85 IN A 35 ZONE
<samueldr> ¯\_(ツ)_/¯
<samueldr> how would it know about speed sign updates?
<samueldr> though 35->85 is a stretch
<ASHKITTEN> CONTEXT
<ASHKITTEN> IT CAN SEE THE OTHER CARS
<samueldr> adversariality probably wasn't in the requirements
<samueldr> ah, I don't know if it does that when other cars are around
<ASHKITTEN> YEAH WELL ROBUSTNESS AGAINST ADVERSITY IS A REQUIREMENT ON THE ROAD
<ASHKITTEN> SO IF THEY CANT DO THAT THEN THEY SHOULDNT BE ON THE ROAD
<samueldr> not if you're in a tesla
<samueldr> you own the road
<samueldr> because you're in a tesla
<samueldr> not in a dumb "ford" or anything like that
<samueldr> (I'm not serious... but not entirely fascetious)
<samueldr> >> This isn’t the first time Tesla’s self-driving tech has proven easy to fool. Last year, researchers from Keen Security Lab showed that it took just three small reflective stickers to confuse the car’s lane-keeping system and send it into oncoming traffic.
<samueldr> oh yay
<ldlework> I have shorts on tsla so let's hope this is true :)
managarmr1 has quit [Remote host closed the connection]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
managarmr1 has joined #nixos-chat
STERNI is now known as sterni
rajivr has joined #nixos-chat
tomberek has joined #nixos-chat
<katrin> DID ALL CAPS END
<gchristensen> yes
<LOVESEGFAULT> WHAT DO YOU MEAN?
slack1256 has quit [Remote host closed the connection]
sterni is now known as STERNI
<supersandro2000> finally
<supersandro2000> almost felt like in SQL town
<gchristensen> hahaha
<LOVESEGFAULT> lol
<gchristensen> uppercase sql is the way to be
LOVESEGFAULT is now known as lovesegfault
ASHKITTEN is now known as ashkitten
<ashkitten> party time over v_v
<katrin> ;;
<gchristensen> thank goodness
<lovesegfault> Looking forward to the next cappy hour
<ashkitten> <3 gchristensen
<{^_^}> GCHRISTENSEN'S KARMA GOT INCREASED TO 437
<lovesegfault> lol
<lovesegfault> oh my
<gchristensen> oh noooo
<ashkitten> infinisil: cappy hour is over
<ajs124> despite us ending all caps, I still decided to go for a third beer and finished it. to whom it may concern.
<infinisil> Bad {^_^}
* gchristensen 's a strong G&T and a half deep
<ADISBLADIS> WON'T YOU TAKE ME TO SQL TOWN (to the tune of funky town)
<gchristensen> lol
<lovesegfault> SQL TOWN FUNK YOU UP
<lovesegfault> SQL TOWN FUNK YOU UP
ADISBLADIS is now known as adisbladis
<adisbladis> lovesegfault: <3
<infinisil> Oh wow, one of my servers has been up 214 days
<infinisil> That's more than I want
<ajs124> I always go for the bi-annual nixos release reboot
<gchristensen> my machines are like, up 20 hours ... or up 200 days
* samueldr thinks
<samueldr> how long was it since I stopped working for $CLIENT?
<samueldr> that's probably the uptime
<samueldr> + whatever it was already
<infinisil> Hmm, would an automated regular reboot be a good idea
<infinisil> Not sure what for
<gchristensen> almost all the hydra builders reboot (and erase themselves) daily
<infinisil> Ah nice, makes sense for the erasing part
<samueldr> it all depends on what the server does
<samueldr> e.g. your bnc... might be annoying
<samueldr> *especially* if it does it at a time you might be online
<supersandro2000> well, if it does not reboot than you need to send someone to fix it
<samueldr> which... could be any time between 0:00 and 23:59
<samueldr> no... that does NOT mean there's a whole minute to reboot
<supersandro2000> I mean like when it does not cleanly reboot and is just stuck or off
<infinisil> supersandro2000: But then it's good to be doing it before you actually need to reboot
<infinisil> And at a time you know it's going to reboot
<supersandro2000> no one pays you to think like this
<supersandro2000> better waste 5 hours when you need it instead of 3 over the year
<samueldr> it'd probably be better with something like the auto rollback thingy
<{^_^}> #84204 (by danielfullmer, 50 weeks ago, open): [WIP] nixos/systemd-boot: boot counting and automatic fallback
<infinisil> There's so many cool PRs out there damnit
<supersandro2000> I don't mean this type of not booting correctly
<supersandro2000> like hardware failure or battery died and you are in UEFI and need to verify the time
<samueldr> depends on what kind of job it is doing
<samueldr> and how critical it is
<samueldr> it might also mean you **want** to reboot it daily if it's ultra highly critical
<samueldr> with multiple machines doing the job
<samueldr> so you know the moment one of them goes off sick
<samueldr> but hardware failures on a VPS is not really likely
<samueldr> I mean, that won't be what prevents a reboot
TAZJIN is now known as tazjin
lytedev has quit [Ping timeout: 265 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-chat
<supersandro2000> Do we want to bet if this can be used to do another side channel attack? 😂
patagonicus8 has joined #nixos-chat
patagonicus has quit [Ping timeout: 256 seconds]
patagonicus8 is now known as patagonicus
<aleph-> Without reading it, yes.
<aleph-> Yeah my uptime should shoot up now that I actually have a UPS heh
<samueldr> side-channel? I don't think this counts as side-channel... but blowing the wall wide open
<samueldr> but "red unlocked state" is terminology I don't know
<samueldr> hopefully it's something none of the installed CPUs run in
<ldlework> i wonder why openproject was removed from nixpkgs
<samueldr> was it in Nixpkgs?
<ldlework> oh it wasn't, someone was working on it and never came through
<ldlework> rip
<ldlework> well they do say it was for their personal nixpkgs
cole-h has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
<aaronjanse> Is high disk I/O (especially much higher write than read) normal for a NixOS dev laptop?
<aaronjanse> I have a 512 GB SSD, and over the past 1.2 years I've written 27 TB and read only 16 TB
<aaronjanse> Maybe it's just my workflow somehow
<siraben> how much wear does using Nix add to a hard drive?
<siraben> SSD*
<samueldr> I would be surprised if it had been measured
<siraben> I also GC quite often when hacking on Nixpkgs
krkini has joined #nixos-chat
kini has quit [Ping timeout: 264 seconds]
<elvishjerricco> Interesting. I also have way more writes than reads on my SSD. I wonder if that's just because ZFS's cache is good enough that I don't really need to read from disk very often.
krkini has quit [Quit: bye]
<aaronjanse> I'm not sure. Reading on HN, it looks like a lot of people have 2x+ reads vs writes, instead of the other way around
<aaronjanse> I use /nix/store on a compressed ZFS volume, and I garbage collect once every ~3 months
<aaronjanse> I suspect the cause could be me spending a lot of time debugging broken builds. Which usually means writing a ton of stuff to disk before seeing an error message
cole-h has quit [Ping timeout: 264 seconds]
kini has joined #nixos-chat
<Ke> ssd wear is not really a thing for most people to be concerned about
<Ke> if you buy the shakiest octo level cell from chinese market maybe, but if you use normal ssds, you will discard the old one, because you have gotten bored of it's RGB scheme before it breaks
<Ke> especially, if you get most of your stuff from cache, they will be preallocated and written linearly to disk anyway
enick_326 is now known as JJJollyjim
<JJJollyjim> Emil Karlson: that's not really true when SSDs are frequently soldered in to laptops
<srk> aaronjanse: fun, my is 27TB written and 21 read over 1.7y
<JJJollyjim> not everyone can afford new laptops based on lighting preferences
<JJJollyjim> in general though, I think my SSD wear is much higher than usual thanks to nixos
<srk> possibly, and git repos :)
<JJJollyjim> (especially on unstable)
<JJJollyjim> content addressed store please 🥺
<srk> with multiple levels!
<Ke> I think still bigger problem might be some abusive apps, when they hit people
<Ke> like the firefox autosave issue
<srk> it's saving profile too often?
<Ke> I think it was open tabs or something
<Ke> probably fixed by now
<Ke> that's probably inside the profile anyway
<PIE_> I need to start running munin or somethin on my nodes
<Ke> I used to use firefox inside tmpfs for this
<PIE_> or is grapfana the cool thing these days
<PIE_> *grafana
PIE_ is now known as pie_
<srk> prometheus :)
<srk> with grafana on top of it
<siraben> aaronjanse: what filesystem are you using
<siraben> Hm I'm contemplating switching my Linux partition to ZFS sometime
<siraben> maybe use https://github.com/nix-community/impermanence or erase your darlings
<aaronjanse> I'm using ZFS. The compression for /nix/store is pretty awesome (1.7x compression ratio for me)
<aaronjanse> Yep, tonight I'm setting up impermanencd
<siraben> The motivation is to further remove imperative state right?
<siraben> NixOS gets us a lot of the way there, what's missing?
<siraben> s/imperative/mutable/
<aaronjanse> Emil Karlson: I agree that my SSD will outlast my laptop. Even at my current pace of ~2 TB / month (on a 512 GB SSD), I still have another estimated 8 years left. My keyboard will probably be broken by then
<aaronjanse> (I ordered replacements for a broken key on my keyboard.... and was shipped a broken replacement)
<aaronjanse> siraben: Yep. For me, the primary reason for impermanence is that it'll let me feel comfortable about my backup situation
<siraben> You're running an XPS 13 IIRC
<aaronjanse> Yep
<siraben> Yeah. I only back up my home folder on NixOS and macOS
<siraben> and ignore stuff like .cargo or .cabal
<aaronjanse> I backup all my files.... but not the decryption keys
<aaronjanse> So I need to fix this situation
<siraben> oof
<siraben> I haven't run a full borg check to see if my backups are ok
<siraben> it's kind of slow, the external hard drive is a spinning one
<aaronjanse> Maybe I should check out borg
<siraben> Related question: how on earth do I organize my downloads folder better lol
<siraben> it's fully with so many random things
<siraben> full*
<aaronjanse> I've been using git-annex, a tool I'm writing (only for unimportant data), and now I'm considering Restic
<siraben> looking at my latest 100 files, mostly assignments and my PDF submissions
<aaronjanse> I have a folder called "journal" where I dump random files after putting a timestamp in their filename
<aaronjanse> It's not actually a journal, but idk what to call it
<siraben> Yikes, ~/Downloads is 9.14 GB
<siraben> (on my macOS partition)
<aaronjanse> **I've been using a self-made tool in addition to git-annex. I did not write git annex ofc
<siraben> ah 6.29 GB of it is stuff that would not be backed up since I could get it again from the internet
<siraben> ISO files
<aaronjanse> Lmaoo same here
<siraben> I see
<aaronjanse> Half my ~/Downloads (in terms of space) is random ISOs
<siraben> lol
<siraben> I'd probably how to rig Emacs somehow to make it super easy to categorize new files i download
<siraben> single key presses to walk down a directory hierarchy
<aaronjanse> Ooh
<siraben> I think it was jwiegley that said so in a podcast/interview somewhere
<siraben> "But the way that I manage that data overload is just by structure. I developed a taxonomy to put things into places by category and by topic. Whenever I have a file or whenever I’m looking for a file, I can know within seconds what the path name leading to that file or group of files is going to be, because I adhere to the taxonomy rigidly. I have an inbox where new stuff comes in, and then I sort the stuff out from th
<siraben> inbox using Dired into the parts of the taxonomy that it needs to go in."
<siraben> impressive
<siraben> says he stopped deleting things he downloaded years ago
<aaronjanse> Wow
<siraben> that use of org mode
<aaronjanse> Aaaaaah, Julia is really cool, but these JIT compile times suck
<aaronjanse> I should probably take another look at emacs
<aaronjanse> For the non-code-editing stuff
<siraben> https://orgmode.org/ definitely worth taking a look at
<siraben> I like org more than markdown, but it has its problems like lock-in to Emacs
<siraben> That is, if you don't have Emacs it won't be easy to edit tables, run code snippets, toggle TODOs, etc.
<pie_> jwiegley is nuts
aanderse has quit [Ping timeout: 240 seconds]
aanderse has joined #nixos-chat
aanderse has quit [Changing host]
aanderse has joined #nixos-chat
<pie_> :D
<srk> main TODO file :D
FRidh has joined #nixos-chat
<ldlework> siraben: there are webtools, and mobile apps now that can edit org-mode
<ldlework> with some syncthing, you're all good
<ldlework> you obviously can't do all the things that org-mode supports
<ldlework> but you can edit hierarchies, set todo status, tags, etc
<ldlework> that's already a better task/knowledge experience than what markdown is gonna give you in those contexts, besides web probably
<ldlework> i'm sure there's some great markdown tools by now (ghost, etc)
<ldlework> org-mode really is one of the best technologies ever and i recommend anyone who's not heard of it to give it a looksee -- it's far far far more than just an alternative markup
<srk> playing with it. recently I've tried code blocks in vim-wiki with markdown and it wasn't very good
<aaronjanse> "30803 store paths deleted, 112419.88 MiB freed" Wow, that was one of my bigger GCs
<aaronjanse> I might start taking notes in https://github.com/fonsp/Pluto.jl
<aaronjanse> I know I know, not the same at all
<srk> yay, want to run one as well. instead getting preallocating file of 133399 bytes: No space left on device :D
<aaronjanse> Nooooo
<aaronjanse> ahaha
<srk> on btrfs .. :D
<srk> good thing is that it usually fails to build something and instantly deletes it so it won't get to 0% free
<pie_> whoever suggested to me to use the firefox auto tab unloader addon, thanks, i didnt remember it helping that much but it seems to have helped a lot now
<srk> I mostly use gc with --max-freed 10 - 30G to preserve caches
<srk> pie_: firefox-collect-garbage
<aaronjanse> pie_: I think it was ar and siraben who recommended it in this channel
<aaronjanse> At least they're why I started using the extension again
<aaronjanse> (thank you!)
<siraben> ldlework: yeah I should look at org-mobile again
<siraben> Rip I don't think I can do max-freed on macOS, need to check
<ar> aaronjanse: ?
<ldlework> siraben: open discord
<aaronjanse> I think you recommended Auto Tab Discard?
<aaronjanse> Maybe it was someone else
<ar> oh, yeah, i use that
<siraben> I have over 100 GB of free space in 250 GB partition, but less than 30 on macOS (also 250 GB) >.<
<siraben> darn xcode
<aaronjanse> As an unrelated note, would sharing /nix/store across different OSes on the same disk work (assuming only one is booted at a time)?
<aaronjanse> I don't see why not
<aaronjanse> Hmm
<siraben> Oh I looked into that before
<siraben> IIRC it could be problematic?
<aaronjanse> What did you find?
<aaronjanse> Ah
<siraben> Maybe because I was gonna share macOS and Linux
<siraben> but theoretically that shouldn't affect anything
<siraben> you only have symlinks in the store, not out right
<siraben> symlinks into*
<aaronjanse> Correct
<aaronjanse> (afaik)
<siraben> aaronjanse: nevermind, looking again I think it should be OK
<aaronjanse> Oh cool
STERNI is now known as sterni
kini has quit [Remote host closed the connection]
kini has joined #nixos-chat
<srk> mm, 87394 store paths deleted, 173624.17 MiB freed
<aaronjanse> Wow
<srk> it's actually surprising, I expected even more but I have tons of /results in home
* srk scanning nix-store --gc --print-roots | grep '/result'
FLOKLI is now known as flokli
lunc has joined #nixos-chat
multi has left #nixos-chat ["meep"]
<CodeKiwi> 361 {"code":-1003,"msg":"Way too much request weight used; IP banned until 1616235283868. Please use the websocket for live updates to avoid bans."}
<CodeKiwi> date --date='@1616235283868'
<CodeKiwi> Mon Jun 16 09:31:08 PM UTC 53186
<CodeKiwi> wow, harsh
<ldlework> :O
<CodeKiwi> maybe hopefully they mean this date --date='@1616235283.868'
<CodeKiwi> Sat Mar 20 10:14:43 AM UTC 2021
<aaronjanse> Hey CodeKiwi how's the future?
<aaronjanse> Oh NVM I see
<aaronjanse> How could I uninstall coreutils from my NixOS userspace and replace it with uutils?
<siraben> gasp
<siraben> Heh on macOS that's easy
<siraben> what packages are preinstalled on NixOS?
<siraben> wouldn't setting a higher priority be enough?
<aaronjanse> Oh boy, I uninstalled a bit more than I intended
<aaronjanse> I no longer have kill, ls, reboot, shutdown, which, nix, aaaaaaaaaaaah
<aaronjanse> What I did was lib.mkForce on environment.systemPackages
<aaronjanse> It looks like I'll be adding the defaults then slowly removing one-by-one, seeing what breaks
<aaronjanse> Shout-out to supersandro2000 for updating the uutils derivation to work well for what I'm doing
<pie_> is there something like an issue tracker with private links where you dont need to log in?
<sterni> a non public single user issue tracker?
<siraben> aaronjanse: did you rollback, I hope?
<aaronjanse> Yep, I did
<aaronjanse> Now I'm just using uutils via my Nix profile
<aaronjanse> Awww, it looks like I'll still have my CS courses remote next semester (rather than in-person)
<aaronjanse> I'm not sure what I was expecting :-/
<pie_> sterni: i was thinking something where you like have a task, and then can share a link with friends
<pie_> aaronjanse: what language are they in
<aaronjanse> I'm doing a course on C & RISC-V, and also a course on general EE stuff
<aaronjanse> Taught in English
<aaronjanse> Why do you ask?
<siraben> aaronjanse: oh great
<siraben> your next semester is still remote?!?
<aaronjanse> It sounds like it'll be in-person except for large classes. And the CS classes tend to be large
<siraben> ah
<siraben> yeah, berkeley is really big
<aaronjanse> I think one of my classes this semester has 4k students?? Idek
<siraben> jeez
<aaronjanse> But it's a lot. Definitely more than the 200 limit :P
<siraben> that's like, twice the size of my class haha
<aaronjanse> Yeah
<siraben> by class I mean entire year level
<aaronjanse> Oh wow
<sterni> pie_: do the others need write access as well?
<pie_> sterni: yeah, i didnt think very hard but i was imagining something like a github issue thread
<sterni> like a threaded guestbook :p
<siraben> How does everyone keep their Nix unstable up to date on non-NixOS systems?
<aaronjanse> Do you have flakes support installed?
<aaronjanse> Even on NixOS, I generally stick to Nixpkgs stable and import from unstable only when needed
<ldlework> live dangerously!
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
lunc has quit [Ping timeout: 245 seconds]
<srk> pretty safe with nixos .. :) I just backup my old master to srk-2021_03_20, pull new one, if it builds I keep it
<aaronjanse> Ah, I mostly keep my Nixpkgs pinned to minimize downloads and changes to applications' UI. Nix isn't the issue here for me
<aaronjanse> I might try deploy-rs for deploying servers and Nix profiles. Currently I'm just using nixops and nix profile
patagonicus has joined #nixos-chat
<siraben> aaronjanse: my philosophy is unstable by default, stable if something breaks lol
<siraben> I guess I might as well be on stable, the only unstable software I use regularly that would matter is haskell-language-server and gccemacs
<siraben> HLS changed a lot since the last Nixpkgs stable
<aaronjanse> I'm okay with nixos-unstable. I tried Nixpkgs master for about a year and didn't like it
<siraben> what made you not like it?
<siraben> also stable should still have plenty of cache hits right?
<aaronjanse> Afaik the only difference between master and unstable is that unstable pasts tests
<srk> yep
<srk> you mostly get misses on master when you time it badly. the only thing that breaks relatively often for me on master is nvidia
<srk> if it does, I just wait a bit
<aaronjanse> So I was the first person to experience (or the first person to report) some bugs on master
<siraben> using master is chaotic energy
<aaronjanse> Most notably is when all fonts on my system vanished while I was working on exams
<siraben> next level: use staging
<aaronjanse> Was quite epicly dramatic
<aaronjanse> Ahaha
<siraben> of course with nix rollback is never an issue, hehe
<aaronjanse> I think someone here uses staging
<srk> could work if it allows linear history
<aaronjanse> I forgot who
<aaronjanse> Phew, I've deleted 100 files/directories from $HOME tonight. Only one hundred more to go
<aaronjanse> Then hidden directories, oh no
<aaronjanse> Oh ~/.zcash, I bet I can delete that /s
<srk> bip39 got your back
<aaronjanse> Ahaha
<aaronjanse> Best part is that I can't actually find any reliable wallets for zcash (in terms of packaging)
<aaronjanse> So I just put the seed in my password manager. I guess I'll just hope for the best
<srk> I'm thinking about bip39 for matrix/element backup codes. would be nice instead of the random generated ones you're supposed to put in your password manager
<aaronjanse> That would be cool
<ldlework> someone should make a tool
<ldlework> where you do something like
<ldlework> nix-wand python pandas numpy
<ldlework> and it generates a cannonical shell.nix
<ldlework> using best practices and stuff
<ldlework> and there would be templates for haskell and other languages
<supersandro2000> aaronjanse: keep in mind that there are issues and not everything works
<aaronjanse> Yep supersandro2000
<aaronjanse> ldlework I think that is being done via GitHub templates
<ldlework> aaronjanse: how does that help when you're local making a new project though?
<ldlework> which is probably where the vast majority of projects start
<aaronjanse> I'm not sure
Dotz0cat_ has quit [Ping timeout: 264 seconds]
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
<sterni> ldlework: for haskell just use cabal2nix --shell :)
<ldlework> smug
<sterni> I think there wer projects towards what you were discrebing or still are
<ldlework> hehe
<sterni> it's not that easy however because there's never an obvious choice
<sterni> since nix is pretty flexible and outside of nixpkgs you can do different stuff
<ldlework> let me know if you remember
<sterni> like carnix vs. naersk (which is pretty cool as it parses the Cargo.lock file in pure nix)
<ldlework> one working solution for each popular environment, lacking ideal solutions, would be better than none
patagonicus has joined #nixos-chat
<siraben> ldlework: nothing like that exists? wow
<siraben> I just dogfood my own templates to get started, but it would be great to have language-specific templates
<siraben> even better if with flakes 😉
<ldlework> what are those
<supersandro2000> Since when does github random quotes on the first commit?
<supersandro2000> > So it begins, the great battle of our time
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):492:13
<supersandro2000> apparently not vanilla github
<supersandro2000> I am on the search for someone using vim with scp:// and bash-completion to check if https://github.com/SuperSandro2000/vim-bash-completion works for them
<supersandro2000> it also has bash-completion for all other vim arguments which is not that interesting
<kraem> is anyone using letsencrypt for their internal servers/services?
<siraben> ldlework: what are flakes?
<ldlework> yeah, joke
<siraben> lol
<ldlework> right exactly, something like that for multiple languages
<ldlework> open source project so templates can be contributed, etc
<siraben> Rust shells are more wild west
<siraben> like I'm probably doing something wrong, but this worked for Emacs LSP
<srk> kraem: yep, with acmeFallbackHost forwarding vhost to the internal machine
<siraben> also rip impure use of `<nixpkgs>`
<siraben> ldlework: of course such a project would be opinionated one way or the other, but that's better than nothing lol
<ldlework> my feeling exactly
<srk> siraben: we just need better scoping .. https://gist.github.com/sorki/005360d3931ab2200fb4dfc0d7dd15f5
<siraben> I think all the templates are in folklore knowledge somehow? everyone has their own
<siraben> srk: omg
<siraben> what does that do lol
<kraem> srk: thanks! do you have one external and one internal dns server to resolve domains?
<srk> left as an excercise ..
<srk> kraem: I'm considering that
<srk> kraem: so far I've only used extraHosts to point external dns addr to internal wireguard ip but that won't scale :)
<kraem> srk: ah. do you have your configs public to look at? :)
Dotz0cat has joined #nixos-chat
<kraem> srk: thanks!
<srk> do you emacs or emacs-nox? :)
<ldlework> emacs of course
<ldlework> you haven't lived until you've live-coded plantuml -> svg in emacs
<srk> uuuuuuu
<srk> like.. I rarely have to edit things remotely nowadays
<ldlework> there's tramp for that anyway
<srk> except for my armv7l laptop which is just a terminal to my x86 machine with bunch eternal terminals running vims :P
<srk> hah
<srk> so much stuff to learn! I'm risking overload
<srk> emacs and tidal .. ofc, looks even easier to get running than vim/screen combo
<srk> also magit looks very good
aei has joined #nixos-chat
cole-h has joined #nixos-chat
<aei> good looking morning ... and, out for groceries :-)
<ldlework> srk: magit is the glory of god
<gchristensen> magit erased ~ on me once after I accidentally typed sentences in to its UI
<f0x> git rm -rf --no-preserve-root
<srk> sometimes I consider separate user accounts for various projects
<srk> due to command history and not accidentally rm rf
<ldlework> gchristensen: that's like saying "the nuclear console blew up the world after I rolled my face over its buttons"
<ldlework> is it really to blame? :P
<gchristensen> no, it is my fault for putting a nuclear console next to the button I use to get water
<srk> cats and magit = trouble? :D
<ldlework> cats and any tool able to manipulate your filesystem via keybind I guess
<ldlework> dired, ranger, etc ad infinitum
<gchristensen> as ttuegel says: It is not inconsistent to want tools that are very sharp, but only at one end.
<ldlework> i'm just not sure what you would change
<ldlework> should the tool do what you expect when you push the buttons normally but not when cats are around? :)
<ldlework> the first time magit stopped you to ask if you really want to do the thing when you indeed intended to do the thing (because you pressed the button) is the moment all magit's value as a git client so fast you don't even see it anymore goes out the window
<srk> you should serve the cats when they are around anyway
<ldlework> true, what even is the point of code if not to make money to lavishly spoil cats
<srk> ldlework++
<{^_^}> ldlework's karma got increased to 21
<gchristensen> yeah, it isn't really for me
<gchristensen> I use vscode mostly :)
<ldlework> I do too, but I keep an emacs open just so I can magit lol
<gchristensen> haha nice
<ldlework> at least for webshit, for which vs has no rival
<gchristensen> really the moral of the story might be don't put a .git in ~ by mistake
<V> the *real* moral of the story is that computers are all cursed and we should stop using them
<gchristensen> strong agree
<V> decades of conditioning to make us think that they're our friends, and yet inside they're tortured crystal mazes
<V> cutesy plastic box to make us think it's safe
<ldlework> V I just finished two scifi series about rogue AIs :D
<ldlework> Killday series and the Infinite series
<ldlework> both so good!
<V> who needs a rogue AI when you already have one in your skull
<f0x> recently finished the Broken Earth trilogy,, soooo good
<f0x> *highly* recommended
konubinix has quit [Quit: Coyote finally caught me]
<kraem> srk: it was easier than i thought.. seems like making the internal dns server just resolve the domain that has a letsencrypt cert to an internal ip enabled tls :)
konubinix has joined #nixos-chat
<srk> kraem: cool. what do you use for internal dns?
__monty__ has joined #nixos-chat
<pie_> Not having people to talk to about certain books is kinda frustrating.
<ldlework> get married
<ldlework> they have no where to go!
<pie_> haha
<pie_> boy that is a can of worms
<aei> magit ... i have to visit; ultra-expensive ultra-hi-fi headsets reviewed last night, i understand the attraction, mobile den, guess i wonder more how to set up a regular room with fantastic sound (amp, dac, speakers without breaking the bank); as for books and reading, yes please, the cost is time (where to find that?) ... killday only available as an audiobook? perhaps that is the way to do it ... have never listened to an audio
<aei> ... guess it is not possible to work and listen, wonderful if it were, the types of book recommended here are likely to demand full attention (evening reading to is to the kids, perfectly capable of reading to themselves, as much a bonding thing) ... ok, there's my bunch of noise for now
rajivr has quit [Quit: Connection closed for inactivity]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
<ashkitten> i should really do something about my reading list
<pie_> meanwhile....reading this book without knowing geography is not particularly illuminating at times
<aei> kids tennis, gotta go ...
aei has quit [Ping timeout: 256 seconds]
endformationage has joined #nixos-chat
<__monty__> I've worked reading into my routine.
<__monty__> Even if it's just a few minutes I do it, daily.
<kraem[m]> monty: nice! i’d like to get that back into my daily routine as well
<kraem> srk: hmm seems like my reply about using unbound got lost in the matrix -> irc void
lunc has joined #nixos-chat
<__monty__> It's nice. By the end of a book I usually get so into it I read during the day as well. Rather than waste time on reddit/youtube.
<pie_> ive committed a grave sin
<pie_> i watched a minecraft video
<__monty__> 3 PR submissions and 10 PR reviews and you will be forgiven.
<srk> kraem: hah, thanks :)
aei has joined #nixos-chat
<aei> (back) bought "klara and the sun" a couple of weeks ago, as i suspected have not got further than to admire its presence ..., perhaps this confession will get me started
<aei> could gain a fair bit of time by skipping tracking news story headlines ... general & tech, lots keeping aware without really following much in detail
<aei> (thought i was a bit unfair in characterizing of headphone discussion (of yesterday), as being at the ultra-high end of the spectrum, there was some pretty valuable (more affordable) advice there for whenever, and you get the idea who to ask should you need to know more ...)
<aei> ... nordic nix*ers extend little to iceland ?
<aei> (should check whether i've missed related comments)
<aei> (hmm, that will be(come) like (my) news-browsing, better not)
<aei> (well, the eruption appears to be containing itself and pretty ... claimed as first for that volcano in 6000 years though 40km from reykjavik, have ... only seen headlines, perhaps i should go read (just checked that it was km not miles, seems closish), rowing a bit here)
<ekleog> libc++
<ekleog> (this was a test and the test completed successfully)
<ekleog> (so libc was indeed blocked from getting karma… poor libc)
<__monty__> <3 libc
<__monty__> libc++++
<__monty__> Well, at least they are treated equally : )
__monty__ has quit [Quit: leaving]
<infinisil> ekleog: Only nicks that spoke once can get karma :)
<ekleog> oooh ok that's why
<ekleog> and looks like libc is already a used nick so I don't have to ask you if you'd hate me if I did it (a)
<infinisil> (unless the nick is blacklisted from getting karma, which is the case for nick "c", because c++ is so common)
<ekleog> makes sense ^^
FRidh has quit [Quit: Konversation terminated!]
<aaronjanse> ++ekleog
<aaronjanse> Huh, I'm not sure what I was expecting
<ekleog> i'd get incremented before being returned maybe?
<aaronjanse> ekleog+=1
<aaronjanse> ekleog++
<{^_^}> ekleog's karma got increased to 13
<aaronjanse> There we go
<ekleog> what about that?
<ekleog> aaronjanse = aaronjanse + 1
<ekleog> aaronjanse := aaronjanse + 1
<ekleog> aaronjanse := !aaronjanse + 1
<ekleog> aaronjanse.inc()
<aaronjanse> Hello my name is Aaron but I'm not the same
<ekleog> [moar notification sounds follow]
<aaronjanse> The old Aaron has been overshadowed
<ekleog> nice to meet you, new Aaron!
<sterni> infinisil: would be kinda funny if C was collecting karma if ppl talked about C++ though
<aaronjanse> Hello!
<aanderse> don't worry, the community is big enough for 2 aarons
<ekleog> but 3? no that's one too many, one must disappear
<ekleog> free(\old(aaronjanse))
* ekleog resisting the urge to joke about use-after-free and necromancy
<aaronjanse> Bet
<aaronjanse> Oh no
<aaronjanse> I see now
<aaronjanse> I should probably admit that aaronjanse is a pseudonym
<aaronjanse> My real name is two words: Aaron Janse
<gchristensen> I'm scandalized Aaron "aaronjanse" Janse
<aanderse> you have two first names?! you're the second person i've ever met like that :-O
<aanderse> well... i guess we haven't met... but "heard of"
<aanderse> i knew a crazy guy, years ago, in high school
<aanderse> he must have been crazy because of his parents
<aanderse> he had two first names
<aanderse> mind blown
<lovesegfault> adisbladis: I need to be stopped
<lovesegfault> I'm thinking of building a custom amp for the Raals
<aei> you guys are crazy :-) i look forward to reading you tell others about :-)
<lovesegfault> aei: I just need to finish my radio first :P
<aei> well, keep us posted, a bit of crazy can be lots of fun ... what is your radio? let me know when you findish it
Dotz0cat has quit [Ping timeout: 246 seconds]
<aei> looks so cool ...
<aei> i know little about hardware, no idea about cost of parts, or, the effort and time needed to get it done, how far have you got, what is left to do, pictures (of yours) when done or it did not happen ;-) :-p
<aei> :-)
<lovesegfault> Well, I have all the parts since I bought it as a kit, but I haven't started yet. I just finished making sure all the parts are accounted for, etc
<aei> looks impressive, no idea how one would get started
<lovesegfault> Should take a couple of days since I can't solder when my wife is around
<aei> ok, well, good good luck, more interesting than your average puzzle, and i am sure you will get more out of the finished work than most (puzzles)
<lovesegfault> regarding getting started, you buy a soldering iron, some cheap kit (not this one, it's $$$) and try it out
<lovesegfault> Example of fun kits:
<aei> i'll admire your work from afar, and enjoy hearing about it, embellishments permitted
<lovesegfault> :)
<aei> thanks :)
slack1256 has joined #nixos-chat
<gchristensen> is <br /> unused these days?
<samueldr> gchristensen: it's used
<samueldr> for a line break
<samueldr> which is different from a paragraph
<gchristensen> cool
<samueldr> it's generally when the content contains a line break
<supersandro2000> <br>
<samueldr> though in that case you might prefer using one the css rules that preserves newlins
<samueldr> newlines*
<supersandro2000> except if you are writing xhtml
<gchristensen> xhtml is about when I stopped doing web stuff with vigor :x