#programmers-off-topic
1 messages · Page 98 of 1
I did use jetbrainsmono for quite a while
I need to do a side-by-side comparison at some point. I've never really taken the time to appreciate the differences.
sidenote. I can't believe that helix comes with all these fonts built in and then the one they pick as their default is just this entirely purple thing
there's almost no syntax highlighting
do they genuinely like this
Maybe that's Zen
I'm not the type to do distraction free coding, it makes my IDE feel naked
even if you go with purple and stick to themes that ship with helix I'd say boo_berry is just a better version of it
I mean there's still enough contrast that it gives your eyes things to focus on
It's not worse than no syntax highlighting
I'm definitely not a zen mode user in vscode either
I'd say I use stuff like helix despite their minimal interface not because of it
I mean when I used neovim I use like... preconfigured ones like LunarVim that just cram it full of stuff including an entire debugging UI you can open
I do find tabs and the file pane to be useful enough to keep around all the time as opposed to summoning it on demand
Screen real estate purists need to see all of their code from top to bottom on their ultra-tall monitors /j
I thought I'd miss tabs in helix but it really hasn't been bad
all the different navigation options ultimately replaced the need for it with something better
tbh even in visual studio I tend to just Ctrl + T and go somewhere instead of clicking on a tab even if it is right there
I haven't quite gotten accustomed to using sessions/tabs in Zellij, but I could probably manage most of what I need using multiple instances of apps and Zellij
zellij is neat
I see no need to use it within an editor since they have their own pane splitting and the likes and Id really rather not run multiple copies of the same LSP
My thought is, if I'm going to deal with tabs and such, it might be nice to have one universal way of handling them all rather than different tools implementing their own method
someone I introduced to zellij seems to have since become a big user of it with a ton of automation scripts and shit
But it's just a thought, I haven't actually tried building the muscle memory to do that in practice
I'm happy enough I got used to vim/helix style keybinds eventually
aquova was there for all 4 or 5 attempts at me trying to get into it

I gave up multiple times
eventually the trick was just to learn the keybinds from the vscode extension and ignore actual vim/neovim because that was just too much extra to have to learn
Neovim for VSCode was my gateway into vim keybindings
🙏
now I use helix and the vim keybinds in visual studio
having to juggle two similar but distinctly different systems
The one downside of using the less popular option of the two
I tried the helix extension for VSCode, and it's not at all as functional as the Neovim extension
even the VsVim plugin is barely maintained
I could never hope for a Helix plugin
for visual studio
I know there's some jank vim config someone made to try and make VsVim act like helix but honestly I think I'm better off not touching that
that's a nice shade of purple but needs less blue and more syntax variation
how dare u
god damn it
I was confused how a molecule that just doesn't make actual physical sense was enough to post here
I don’t know enough about molecules/chemistry to understand why it isn’t physically reasonable (and I don’t care enough to try and understand)
hmmm I mean I guess maybe it is possible and I'm just stupid and didn't consider that the hydrogen bonds were just omitted
I mean I know basically nothing about chemistry
The fact that you even used the words “hydrogen bonds” means you’re much more likely to be correct than my assumptions
I have google and verified that I am in fact wrong
though you'd normally represent the tails as CH3 and CH2 and not omit there it seems
apparently drawing it like this is called a skeletal structure while neatly writing out all the atoms is the Lewis-type structure
I guess it's a lot cleaner that way...

