#programmers-off-topic
1 messages · Page 92 of 1
but at one point a group had to part like the red sea to let me through
Sounds like a scene from a zombie apocalypse movie
university intro week for the new academic year
some of us are still in thesis hell but the fresh-faced babies drinking hard seltzer and bad beer have descended upon the city
Ooh!
When I first started, I didn't have a lot of success, but what helped was getting a proofing box since my house is usually kept cooler than the ideal temperature
you can use sourdough starter in place of conventional yeast in almost any bread or breadlike recipe, as long as you have more time to let it rise and account for hydration
bread goo
(beyond the obvious from the name)
It's just an active culture instead of yeast which is dry
In other words, you're putting living organisms into your dough
Oh boy, I love eating baked corpses
I remember bringing my bread to work in winter because my office is warm and my home is not haha
My mom would let dough rise outside during the summer (benefit of FL heat I guess?). She actually made less bread during the winter for that reason
Also, gotta say: you people are cowards
New quote added by kittycatcasey as #6572 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1407439490036797551)
hiya!
It'll be fun the job opportunities for developers having to come in, learn, and fix vibe codebases for 10x the pay they would have to just build it right to begin with
how did reddit manage to break font rendering that much
And 100x the difficulty/brain damage from reading the code!
vibe-coded the font renderer, duh
must've
🎉
i took a wrong turn and accidentally biked in front of the worst student association in the city
oh no
i had to visit them for my own intro week and i don't even know why our group had to visit them
there were only two dutchies in the group and the association doesn't allow internationals to sign up
so the presentation was only in dutch and they ignored the internationals completely beyond giving us bad beer and a limp curry sandwich
all of them shitfaced. their building is quite literally beer-soaked, so this is a default setting
They gave you Heinek-
worse
No, no, I can't say that. 
With Crumble present, that might be a dangerous joke! 
what's the dangerous joke
heineken being bad beer
oh
except it can't be a joke if it's true-
Yeah, I just don't like any beer.
The best jokes are the ones that are
but i'm mostly a cocktail person
I enjoy the craft of local brews, but seldom consume anymore
tbh I don't think you're going to find many dutch people who think heineken is good it's just cheap
yeah most of the ones i know prefer literally anything else aside from bavaria
i grew up in a city with a thriving craft scene, i love seeing the kind of creative brews the local breweries come up with
now that i've moved to nl i don't see much of that tho
i know of maybe.... 3 craft breweries
I know 0
I think there's several here
I don't drink but one of my brothers likes craft beer places
"why are the silksong-ers going feral this time"
<checks news>
"wait is there actually news beyond the nintendo direct 2 second clip coming?"(a "special announcement" in two days or something)
I love those stupid fancy beers
bc some of them dont taste like beers and it makes me feel like a beer person
fruity beers are my favourite for days when i don't want a cocktail but would like to not drink something that tastes like beer 
they just taste like fruit punch and i think that's fun
also shroom how's that code accessibility project of yours going it's been a while since i heard you mention it
I have it done been busy with school so its been rough but yk
grind doesnt stop
i have a real analysis prelim im dreading
good luck!
truly dying on the inside w this shit
any fellow mathers will understand the struggle i have upon me
i don't math but i'm in thesis hell so i get the spirit, i suppose
we're both in hell, just different circles of it
i just need to pass or get one q right on a test
what is ur thesis on?
sorry i think i forgot how to social bc im having a shitty social day
Not funny
parasocial relationships with chatbots and how they influence user decisions concerning personal data
Buy Joja Cola™ today
ok I will
I told you my chatbot story, right? 
If any Linux folks are still around, do you have a shell preference?
I use zsh and like it well enough
I'm used to bash, but I've been considering switching to zsh
(I tried fish and nushell, and those are too different for my liking)
That's a super cool thesis
Sounds like there's a lot to research and go off of
it has some nice features and is VERY close to bash on the base level so you only have to use them if you actually want to
I use zsh at home
I mostly use zsh on my Macbook because it's the default, but everywhere else it's been bash. The problem is I maintain two versions of my scripts to support both. So it would be better if I just used zsh all around.
there's a lot to read, yeah
this sounds so interesting (and highly relevant!)
it's been fun. i'm mostly focusing on one type of chatbot which narrows my scope down a lot
has the new GPT five altered anything in ur process?
i'm not touching gpt 5
out of scope
i should bring up the clamouring to bring 4 back as an example tho
I see I just was wondering if its implimentation of being "less friendly" has any impact
are you even touching any genAI?
... dammit shroom i have to make edits now
im sorry i should have shhhed
i briefly touched on character.ai?
i guess that counts
the bots i need to focus on in particular are more limited in what they can do but they lean heavily on the human-like language a la ELIZA
Weizenbaum's warnings made him a pariah but he was right omg
interesting so bots trained with the idea of only conversing with people
yeah they don't generate images and such
they serve a specific purpose and nothing else
scary they make those
I already told you about my personal weird experience with someone getting very parasocial with an advice bot haha
arguable the least interesting form of AI tbh from an applications standpoint***
my specific can of worms for these is the kind of data they use
on their own, they do have immense potential for their use case and could genuinely be useful, but from a data protection and consent angle, they're a bit iffy
yeeeee
I wonder if once they feel a model is good enough they will straight up do a full paywall
like for GPT just full paywall to use
Quill did you see the recent case wrt chatgpt injesting books
I use fish and I love it. It does the stuff i wanted zsh to do, but doesnt require a bunch of plugins to do it
i did and my reaction was roughly: "
"
brazen! shameless!
someone should sic Anne Rice on them tbh she doesn't even allow people to write fanfiction on her work
I can see the appeal with all of its features, but it's hard to unlearn my bash knowledge since it's such a divergence
I use zsh, mainly for oh-my-zsh which takes care of installing all the nice plugins
stuff like commands being green if it’s valid or autocomplete selection
Im curious which bash items caused the most issues. I personally find it a benefit i can remember fish's for loop syntax, since i had to always look up bash
CachyOS has fish as the default, and I found myself having to look up the fish way of things a few times before I just chsh back to bash
Most sql variants will perform math and string concatenation, if that's what you're going for. Are you only trying to add known columns?
wouldnt it just be a better idea to run the sum in the query
They r numbered 1 to 1000
I would like to sql this table such that i have a new row numbered 0 whose duration column is the sum of 1 to 1000
column of numbers
Is this one column a numerical data type?
Yeah numerical (it's duration in ms)
So the value of the new row is the sum of all the previous values?
I know how to select a sum but i dunno how to like, join these back into 1 view
Naw im basically just trying to add 1 new row
You say add a row... but that changes the value of the existing table if you're actually adding a new row. Is that what you're trying to do.
So that it becomes like
0, <sum of this whole column>
1, duration1
2, duration2
And so on
So you have rows 1 -1000, and this new row that has the sum of the previous rows as well as it's own value so you end up with a new sum that is double what it was previously
It sounds like you're taking a table of raw data, and trying to format it as a pivot table, which isn't really how tables are intended to be worked with, even though it's possible
Am i 
Like, what you're trying to accomplish is perhaps better served as a view
CREATE VIEW AS
SELECT 0, SUM(value) FROM table
UNION ALL
SELECT rn, value FROM table ORDER BY rn
I guess so, ultimately i am just confused about how to write the sql query
A view could union two results where one is the sum you're looking for, while the rest is the table
This way you're not modifying the results based on a calculation, which if you think about it is a recursive task
Yeah true
Ok it turns out my query was correct aside from not having the ALL 
Ty matt
(That may not work for every flavor of sql)
That is ANSI, but mysql, postgresql, databricks, sqlite, sql server, etc. all have differences
I guess Grafana describes itself as mysql-like so you should be fine
I feel confusion everytime i am forced to do something other than write C at work 
But i am not really sure how to become better at sql per say
Aside from use it more
New quote added by atravita as #6574 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1407481971164057720)
fyi that jump link counts as getting pinged into the thread
not sure if that was intentional or accidental
we were trying to trap crumble into modding zone
today I learned that c# lets you make readonly properties
Huh. Well, this is an always an option for those infected with modding juju:
Do you mean the keyword, or only having a getter?
I mean the keyword
why
VS suggested it when I added a property to a record struct
wat
navigating to a link to a thread shouldn't make you join it unless you send a message or join it, should just go poof once you go to a different channel again
idk if it actually does anything? but apparently if you have a property that only reads instance data on a readonly struct, you can make the property readonly too
Ah
In an instance member declaration within a structure type, readonly indicates that an instance member doesn't modify the state of the structure.
from microsoft. interesting. I can see how that would be useful
That's what I thought
Structure types - C# reference | Microsoft Learn https://share.google/Kyg88cY0J2eGB8RNZ
can you tell I never use structs
Structs are the best
Wow, C# has const correctness marking like C++????
(I actually wouldn't mind that... if it were implemented a bit better somehow)
I love using structs then going through contortions to pass them by reference
they're cool, it's just that I usually don't have a reason to use them
There's always a good reason to use them! ...they highlight to a different color in your IDE
here I'm using them for source generator data because I don't want to deal with incremental change detection myself
(Unless you like the original class color better - I can't recall which colors are which so I don't know which I like better)
In VS 2022 structs and classes were thr same color in the default theme
thank you record structs for all of the nice things you do automatically
records are so good I love them
Like modify some data and the source generator running new files?
Can you not just mark the sourcegen as dependent on those files somehow
I was sad when I had to abandon one of them to make some of the json serialization happy
Ah, right, I thought I remember something like that. Was kinda annoyed the first time I saw it too
Tbh I started using primary constructors after a while
I feel like c# has too many class types but I wouldn't get rid of any of them
I'm still typescript / data driven pilled and like data only containers
so the way incremental generators work is you have a "gathering" phase and a "writing" phase, and ideally roslyn can track when the data from the "gathering" state actually changes, and only runs the "writing" phase if something relevant has actually changed.
in order to do that, though, it needs to be able to do value-checks between the current and new values
record structs make this very easy because they automatically do all the value-equality boilerplate for you
I see your data only container and raise you some janky dictionary pressed into service
**kwargs or death
Oh, and if I ever use locals() in real code you may take me out back and toss my body off a cliff
I can see how it's useful but I'm confused about why that's called readonly (it may just be the 2am speaking though)
Right, I did some source gen stuff recently
Defensive copies
even with records I still ended up with data structures like
internal enum TileDirection
{
Middle,
Left,
Right,
Up,
Down,
}
internal record TileInfo(Vector2 coord, TileDirection fromSide, TileDirection toSide);
internal record DebugSchedule(List<TileInfo> route, int facingDirection, string endOfRouteBehavior, string endOfRouteMessage, string scheduleName);
private Dictionary<GameLocation, Dictionary<NPC, Dictionary<int, DebugSchedule>>> Schedules = new();
because it doesn't "write" (mutate) the struct.
had to turn an incremental generator I made to the previous style to get it to work with .net framework
readonly in a way "colours" the method in that it can only interact with other readonly methods to guarentee no side effects/mutations
Colours
yeah but usually readonly refers to the member only being readable, not the containing type not being read, I thought? 
Sounds exactly like C++ const correctness
C++ would call it const, but const is already a thing in C#
doesn't stop C++ from reusing keywords in weird ways
with readonly structs specifically, readonly applies to other things like properties and ref return methods and stuff
means the clr can avoid defensive copies and speed things up
oh yeah I get that, I'm just being nitpicky about the name feeling wrong lmao
Remember that the CLR runtime has to be capable to run most of C++ and that functionality means C# gets to inherit the less bad parts of it
structs do have "readonly instance members" aka const methods, but classes don't
PSA: What is const fn? : r/rust https://share.google/tY1CRTjf28b1O7nwO
and then there's anti-constraints like allows ref struct which intimidates me a little
Wait we have an allows keyword now?
it's used in c# 10 for dictionary alternate lookups, and probably other things
see I refuse to interact with things like that. I feel like I will only be worse off for it /lh
You know, there would be one advantage if we never advanced past assembly complexity languages
We wouldn't have to deal with all this AI stuff most likely
Do you really want to write assembly
at least people don't look at you funny writing goto's when you are in assembly
Hush
I will fork and join and fork and join and fork and fork to my heart's content
No, but I mean, I would've made a tetris in mips after the college course if I had found an emulator that had all the features I had needed...
I would love a law that stopped Bluetooth devices from repeating "low battery" for about thirty bloody minutes when they clearly still can work kinda
having worked with bluetooth devices before and talked to the vendors part of it is that the devices battery circuitry isn't precise and is guessing based on voltage, and doesn't truly know when its finally going to eat shit
Which became funny when the vendor gave us algorithms to try to calculate it, and then found devices in the field with negative battery percentages as a result
yeah, from the tiny tiny tiny bit of hobbyist electronics I've done, battery circuitry in small electronics seems relatively basic
I assume it also doesn't include the fancy stuff modern phones do to calculate effective usable battery percentage so you don't slowly have it start dying at 20%
I don't fully remember the details, but it was long life iot devices.
I'm pretty sure the way phones do it requires some tracking over time anyway, which most of these devices just won't be doing
the batteries were originally rated for 5 years of service life, but software and config updates can change that guarentee very quickly
the cases where it became negative were on very aggressive configs where on paper they were meant to die in months, but didn't
ah, so they were using predictive versions of that from the sound of it
Counteroffer: just say low battery once and forever hold your peace
but predictive rather than data-driven
the algorithm was effectively counting uses of the gps, cellular module and other things and having cost multipliers on them
it was a static equation that didn't take into account more nuance of the device and ran server side, not on-device
the device iirc did have an algorithm in the firmware but it was even worse
we never exposed the raw info or even the synthetic percentage to users and only fed our own UI that then showed "Low" or "High" at a 30% cutoff iirc
that's what most of my devices do, yeah
Let me dig it up, and redact anything thats too sensitive
low-med-high
the project is decommisioning in like a month anyway so no real harm
I'm just really tired of getting my music interrupted with low battery warnings
I'm very simple. I just want to listen to music
var wifiOnTime = (analytics.WifiOnTime - snapshotBase.WifiOnTime) * 4630;
var gpsOnTime = (analytics.GpsOnTime - snapshotBase.GpsOnTime) * 1852;
var timeInShipping = (analytics.TimeInShippingMode - snapshotBase.TimeInShippingMode) * 0.7;
var timeOutOfShipping = (analytics.TimeOutOfShippingMode - snapshotBase.TimeOutOfShippingMode) * 2.04;
var cellularOnTime = (analytics.CellularOnTime - snapshotBase.CellularOnTime) * 5555;
var buttonCount = (analytics.ButtonCount - snapshotBase.ButtonCount) * 9259;
var resetCount = (analytics.ResetCount - snapshotBase.ResetCount) * 41667;
var calculatedBattery = (Math.Pow(10, 9) - (timeInShipping + timeOutOfShipping + wifiOnTime + gpsOnTime + cellularOnTime + buttonCount + resetCount)) / Math.Pow(10, 9);
var value = (int)Math.Round(calculatedBattery * 100);
oh. oh wow
the snapshotBase stuff is because we were working on a feature to do battery swaps, but none of those analytics measurements would be reset, so we save a snapshot on our side when a battery change is detected to "zero" out the measurements
and while the C# code was ours, it was an implementation of the mathematical equation the vendor gave us
I truly, truly enjoy how weird cadence documentation is
-seed -svseed -snseed all exist
Which one takes effect when? What happens when you use the tcl command? Have fun
mine starts saying low battery when it's at 50% 💀
damn i love how the intellectuals are chatting here
too bad i don't know what the code means
I do the classic scroll past I'm clocked out of thinking for the day when I see code outside my thinking hours
intellectuals
guys imfighting my cats to not consume plastic or coffee
Kirby was a fiend for plastic. Could not leave it accessible anywhere. (I miss him)
I don't know they be scary
Looks like a big kitty
Omg you have voids
indeed 2
I found one outside and the other we adopted (me and my wonderful partner)
smart
i prefer the term evil
Clever little murder paws
This is why cat households need round doorknobs
(Though I’ve heard with some cats even that’s not enough of a hindrance)
thats the only lever handle we have
Casey I now have evidence you're willing to set foot in mmg
Behold, peak cat door opening prevention technique
Mmg?
Oh
Yeah I check pings
But that’s it
yes all of my handles besides that one are the old brass/copper ones
that are absurdly hard to turn
But with some pings it’s asking for help or feature requests, which is a lot more than I can handle at the moment
But blueberry was asking about doing work for me 😄 (Pr)
(I'm just being silly because of the convo a while back about you refusing to be in there haha)
(smh there’s a difference between coming over when called, and dropping in on my own)
(It’s like crashing party without an invite - it’s just rude)
(…yes, me popping into a public chat room unprompted is crashing a party. Completely equivalent, I will not be taking questions at this time)
makes sense to me
You don’t want me known as the serial party crasher, do you?
heaven forbid!
i love to party crash
My mods are totally notorious for being completely sane and hinged 100% of the time, I wouldn’t fit in there anyways
and this, ladies and gentleman, is what we in the business call "a bold faced lie"
Are you telling me you don’t think the mod where you swim in a jar of mayo the size of the wizards tower isn’t 1000% same and hinged?
What is the world coming to these days
(For the uncultured, yes, that’s a real mod of mine: https://www.nexusmods.com/stardewvalley/mods/17139 )
of course it's unhinged. it's a screw-top.
Not this one, can’t you see the lid open on the hinge in the screenshot
then it's not unhinged, now is it?
That’s what I’m sane. Completely sane and hinged
smh false advertising
Modders can have a little false advertising once they publish over 50 mods
As a treat
Most of my mods are pretty honest. Json Shuffle does exactly what it says it will
New quote added by irocendar as #6578 (https://discordapp.com/channels/137344473976799233/1215712021207720006/1407697948229505136)
doesn't it require ja
Nope, that’s the scary part
It’ll shuffle vanilla items too
And it does it every day, not upon loading a save
innovative
Clearly I need to change it to a trigger action, so people can make extension mods that do it at other times
Haven’t you always wanted a json shuffle every hour in game
oh are you asking me? I think you're confused, I WRITE mods, I don't play them /lh
(Saw a Minecraft modpack like that once, though it did recipe outputs and block drops and such too. And had a way of locking specific recipes)
Maybe this is the mod that’ll entice you into playing!
Many people’s “gotta try this” mod is SVE, but yours could be JSON Shuffle
Or maybe even random cats in events
Perhaps, if you’re a true gamer, that mod is Spenny (+ Spenny Deluxe)
no love for spenny lite? I see how it is
I mean that one is literally just Spenny but less
If you have both, spenny Lite will basically do nothing
all spennies are beautiful, I can't believe you would imply some are less than the others
~~if I ever get around to making my familiars mod, there should be an Easter egg option for a 1/4 scale spenny ~~
I wrote a draft of a data model yesterday. hated it
I mean, Spenny herself sure, but Spenny lite objectively spins less than Spenny
Smh and you didn't put the data model into a janky dictionary
didn't YET
also fun fact, spenny is now not autocorrected when i type it
Also
(mostly because by "wrote" I mean "designed and didn't implement yet")
My congestion is finally gone so I should try to get a little more sleep. (Yes it’s 8 am, but I didn’t get enough last night)
do you watch his videos with the backup dancers? they're great lmao
I'm so stoked!!!!
but I'm exhausted by just watching him
I do!!!@
I do actually dance along when I'm busy enough to only work out at home
my cats are being insane
@simple dragon Come bear witness to voids with braincell
also why is it so hard to find a nice adult community of people online
Oh my first one could do that
Godspeed, they will commit crimes beyond mortal comprehension
i already figured this out
😌
show orb
o r b
onyx crimes can break containment from smc every now and then as a treat
i have a void named onyx! did a double take while lurking
SNEEB
Right now she's being carried around the apartment like baby
ours was originally Janelle and the other "stray cat"
onyx void 
Mlem
this onyx isn't as orb as sneeb!onyx. he almost looks like he has a skeleton
those are good pictures, hes huge and heavy

She's so good
shape!
Snorbling 😌

Snorb actually came first. Snoot + orb
what is eeb
Oh, you know how it is with eebs
I suppose I do
how is his grace doing btw iro
Iirc we picked it up from a catcrumb drawing
probably asleep. it's two hours past Time To Be Awake For Food
which means he's probably already completed his post-food mischief and is now resting in anticipation of his pre-food mischief in around forty minutes
oooooooo tiny baby
pretty baby! lightly toasted
If we're off topic rn, then explain this!
Cutie
The sneeb says no work allowed
Mlem
She is a prolific programmer
Ears
I love the one where she's about to GET you
He doesn't know how to code 😌
blah I wanna be a cat all day
she's a programmer 😌
she has got me many a time
taking one for the team to get the good photo
Whenever i play phasmaphobia my cats be like time to meow REALLY LOUD??!!?!?!?!?
oh the cat channel
I have my own coding obstructions
not even my cat... my dad's cats are visiting rn while my dad's on vacation
I have my own coding obstructions
that keyboard?
no that's an advantage...
Cat
ah, a fellow ortholinear split monstrosity enjoyer
ortholinear split beauty
precious. give attention immediately
Cutie
cat shaped
nice cat
Sosig
what a nice car
i wish to shower with kisses
@simple dragon a wild Kailey appears! (Hi, it’s been a while)
It’s nice seeing onyx pictures - most of the ones I see these days are ones smuggled from atra
That’s a web browser though 
frontend
I hide in smaller servers where my tendancy to spam onyx pictures is more likely to form a cult than result in a junimo bap 
It's actually a .txt file that was supposed to be part of something or other my roommate was programming
Qoth the kitty, z78888888888888888FTRG478/.
Is it possible to get a junimo bap in any other server
The best kind of cult
https://www.youtube.com/shorts/xBilK3gT5e0
She seems a bit more worked up in this short compared to normal, I wonder why
(/s)
("if you're actually an imposter, it's not a syndrome" is an amazing line)
||semicolons in the middle of a line|| ||in python|| is one hell of a reveal
oh no were you just exposed to the horrors of python semicolons for the first time
"Where the fuck did you find a pointer, Steve?"
I want that on a shirt, only to never wear it to avoid the anxiety that someone might ask what it means.
Home tshirt
Not for going out
You can have semicolons in python as a treat
Does Python support unicode variable names?
watch the short 
oh the short
Emojis as Python Variables? Sure, Why Not! | by Pratik Choudhari | Better Programming https://share.google/ZNB4JOXYrUuMq8kAr
oh that makes more sense now
But also
variable_name; would he valid if so. 
Unicode is accepted in most modern languages but not emoji
Sure
; in python is equal to newline btw
That's all it is
That's a Greek question mark, though!

I wonder why. If people want to commit code crimes, they should be allowed to
they didn't have a cookie consent manager so i'm assuming the site collects nothing either, but since they do collect beta tester names and email addresses, they do need a privacy policy regardless
i want purpose limitation, retention period, processors, right to deletion and all that good stuff lol
Is that a legal requirement if you're in the US and not somewhere gdpr-y (I don't know if this guy is, it's just something I've wondered before)
California and Virginia require it
Didn't know virginia did
they still do have multiple cookies
is that why i get so many cookies popups now? amazing
And if you target users in countries with data protection legislation you need to be compliant with their laws regardless
you're getting those because the sites usually also get traffic from europe
ah i see
(It's super cute but also it's monetized.)
Some of the monetization I'm fine with - there is a cute kitty skin for $5 that if I can crosscheck that if the money actually goes to charity I'm fine with
But the scarves are weird
You get more progress faster if you pay
Which is a bit scummy
(GDPR's territorial scope is:
- Within the EU
- Outside the EU if you're reasonably likely to be visited by EU citizens
- Where you store your data has no bearing on the territorial scope, only on your other obligations)
ugh
i thought it was some subscription model
if there are progression microtransactions then i want no part of it
Hank Green has a global audience, so the second one applies

i really hope the google.com references are because it's importing styles from google and not it cross-site tracking from google
do you know what those do
crumb looks like tracking
ss_cvt, ss_cvr, squarespace something? ss_cvt is the timestamp i first visited the site
Progress is on subscription
But the similar Forest app is free
I dont have issues with paying for cosmetics
But i hate paying for progress
various cookie purpose sites claim ss_cvr is squarespace tracking which i can believe
this is what i got from ublock
yep, lots of imports from google

oh they have squarespace analytics on involuntarily https://support.squarespace.com/hc/en-us/articles/360001264507-The-cookies-Squarespace-uses
I paid for Forest premium years ago but it was like a couple dollars for lifetime premium. it had like. sync features.
it's been like 10 years, they introduced some kind of subscription for cosmetics but it's completely optional and doesn't alter progression
just moar tree
Iirc there's a carve out for businessses smaller than a certain employee count / revenue
Like for example my personal profiler site doesn't need to comply with gdpr
Woe is me, having to figure out cmake nonsense 😔
Like, why is PLATFORM="Dekstop" for... every platform?
Oh, do I have to manually define it
cmake is not for mortals to understand
Cargo
Sounds rusty, no thanks
But then I have to learn something new 😔
(Also wonder if it would even work with homebrew quirks)
(cmake at least is common enough to google when that happens)
is it tho, i feel like there is nothing but ungoogleable ??? when it comes to cmake cus it is so dependent on ur env
Cmake is?
I'm not sure what you mean
at work we r just write actual Makefile by hand
there's a bunch of cmake module things that automagically finds the libraries to link to, it messes up sometimes
The only things I've had to figure out for crosscompiling was a devkitpro thing where they wanted to force me to use msys or cygwin or something on windows, and then emscripten has a bug where you can't override the file extension when using cmake (which is important for the HTML to be autogenerated)
i felt it was very opaque compared to having just -lsomelib
Maybe it's improved recently? I do remember that being horrible back in my SFML days
Why meson?
usually i can resolve the ??? just with ld
This is all I have to do with raylib (besides a small thing for emscripten)
FetchContent_Declare( raylib
GIT_REPOSITORY https://github.com/raysan5/raylib
GIT_TAG 5.5 )
FetchContent_MakeAvailable( raylib )
target_link_libraries( game raylib )
Their entire cmake file for the example template
https://github.com/raysan5/raylib/blob/master/projects/CMake/CMakeLists.txt
The find_package -> if not found -> ... stuff I think is slightly older? Like the cmake docs mention that all that stuff isn't as necessary for more basic setups
Return of the error I can't remember how I fixed before 😔
...oh right, I had to switch to msys makefiles instead of ninja
Why did I change it back
(I remember back in these days, despite cmake supposedly being toolchain independent, you usually had to do a bunch of stuff separately/specifically for msvc/gcc/etc.)
its honestly impressive how bad the C++ toolchain ecosystem is
particularly compared to modern C# where its just like a 10 line csproj now
"why is this erroring"
"...oh"
My emscripten and even the homebrew compilers support it, but not my MinGW install 😛
Apparently the place I get my mingw install (nuwen.net) hasn't been updated since beginning of 2024
Found this though, which appears to have GCC 15.2 (and last update was 2 weeks ago) https://github.com/skeeto/w64devkit
Well I don't think that's normal
...why do I have to link something extra for a feature that doesn't even produce a warning when used
(I get why they couldn't produce a warning in the code, but like... g++ could)
...why? That's such a dumb limitation
Hi, i'm new to stardew valley and want to create a mod, i'm sorry i'm lost
need help please
Mod development help is best directed to #making-mods-general - this channel is basically everything but modding
Thank you, bot!
casey is my favorite bot too
I'm a cat, not a bot

They’re both 3 letter words ending in t
Basically the same
I once got mistaken for a robocall
I was very surprised and confused
hi
speaking of bots I thought someone was a bot for the longest time and they werent
Not as much when you consider how Cmake works. Back referencing works with how it makes a build graph, forward referencing doesn’t
TIL there's just a print and not printf or whever in C++
Please, there is literally everything in c++ probably five times
does it have cheese
I mean it has access to printf by nature of it having access to all the C stuff
Pre-variadic templates, a lot of people would just printf instead I think
(Once variadic templates came out, it was easier to write a proper replacement, though std::print wasn’t until c++23 or something absurd like that I think?)
I find it funny that apparently the reason silksong took so long was "we had too much fun developing it"
I'll take it over "we burnt out on it 3 years ago and decided to take a hiatus "
True
I meant it literally about being funny - I don't think it is a bad thing, and it sounds like the game turned out better for it too
hope so
But like imagine telling your boss the task isn't finished yet because you're having too much fun doing it
I will be playing this game unless it turns out to be a cryptominer or something
please let it be good
Isn't that every delayed video game
I'm hoping the next version of Microsoft pinball is good
I suppose, but like, it's very much dependent on hype levels
(And technically KAR 2 wasn't delayed - it just has been wanted but not existed for 20 years)
Wish C++ had extension methods
Especially with some pretty basic things having to be implemented yourself, like str.replace( "before", "after" )
this is how you end up with leftpad
See, I won't be upset if kpop demon hunters 2 isn't good
I didn't think kpop demon hunters 1 was all that great to begin with so me neither
Those are fighting words crumble
I think the movie just needed an extra 20 minutes of runtime to work better
flesh out the latter half more
or really the last quarter
They were leaving room for the fanfic writers to expand on it
That's totally it
(I have not watched it)

i have only watched like one clip of it but it does the animating-on-the-2s thing that spider-verse did and that is a treat for the eyes.
there's nothing else in there that is a treat for the eyes, though, definitely nothing else
The only clip I've seen is one edited to be one of the characters sniffing the fumes from a steam deck
I think they do actually sniff the fumes of a handheld in the film...
This was the post https://www.reddit.com/r/SteamDeck/comments/1m2ry73/everyone_owning_the_deck_at_some_point/
...huh, github got sub-issues
relatable
my deck no longer has the smell™ 😌
I've never checked mine
The smell is peak
Steam decks have smells
What
So it just might be a part of my clinical insanity but I kinda hate getting new hardware
what if it were free
New factory smell that comes from the vents I believe
So the subtle differences will annoy me.
to be fair, the smell is very potent, it's hard to miss
What if someone took your laptop and in return gave you a Laptop of Theseus
Fun fact!! The protagonists are animated on the 2s. The antagonists are animated on the 1s
Also to be fair I dont own a steam deck and do not play enough video games to justify jt
Look, I'm so attached to the stuff I have i get upset when my mom forcibly takes an old shirt from me and gives me a new one.
I've never seen a steam deck irl
Maybe they dont exist
Did I not show you mine
my mom and sister both also have steam decks
so there's 3 within just my direct family
Possibly but also i can't tell the difference between a steam deck and a Nintendo switch
but are theirs purple
Or, heck. A tablet with controller attachments
The controllers come off of a switch. switch lite doesn't count
my mom has purple sticker covers on the front side
The controllers dont come off a steam deck?
This is like when my coworker yesterday asked me about some 80s rock i didnt recognize
Also some TV show about having a stapler on your desk
movie
I'm sorry I'm uncultured
AngelScript now working on both! (Ignore the script being different, apparently the workaround I tried to copy the files to the right place after building is only copying them if they don't exist, not also if they were updated)
Of course I need to get raylib working on wii / 3ds next...
.choose raylib for homebrew, code for angelscript integration that isn't haphazardly thrown together
Choose result: code for angelscript integration that isn't haphazardly thrown together
(Asset copying fixed as well)
A wild meow spotted on cppreference
Programming
...why am I considering making a tool/library as a prebuild step to make reflection in C++, just to make registering stuff to angelscript remotely easier
(Most likely using clang since I think I've heard in the past that you can use their parser as like a library)
If I want to be insane I could make it match whatever API was finalized for C++26
(Yeah no, it uses a bunch of new syntax that that wouldn't be possible for)
time for my prelim today yippie!
I think you're probably done with it by now but I hope it went well!
noooo its later today
I just need to do one question hopefully
well complete one out of like 8
Aaaa good luck!
So, my 32-bit adder works
I built it from scratch from NAND gates
Everything from the double babble to the ALU operations to the segment decoders to the control logic, muxes, etc
@pliant snow Do you see the new picoloader? It uses the same installation method as the flippy drive. (It does require a little soldering it looks like, but not on the gamecube itself)
I'm not sure
That's what I was hoping to find out, but the video didn't directly compare them
I watched this one: https://www.youtube.com/watch?v=keQBqmzVATo
Use this link to SAVE $5 on your first order at PCBWay: https://pcbway.com/g/A311e7
Let’s take a look at an all new, Raspberry Pi Pico based, Optical Drive Emulator (ODE) for the Nintendo Gamecube! It’s super easy to install (very similar to FlippyDrive) and has a promising future. Most importantly, it’s open source!
//Macho Nacho S...
Yeah I think that was the one I saw pop up. I haven't watched it yet tho
I suppose it's proabably a lot cheaper
It's open source - can't recall if the flippy drive is (I assume not?)
I know there's a repository for its loader, idk how much is in it tho
I did it! I completed 2 questions and left
Deffo not passing but solid effort which is all I needed
Wooo!
Oops
I'm not a PhD student so I just need to do okay
i have many so browsers..
wow so youre the person who doesnt set them to only have one icon even with multiple instances
My boss uses like three different browsers and I have no idea why
zeta and theta are missing
Me too! But I also have the window title showing
this is my actual usage of the browser though.
I'm paranoid enough that I use a separate browser entirely for the work/personal split and don't trust profiles enough
and then each has a devtools window open
oh, sorry, just having a jape about beta and eta and wondering where the other -eta greek letters went /lh
Aaay nice, fellow Zen enjoyer I see
Microsoft, why is this needed.
We’re adding a new keyboard shortcut to make it easier for you to insert an En dash (–) or Em dash (—) while typing anywhere in Windows. Going forward, pressing WIN + Minus (-) will insert En dash, and WIN + Shift + Minus (-) will insert Em dash. Note – if you have Magnifier running, WIN + Minus (-) will still zoom out Magnifier, rather than inserting an En dash.
It looks great and AI brought us to it
microsoft finally listening to the people about their desperation for em dash
em dash???
longboi hyphen
how do u even make thagt
window + minus no do
alt+0151 currently
what
so hold down alt while typing 0151
yeah but it’s not really a necessary key, is it 
does this work for other special characters
yup
u got a list?
almost everything has an alt code
thank u
it's been a thing for a very long time. I remember using it to type the euro character as a kid
�
this is not a heart
oh wait
that shows up as like a ? inside a diamond for me
also they were already in the win+. menu
this one also looks good haha
am blind
windows key and .
does that menu have a heart in it? too much symbol
oh, sorry I keep pinging you, bea
☺☻♥♦♣♠
alt 1-6 works fine
i am doing alt 3 it no work!?!?
does it do anything?
nope
no i am in discord app
hmm
is it only browser?
no it’s just that some browsers take over the some alt shortcuts haha
yeah no it does nothing on browser either
the number needs to be numpad
i am doing that
do 1 and 2 work?
nope
○○○○○

I remember using alt codes a bunch back in the day to type fun symbols in my name in games or whatever
mine borked
and for stuff that was really annoying was copy+pasting from character map
like ֎ is a fun character
windows 11 seems to have fucked me over
im on beta insider builds of win11 and I still have it fine
I remember them from the little notes that were taped up all around the one computer room in the languages building in my school lmao
(because that was the only way we could insert accented letters)
we didn't have that issue cause setting the keyboard language to Dutch in Microsoft already allows you to type the vast majority of them
unless you need to type Vietnamese or something
don't think the alt codes are saving you for that one either
who has a wechat acc here?
why do you ask
is this you trying to use someone else's account for valorant mobile instead of making your own acconut
Im sorry, it's not like that. The reason why i asked if anyone has a wechat acc here so that I can make my own acc. In order to sign up in wechat, you need help from someone who already has an acc.
idk if u get my point but yeah. sorry for the bad english
idk if the programming channel of a stardew valley discord is the best place to find someone to help you with valorant haha
My sibling used to play this online game that didn't have a character filter for the ingame chat, so people would troll all the time by putting in rtl characters and stuff to fuck with the chat
I remember the trick of using the 0160 alt code and changing the icon of a folder to make it invisible in earlier versions of Windows.
Did you try the... valorent discord???
(I wasn't aware you needed a wechat account sponsor)
So totally noob to programming I was curious what's the best place to learn
Idk if that's real
I don't know but I will say just bc you pay for a learning thing doesn't mean it's better then the free options
What language
The yellow book is great for C#
C# for sure
oh I just looked up the WeChat thing, it looks like they do require friend verification (but sometimes allow using payment verification instead) but the reason it's even using WeChat is that the valorant mobile beta is supposed to be China only, so they're trying to get around that restriction ig
!yellowbook
A good book for learning c# is https://www.robmiles.com/c-yellow-book
Thank you very much 🤘
C# is a compiled programming language. The computer cannot understand the language directly, so a program called a compiler converts the C# text into the low level instructions which are much simpler. These low level instructions are in turn converted into the actual commands to drive the hardware which runs your program.
is this talking about assembly or smth?
Sounds like CIL
Especially based on the last sentence
C# is compiled to CIL (Common Intermediate Language, I think?) which the .net runtime then converts to assembly as you run it
i see thank you
the last sentence is the part referring to assembly, I think?
does all C# require .NET?
Basically yeah
You can compile your apps with modern .net to be native using AoT compilation, but it's still basically .net - just without a lot the runtime
I don't understand why github still hasn't added old functionality to the dashboard feed
Like why do I have to go to the janky page showing the old one (https://github.com/dashboard-feed) to see stuff like this
Oh, this is a thing https://addons.mozilla.org/en-US/firefox/addon/return-old-github-feed/
Shouldn't have to get a browser extension for this though
A plugin targeting GitHub with 7 users feels like something I don't think I'd ever want to trust, though.
could always run from source then https://github.com/Siriusmart/return-github-feed/blob/main/replace.js
Oh, there's even a tempermonkey version
Is there a difference between cil and msil? I've seen both referenced in conversations about net
isn't the former just the newer name for the latter
CIL was originally known as Microsoft Intermediate Language (MSIL) during the beta releases of the .NET languages. Due to standardization of C# and the CLI, the bytecode is now officially known as CIL.[3] Windows Defender virus definitions continue to refer to binaries compiled with it as MSIL.[4]
Gamer journalists, you don't have to write an article every time i tweet. This makes people think I'm making a big statement or fishing for "good boy points" when I am just making a small comment, like i would say to a friend. I dont always want to be in "PR" mode. Thanks
new article: "CA tired of our shit"
"CA lashes out at journalists for no reason, why would he do this to us we're so nice always"
Meanwhile, gaming journalists:
The 2tb drive that was dying is finally dead 😔
Made my PC bootloop while plugged in
can't believe it held on for this long
Oh goodie energy stuck into terminal on ubuntu
Pretty sure it was offlined in Windows and then Linux couldn't mount so not much activity
But still surprising
I love when I sign in and get a black screen with just a pointer
Well it gets in with x11 instead of waylaid, albeit swapping monitors and one is 3/4 black now
Logged in and out and waylaid works agsin
windows drive still doesnt mount from linux but that's a job for later™
Confession: I'm aware Denmark, the Netherlands, and the Danes are two locations approximately but I'm never sure which is which
I had 2 HDDs finally die after 15 years of service. The last one of the 3 is still going.. for now
This is my second to die, but it's only ~3 (?) Years old so not great
Yeah that's less than ideal. Mine were a 2TB WD Green and 2 1TB WD Blacks
First drive death was a Windows boot for probably 8 years so didn't do too bad
1 black is sitll going
This was a seagate something
Ironwolf iirc
The Danes are from Denmark, the Dutch are from the Netherlands
I think of the Netherlands as "Holland" way too often, I grew up playing pirate/sailing games 
The Netherlands isn't Holland?
The name Holland has frequently been used informally to refer to the whole of the country of the Netherlands. This casual usage is commonly accepted in other countries, and is even employed by many Dutch themselves. However, some in the Netherlands (particularly those from regions outside Holland or the west) find it undesirable or misrepresentative to use the term for the whole country. In January 2020, the Netherlands officially dropped its support of the word Holland for the whole country, which included a logo redesign that changed "Holland" to "NL".
To be fair I also thought The Hague was a court
Like a courthouse or smth
And not a city
"Holland" is informally used in English and other languages, including sometimes the Dutch language itself, to mean the whole of the modern country of the Netherlands. This example of pars pro toto or synecdoche is similar to the tendency to refer to the United Kingdom as "England", and developed due to Holland's becoming the dominant province and thus having the majority of political and economic interactions with other countries.
oh yeah the england vs gb/uk is a better analog
I made that mistake exactly once talking to someone that was welsh and did not appreciate it
from a power perspective its correct to say its all england
scotland voted against brexit and yet they leave EU anyway
when we went to nl they told us that the reason is partially that holland is associated negatively in english for some reason? and that that’s why almost any saying with the word “dutch” in it is negative apparently
Is it?
dutch oven (not the actual type of oven), “going dutch” (splitting the food/seen as stingy ig?), I can’t remember any others
do any of the European countries not talk shit on the others?
I've watched enough british content to know about the meme that is France
Dutch baby, Pennsylvania Dutch
pennsylvania dutch is just a language 
well the uk and france are just kind of siblings that hate each other
but yeah, all of europe is like this with its neighbours tbh
👀 pennsylvania dutch mentioned
it also refers to a population
true
(all I know about the amish is from watching ex amish people talk about it though, I’ve never set foot in either of the americas haha)
https://youtube.com/shorts/G8NLJiOEoQg
allegedly real screenshots
…it’s real
looked it up. it was replit ai and it genuinely happened
wtaf
i do not want to go on A Diatribe on here but confusing pennsylvania dutch/amish/mennonite is a uk/great britain/england-style mixup and i'll leave it there /lh
I apologise but in my defense I get UK/GB mixed up too and I live here 
just shows you truly how little I do know
the article about the ai thing though: https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/
the fact that the person whose production database got wiped is saying he’ll continue to use vibe coding is concerning for our future as a species
gb is the mainland/island, uk is the united country that has gb but also northern island and some of the other small islands
uk + (republic of) ireland is the british isles iirc
yup, “the united kingdom of great britain and northern island” (though gb includes the various scottish islands I’m pretty sure)
Also Dutch baby is an excellent pancake like dish if not actually well. Dutch
it’s okay, like all regional names, it was assigned based on vibes and a terrible understanding of geography
I get all my geography from vague memories of 4th grade you know
Tunisian Crochet is most likely named that because people confused Tunisia and Afghanistan.
It originated in France.
(the Afghanistan thing is actually because it’s mostly used to make Afghans)
We could call it French crochet
Does anyone know good unisex Fashion sense more cute or spooky outfits?! :0 its so hard to find good FS mods as a lot of them are fem or just not my style
but regular crochet is also french 
Frenchier crochet
My new tick is gg=G
vim tricks
aren't they meant to be opposites
I know what they do if I'm at a keyboard typing but not if I'm just thinking about it 
gg moves the cursor to the top of the buffer. = is the command for auto-indent the file up until G the end of the buffer
oh I genuinely thought that was an assignment lmao
I don't think I've ever used = before
I've always used > and < for indentation
and when I format a whole file I just use the lsp's format function
I've never used vim indentation commands
Yup, gg=G is autoindent
next step is to add a mark to jump back to where you were, and put it all in a single binding via vimrc
There's already a built-in mark for that. Use gg=G''
fucked up
I don't use the built-in marks as much as I should, but they're useful
I don't know what any of em are
I also never use all the funky registers
that requires me to think
' takes you back to the last place you jumped from, which is nice
< and > are the lines at the start/end of the most recent visual selection
^ I think is the line of the most recent edit
@pliant snow I'm giving Fish another shot, and I even managed to port my long .bashrc to config.fish and so far it's not nearly as difficult as I remembered
this is why most of my config is in my i3wm config file /hj
Me: "Hey C++, I'd like to compare two std::optional< std::variant< ... > > instances of the same type for equality"
C++: "Why would you want to do that? Are you insane?"
if ( other->Special.has_value() == newFunc->Special.has_value() &&
( !other->Special.has_value() || ( std::holds_alternative< MemberFunctionType >(other->Special.value() ) && std::holds_alternative< MemberFunctionType >(newFunc->Special.value() ) &&
std::get< MemberFunctionType >( other->Special.value() ) == std::get< MemberFunctionType >( newFunc->Special.value() ) )
|| ( std::holds_alternative< OperatorOverloadType >(other->Special.value() ) && std::holds_alternative< OperatorOverloadType >(newFunc->Special.value() ) &&
std::get< OperatorOverloadType >( other->Special.value() ) == std::get< OperatorOverloadType >( newFunc->Special.value() ) ) ) )
{
// this is insane
}
Keep in mind this is a variant of two types
(Two enums)
what is the purpose of enums? is it easier-to-read data validation, similar to the way a drop-down list functions?
pretty much just a way to provide a list of valid options for something that's better enforceable and easier to understand than just a list of strings while being cheap due to just being a number behind the scenes
other languages have much more powerful enums but alas C# doesn't yet
there's some more niche but powerful things it can do like act as bit flags for binary operations like it used in C#'s own DayOfWeek enum
slightly less insane when formatted but still quite verbose
if (
other->Special.has_value() == newFunc->Special.has_value() &&
(
!other->Special.has_value() ||
(
std::holds_alternative< MemberFunctionType >(other->Special.value() ) &&
std::holds_alternative< MemberFunctionType >(newFunc->Special.value() ) &&
std::get< MemberFunctionType >( other->Special.value() ) == std::get< MemberFunctionType >( newFunc->Special.value() )
)
|| (
std::holds_alternative< OperatorOverloadType >(other->Special.value() ) &&
std::holds_alternative< OperatorOverloadType >(newFunc->Special.value() ) &&
std::get< OperatorOverloadType >( other->Special.value() ) == std::get< OperatorOverloadType >( newFunc->Special.value() )
)
)
)
{
// this is insane
}
sorry, what are bit flags and binary operations?
bit flags are the notion of storing multiple booleans inside a single number (stored in the individual bits as a flag)
and you can use bitwise operations to extract or check those values
so like, the number 20 represented in binary might represent "true false true true false etc"?
acting on 1s and 0s directly. Bit flags mean individual bit(1 or 0) is given a specific meaning. Like the first is Monday, second Tuesday etc... If the 1st, 4th and 7th bits are set to 1 then Monday, Thursday and Sunday are set...
it's lot more efficient and convenient to store that way than 7 booleans
okay i think i get it
like "i want it to rain on the weekend" and then i can check if enum IsRainy == 0000011
I've used bit flags a grand total of maybe 5 times over the last 10 years but it's great when you do need it
oh so i probably shouldn't go too far down this rabbit hole just yet lol
messing around with binary operations can be a fun exercise at some point
its more memory efficient, though not always more computationally more efficient.
but it is mainly useful when you want to check for multiple things at the same time, and can be useful to store all the independent booleans in one place and do a single operation to check if they are the same or have overlap with your desired state
a good bitwise flagged enum, every permutation is a valid state to be in, when you have cases where its not valid for a certain permutation to exist means it potentially wasn't a good candidate to be stored in the same enum
most of the places I've used it essentially came down to us wanting to be able to store it in a single column in the database
"which days does this supplier support doing deliveries"
we did once have a bug in our binary logic somewhere that only happened on Mondays which was a nightmare to reproduce cause we had no idea why the issue magically disappeared whenever we tried to work on it
oh no
obligatory mention of "OpenOffice cannot print documents on Tuesdays"
days of the week are a useful example, because it lets you very nicely do data driven rules.
also it can fit inside a single byte so it packs very nicely
yup
I've used a far more cursed one before for determining which icon to use in some tree view
which I can't recommend
bit flags there were stuff like "has attachment" "was favorited" "has been distributed"
it sounded sensible at the time but eventually it just turned into big switch case checking every possible permutation
yeah packing unrelated things together like that gets sketchy fast
In my old team due to past trauma, the team had a rule of no booleans, and enum each thing separately.
so rather than GoogleMapsEnabled = true, it would be MapProvider = Google
just to make sure we don't get into paradoxes later on, and can expand those systems as they need it
I can understand that trauma
an old cash register application I used to develop for had over a hundred state booleans like "inPaymentMode"
then someone else would introduce a different boolean to specify "inCashPaymentMode"
but then someone would forget or not know about one of these so we'd have inPaymentMode be false yet somehow inCashPaymentMode on true
which is impossible
and there were a nearly uncountable number of these situations
people would introduce even more booleans to avoid needing to rely on existing ones...
it's a genuine miracle that the cash register actually worked pretty well in practice from a user perspective
when I worked on my monopoly game I did spend time explicitly diagramming out the state model and how states were allowed to transition to other states to help minimize how many illegal states happpened