(Yes in organic chemistry the hydrogens are sometimes omitted)
I dont see how that is cursed
That molecule
(it's loss)
16 year old me could also like
Give you the proper name for it
But foof is cursed
Lialh is cursee
My foot is cursed
Morning, y'all!
this one's cursedness has absolutely nothing to do with chemistry
I'm too dumb to get it
it's just loss
this
it's uh
Tbh our digital chips might make fun video game levels for jump man or whatever
a minimal representation of a comic (called loss) someone made that for some reason turned into a challenge on how to represent loss in just about any possible context imaginable that's been going on for I imagine like a decade at this point
I'm about to go to bed
I find it quite impressive how you even ended up in this server while knowing very little about anything internet
I'm so old
I came into this server many years ago to report a bug to Pathos and unfortunately I've continued to be annoying
Tbh
.s/annoying//
Unfortunately I've continued to be?
very brutal
Oh i joined discord also because my second favorite Twitter group migrated to discord
I proceeded to say so little I think most have forgotten who I was on Twitter tbh
Oops
s/un//
s/annoying/amazing/
Apparently duolingo is doing a promotion where if you gift a subscription on twitch you get 3 free months of duolingo
I dont know if my favorite twitch streamer is still monetized
Does atra watch nefarious twitch streamers? 
No. Just ones that, because he has a day job, can't stream often enough to make twitch happy
He also streams PowerPoint
Things I Won't Work With: Dioxygen Difluoride | Science | AAAS https://share.google/jmJF8BId3scZ9q6gV
that one is FOOF, right?
Favorite chemical of all time
my DM used FOOF in one of our tabletop campaigns!
FOOF is a banger for sure
I opened up this chat to this, this is giving me science PTSD
Please spoiler it 🙁
(jk no need lol)
never been good at science
I use yadm as my dotfile manager, it's great
I use iosevka but idk if much thought went into it 
Apparently I'm using a weird selection for some reason...
[font]
size = 12.0
[font.bold]
family = "JetBrainsMono NFM"
style = "Bold"
[font.bold_italic]
family = "UbuntuMono Nerd Font"
style = "Bold Italic"
[font.italic]
family = "UbuntuMono Nerd Font"
style = "Italic"
[font.normal]
family = "JetBrainsMono NFM"
style = "Regular"
the one thing I’m super used to is powerline on my terminal
I don’t even need most of what it shows. I just like it being there
Okay, everything switched out for Fira, and looking quite nice.
I did try Iosevka, but it's so narrow it hurts my eyes a little. 
cascadia code my beloved
i have been using fantasque sans mono for some time now. i like it.
(i can't use fira. i despise code ligatures)
I love the Hack font, I use it for everything
I think it's also what Discord uses, maybe
Nerd (affectionate)
I spent ten minutes at work yesterday failing to download a new desktop background tbh
Font nerd talk? In my programming off topic channel?
Given it's your channel do you want to show off the 3d
I already have a thread for that 😛
(and I'm starting work in like 30 seconds)
(and that's dangerously close to on topic)
I imagine anyone here who is interested in it would’ve already joined the thread.
Not that I’ll never post about it here (especially if it’s just code being mean to me), but I’ll save it for significant steps
I used to have this on VSC: https://github.com/IdreesInc/Monocraft
I didn't reinstall it when I changed setup but it was fun for a while
Ugh, just a move cmd is annoying in cliosoft
I've been fighting it repeatedly
What combination of files do i need to check out to move one folder into another should not be a game of guess and check
"Do I have variadic functions? Variadic macros? Any way to make sure this enum is a defined enum value without typing it out? No?"
...why does it matter what's in the file for moving it in source control
is it the git thing where it autodetects whether a file is moved based on its content
(this is one thing mercurial differs from git, it supports keeping track of explicit file moves)
from what I vaguely understood googling cliosoft last time it has some system that tries to prevent you from modifying a file someone else is already editing presumably means you can't move anything with files that someone else is already touching according to them?
idk tho
I spent no more than 5 minutes
Two separate things sorry
The move involved figuring out exactly what I needed to have checked out to do some reorganization
The second part was me trying to write some code that detected whether or not some number was a valid enum member in systemverilog
You know
The shit we use sourcegen for in c#
And all my search results were getting polluted with c compiler constructs which was making me sad
Time to write sourcegen for verilog
or just c# with no BCL to verilog
or maybe WASM to verilog with c# AOT~
why on earth would you need sourcegen to validate whether a number is a valid enum
Well first crumble I'm on mars
don't think I've actually ever used Enum.IsDefined(value) but it's a thing
bragging
Anyways
I'm here to complain again
Why does Microsoft include a gif insertion tool with a search bar but doesn't include a search bar with the symbol insertion tool
I'm trying to insert a delta here....
(It's reflection based and therefore very slow)
Clearly they expect you to memorize the alt code of what you are searching for
tbh I can't imagine this one is all that slow
a lot of reflection is also a lot faster nowadays
There is a version of the Life of a Showgirl album where Taylor explains each song
And she is aboit as coherent as my commit messages tbh
I actually listened to the new album
it was uh, fine
my favorite lyrics
I paused the music to go open the lyrics and screenshot it
i love it when all 8 of my cores are held at 100% usage and i cant close anything and need to forcibly restart the machine
at least it rebooted in one go this time (although lock screen still broken??)
do you mean Blank Space instead of Blank Slate?
What CPU is this?
By the way, unless your gaming or doing cpu-intensive tasks, this isnt normal!
ryzen 3 3100
oh no i was doing relatively intensive things
opening a sims 4 save, with vscode & intellij open and 3 browser firefox windows, one youtubing
Ahh okay, that's a 4 core, not 8! It does have 8 threads though : D
That does kinda explain why it goes up to 100% usage, I had to double check online. Yeah with Youtube + VSC and Sims, the CPU isn't really designed for too much multi tasking
it's usually fine™
Still good, though! My laptop has an intel celeron (2 cores, and rant run anything!) 😭
But my main pc is good, just not my laptop
It was a chromebook, 100 dolla, took out its parts, burned titan chip, and installed Coreboot (BIOS/Firmware) so I can install a custom OS
cause I was not going to use ChromeOS for over a year
Idk just didnt care for it
my main pc is a lot better than i9 14th gen
i love it and regret it cause it bankrupted my wallet
for someone who spends so much time computering i know shockingly little about hardware's power
Oh!
In simple terms, I took out parts from my chromebook (laptop) cause it wouldnt let me use anything other than the operating system it had, so I fixed it
oh no no i know what you mean
i just mean i couldn't tell you what cpu is better that sort of thing in general
The i9 14th gen is (pretty much) the best Intel CPU, they did make the Ultra series, but a few are shockingly slower, maybe cause they are still polishing that "AI" aspect of it
24 cores I have and 32 threads
very nice
Do I utilizie it? No
Do I need it? No
😭 but it came with pc so its n ice
ooo switch modder?
i dont wanna really ask here, but, what do you mean by switch modder?
mod on switch
nope
they're xnb mods but the CFW replaces them at runtime so you dont permenantly change things
(well, it has smapi mods if you install linux/android and run it under that but)
oooh i never knew i had access to terminal autocompletions this is so cool
it is 8 logical cores tho
core count has become such a fuzzy thing with Intel moving to an architecture with performance and efficiency cores
i had only core because system monitor calls them cors
yeah it shows logical cores
why is proton there
it randomly has some apps
is it fuzzy matching on some app id or something
yes
it does definitely fuzzy find on the metadata
mhm
Doesn't for me, but then I have virtually all of the search plugins disabled because it got so annoying.
software centre would be the one in question this time
I turned it back on, and yeah, 4000 gets FS-UAE.
Which makes sense with the Amiga 4000. Probably mentions that in the description?
guess im not installing blockbench then why is it still like this
seems like it believes KDE is a conflicting package for blockbench
so it just wants to remove anything that comes from the KDE package
🙏
this is how Linus uninstalled PopOS by installing steam
yep
did an upgrade and its still angry :<
updating from things in discover, it's not asking to remove except ryujinx anything yet
Just build from source 😛
I did that recently, but that's because I had to tweak the gltf exporter
(It was forcing power-of-2 textures always, even though I thought I disabled that)
yes, that is a good option
however i feel as though thats not addressing the problem that my computer wants to forcibly eject KDE
gfhgfhgfhgfhgh
Delet ubuntu
i mean that's not an awful idea
its package management does seem to work a whole lot better...
Morning, crumble!
If I was going to Linux I would probably arch, but while anti cheat is doing VM detection, I'm sticking to windows as the host os
As I don't want to abandon games that have it, and don't want to ever actually need to shutdown and reboot into a different partition to play a game and then flip back
That's where I'm incredibly lucky. I play a grand total of zero games that require anti cheat.
coming soon to an update near you: anticheat, for stardew! (big /s)
Same!
But I still play a non-zero amount of games! /lh
🗞️
What anti cheat games does that include
I'm gonna assume this means CA will voice his dont use debug commands lines
Just randomly voice them
God, DH
I'm inspired to start an educational YouTube channel but on what
Verilog
Calculating taxes
when the hell did domain names get so expensive
are they not like $10 mostly?
Let’s just blame it on Web 3.0
what are you buying and is it a premium
making websites is too easy these days and demand is going up? idk if that's true tho
non premium, non aftermarket domains are still cheap
they're all super expensive
I can see some at like "90% off for one year", but after that, all the going prices are at least $20
namecheap, .xyz
its on the higher side of .xyz cost
cloudflare is the cheapest for xyz, at the wholesale 10.18
.xyz has been my domain of choice for all of my latest registrations
I actually have .com domains
i also do have a few
I have no idea what I paid for em
I got some from cloudflare
where do I even find what I pay for a cloudflare domain
they have not billed me in a very long time as far as I can tell
there
I pay more than that just to take the train to work in the morning
18.89 °C (degrees Celsius)
.wolfram 54 F in C
12.22 °C (degrees Celsius)
I'm cold today
The air felt nice and crisp this morning
Systemverilog function are weird
I just learned how the return statement works lol
a very funny thing to say
Ah. unique and unique0
haskell naming vibes
A sad recently is that we can't use doxygen with verilog
It creates an implicte output wire with the name of the function and assigns the value to that lol
hardware programming sounds fascinating
and not enticing cause you complain about it every time
Usually phone OS updates are incremental and otherwise not a big deal, but I must say my phone's ability to screen unknown callers has been amazing
I reject so many calls now
Another thing I dislike about soscmd
It doesn't bother to have the common forms of some commands
Ie, you can't do soscmd mv you have to spell out soscmd move
Or soscmd co can't be spelled soscmd checkout
It's such a useful feature to have fr
I get so many calls from recruiters, but I couldn't just reject every call before because there are also legitimate reasons why I expect unknown callers
I was on the phone a bunch the other day and then got a call from an unknown number, so I answered assuming it was someone calling me back. Nope, first spam caller in awhile playing some looping political speech. It didn't even start at the beginning.
-force-all-hash-as-comments
Sometimes I have questions I dont want amswes too
I went into the documentation to find a completely different flag btw
@cinder karma off-topic discussion of roll-your-own multi-threaded solutions
https://www.nationaldaycalendar.com/national-day/i-love-yarn-day-second-saturday-in-october
Does it come with free yarn
no 😌
this isn't the channel for philosophy, you want #creative-discussion
i thought we agreed nobody uses zen mode in their IDE 🎑
it's true
I use helix where that's essentially the only option
(in visual studio or vscode I have basically every panel that's useful open tho)
I would never agree with something that takes away an avenue of jokes
(But also, that’s the mode where you only see the text editor? Ewww)
Meanwhile vim's zen mode just shows you the whitespace.
vim has a zen mode?
how does something that is already nothing but text and basically zero extra information out of the box even think of something to zennify it
turn off syntax highlighting
vim starts playing lofi tunes
Shows you one line at a time
Displays your code in haiku
I like how one line at a time just puts it back to the ex editor
Has knitting
of course not, that would be duke
Comfi
the comfiest
damn they would be first place
Crumble pretending atra knows anything about any video game
When atra isn't really sure what an video game is
it's ok it's only one of the most successful indie games ever released
I'm sure it's a great video game, whatever a video game is
I hear the Saudis are buying EA
the sims. people angry
You know, there's a tangible benefit to VRing with a remote desktop program
This menace can’t get in front of my monitor
(He finally settled for taking that picture)
you have a little leopard!
My parents', yeah
I dont know, I think that cat picked you
your parents' leopard
Effing adorable cat
and you're the leopard's
they own everything. command & conquer, ea sports, mass effect, battlefield, plants vs zombies, every recent star wars game, the sims, dragon age, bejeweled, the list goes on
i own microwave.
i do not own dishwasher.
the post-merger monopoly will be a sight to behold
Brb PRing my washer with a dewalt motor
There hasn't been a message in here in over 24 hours.
Did we collectively forget how to program be off topic?
I'm being sued by Samsung for putting a dewalt motor near their washer
unfortunately i'm busy being three flavours of on-topic
and i know full well you are, too 
say since when does spacecore have a banner and icon
September 14th
Picky asked me about getting one made for me in February and due to mental health nonsense I never got around to it, but at one point (June I think) I had mentioned that to a few people and DH made me that one. Finally got around to uploading it last month
I can only think of two flavors of on topic for myself
(Not counting you asking that question right now)
...wait, there are two things in progress for one of those, so I guess that would add up to three
Clearly you just need to make/maintain the most critical non-Pathos-made thing for the community
(though that's diminished a lot since JA is no longer needed 😅 )
...do you maintain that now?
well no, but surprisingly it's sitting between CP and SpaceCore in nexus' most popular
Ah
by a convincing 1,000,000 downloads
The difference there is that NPC map locations may be popular, it's not critical
By nature of "mods needing it to work"
If JA were still necessary spacecore would probably be a fair bit higher
Since spacecore was required for it
speaking of working, i'm surprised pytk still sits on (at the end of) the most popular page
It's not on there for me, but going to the full page instead of the home puts it as the first item after what was on the home page
...oh, I see why
though it'd only be replaced by stardewhack apparently which ??? is still used?
(There's a single portrait mod marked as adult (which I don't have disabled from showing, though more for other games than stardew))
I assume mainly because of bigger backpack
Since the author of that took over that mod from me at one point
(it was also a super popular mod)
wear more rings is also insanely popular and requires stardewhack
the reason I had to make the spacecore equipment menu
Yeah, I like that one a lot too
One of the ones I install when I pretend I'm gonna actually play
I have the critical #1669th most popular mod, between Fishing Trawler (PyTK) and Seasonal outfits for Adventurer's guild expanded
I was busy actually programmning...
Ok, that's a lie. I was busy going through a dozen open tabs and copying links into the README of a repo so that if I do need to refer to them again I'll know where to find them. So, like, cleaning up from successfully programming in a new/unfamiliar environment.
If I were to be doing something on-topic it should be trying to repro that GMCM issue that you asked whether was still an issue like a month ago. That email is slowly being buried in my inbox, but I'll get to it eventually. (Really! Maybe. I did put a flag on it, at least.)
are you talking about the soft lock bug, or something else?
I was playing runescape 
for over 24 hours...

average gaming session really
tbh this whole weekend I've been working out a programming problem I want to solve at work
brain's been busy
In my defence I was at PAX Aus
Good morning from documentation hell
You'd think package documentation would tell you useful things but no
No joke. This doc page tells me nothing more than the package exists.
good evening from burger restaurant
very useful
cds_rnm_pkg for any of y'all who know and want to save me
Save me from myself crumble
what else do you need to know, really
content distribution system _ random _ package
‘'Get Rollin' Out Now: https://Nickelback.lnk.to/GetRollinID
© 2007 WMG
Savin' Me
Buy it on iTunes: http://bit.ly/9V1K1W
Nickelback's new album, 'No Fixed Address' is available now: http://smarturl.it/NBNoFixedAddress
Connect with Nickelback:
http://nickelback.com
http://fb.com/nickelback
http://twitter.com/nickelback
http://instagram.com...
gives you random content
The list of types in the package would be great
Tbh
Actually I've tracked down the source already and these are just very thin wrappers tbh
Smh
29 total lines of source include whitespace
Unrelated
I love this https://youtu.be/j0wJBEZdwLs?si=zNA4JEw6zIuDoL9H
Visualizing the most important tool for differential equations.
Previous chapter: https://youtu.be/-j8PzkZ70Lg
Instead of sponsored ad reads, these lessons are funded directly by viewers: https://3b1b.co/support
An equally valuable form of support is to simply share the videos.
Home page: https://www.3blue1brown.com
Pi creature car artwork by K...
I love how good educational YouTube is
I love edutube when it's the actually good people but there's also a huge number of "documentarians" who just make a ten minute video out of reading the wikipedia page for a thing
same energy as "plot analysis" videos that's literally just them reading the wiki plot synopsis line by line
one of those videos autoplayed on my mom's ipad while she was cooking, and after 10 minutes I asked her "...where's the analysis?" and she just shrugged lmao
I've run into a lot of completely automated youtube channels that summarize manga chapters or tv series
weird stuff
low effort monies with the power of ai™
O.o Google with a good feature for once
I pretty much only listen to a handful of youtuber who I know are real people tbh
The categories actually seem to work well?????
Damn
97% of my photos I don't care about after five minutes and I haven't bothered clearing them
(Hi. I am of the age that remembers Google as a good thing, which means I'm very old. Ancient.)
I think every single person here does...
Real talk but of all the ai agents I think Gemini works the best
(atra strongly believes anything they experienced must be an Old thing and only experienced by Olds like them. a few months ago they said they miss the bygone days of sass.)
this has been my presentation on "things atra believes make them old"
ah yes sass
the thing my previous job introduced as the new thing
zsh...
so sad that atra has no idea what is actually old
I guess to be fair, sass is no longer hip
it's all about tailwind now
the hip shell to use would be fish
using git bash on windows just means you're a linux user forced onto windows
New quote added by atravita as #6685 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1427372526308163837)
Secretly iro
I know I'm not old
I'm just ancient in discord terms
Where thr average age is like 14
But also I do feel like I haven't done enough useful things in my life, etx
Long list of regrets
One day I'll get around to switching
Meanwhile the kids have only used phones and chatgpt
I hate how outlook will sometimes claim i have an unread email
And I cant find it
the kid's gotta be really young to have only used chatgpt
Well I'm thinking hs/early college kids tbh
can't wait till I experience my first "got through uni by putting my assignments into chatgpt" colleagues
We've gotten interns like that already
I've almost solely worked with people older than me so far
I think the new data analyst guy is also too old to be one of those
See! You're young!
I can tell I'm getting old because more and more people I work with are younger than me now
I'm sort of young passing though so I don't really get treated like I'm as old as I am
biggest chatgpt users in my environment are people in their 60s
but also like half the people in my work environment are in their 60s
so not a great sample
Anyways iro
Barefoot shoes are old.
What's funny is that my older coworkers will refer to some older media property and I wont recognize it
I do not understand why it gets so much love. It's just inline styling but worse
til tailwind
it seems like css for people who don't want to deal with css
which explains why it's popular
its 2025 bootstrap but LLM ai is heavily trained to use it
implying LLMs haven't been heavily trained on bootstrap too
Microsoft still ships their newest web framework with bootstrap without even giving you a choice
🙏
i thought tailwind was really cool at one point
then I learnt css and opted to just... write css
No idea where to go for this. Can sdv mods work on mobile? On the phone? I wanna try to get the expanded mod
I think modding support exists on android but idk to what degree. #modded-stardew is the place to go tho this is an off topic channel for programming nerds
Okay, thank you!!!
Question for the developers of SMAPI. I’m trying to make my own mod loader for another C#/Mono game, but I’m struggling to figure out how to inject the loader into the game process/create the necessary hooks. If someone can point me to the parts of SMAPI that handle that so I could use it as an example, I’d greatly appreciate it.
smapi doesn't inject anything, you launch smapi directly and smapi has stardew as an assembly reference and calls its startup methods
for macos/linux it does replace the startup shell script
for windows, its up to the user to launch smapi directly or update the steam/other launcher startup launch args to run smapi instead
If the other c# game is unity, there’s also a generic unity modloader available. I think it’s called bepinX or something
C++ may be cumbersome, but I sure wish some things doable with it were doable in C#
There's been many times in the past when I've wanted to use values instead of just types as generic parameters, for instance
And I also get annoyed every time I have to do something like:
try
{
someMutex.Lock();
// ...
}
finally
{
someMutex.Free();
}
I wish there was some way to run code on scope exit. I guess using can somewhat do that, but I can't exactly prevent compilation from an error when not using using, now can I?
struct can't have destructors, and even if it could you can't exactly prevent them from being copied as far as I know
Also I think I'd like the nullable stuff more if it was more "opt in":
Like, instead of:
SomeClass? instanceOrNull;
SomeClass instance;
I could do
SomeClass instanceOrNull;
SomeClass! instance;
And I would like it more (at least for SDV modding)
I think I get why that's not what they went with, though
what’s the alternative?
the only alt version I can think of is python’s with keyword but that’s because I don’t have a massive amount of oop experience haha
In C++ it was normally just something like (going off memory from SFML):
sf::Lock lock( some Mutex );
// lock is freed automatically when leaving the scope
Using destructors
The whole RAII thing
I am very glad this is not the case tbh
Fair. I think the current design is better overall, but very cumbersome when dealing with a large codebase that doesn't use nullable (such as SDV modding)
It'd be different if it was in the language from the beginning
rider loves giving me warnings that I don’t ACTUALLY need to check a value for null when I really do because it’s from the base game
Clearly someone needs to write a static analyzer for SDV and output a reference assembly with it having proper nullability.
Solve the halting problem too, while they're at it
the halting problem is easy. the answer is yes
eventually, all code will halt
code can’t escape the heat death of the universe
smh I want code that can run until (and past) the heat death of the universe
Same brain cell 😂
reminds me of asking the models of computation tutor if something was infinite or finite but arbitrarily large and being told that nothing is infinite so in this case infinity is like, a million
(that’s how I learned that questions from the maths half of my degree don’t necessarily transfer to the cs half
)
Clearly they've never heard the universe/human stupidity quote
("Two things are infinite: the universe and human stupidity; and I'm not sure about the former")
they’re a cs tutor, they heard the quote they just weren’t certain what a human is
I've always wanted to pin a nice, clean value on infinity. So much more convenient, I'll be using that instead of float.inf now - thanks!
...they're a cs tutor, not a philosophy tutor
smh
yes, exactly. they’ve yet to encounter one
no, llms perform better than he did at answering the actual question being asked
Was this recent
Maybe he was an early model
Or one of the predecessors (that are only vaguely similar), like a markov chain
a magic eight ball would have performed better than he did at actually answering questions
Man, I've never heard of a tutor where RNG would be more helpful
considering his teaching style was “reciting the information from the lectures again in a less clear, more fragmented way and getting completely confused if literally any question got asked”, I would put him somewhere between “notes you borrowed from your least reliable classmate” and “broken audio recorder” on the usefulness spectrum
I did once get him to say demonsic nondeterminism are real and angelsic nondeterminism are not though
What
what
Did he come from the Forgotten Realms or something
(strictly speaking the angel equivalent isn't called angel there, I think)
demonic nondeterminism is "you do the same thing multiple times and a single branch happens each time", so basically you have to assume the worst branch happens
angelic nondeterminism is "you do something and all branches are evaluated at once and irrelevant ones get discarded", so basically you're guaranteed to get the ideal result
at least that's the version of the definitions we were taught
as you can imagine, only one of these happens in practice 
and yes these are real terms lmao
though they don't seem to be super common
it has multiple but none have anything to do with this specific topic
it tends to be the humanities students tbh
Why was demonic and angelic chosen. Was the term invented by the templeOS guy
because the cs naming convention is "if it can't be a pun, make it unnecessarily dramatic"
Hmm
Or just "invent useless jargon for a simple concept"
(I'm still baffled by "dynamic programming"/"memoization" when it's basically just... caching...)
Yeah no I'm not drunk enough to discuss waveform collapse this early in the morning
are you familiar with tries vs trees
Buy me a nice kombucha at 5pm and we can talk
A tree is a plant. A trie is an autocorrect that works based on phonetics but doesn't know the word "try" uses a y
waveform collapse cannot usefully be harnessed into making search algorithms constant time
wrong! a trie is like a tree but different. it's pronounced tree
I reject your reality
What's different about it
Why couldn't they just choose a tree synonym like any other sane person
(Tooooooootally sane. nervously hides my mixin keywords for language idea under the couch)
oh right it's trees where instead of each node storing a value, the edges store the difference in value between a parent node and its children, so you build the value by following the edges
(those (hypothetical, of course) keywords were mainly because I couldn't think of anything better though)
Then call it a delta tree or something! Don't change a random letter to something similar-ish!
gosh
the alternative name is "prefix tree"
Are you familiar with the multiworld theory
Why do the people who invent things and name them always have to be the insane ones
I am but I'm unfortunately confined to just one world 
I had a lecturer who used to go on long rants about the name "quicksort" (in his defense, he and Tony Hoare were colleagues lmao)
Was this invented for something like appending a string sort of thing? Or difference as in actual mathematical operation sort of thing (ie. end value is completely different).
Because if the latter... I'll take trie, I guess
wdym?
brb inventing instasort (it's like RNGsort, but since the name has "insta" in it it'll be instant)
here's a diagram of one, if that clarifies things (ignore what's on the nodes, that's for illustration only)
Like:
1. a
2. b
3. d
4. c
Then 3 would be abd, since each is prefixed onto the other
here, a better illustration
New quote added by atravita as #6686 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1427665700670935161)
So you and I get to name everything right
Okay yeah that's acceptable. I was thinking something more like
root: someObject { x = 0, y = 0, z = 0 }
1. someObject.x = 1 { x=1, y=0, z=0 }
2. someObject.z = 4 { x=1, y=0, z=4}
3. someObject.x = 2 {x=2, y=0, z=4}
In which case I was gonna need to hunt down the person called it a prefix tree take away their naming-things license
My mod (name) portofolio speaks for itself
And every third thing is named after your cat
I don't think I have a single mod named after my (former) cat
former isn't the right word for having passed away but not sure what the right word would be - "late" doesn't sound right in that context
Then again at work we had a discussion over the meaning od the word 0
(Also, to be fair, if I did this, nintendo would sue me into oblivion, so...)
Timsort
("but what if it had nothing to do with the nintendo IP" does nintendo strike you as reasonable when it comes to this stuff)
Doesn't using lower itself to exactly that? (try-finally)
Edit: It does
I mean I literally said that in the exact same message 😛
If I could force a type to be used with using, that'd be fine
Ah, I wasn't understanding what you were saying is the difference
But I could accidentally Lock mutexLock = new(mutex); (ie. no using) and it never get released until GCed
Some of the new C# stuff seems like it'll be possible eventually
Also why we can't we hotreload generics
Code annotation attributes | JetBrains Rider Documentation https://share.google/rFKp8IlYXe9Vb8BXo
Why can't they just update the generic definition and invalidate the instantiations of it
Maybe
But does this do a warning (which I often have hidden for SDV stuff in particular), or an error? And if an error, is it the kind that actually prevents compilation, or the kind you can ignore (like code style or other intellisense ones)?
You can change the level of errors in c# to make it a compile time error but also I think you need rider stuff for this
But yeah. Agreed on c# having unfortunately few compile time reinforcement, unlike rust
||gets dragged off stage||
Rust mentioned
The people here really need their tetanus shots it seems
I use Rider on mac because VS doesn't exist there, but main is it hard to get used to
an old codebase at work was littered with jetbrains annotations for nullability that no longer serve a purpose
Like, there seems to just be no equivalent to this
No, I don't want the outline panel
you can make any warning an error you just need the right incantation in your csproj
At least some "errors" I've been able to compile through
(Usually IDE**** ones I think)
are those even real
if dotnet doesn't know em then it won't stop itself from building...
I just gone mine!
My favorite part of the workday - fixing my screens again
chonky (though 658 files and 19379 lines are from source generator generated stuff)
And most of the removals is removing things that the source generator is now generating
(how did it add up to so much then? ...I'm not entirely sure. That's only like half of the added lines, but I'm guessing stuff like usings and {} just added up a lot)
Hi chat where should i begin to be programmer
I really want to study about ai ml and dl
well considering AI is the direction you're interested in... I'd start learning by using Python as your programming language of choice. Start with just solving some basic programming challenges you can find online. I like Advent of Code though it's a little early in the year for christmas themed coding puzzles rn
as far as tackling the actual AI part... That's just going to have to be a lot of formal study into the field. I have little to help you there
I say python as your starting language cause the vast majority of AI programming is doing with PyTorch which is a python library
So i should start with python
It's important to know math?!
Calculus
?!
for understanding AI research? absolutely
AI is very math heavy for a programming field
Good good that's become cool
AI as a field was pretty much born out of statistics after all
What about machine learning and deep learning
machine learning is a subfield of AI, deep learning is a subfield of machine learning
I'd say a strong understanding of mathematics and statistics gets you further in AI than being even being a professional programmer
I mean it definitely depends but yeah, absolutely
Math 🤢
this is mathematicians-off-topic now
I dropped out of statistics
I dropped out before I got to statistics
the only course i followed where I felt even more out of my depth that uni statistics was some course about running simulations
that one I knew I fucked up even choosing it within minutes of the first lecture when the guy just mumbled his way through some "prerequisite" linear algebra I didn't understand at all
be lecture 3 I genuinely hadn't the slightest clue what was even going on anymore
What about freecodecamp.org?
no idea I got my start in a uni degree so I've never used any of those platforms
I don't think that stuff existed back when I learned
It's channel bro in YouTube
Youtube coding stuff wasn't much of a thing back then 😛
it was originally a website/blog 
Yeah
I think the maffs ai stream is different than the software dev stream tbh
It's doing stats vs doing system design
You should think about what you want to do or make, then people can give better advice
you don't need to be "good at programming" but man do you need to understand a metric fuckton of theory
Chill man im just looking for a career
Im sure i will do mistakes
I don't know how it could possibly get more chill than what crumble said lmao
fall asleep while typin
Then i got it wrong:''')
needs more ice emoji 🧊
Is looking for a career like
You r trying to pick college/major n wish to get into comp sci and/or maffs
Or like trying to switch careers
my sister has a master's in AI and she's a full stack web dev 
to be fair, her focus was more on the philosophical aspects of AI research not the actually making them part (tho she did that too)
I remember being a dum college kid and thinking that bioethics was a weird class to have
Now i understand and i hope more ppl study ai ethics lol
I think her thesis was something about how to go about building an AI model for understanding human emotion and the ethics and morality of that
I wonder how much the AI master's has changed since then
it has only been like 10 years
but AI barely even means what it meant back then anymore
I hear openai is hiring 
you'll probably only ever get hired if you are either a phd with 10 years of experience or were from a competitor and willing to divulge trade secrets
my lawyer has advised me to cross out that section
law-yer? I don’t think that’s a thing in ai startups /lh
no they have tons of lawyers
they're those people who tell you how to break the law without getting into trouble
they're very important
No they are
you are a law assistant. Do not make mistakes. Do not hallucinate. You are allowed to give legal advice. Be correct. The jurisdiction is San Francisco, california unless otherwise specified. Your name is Chad Grand Peterson-Thomas
how do I avoid being sued while stealing millions of books Mr ai
That's quitter talk
Yeah, you gotta get with the times. We need layoff talk, not quitter talk
you mean Mr Peterson-Thomas
it's both funny and stupid that most ai prompts has "do not hallucinate" as an instruction, like does it actually improve results or am I not prompt engineer™ enough for it
I think do not make mistakes actually helps a little bit sometimes
Do not hallucinate probably no
Unless it's a reasoning model then it probably does
Maybe tell it to qualify its answers if it isn't confident about them, or just say so if it doesn't know?
"Only lie if it would be funny"
"Only lie if it can lead to me suing OpenAI for millions"
Visual studio respects .editorconfig and can be used to change severity of diagnostics like warning to error, or stuff like error to none https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview
I used it in my old work codebase to make certain anti patterns like Async void and other stuff compile errors, rather than just be warnings
What's so bad about async void
I heard vim supports .editorconfig
async void 
When I'm not busy (dark laughter) I'll see if I can editorconfig myself a good verilog
I thought it was always async Task<T>
async void is only really found in some event handling code
if it throws an exception the process crashes
Exceptions are for EXCEPTIONal circumstances...
(but also, what the heck, why wouldn't that be fixed by now)
root = true
[*.cs]
# CA2200: Rethrow to preserve stack details
dotnet_diagnostic.CA2200.severity = error
# VSTHRD100: Avoid "async void" methods, because any exceptions not handled by the method will crash the process.
dotnet_diagnostic.VSTHRD100.severity = error
# VSTHRD114: Avoid returning a null Task
dotnet_diagnostic.VSTHRD114.severity = error
dotnet_diagnostic.VSTHRD111.severity = warning
was our editorfile
it's not fixed because you should never use async void
There are plenty of cases like this in c#
it's just bad
Like semaphore-not-slim
Or tuple (the reference version)
Where the initial implementation was bad
But it has to remain for backwards compat
If something seemingly reasonable crashes my program and I get a crash and I report it and they tell me just to not do that... I'd have some questions, to say the least
the only reason async void is valid syntax is cause they needed async to work with old event handling systems
Remind me in 4 days to add this to my life as if I ever do anything in c#
Bwthhybl? oh sorry got distracted yep on it (#6907795) (4d | <t:1760826775>)
Ngl c# is a lovely language
What kind of backwards compat relies on the program crashing (do not post the xkcd workflow thing)
Pity it is used mostly for game dev
The problem isn't so much "it crashes" its that due to being async but not having a task to track anything about it, it has nowhere to bubble the exception to
so it bubbles it to the process directly
you can handle it with the AppDomain.UnexpectedException stuff or whatever
Why not just kill the thread that did it?
I don't see how the program crashing is preferable to any (sane) alternative
the only place in theory async void should ever exist is in like winform codebases
I mean like. How would you make it not crash? You just spawned an asynchronous task but you're not awaiting it and it's just... there. Where would you even put the try catch? The method that called it isn't waiting for its completion
where it probably ran on uithread
I mean some other .net runtime stuff handles running it, right? Just say "oh, no where to go, how about we not crash the entire program"
I'm not saying we need a reasonable way to catch it
It's not like it returns anything? Who cares?
but again, thats why we added the editorconfig rule because we got bit by it once by a dev that had an async method, didn't want to return anything, and did async void instead of async Task
and after a lot of troubleshooting to find out why sometimes responses didn't happen we found it, and mitigated it by fixing the code and adding the editorconfig to ensure it doesn't happen again
and while I was in the neighbourhood added the other stuff that bit us, like async Task methods returning null
Like, if it's so bad, maybe *don't let it compile in newer .net"???? (this was .net 9)
ok to be clear. It doesn't crash the program. It crashes the synchronization context. Whether that crashes the application would depend on how the application handles that.
In ASP.NET Core it'd just crash that request
Oh. Hmm. I don't know what the synchronization context is
(And don't say "context for synchronization")
ASP.NET Core doesn't do magic syncronization contexts though iirc
its a mechanism that ASP.NET (framework) and stuff like winforms did, so that when you await a thing, you always go back to the correct thread afterwards
if you wanted to opt out of the syncronization context, you await mything().ConfigureAwait(false)
idk anymore tbh they've changed the defaults and how this works so many times
you'd never use async void in ASP.NET core anyway cause you're already in a proper async context anyway
But what if I want to use async in my stardew mod? (I'm sure SDV/SMAP I would be fiiiiiiine - multithreading is easy, right?)
Task.Run that thing and send it off
I have multiple mods doing multithreading in stardew, but its very inconvenient that Monitor isn't threadsafe
and the architecture of profiler breaks if it tracks stuff on other threads
only time I do threading myself is for advent of code tbh
I wonder if my last autocomplete PR would indirectly fix that, since it multithreaded the console
Yeah remind me to look into this when I'm not busy
I want zero allocation logging.... why do I even care lol
Rayon my heart
that's rust smh
magic 8 ball: "I see Spans in your future"
tbh Parallel. stuff in C# can be pretty damn impressive sometimes
but it lacks the convenience of rayon
and parallel linq often enough just doesn't work
I've only heard terrible things about rust and concurrency
I like rust concurrency
I've only heard terrible things about rust or concurrency
well
(I had my tetanus shot, you see)
I like rust threading
rust async is weird and a mess
still can't really define async functions in a trait
I mean it's kinda possible now but it's limited
Atra 💖 spans
I used spans just earlier today
Atra 💖 rust
the spans were just for some string parsing
It also lacks the job stealing magic of rayon
If i cared more I would try to bring rayon to c# but you know
theft is bad smh
Rust async gives Rust concurrency a bad name tbh, and only because of the sugary syntax
I haven't done much multithreaded rust but what if did I liked a lot
I don't know what rayon is and just assumed y'all were talking about C# library the whole time (especially with the comparisons to C# Parallel.)
Cilk for rust
Rust ||
async gives Rust concurrency a|| bad ||name tbh||, and only because ||of the sugary syntax|| yes
Fixed that for you
think like LINQ's AsParallel but it actually works
And what is Cilk?
Let me guess, Rayon for <something else here>
Well I've literally never used that, soooooooo
you use rayon in essentially the same way you do LINQ but it's executed in parallel
Still clueless
Job stealing thread handler for cpp
surely you've used linq
LINQ of course, but no parallel kinds
One second
Lecture 13: The Cilk Runtime System | Performance Engineering of Software Systems | Electrical Engineering and Computer Science | MIT OpenCourseWare https://share.google/Gq4BmuJfcmZaptRUf
Do you really expect me of all people to sit still and watch a video
Fixing my fucking displays at work AGAIN I hate this
Nonfiction videos, eww
tbh I've only either accidently used linq, or delibrately used linq but for Entity Framework where it is an IQueryable and is lazy evaluated, so it only actually collapses the expressions and computes the SQL query and sends it to the database when the value is actually observed
I originally disliked ORMs, but I love Entity framework
its so cool writing C# typesafe expression code and it becomes a SQL query
I've had too many fights with EF Core generating terrible queries or in some cases even generating invalid queries
No but I'm not going to sing the praises of a mit developed multithread solution for large computations when I'm supposed to be fighting work version control
outside of EF, I generally avoid linq because its historically been terrible for performancee
it's clear atra likes the tech behind it while for me rayon is just "it has a nice user friendly api"
me with my content pack generation ideas earlier (except not SQL, obviously)
hardly true anymore in in modern . net
I'm a fucking nerd
A nerd
Ah, but is .net 6 considered modern?
No
no
We're stuck in 6 here in modding land
(I'm freeeeeeeee)
the big linq perf improvements didn't really come till after 6
Lol, it's funny to find a utf16 file at work
I should update this and poke Pathos about merging it...
I've got other PRs I need to do too though
I think in .NET 6 the only linq queries that are actually fast are shit like Sum which has some funky SIMD optimized magic behind it
Fuck it I'm gonna make the guy who wanted this stupid version control deal with this in the morning
Smh
Nightmare
Can't check in because it's not checked oit. Can't check out because it's not checked in
I fought so hard to get my old work codebases out of .NET Framework 4.6.1 to .NET 6, but the project died before I think we ever actually moved it to .NET 8
I think some of the docker containers are .NET 8 runtimes but the codebase is still .NET6 rated
So glad I'm free from perforce
but I was already off the team before those docker containers actually shipped to prod
most of the projects I worked on at my old job will never leave .NET Framework
I don't envy you
added a crucial word. My old job
it's their problem
I'm in glorious .NET 9 land and .NET 6 for another one
our codebase had no actual reasons being framework, it was just started in the awkward timing when it when .NET Core 1.1 or maybe 2 was out
so they just stayed in framework for convenience
and was deploying to azure/windows stuff anyway
I do envy you
for us it was all tied to old web and UI frameworks that were abandoned before .NET Core was conceived of
abandoned by Microsoft itself of course
but I wanted the codebase to not suck as much so I pushed to get it from 4.6.1 to 4.7.2 (so it was able to properly use .NET Standard 2.0)
got the vast majority of the codebase to become .NET Standard 2.0, and then worked on the huge effort to get us out of EF6 to EFCore, and others worked on getting out of ASP.NET to ASP.NET Core
the results were worth it, performance was better and unit tests went from taking 4 hours to 20 minutes
This talk of web-related C# is giving me war flashbacks to blazor debugging (or whatever if it was I struggled with - I'm sure I whined about it here at some point)
our asp.net only did json api endpoints, no html rendering outside of a debug only swagger endpoint
it's for the best
Like, "issue on github where the issue was acknowledged but never saw any updates" level bad
Might've been unit test related actually
Blazor is a disaster however
oh yeah they're interesting but I'm still using controllers mostly
but the amount of added hacks they had to add to be able to cram all the required attributes into those inlined methods was crazy
I appreciate [FromServices]
I'm so amused at you guys
The last time I did web work Django was the hottest
Django
after Django we realized python maybe wasn't the right choice for web development
Hottest is not the wording I expected from atra
at least Django is actually 20 years old
I never touched django and felt too... big for my needs and always used light weight stuff instead
which I cant remember the name of anymore because I haven't touched python seriously in 8 years
Flask
that was probably it
In the good old days, we hand made our websites using PHP anbd jquery! And we liked it! If we wanted to get really fancy, we'd even go full WordPress!
(s/good/terrible/, s/liked/hated/, s/wanted to get really fancy/really hated ourselves/)
considering the amount of work and care I had to put into performance and memory usage for this web api I don't want to to even imagine trying to make this work in python
good old jquery
sass is still widely used
I thought most of its features got eaten by vanilla css
Not that I used
Ajax is too I suppose in a sense
Like variables
I wasn't old enough to drink bourbon, and I didn't find out about sass until later
Of course these days I'm supposed to drunkenly ask an AI to do my web dev
it's certainly less popular than it once was
Can we reach that point soon for LLMs too
no
Hah
Bourbon - A Lightweight Sass Tool Set https://share.google/kCNjFc73jot5teWu4
Bourbon is a library of pure Sass mixins and functions that are designed to make you a more efficient style sheet author.
Look at the header
Anyways
why are all these Google share links that don't work for me
Back in the bad old days we thought doing web dev while taking 1.5x class load was a wildly good plan
Because I'm lazy crumble
o I just reloaded it again once in the browser and it worked
I was gonna say "are you using web discord" but even if so it wouldn't make sense for a share link to block hotlinking
Nah Europe just got mad at Google again for privacy something probably
Crumble do i want to learn how the Dutch government works
If only the US would do the same
(And everywhere else, but I live in the US so it's more personal 😛 )
no
take solace in that kinda have an equivalents for the house of representatives and the senate
some similarities
ignore all the ways it's different
Tbh if I was employable in the Netherlands
Although y'all's golden visa is hilarious
... are you not?
$5k euro
I dont know I'm pretty dumb
can't imagine we're swimming in applicants for your niche...
The problem is my niche is very small in Europe
We tend to be in the US, Japan. Korea, or China

If i wanted to go to Europe i think Germany is my best bet
And it would be a twostep
As in, get hired by TI, then ask for a transfer to TI-germany
Given that TI is doing layoffs not a good plan
Also i think I would end up on automotive
Haven't looked at anime recently - why is every new show still only titled "Season 1" on crunchyroll
oh that ai stuff is not surprising but still somewhat concerning
Can't decide whether the YouTube ai search is godawful
Or because the bulk of YouTube is so much trash that I basically only watch new channels when a human recommends me one
youtube search is both decent and terrible
mainly as it only gives like 3-5 real search results and then just does unrelated recommendations instead of the actual search critera
…wait, is that an actual thing it does and not something I imagined?
looks like its improved a bit
but half way down it just does a heading of "Previously watched" which is unrelated to search, and a "from related searches" section which is also unrelated
but it is annoying when trying to find a specific thing and youtube just wants search to be a list variant of home page instead
also a "Explore more" section
I don't know i searched "7 min halsey" and it actually found the right song lol
And Kevin woo is indeed pulling up Kevin woo
This is soooo good
(My car model + timing belt replacement also seems decent results)
Isekai Quartet 3?! Hell yeah!
there's a firefox extension that fixes it. Never tried it though, I rarely search stuff on youtube
unfortunately between the search page suggestions, the video page suggestions, and the new video end card suggestions that hide the playback controls after you watch a video, every page on youtube is the youtube homepage
i miss when the suggestions block was related videos instead of whatever it is now
Any opinions on celery
disgusting. a hateful vegetable. only tolerable when cooked, in a stew.
New quote added by irocendar as #6689 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1428029000156057611)
I have never eaten it before (don't even have a word for it in my language)
we instead use what's apparently called "elephant ear stalks" in English, and they are awesome
okay I lied a little, I did consume celery in a some places, but I'd hardly call it "eat" because that assumes my body is willingly deriving nutrients from those unchewable fibery stalks with indetermined soap flavors
Y'all I meant
What, some people find cilantro soapy, celery too??
Monitoring and Management Guide — Celery 5.6.0b1 documentation https://share.google/Qranh7QcHQdg6RXwL
Used it when I was a kid
Is it still hot or a new thing is out
Also, spicy?? what weird celery have you all been eating
Danger spice


very stylish