#programmers-off-topic
1 messages · Page 3 of 1
it's honestly not too bad if you look at what certain symbols are draw to look like (cause they look like what they mean, typically)... imo it's easier than learning to read western languages
Imo Spanish is much easier than mandarin
But I can believe that mandarin is easier than English
English is kinda fucky
istg
I was referring to natural languages as a whole with "how I wish it was that easy" but yeah
I know like 1500 ish kanji due to Japanese which definitely took a whole lot more time than any programming language ever would
I just want a neuralink to upload languages into my brain
can't say many of them closely resemble whatever concept they're supposed to represent beyond the absolute basic. Some still technically represent their meaning but it'd require significant historical knowledge to know why that context is
and in many cases the characters have been simplified over the years into something easier to write or remember but losing whatever it represented in the process
Chinese and Japanese separately went through events that caused a simplification of their characters which means neither represent what they originally were intended to be nor did they simplify it the same way...
kanji roughly analogous to english spelling, imo. You Just Have To Memorize Thousands Of (Words/Characters)
kanji generally have many ways to read them or sometimes even ignore all of their readings, generally for common words, so it's not ideal.
Or names might use a reading that has become archaic outside of that name
it's enjoyable though that why I learn it
like 天 is often read as ama in names while that reading is pretty much never used apart from that
Ah the predicted linguistics detour
I would say if you don't experience that on several year old code, you're not improving enough!
It finally happened like I knew it would!
I'm amazed it took this long.
Is there such a thing as localized programming languages?
I've heard of them in the past but don't have any names I can think of
tbh maybe scratch supports multiple languages
does that count
I mean I guess programming languages aren't technically in English, but the syntax are usually English adjacent. Just interesting how no one has ever made a language that is non-English native. Or maybe none ever became popular enough to be noticed.
nah they have
Non-English-based programming languages are programming languages that do not use keywords taken from or inspired by English vocabulary.
I vaguely recall something about Soviet era base 3 languages
Shitty life hack: only learn traditional, understand the meanings but struggle to read simplified
just only ever go on business trips
maybe someday I'll try to learn some form of Chinese
for now I'll accept just being able to recognize random bits here and there from Japanese and nothing else
Yes. Excel
It's a, pardon my French, a ducking bad idea
excel 
Excel....programming?? Isn't that for spreadsheets 
we do exports and imports from excel a lot and it's the bane of our existence as it decides to interpret shit randomly as something else
and our problem forever where numbers in Dutch use the , as the decimal separator while English uses .
so if one user decides to open their excel spreadsheet with their language set to English
everything explodes
I can't argue I often forget to use commas in Dutch cause of all the programming and English
a lot of Dutch websites just automatically replace periods with commas when you type in currency fields
Anyways
is this meaning VBA or the weird formula stuff
we prioritize the Belgians
excel even has python now
Yeah!
also a pain...
Beats VBA so much
I never use excel for anything other checking if an export was successful so I've never really touched much of it
I have unfortunately, voluntarily wrote VBA in the past lol
though admittedly I generated most of the VBA using python
my mom worked as a math professor at an accountancy college for 35 years so she has strong opinions about excel
still laments the day they switched from lotus to excel
just like she laments the switch from wordperfect to word
my dad runs a mac os 8 emulator just to keep using wordperfect
a lot of my mom's colleagues at the time also still tried to use wordperfect
Speaking of being wildly off topic, https://matrix67.itch.io/pi-day-challenge
What's wordperfect?
the hottest word processor of 1995
I'm still a vim enthusiast
it was incredibly popular back in the 80s and 90s
vim is not a word processor but yes it's nice
Ah I cheat sometimes and use LaTex with a package to use times new roman
all this effort for times new roman
I didn't touch latex till several years into uni
I used to delete word off my computer after installing office
Hahaaaaaaaa
I have libreoffice on my work laptop cause I've never been bothered enough to ask for an office subscription
God if I could ahhhahhaa
I had a prof insist on pdfs from Word but heyyyy my LaTeX passed scrutiny
I don't really use word documents like ever
if you want it to be a pdf anyway why enforce word
I like latex till I need to place images
I'm sure there's a trick to it
but I'll make some edits and find out an image decided to go on an adventure to 3 pages later
so I try to patch it up with the latex equivalent of !important
it's been a few years since I last used latex I can't remember
TeX (and by extension, LaTeX) is cursed. brilliant, unknowable, untameable
badness 10000. You should feel bad.
latex documents both look nice and remind me of a lot of my old textbooks and instill a deep anxiety
I'm stupid good at Latex
can you place an image and actually have it stay there after edits
enjoy diving into TeX's inner tendrils to find out!
I'm glad I never ever write documents anymore
(i complain about TeX a lot because trying to do anything even remotely complex effectively requires you to have deep knowledge of its inner workings)
Yes
including insane parts like what kind of character each character is at the different stages of input evaluation
(and, in fairness, that's the kind of thing i would expect when a genius writes a typesetting system for his own use! of course the user will know the eldritch stuff inside!)
It could be worze
As for my images, yes. They usually end up near where j want them
Right now I'm in a war with table footnkres
But consider: word does this but way worse
Images end up on the page you want in latex unless it would force too much white space
I have settled on htbp or something
what is htbp
Here top bottom ...p
So, basically
Latex, try putting the picture here. Then at the top. Then at the bottom. Then in the appendix but if only that doesn't work
I use h! Unless that doesn't work
ah yes, debugging 
Careful Pillow (Switch Modder), Nintendo is out for blood lately
Yuzu
sdv doesn't even work in yuzu annoyingly
yuzu's core problem from a legal standpoint was the existence of a patreon
I don't get why they'd be so dumb as to not expect that to come and bite them...
it went from being a work protected, more or less, by the fair use doctrine, to a monetised infringement of nintendo's IP.
I modded my switch mostly to install ToTK mods, but also to cheat at Super Mario RPG because there was no way I was ever going to get 100 jumps
huh??
why does it work now
No Nintendo IP there though, arguably!
it used to be double mirrored
recreation of switch software and hardware counts 
it's... dodgy, admittedly, but courts are weird sometimes
Emulation has already been determined to be legal, but bypassing encryption and things like that can be a violation
There's a spiritual successor to Yuzu in the works that removes some of the Nintendo IP stuff and leaves it to the user to find out how to get those things
mhmm! that's how cemu escaped all this nonsense
you need to dump a considerable amount of crap from your wiiu to get it to work
Suyu I think is the new one
that name made me chortle
what does yuzu have that you don't have to dump?
it's practically an invitation
nintendo successfully convinced the court that its generation of switch keys didn't require dumping from a console
Remember when it was declared legal (in America at least) to bypass encryption and nonsense like that?
Behind the scenes, Sharpie says that the Suyu developers are hard at work "removing all references to Yuzu or Tropic Haze [the LLC set up to run the Yuzu Patreon] from the source code" for Suyu. On a more technical level, Sharpie also said the team is changing certain DRM-circumvention code to help avoid legal liability.
"One of the major parts of Nintendo's lawsuit was the generation of title.keys by yuzu," Sharpie said, referring to the game-specific encryption keys used by the emulator at runtime. "That is one of the first things we are removing/reworking. Suyu will require the user to provide their own title.keys, prod.keys, and firmware from their Switch console."
The Suyu GitLab notes that "in order to use Suyu, you'll need keys from your real Switch system and games which you have legally obtained and paid for." But Sharpie admitted to Ars that while the emulator won't boot without firmware, "there isn't really a way to verify the keys were dumped legitimately from the user's Switch."
Isn’t it made by someone who has no clue how anything works and they’re actually looking for proper devs?
no that was nuzu or smth iirc
title.keys and prod.keys
I think I already have mine backed up from my actual Switch hardware due to modding, so I should be able to use this fork
that has conflicting jurisprudence, I'm literally currently writing a chapter on how bypassing anti-cheat amounts to a copyright violation under US law
in the EU, it's... unfortunately going the same way, from what I've seen of a couple DPA rulings I managed to find
I should try it too
It was kind of neat making my Asus Rog Ally into a DIY Switch Pro
Especially with Handheld Companion making things like Gyroscope functional
put a "nintendo" "switch" sticker on the back too 
Ooh, I wonder if they have skins for it
I should really improve iridium
though 1.6 would break it even if I finished it, since xnbcli/xnbjs probably would take a while to update
I mean the EU's going the direction of trying to restrict bloody encryption in varying degrees...
Encryption is fine.... as long as there's a backdoor... which will totally never get exploited by hackers!
Sometimes I just want to make a new Deus Ex-like, because the conspiracies in that are turning out to be damned tame in comparison to the world now.
Deux Ex: Reality. It's just a simulation of the world right now.
that's out of scope for my thesis so I haven't looked into it much, but one thing I would like to see is the recognition of the fact that bloody kernel mode /= a reasonable measure to protect business interests
Thinking of Sony's music disc rootkit, are we? 
I did mention that somewhere, but I used modern kernel mode anti cheat wayyy more 
GameGuard, EAC, ESEA and Vanguard got raked over the coals in my legal analysis
ESEA in particular due to that bloody bitcoin mining incident
Also consider: https://www.ilok.com/
I mean a little late now, but might be of interest!
Because you could make the argument that kernel-mode crap for license management is more dangerous because it runs mainly on business systems. 
reminding me of programs a lot of schools here wanted to mandate students to install that were essentially incredibly invasive spyware with huge security and privacy concerns
though I think they eventually ruled that those programs breached privacy laws
those tools were to prevent cheating while having to do tests remote due to covid
Time to work exclusively in a virtual environment, and scrap it every day
I've had to use a few Citrix... essentially dumb terminals in my time. Surprised more places don't use it now!
At home, I actually do have AtlasOS Win11 setup on Proxmox for SDV modding and hosting a game server. It's also something I can remote into from my iPad which is nice, but I haven't quite gotten as far as using it in my day to day.
...first time hearing about this. I am much intrigued...
I have... plans to combine the hardware from two servers I'm running into a single, proper rack
Right now I have one server running proxmox and a few OS, the other is running Unraid as my NAS
The new build will probably be everything on Proxmox, including the NAS
It's kinda stunning how cheap you can find some older rack servers though, huh?
I remote into my home server on my iPad so that I can still program while visiting family lmao
I haven't even done much research on my options, I've gotten as far as adding some things to pcpartspicker, but they don't list the cases I'm looking at
This is exactly where it started for me
Is it alright to share an Amazon link here? This is one case I'm looking at:
https://www.amazon.com/dp/B01A6JQQHU/
No idea if that'll work yet
I don't currently plan on running server grade hardware. So hoping to reuse as much of what I already own as possible.
fancy
The NAS thing happened after I experienced data loss due to power issues in my house
I was like, never again
My eventual end goal is one big NAS, enough redundancy, and just abuse Backblaze's generosity by having everything mirrored to them.
how does the saying go? "there are two types of people: people who back up, and people who have not yet experienced catastrophic data loss"?
I do a Backblaze sync via Duplicacy and Seafile
I've been outstandingly lucky with storage for... forever. First storage drive I've had die on my was a 1TB NVMe SSD early this year/late last year.
I currently I have a simple raid setup but I've been meaning to look into getting some kind of cloud storage set up just in case, hopefully automatic
I've never had any storage device fail before but I'd rather learn from other people's experience here than my own
Apparently if you are capable of taking delivery of like a thousand partially working computers you can get cast offs from big companies for super cheap
Then just fix up 999 of them and keep one for yourself
So I bought some large enterprise drives to build a NAS, but it seems like lots of people that build a NAS and use Unraid or TrueNAS Scale eventually end up running Proxmox and running a VM of one of those on the same hardware instead. How much of a pain/is it possible to migrate to a setup like that from having Unraid or TrueNAS Scale directly on the hardware, if you already have lots of data stored in the NAS?
I wonder if I'll regret making this ship portable python, and install pip to it
I haven’t done it yet but plan to. If you still have this question in a few months I’ll let you know how it goes.
I’m tentatively planning on increasing my storage and moving it over from the existing zpool to a new one.
My promox has a small TrueNAS instance for managing its storage, but my actual NAS is running unRAID
I want to merge them together and just run unRAID
Yeah I still have to decide between the two in addition to whether to run it in Proxmox or not. Everything I read says that Unraid is easier in every way, just slightly less performant, but that performance difference isn't noticeable unless you have like 10gigabit
I've not messed with much in terms of setting up systems or backups since for anything hardware or OS related the Systems dept at work handle it and us AppDev guys just worry about the higher level software stuff
imo proxmox was pretty easy to setup and I actually wrote over a previous Ubuntu server. I’m glad I set it up and wish I had done that originally.
Nice to have a proper hypervisor and gives me the option to do a prod/non-prod setup
I need to run something like Plex/Jellyfin for my media, so it seems like it'd be better to run that on Proxmox rather than through the VM support that Unraid has
Something I haven’t done yet but want to do is get into either ansible or terraform deployments
On unRAID I’m running all that media software using containers which they make really simple with their appstore
Not sure if there'd be any weirdness with it trying to access the storage controlled by another VM though
The unRAID shares to other VMs essentially run like they’re local
Assuming they’re on the same hardware because the network is virtual so it’s not actually going through your router or switch
So do you plan to move the media software to be handled by Proxmox once you do your migration, or are you happy with having unraid still run it?
Come to think of it, unRAID is not really intended to run on a VM since it's supposed to boot from USB. I'll have to think more about that. Between unRAID and TrueNAS, I personally enjoy working with unRAID more.
I'm not using proxmox for a lot currently, just mostly hosting a few game servers and home assistant
unRAID has got a lot more going on
If I can, I'd want proxmox to host an unRAID VM along with ubuntu, haos, and win11 (atlas os).
There's a number of comments on this post that make it sounds like the migration is pretty easy, but again, no experience with this stuff lol
https://www.reddit.com/r/unRAID/comments/11932g7/anyone_virtualised_unraid_on_proxmox/
And they do mention passing the USB for unraid through
CA was taking no more sass back when he named this method!!!
private void reallyDoAnimationAtEndOfScheduleRoute()
Someone made a class of a mismash of utility functions for a legacy codebase we maintain called mySpecialClass.cs
While that was mildly amusing, that same someone also typo'd the permissions helper to Premissions, which was much less amusing.
finally git extracts
finally!
Good lord are you running all that
Yeah, that's a level of madness I did not expect, but absolutely respect.
I've run some of those things in the past, but my home server now runs a more modest amount of stuff i more actively use
Does anyone know if there exists a "test farm" save game file which has all (or at least most of) the items placed outside? I pretty sure modders would have something like this to test stuff...
that seems suspciouisly on topic
(but no, it's easy enough to generate if I wanted it)
At risk of continuing to be on topic, you could use commands (both debug and normal) to get one built fairly fast (it's what I plan to do soonish) https://stardewvalleywiki.com/Modding:Console_commands
yeah, let me derail this chat into a discussion on french grammar adn we can take the on topic to #making-mods-general
fine... :p
Brb making a programming language with grammatical gender
Every function is either red or green and have fun mixing the two
do they have a purpose?
no
finally! actually got cloning working
Now theres two of you
hmm
:>
Is non C# content allowed here?
yes
Cool, ty
good ol opengl
I found OpenGL pretty easy to understand as a Pascal programmer. Never did too much with it though as I'm not really a 3D programmer...
I quite like OpenGL honestly
I don't think self-promo is allowed here
Someone was promoting their twitch haha
I’m sorry Myuu, you’ve gotta stop shilling for OpenGL 😛 nah, atra’s right

😭 poor myuu
myuu is opengl confirmed
literally 1984 😭
Speaking of OpenGL, do you feel MonoGame's OpenGL renderer is as bad as Ameise thinks it is?
I've had a quick look, and it pains even me.
I would have no clue, I've avoided looking at MonoGame itself, lest I drive myself insane with things I'd like to fix
What I will say, is that the OpenGL version it requires is ancient at this point (which is good for compatibility)
Let's just pretend I didn't say that then, because...
All I'm saying is that OpenGL is a significantly smaller learning curve than DirectX or Vulkan, and has much more resources to learn it
Metal is also similarly easy to learn, but is Apple platform specific
it's been a long time since I last looked at monogame
But making a boilerplate app for DirectX or Vulkan is much tougher imo, and the Microsoft Component Object Model is a nightmare (DirectX)
I don't have a strong preference between HLSL or GLSL, especially since it's easy enough to convert between the two. I do slightly prefer GLSL because that's what I learned first, and I appreciate the little toys like ShaderToy & other small demos like that
My qualm with Monogame is that I wish they had made it trivial to write for Monogame DX and convert to Monogame GL easily
Valve has offered their ToGL header file freely for converting DirectX to OpenGL for a long time now
For my own projects, I just end up running with three. shared MonoGame project, and two dummy DirectX/OpenGL frontend runner projects.
And Monogame already uses rewriters for HLSL -> GLSL, so it would have been nice if we could just dev for MonogameDX (and hence address the Monobug crash), and have it smoothly compile for MonogameGL for other platforms
Yeah that's a good way to go
My other qualm with Monogame is that they don't expose the SDL methods
For 1.6, we fixed the clipboard by P/invoke-ing the SDL clipboard handler, since that gave us the best possible clipboard support cross-platform
Ah makes sense
Fwiw I would not want to be the one maintaining something like Monogame's GL renderer, which has to be pretty general purpose
I certainly wouldn't want to be!
Then I'd end up on the hook for a worse renderer than what we have now.
I especially would not want to be the one writing it in C#
As a C programmer, the whole global state thing that OpenGL has going on makes a lot of sense to me
But it seems very contrary to the design decisions of a managed language like C#
I don't want to write any renderer...
unless it's funky hobby projects that never need to do anything beyond the super basic
Eh, you can get pretty low level in c#
A bigger problem maybe is that the lower level stuff is usually net core
I like my bitoperations
@fleet drum
I mean I've been programming in some capacity for more than a decade now, it's just that it's been little pet projects almost entirely, and many of them are unfinished
I don't really know how to present myself to employers since I don't have any kind of formal training or industry experience
I'm a Senior Software Development Manager who was able to get my foot in the door without graduating college, AMA
That's kinda the thing about personal projects tho, it gives you an in to talk to people. You get to talk about the projects
It gives you the chance to have people ask about them and you talk to them
I went through 4 majors to arrive at a Bachelors in Computer Science, don't ask me about student loans
Although the title is misleading because very little software development happens on my team. We're more into Data and AI.
I mean to put it really bluntly, objectively do you think your resume would be better or worse with less C# experience listed
oooo fun
As someone who has been the hiring manager a bunch, real projects on resumes stand out more than textbook projects or "I was involved in this" without really know what your contributions were
I'll even follow someone's GitHub links if they provide it to see what their actual contributions look like
don't think a resume is every going to look better from listing less experience
Like I said, my content patcher mod helped get me a job lol They didn't care about the technical aspect really, but it was unique and it got them talking to me.
I've interviewed too many people who make wild claims like they generated millions of dollars of revenue for their company on some project, but couldn't really describe much about it, and it turns out they had some side support role
I can't give any advice for the job search. I graduated uni and essentially walked straight into job offers immediately after
and I still work there
I tell anyone that asks that you don't need to go to school to be a developer; experience is better. Just build some things that you can talk about / show off.
Ultimately the truth of the matter is that presenting yourself to employers just has to start somewhere by you going "hi i do things" and showing those things
I just hope my code is up to par
can't underestimate the value of decent social skills/knowing how to present yourself
You can take those free MITx or HarvardX intro to comp sci classes for free to get the real basics, but before that just try to hack something together for fun
I feel like I'm pretty good at making my code readable but I have no idea what industry standards are
unreadable
Nightmare fuel
social skills ARE something that I excel at, which I know gives me an advantage in the field lol
Actually about to make me add my stardew mods to my linkedin profile
I updated documentation once and added a single value to an enum in 1 open source project
that's my open source contributions
Ah open source, the most misrepresented portion of development to ever exist probably
.... should I mention my habit of jar-hacking to fix bugs in old minecraft mods that can't be compiled anymore because the toolchain no longer works?
I mean it makes you sound like a massive nerd but I think that's beneficial
my dev environment at work is distinctly lacking in nerds. It's very corporate and socially nonexistent
Ultimately your resume is "making the best with what you've got"
I listed whatever I could think of on my resume tbh
that's unfortunate
When I threw mine together I added everything and then just systematically pruned it untill all the BS was gone
I've only been modding for a few years, but I've been making games as a hobby since the stone age middle school
for a while I was also doing a lot of front-end web stuff
I didn't touch programming at all till a few months before I started my comp sci degree. Never even touched html or css
Ah yes, front end, the thing that almost made me decide to never touch code ever again
This september will be my fifth year in software development (I can read html)
incredible
js is ass but I actually really like html and css
Flip that around, and that's me, screw css
people complain about css being confusing and difficult to use but I'm fully convinced that's only because they think it's a language they don't need to learn, and then get frustrated working with a language they don't understand
I like css when I have access to component level css
My background is in art, and despite that HTML/CSS legit almost made me pursue a trade job instead
It was just so fucking uninteresting to me
awww
Did like 2/3 of the Odin Project course (great course btw) and I was just bored to death
I'm in a bit of a weird spot tbh. This place pays incredibly well but it's not remotely enjoyable so I kind of want to leave, but there's very few jobs I would remotely qualify that wouldn't come with a reduction in pay.
A bit of a first world problem for sure but still it bothers me
"Center this div (only one answer is correct)" 
"Center this div (may god have mercy on your souls)"
smh it's 2024
centering divs is so fuckign easy
centering a div was honestly whatever
even without grid and flex
we are no longer in the age of putting something in a table cell to attempt to center it
It really wasn't that difficult to me, just really boring
Are you sure
again I feel like people only think css is hard because they know how to write it and think that's the same thing as understanding it as a language
I am currently centering pictures in tables
you gotta know how layering and the box model work too
Low level stuff is a lot more interesting to me
Microsoft Word grumbles
what
and selector priority
People don't understand the box model and then complain about CSS being hard
oh no
that's totally fair
oh no
I know (almost) all of these, and still manage to fuck it up somehow
can we link videos in here? Or will I get smited
how layering and positioning interact is the other one that trips people up a lot
it's off-topic I'm sure it's fine
most of my colleagues never looked at css since the introduction of flexbox and they weren't very good at it to begin with. There's some nasty css being written
z-index: 99999;

Anyways I was reminded of this marvel of engineering: https://www.youtube.com/watch?v=yYaLQ3LazYM
Excel Unusual Roller Coaster Video.
Author: George Lungu
Blog: Excel Unusual https://excelunusual.com
Last edit to add a delay so that the roller coaster ride lasts about 70 seconds.
Download the original version from this link:
https://excelunusual.com/coaster/
Soon you will be able to download this improved version, with the authorization ...
Science has absolutely gone too far
I'm so happy I can use :has() now
dude people who do graphicsi n excel macros scare me
Immediately useful
Tell me a better way to prevent my captions from divorcing themselves from my images
I raise you one : https://www.youtube.com/watch?v=J2qU7t6Jmfw
God I wish I was using latex
I haven't used word beyond just putting text onto a document really ever
that looks fine. only thing I'd change is making the main div a main instead
I'm not even sure how much of it I wrote, I think I adapted most of it from mayor lewis's old site
so I can judge aero
the commands page is the worst one
yeah, he used scss, so I converted it back to css then just used that from now on lol
I used scss for a few months on one project but ended up essentially just writing css but with a slow compile step
we ended up just deleting scss from the project cause it was doing absolutely nothing of value
i didnt want to deal with some compilation step
its like me with typescript, when all i do is add buttons with event listeners
one of the web things I'm most proud of was an adaptive, accessible dropdown menu in pure css/html
I wanted to see if I could, because I am so sick of websites using JS for everything, and it turns out the answer is yes
I think the most advanced css work I've done was a dashboard of widgets where you could freely place, resize and add widgets to a dashboard.
Honestly the actual widget work was also some of the most complex code I've written
was fun
ooooo
That’s pretty cool
I kept eyeing the masonry layout proposal but it's been going nowhere
I’ve been motivated to do some cursed UI work after stumbling across r/badUIbattles
If you're looking for things to diagnose, everyone here can go figure out the latest governor bug i have no idea about lol
one thing I would really like for web apps and extensions is something to make the whole custom element system more usable
it's not bad- it's quite powerful, but it's just annoyingly obtus sometimes
What is it?
New members weren't getting given the Villager role anymore. It seems to have coincided with when they turned on the Onboarding server thing, but I have no idea why that would cause issues. They disabled it earlier this morning, and it looks like everything is working again
Look it has to be more fun than converting mils to mm and back again
can't you give people roles with the onboarding thing itself?
why fix the bug when you can just remove the feature completely
but it was weird that it started malfunctioning
yeah
maybe it was like, they were interacting before technically joining the server or something?
I have no idea how the onboarding thing works under the hood
My best guess is that there are some places where I tell functions to return early if theyre a User object and not a Member. The only reason its there is to shut the stupid linter up, as the library uses unions everywhere. If somehow they were still a User type it might not work. But at the same time if they didn't have a server corresponding to them, they shouldn't have gotten that far
anyone can help me please..?
With?
sorry..
This isn't the right channel for smapi support
All this lag makes me wonder what happens internally when a service goes down
im doing a programming project for uni and its not working correct and im going insane
i was thinking - im going to quickly finish this one function and then play 1.6 but the function isn't working correctly and 1.6 isn't out either 😭
when in doubt, println it out
Oh okay so this goes here? Hey I know we're all hype but if anyone has time I was inspired to make a video game recently after playing Stardew for the first time and I was wondering if I could get any advice or suggestions. It's basically an open world RPG based on Romance Fantasy Isekai tropes
its a function that generates a game tree where the child node is an array of the number form parent node divided by 2, 3, and 4. sounds complicated, but if parent node is 24, then child nodes would be 6, 8, and 12. If parent node is 30, child nodes would be 10, 15 (but not 7.5 bc it isnt an int)
what language?
python
my condolences /jk
🐍
its a turn based game, you decide which divisor you divide by and if resulting number is even, opponent loses one point, if resulting number is odd, you gain one point
is the game tree a required part of the project, or only the outcome?
currently it only increments/decrements only one person and i cant figure out why
required unfortunately
its an assignment for intro to artificial intelligence course
argh why is ai everywhere these days
even wore its group work, where groups were decided randomly. We are 6 people
alright well, what does your code look like right now, and where are you having trouble?
meaning its supposed to increment/decrement both people at the same time? Or only one member is having their score altered throughout
this is the result for numbe 6705
- read bulletin board
- not what this channel is for
Major updates bring out the illiterate in people
what's the logic behind those numbers? how do you determine what the "desired" result of the code is?
in even levels (2, 4) the active player is player 2, in odd player is player 1
let me google translate that part of the assignment
"If the division results in an even number, then 1 point is deducted from the opponent's points, if it is an odd number, then the player's own points are increased by 1 point."
aaaah interesting
heres a part of a graphic i made
red is player 1, green is player 2
this is the incorrect version it gives me
it looks like you're calling get_level before the node has a set parent, unless I'm wrong
the numbers on left are level of node using get_level()
because you're using recursion, the parent isn't set until after the function exits, so get_level will always be treated as top level
is that printed during generation or after generation?
after
just humor me and try putting in a print(root.get_level()) in GenerateTree
so there's a few ways to fix this. the easiest ways are
- pass the depth as a parameter to
GenerateTree - pass the parent node as a parameter to
GenerateTreeand have the child add itself - unwrap the recursion into a queue/stack (ie. make it a loop)
ok thanks for the tips!! i'm gonna try to implement them, i'm not that good at recursion so i had no idea where to even start
gotta love recursion
ok 1.6 is out i dont care about the assignment anymore /hj
recursion is horrible tbh
I've only used it truly for uni and leetcode
Specifically dfs questions tbh
Is there an alternative from VS for mac since it's not going to be updated anymore? Preferably that can support Unity (cries)
Unfortunately we're stuck with VS Code
I haven't poked it and have no idea how to use it
nuuuuuuu
Not free, but on Mac I use Rider
is it one-time payment or monthly?
It is a subscription based service, but I was able to score an educational discount because I had an edu email
oh...! I'll try and check if I can get educational discount too since I have edu email as well.
Thank you!!!
For students it is free
Also if you have three months of consistent commits to an open source repo you get rider for free
Does it have to be the same repo? 🤔
I don't think my college has applied(? not sure if it's the right word) with Jetbrains to get a free version unfortunately as it's not English-based uni or even in USA. I have windows so I can still use VS but majority of my Unity projects are done in mac which was why I was looking for alternatives
I honestly don't even believe the college I'm attending is willingly to try something useful for the students hence searching on my own and whatnots
either way, thank you all for helping out!!
I always had trouble with "student discounts" because my university email ended in .nl cause dutch
Same, but most of jetbrains stuff worked for me
omg this is perfect. thank you!!
I've applied every school I've ever been in to the Jetbrains Educational Program, they weren't added before I did it.
Follow the instructions in this repo and make a PR to get your institution added to the "free JB stuff list".
https://github.com/JetBrains/swot
Highly recommend all the JB stuff (but also I'm a total shill, I think it's the best money I spend for my work)
Will do!! thank you
Some places also hated/refused to accept .ac.uk!
It's also worth noting that JetBrains seem to be super generous with their free open source license. It does limit what you can do with it to OSS stuff, but that's mostly fine for me. Worth considering if you've got an open source project!
I've had a lot of trouble with .in as well!
Ends with a country TLD, can't possibly be an educational email!
everyone knows all education is done in the country of Edu
no other tlds could be correct
@thin estuary Well that's just dumb. Especially because with that limitation, things will have to stick to VS's more limited version anyway if they want most people to use it.
What the helll
yep, the task was .NET 6
https://github.com/Fayti1703/CS-AssemblyTasks/commit/44fc6d839bc99b7b4c645f614e3bdde94d3ab4f6
@safe dragon That’s why they have the swot repo I linked above, you can get added even without a .edu
i used visual studio since I had to for school which did work just fine with my student email
presumably jetbrains too, never tried
my student email hasn't been valid/accessible in years now so a little late
good news, the emergency bouncer fix we added yesterday actually seems to have worked
Was it an easy enough tweak?
ye, and one that I've thought about for a while but never really had a reason to do lol
Visual Studio Community you just need a GitHub account linked to it I think
It's basically free now for home use
I need some help with Python 
here's the prompt:
You have a unique ID number, which is a string of digits. Assume the variable id has been assigned a string that contains your ID number. Write a program that repeatedly reads a string as input. If the string that was entered is not equal to your ID number, the program should display the following string: "This is not your ID number."
If the string that was entered is equal to your ID number, the program should display the string: "This is your ID number:", followed by a space, followed by the ID number, and then terminate the loop.
NOTE: When reading the input, do not display a prompt for the user. Use the input() function with no prompt string. Here is an example:
number = input()
and what i've got so far:
ID_number = input() while ID_number != id: print("This is not your ID number.") ID_number = input() print("This is your ID number:", id)
problem is that according to the submission site, this has a run-time logic error. I...got no idea how to fix it x.x or where the problem is
"Your code contains a run-time error. That means that the code is correct from a language point of view but is doing something 'illegal' at run-time: accessing an invalid memory location, dividing by zero, or something like that. Checking array or other indices, pointers, and loops would be a good idea."
Use code blocks plz
Hard to tell but I don't see how you get out of that loop if you get into it
```python
number = input()
and what i've got so far:
id = "12345"
ID_number = input()
while ID_number != id:
print("This is not your ID number.")
ID_number = input()
print("This is your ID number:", id)
Like this!
...damn it, doesn't nest them properly.
Like this.
Personally i recommend an online python thingie
tried an AI python assistant...got nada
no idea what that means o-o
There is def a problem with your code yeah
the problem is i dont know how to fix it
(This feels like homework so I'm giving hints not answers)
If you go into the while loop how do you get out of it?
Let's just walk through what yours does
You store "12345" into id, good
check for user input, good
then while the user input isn't 12345, you print a warning
then while the user input isn't 12345, you print a warning
then while the user input isn't 12345, you print a warning
then while the user input isn't 12345, you print a warning
then while the user input isn't 12345, you print a warning
etc
technically the ID = 12345 isn't needed cus im supposed to assume that's already assigned
which is fine
Fortunately, that's not the relevant part!
but you enter that while loop where you wait for those two values to be equal
but they'll never change
Updating monogame project to .net8 is headache🤯, but I was successful. But atill I need target some parts to .net6 because monogame,s MGCB. So I have a hybrid a monster slime: .net8 for entire game project but .net6 for the content pipeline stuff 🫤
What solves that?
I got so used to python that I forgot how to do string interp @.@
I keep doing $ in my python
there was one time I did an @$ string but I eventually swapped it out for a stringbuilder because it was hideously unreadable
I keep doing this too
I do this in every language I try to use with mixed success
D:
For python users learning js, I present javascript f-strings! (Yes I wrote this in termux, on my phone)
this seems slightly cursed
why are there no parentheses around the parameter
surely this isn't valid syntax
tf is even going on here
the more I look at this the worse it gets
how are there two functions assigned to f
is that even what I'm reading
no, f is just that function which does the regex replace
oh wait
I missed that the second function was inside the parameters of the replace
why do you index into str
wouldn't you be calling the function on the first character in the string
is it a cursed pointer
apparently these are "template literals"
functionName`something ${interpolated expression}`
f here is a "tag function"
surely they could've used a more descriptive syntax for this that doesn't just look like a regular function declaration
Love googling examples of templates literals and one of the examples in the article is a blatant sql injection vulnerability
I'm sure with these "tag functions" you could retain this way of writing but have the tag function make it injection safe
but they did not do that here
thank you freeCodeCamp
someone did indeed create a sql injection safe tagged template literal
it hasn't been updated in two years but I'm sure it's fine
oh node-mssql has it too, that seems to be a more active thing
you're welcome
ah yes jsfuck
it's fun
Well atra, I don’t have much to add to the topic anyway rofl
My fun project of the day week month year
is to implement a parser so that I can support more advanced searching like AND OR NOT and parenthesis
The article mentioned that one of the approaches has the problem of catastrophic backtracking
That’s all I remember
I've never done anything like this before, so it'll be a fun challenge
I’ve found an interesting library for writing parsers recently
But I guess you want to write one from scratch
I'm open to a library. At least to get more familiar with it all.
Oh yeah that one did come up when I was researching
it does need some getting used to, but it gets the results very easily
back in the day in college we used ANTLR, wrote some grammar, then had to write some visitors to use it at all
Another one I found is this example using Parseq https://github.com/louthy/language-ext/wiki/Thinking-Functionally:-Combinators#combinator-libraries
Oh, I did a parser recently!
For that CP mod, right?
What are you using?
Lol, I'm interested in studying your code
My use case is pretty simple, so a full fledged library might be overkill
Everything is a function call
ContentParser does the parsing, ContentEngine process includes and whatnot, and PatchContentEngine turns it into Patches like CP
It's a mess
My syntax is - everything is a search term unless it's AND OR NOT, and I also need to deal with ( )
At least for now
Search term?
Yeah, trying to implement a search feature with the search term is user input
Ah
With mine you'd have to do "AND( cond1, cond2 )" for example
I didn't implement it in the proepr way to do a language either, I just sorta... threw it together
for example "this AND (that OR something else)"
There might be bugs, I did it in a weekend and have been tweaking it the past week or two
I'm trying to implement it in a way that's accessible to the lowest common denominator
Yeah for mine that would be AND( this; OR( that; something else ) )
That's fair, mine isn't really friendly if you haven't done a little coding before
My assumption is that everyone using this will use it wrong, so ideally it'd self-repair to an extent
Right
Mine just bails on syntax error
...oh, I don't have the example stuff pushed to github
// weapons.txt
// Mythicite Chakrams
Entry( Data/Weapons; &_MythiciteChakrams )
Include( templates/chakram.txt; {
Name: Mythicite Chakrams;
NameI18n: mythicite-chakrams;
SpriteIndex: 21;
MinDamage: 45;
MaxDamage: 65;
Defense: 1;
CritChance: 0.15;
} );
// ... more weapons ...
// chakram.txt
Include( weapon.txt;
{
WeaponType: 0; // Invalid in vanilla but chakrams override all relevant values
Knockback: ^( Knockback; 0.75 );
CustomFields:
{
spacechase0.MoonMisadventuresRedux_IsChakram: true;
}
} );
// weapon.txt
{
Name: ^( Name );
DisplayName: %( Concatenate( weapon.; ^( NameI18n ); .name ) );
Description: %( Concatenate( weapon.; ^( NameI18n ); .description ) );
Type: ^( WeaponType );
Texture: @( ../items.png );
SpriteIndex: ^( SpriteIndex );
MinDamage: ^( MinDamage );
MaxDamage: ^( MaxDamage );
Knockback: ^( Knockback; 1 );
Speed: ^( Speed; 0 );
Precision: ^( Precision; 0 );
Defense: ^( Defense; 0 );
AreaOfEffect: ^( AreaOfEffect; 0 );
CritChance: ^( CritChance; 0.02 );
CritMultiplier: ^( CritMultiplier; 3 );
CustomFields: ^( CustomFields; {} );
}
Quotes are really needed for using special characters (and you can also use \ for those )
Good call out, I wonder if I should add that to my syntax
quotes complicate everything
I'll avoid it for now, I don't trust the users
Are we meant to?
A lot of times issues are my fault, but sometimes they're not, and those are the most tedious to troubleshoot. You don't have the right info, and you have to try infinite combinations to rule everything out.
parser combinator libraries are actually quite nice to use
most my parser experience is unfortunately in Haskell
never used one of these in C#
I find parser combinators nicer than regex that's for sure. And it's generally a lot faster as a bonus
I'm more familiar with regex, so that would be within my comfort zone, but it seems parser combinators is the right way to do what I'm trying to accomplish
it's definitely better suited for any more complex syntax
Nom Nom nom
smh nom is a rust parser combinator library not C#
That said c# regex for dotnet 7 and later is amazing
the source generator ones?
sourcegen regex? that sounds incredible
I've used em a few times
s-expressions are the way. Write your program directly in your AST.
tbh I could probably hack together a good enough parser by just doing string split on space.
But doing it this way is mostly to learn how
parser combinators really shine when you want to be able to provide error messages on faulty inputs
since you can't always assume a user is going to provide a correct input
it's fun to try out
I use regex for more complicated parsing but for simple stuff I just kind of write a state machine
not like, some full blown thing, just a little switch statement in a loop
for uni I had to write like a basic C# parser using haskell that'd then be converted into some stack machine code
really basic, I don't think it even had any list/array support
still struggled though
Y'all. I try so hard, but I just can't sometimes...
Customer: Why was my request rejected?
(Email shows access request to X rejected - must follow these steps [link])Me: Where does the link go to?
Customer: It goes a generic "X Access Instructions" page. So how do I get access to X?
Me: Here is the link with instructions on how to request access to X. [same link]
Just one highlight from my day today
I manage a cloud data platform
Luv me IT job! (Unemployed)
surprisingly I'm barely even the IT person in my family
they mostly figure it out themselves
though my mom will still wait with doing anything new till I visit
very interesting what strings are in the switch exefs 
think I found the standard library function declarations
heh
re: github one of my brothers is using some nightmare version control software
I forget the name but it appears to require copy and paste instead of merge
That does sound frightening
The old popular ones were like cvs, svn, mercurial, and then there's of course a hacked together "version control" using something like Dropbox which I've seen happen on development teams in a billion dollar company.
ew
Their version control was appending a version number to files, and keeping every version of things.
I used SVN 13-14 years ago
Oh and Sharepoint, ugh that was the worst
Not sharepoint!
You'd think someone with the title of Sr Software Engineer would know how to navigate git, but that assumption would be incorrect
What the hell
I hate share point
I'm optical and mechanical support for an optics lab (so the whole thing is optics and mechanics) and a little while back we got an email to the support group from a supervisor as follows:
The system is broken
Thanks,
Name
I feel your pain
I had to use it to upload a bunch of large files
It has not even a progress bar
So I discovered it can’t upload large files after waiting for an hour
And deciding that was probably long enough that it should have worked
Anyway the problem was that the system (one of hundreds, and he did not initially specify which) wasn't plugged in 💖
Users are special and I feel your pain 
This wasn't recently, but one experience that really had me shaking my head was someone complaining that the data warehouse was slow and that we needed to fix it. I looked at his query, and he was producing a cartesian product between multiple tables without any where clause, and it would have produced trillions of rows.
It was something like
SELECT *
FROM table1, table2, table3
Typo I nearly missed: thicc gate oxide
We still have a ton of clients in our SVN repo. Anything we work on regularly, or especially in teams, we migrate to our git, but since the SVN is a monorepo its a non-trivial process to get each "repo" out of the monorepo and into git
So 1/3 the time for little things I'm still commiting to the "trunk" folder for SVN for a client
That reminds me I need to bug our lead to migrate some more lol
It was only maybe two years ago we even set up Git 
A question, if I may: VS sometimes just will not search for things. Like: “bed”. VS: there’s no bed anywhere in this entire solution! Literally I am looking at it on the screen. I even deleted bin and obj, but still, not change.
Double check the other settings in the Find window. Make sure it's set to Entire Solution, and that you don't have any of the case matching options on
Do Ctrl + Shift + F and go over all the options in there; the smaller Ctrl + F window isn't always very easy to tell what's on or off
You can also rebuild the solution, though that's not usually the issue. Note that I don't think it searches inside files marked with [Decompiled], so you'll need to use ILSpy to save the decompiled game to its own csproj to be able to open and search the game code
It’s my own code it refuses to search, sadly! (I have decomiled the code with IL spy, I do not know if it is the greatest decompile of all time, but it seems good, just…. Sometimes, some weirdness, but I forget what.) thanks for the advice! When I get off work tonight, I will hit it up!
crossjoin all the tables
I once, many years ago, had some query that was really slow that shouldn't have made any competent database break a sweat. The "DBA" that we sent this to came back with "well, if you change these left joins to inner joins and blah, blah... then it's plenty fast." Like. My dude. If the query is allowed to return the wrong answer then I can write one that returns the wrong answer really fast.
Def query(): return 42
don't even need a database
we actually have some pretty skilled dba people at work
which is good cause we have like several hundred stored procedures
I didn't like stored procedures very much when I got here but they've grown on me
I still would rather not use them due to how annoying they are for debugging but I honestly prefer it over entity framework
I've gone from being pro ORMs to preferring just being able to write sql directly
Still love Django's operator overloading bs though
In my days in college I hung out with some questionable people
We did things like send trains to each other's terminals and program in python
My questionable youth
sending... trains to each other's terminals
I am definitely missing some terminology here
programming in python tho 
then if you and your friends are all on the same server, you can just send one to THEIR terminal
it's incredible
I'm trying it out rn
beautiful train
I'll keep it around for when I accidentally misstype ls again
my first time playing with regex. probably loads of stuff that could be done better, but here it is! from here: #making-mods-general message
using System;
using System.Text.RegularExpressions;
using System.IO;
using System.Text;
namespace FixMyNumbers
{
internal class Program
{
static void Main(string[] args)
{
Regex regex = new Regex(@"([0-9])\w+"); // find numbers
Console.WriteLine("Give a path");
string path = Console.ReadLine() ?? "";
string result = "";
using (StreamReader sr = new StreamReader(path))
{
while (!sr.EndOfStream) // as long as not end of string
{
MatchCollection matches; // init matches
string line = sr.ReadLine() ?? ""; // read line
if (line == "")
{
result += "\n"; // add newline to result
continue;
}
matches = regex.Matches(line);
foreach (Match match in matches) // for every number (or at least, match)
{
if (Regex.Match(match.Value, @"([a-z-A-Z]{1})").Success) // if contains letters
continue; // skip
line = line.Replace(match.Value, Math.Floor(double.Parse(match.Value) / 3).ToString()); // replace value with value / 3
}
result += line + "\n"; // add line to result
}
sr.Close();
}
using (FileStream fs = new FileStream(path, FileMode.OpenOrCreate)) // new filestream at path
{
byte[] bytes = Encoding.UTF8.GetBytes(result); // get result bytes
fs.Write(bytes, 0, result.Length); // write result
}
}
}
}```
Console.WriteLine("Please input a valid path");
var path = Console.ReadLine();
if (string.IsNullOrEmpty(path))
{
Console.WriteLine("Not a valid path");
return;
}
var file = new FileInfo(path);
if (!file.Exists)
{
Console.WriteLine("That file does not exist");
return;
}
var regex = new Regex(@"\b\d+\b"); // \b is word boundary.
using var sr = new StreamReader(file.FullName);
# this is not perfectly correct, I should be splitting out the extension, but being lazy.
using var output = new StreamWriter(Path.Combine(file.Directory?.FullName ?? "", file.Name + "_processed"));
string? nextLine;
while ( (nextLine = sr.ReadLine()) is not null)
{
output.WriteLine(regex.Replace(nextLine, MatchEvaluator));
}
string MatchEvaluator(Match match)
{
return Math.Floor(double.Parse(match.Value) / 3).ToString();
}
yo good morning, my sve is bugged, i have doubled items in the game menu, and theyre canceling each other out. how do i fix? pls help ;-;
You'll probably have better luck asking in #archived-modded-support
k thx
JS yelling if a class is in the same file as a function... probably makes sense, but it makes me appreciate that C# doesn't
using System;
using System.IO;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using Newtonsoft.Json;
using System.Collections.Generic;
private SoundEffectInstance CreateSoundEffectInstance(string filePath, bool loop = false)
{
try
{
using FileStream stream = new FileStream(filePath, FileMode.Open);
SoundEffect soundEffect = SoundEffect.FromStream(stream);
SoundEffectInstance instance = soundEffect.CreateInstance();
instance.IsLooped = loop;
return instance;
}
catch (Exception ex) when (ex is FileNotFoundException || ex is IOException)
{
this.Monitor.Log($"Failed to load sound effect file: {ex.Message}\n{ex.StackTrace}", LogLevel.Error);
return null;
}
}
I installed monogame 3.8.1 but CS1061 occurs at instance.IsLooped = loop;
pls help me
Where did this code come from? And why is it in this channel? And what do you even mean by „installed MonoGame” in this context?
im making a mod to change the sound, but the Instance.IsLooped = loop didn't work so I asked AI and I installed monogame because it said me to install monogame
Please stop trying to get ChatGPT to write your C# mods for you, especially if you don't know how to write C#. It won't work without heavy editing, and it wastes everyone's time.
Large language models fundamentally are reguritating something from their input—which is roughly speaking, the written output of humanity up until 2021 or so, for ChatGPT. For specific, niche topics like "is this framework going to do what I want" or "which things does Game1.cs have access to", it probably has no idea! But it's good at detecting that people in the past have....said things about frameworks and written things in C#, so it does its best to assemble words and symbols into a nice order for you. Sometimes it tells you true things, and sometimes it tells you false things, and if you can't detect when, you're in trouble. When you're writing code, this usually produces garbage, because you can't be "sort of similar", you have to be exactly correct or it won't work.
Also if you’re doing Stardew mods, #making-mods-general is the correct channel
ok thanks
A lot of them try to, we wouldn’t have the command otherwise
Obviously it ends up being hilariously bad
yeah

Well hot damn. Zero merge conflicts going from my old 1.6 alpha branch to the old 1.5.6 master branch. Can't help but feel like something's silently gone terribly wrong for that to happen without issue.
Did they deviate?
If the alpha branch only had the new changes then it would fast forward and not have any conflicts at all
just no.
heya, I don't have .net 6.0, i wrote a mod using 5.0 and it works fine on stardew 1.6
could I have compatibility issues if I keep writing mods using 5.0 ?
not really sure I understand the differences, I don't usually code in C#
I'm surprsied that works.
ah 😅
I'm not... a lot of the existing mods kept working.
but usually you can't compile a new mod...oh I can't read
yeah, being able to build against the latest smapi might not work
i mean, it's a small mod anyway so I wasn't expecting it to fail, but I was wondering how backwards compatible 6.0 is
dotnet core versions are generally fine
it's game changes I'd be more worried about
ok, that's good to know
wdym by game changes ?
like, the engine ?
i noticed some functions have been updated but it didn't seem to break anything on my old stuff
a lot changed in the backend
@cinder karma
this is what i do in lieu of guards
and that ghastly thing above it, ech
but just doing [Exception].ThrowIf suits fine
reads clean, one liner
Same
mmmm many languages
what on earth is nsis
ah an installer creator for windows
nsis: miami
There are days when I wish I had just become a kindergarten teacher instead, I could be telling some kid why they shouldn't eat playground sand rn...
That seems on topic Max
Kindergartners seem scarier to me, but they are cuter than GUIs I suppose 🤔
its not it's smh ur lucky kindergartner teachers don't teach grammar smh
I'm going to use the English is not my first language excuse and leave it there
oh, i misunderstood the context
i thought you were roasting someone
you're just documenting?
I'd be the annoying guy on the PR
ye
i feel you. i sometimes long to return to nature
documentation sucks to do
it's wonderful to have, but nobody wants to be the one
it's like having to do your chores and then write a four page essay about it
i didn't mind the chores
Maybe I should have thought of this before going Hey! Let's make a framework mod
[my] bad analogy. i have grown to like having documentation enough to do it
but it still rankles
for a library documentation becomes even more important yet also way more annoying because you have to document stuff that would normally be obvious to people who actually work on the project instead of just being a library user
my boss makes us uml diagram
like boss boss?
ye
i don't hate uml diagramming, i just got soft and lazy in my years.
i got spoiled by admittedly bad bosses letting me just kinda do what i want.
most cases in the past where I've made a UML diagram it ended up being just incredibly obvious and no one ever looked at it again
thats how they all go
we did a gnarly one that paid off.
but it was using the diagram to architect that paid off
not that it helped someone later
im convince no one actually knows the different arrow types without looking them up
i know aggregate and composition and implements and that's basically it
lol
that covers most things
a proper UML diagram of our entire backoffice application would be an absolute nightmare and gigantic... and then be out of date within the time it took to make
same, our app is berserk with tech debt so it would be pretty pointless
we only do it on new stuff
honestly basic workflows tend to do more for people/design than UML. UML is like codifying exactly what you're going to do before you do it, which tends to argue with reality later, by nature.
because it's rare to get things perfect on try 1
hahaha
what even is perfect
perfect is code you don't write. when you say no to a client
that's as pure as code can ever be
saying no to a client is a novel concept
I'm out here writing fiction
Hello loves! I feel rather a demanding cur asking this here... But... I just got my first pull request!!!! For a translation file! And now...
What do I do with it? How do I integrate it?
Oooh! I clicked on it!
Sorry, I thought there was some fancy buttons or something somewhere!
if you go to the pull request there should be a big green button on the page
You know that feeling when you finally, finally, not depressed enough anymore to start/continue learning programming again so decide to make a mod for a game you adore? Then you realize you never worked with c# so better to update a mod and try to learn that way only to realize that you never worked with the sdv api before and trying to update a mod from the old mod helper (Tools description) to 1.6?
Yeah? Me neither
Right, gonna start where we should have. Youtube!
imho its better to start on small things that you want to do
updating an old mod means you need to learn the old way and the new way to do things
so you need to learn twice as much
you'd also need to learn to understand other people's code, which can be difficult even for experienced developers
Did want to update deluxe journal but considering what you both said, we’ll just do what shekurika suggested then
Yeah, I was going to chime in and suggest that updating an existing mod might be far more difficult than just making your own first one to start off with.
Curious. Do any of you know C++ and can you recommend where I should go to learn/find examples that I can implement into a game?
I used SFML for my c++ games. Though I don’t use c++ much these days outside of work
Yeah I am working on coding my own handheld game and I'm using a Raspberry Pico which reads C++
Nice
Programmable in C and MicroPython
I think you made the wise choice of language. 
Yeah I haven't heard of Micropython before now and I've come across C++ a few times so I figure it's probably better to learn that language in the long run then something obscure. Though I could be wrong
Okay, it looks like it at least has access to OpenGL? Maybe?
Micropython sounds like a cut down python
So if SDL isn't light enough for it... you're in for some raw OpenGL fun!
oh boy
I'm hoping that I can find code examples of the base of what I want to accomplish and build off of it because I honestly can't imagine trying to figure everything out from scratch
Oooo
As someone who has gone down that rabbit hole before, I would advise to not reinvent the wheel if you don't have to lol
Yeah, definitely only reinvent the wheel if the purpose of your journey is to invent a wheel by yourself.
it starts with making your own game, and ends up diving into how the raw framebuffers work to render a square from scratch
Yeah, I'm trying to make a little handheld game sort of like a tamagotchi. So I'm hoping I can find someone's code for the basics and build off that to achieve what I'm trying to do
I can't imagine that SDL would be too heavy, so I guess I would attempt to start there.
Yeah like the main features I'm looking to implement are
Mini games
Gold shop for accessories
achievement tracking across single pets and then multiple pets
and a timer
I think theres a version of pygame for pico
does your pico have a screen, or are you just connecting to HDMI?
I'm going to be using a screen. Right now the current screen is an SSD1306 but i want to upgrade to a larger and multicolored screen eventually (once I figure out how to do so...)
in that case yeah, you'll have to use their API probably
if SDL is too heavy idk what you'd even do man
after that it gets too low level for me
Yeah it has like 2mb to run off of I think
ah
At that point... GLUT and pray.
raw calls to the device's display api
I should maybe try learn some basic C++ someday
I found this person's blog post and they include their coding but I can't seem to figure out what language it is in
https://www.kevsrobots.com/blog/picotamachibi.html
Oh Micropython
did we crash their website
the website doesn't seem to be too keen on loading for me
Hahahaha
oh there it is
It's micropython. It was bolded in a header and I'm just blind apparently
something something pico-8 runs on raspberry pis
pico8 is true nerd programming
intentionally restricting yourself to very limited resources
freeing yourself from the burden of choice
some of the most fun I had making games was on gamemaker 7, which was very limited
it only had binary transparency and I remember fiddling with blend modes trying to figure out a way to use them to encode opacity and color into two opaque sprites stacked on top of each other
Game maker 7, that brings back some memories
I even remember using that!
I got into programming playing around with a bunch of different game makers. RPG Toolkit, Sphere, Verge, Ika, OHRRPGCE
I never actually made a complete game, just built tech demos that I shared with others
game maker 7 is what got me into programming!
hehe
I remember Basic, I used that in an intro to programming course in like... grade 6 or something
I didn't really "get into programming". I just didn't know what to do after high school and decided to study computer science
turned out I loved it
My social group in High School used to create games on our TI calculators and share them with each other
I didn't even program on my TI
I made a basic RPG, and I remember finding a way to encode the map pixels as lists that I'd decode into binary
for me it was like "oh shit I can make my own video games" and then drag-and-drop gradually taught me programming concepts and I eventualy went full-code
I've made a few small games since my degree had a few game development related classes as part of the curriculum
I've learnt I like learning about programming technologies more than I do actually commiting to some specific project though
the curse of never finishing projects lol
I like game development in theory but I have absolutely zero drive to make a game nor any idea what I would make
do you like building things outside of game dev or is game dev the thing you like the most?
most of what I do is more around server/web dev stuff
This is why modding suits me well, I've never been able to do a whole game from start to finish despite multiple attempts, but with modding I can make my small contribution and feel good about myself
I feel like the mod i've been working on is going to be the first personal project i've finished in so long
it's not too big of a commitment and nobody said I had to do it for work or class. it's just for me
I've never played with mods in sdv nor do I really know anything about it
this channel is the first time I've really looked in the game modding category lmao
I've been here for longer than the game has been out but despite that
I got into modding like 2 weeks ago because I was bored over spring break lol, maybe someday you'll get a random burst of inspiration
Modding (C#) definitely teaches you some real-world programming skills that you don't get from school
One of the most useful skills is learning how to work with a codebase that you didn't write yourself
I do more than enough C# programming in my dayjob to feel any need or desire to do even more of it in my free time
when the decompiler gives me some comments i celebrate so hard 😭
It's so much easier to solve a problem from scratch than when you have constraints like external dependencies which you have no control over
That's a life lesson that I've found super valuable in the industry
also I feel like modding has made me a more independent programmer? more ability to figure something out myself rather than asking someone else
can confirm. Adding or changing a program that's been developed on for ages by many different people is a completely different experience from building something from scratch yourself
Honestly, if I was hiring a software developer, and someone had mods on their GitHub account, I'd have a bias towards them
that's the thing I know a lot of people complain about in computer science education. people don't learn how to work with existing projects and go look stuff up themself
I think that’s how I got my current job
the closest we got in comp sci to that was being given a template to expand on for something
Not counting Sdv 1.6 of course
That can be a pro/con. The one thing that amateur and/or textbook developers lack is learning how to contribute towards a bigger group effort.
It's like how does a whole team contribute into one project without stepping on each other
that's part of why I've been trying to get more involved with collaborative mods
and to a lesser extent PRs
One of the most common issues I see at my work are people breaking the build pipeline due to merge conflicts
One thing I've learnt from an actual job in development is to ask questions earlier instead of spending sometimes hours trying to figure it out myself
it's so easy to forget to merge master in first 💀
like you forget other people have been working while you were working
I don't really need to ask questions anymore now though, people now come to me for the questions 
I meant less in the vein of "being too proud to ask for help" and more in the vein of "not going to stackoverflow every 5 seconds to copy-paste somebody else's algorithm"
I don't know when the last time was that I was on stackoverflow but at the earliest somewhere in 2023
Modding has taught me a lot about how to fuck up and then come back from that in terms of github
and it's suprisingly been really helpful at work recently
ChatGPT/Copilot have effectively replaced Stackoverflow for me
I've been on stackoverflow a couple of times for undocumented implementation details
I've merge conflicted on myself, I've deleted the entire repo, I've hopelessly snarled the commit histories—and I survived
As well as using google to search reddit - also replaced by AI
and now I can teach other people how not to do that!
I would really rather not use GPT for anything, I do not trust it
casey was very nice about my fuckups, too
I don't take GPT at face value, but find it helpful for me to gather my own thoughts
not in a "I think it's evil" way but in an "I don't trust this thing not to hallucinate" way
Yeah I don’t trust anything GPT writes. I don’t use it at all
tbh 90% of the programming I do at work isn't googleable. It's not complex in a programming sense, it's just highly complex business logic wise which you won't find on google(or chatgpt/copilot for that matter it writes the most ludicrous stuff)
Yeah, can’t google much at my job either
Like GPT might expose a library/method I'm not familiar with, and I'll use that answer to do more research myself
I don't use GPT but it's a mix of "too lazy to set up" "paranoid about it lying to me" and "stubborn insistence on doing things myself the hard way"
I relate it to the same stigma around using wikipedia to gather your basic facts, but then referring to additional resources for the full details
For things I am an expert in, I should be reading the literature anyways
what about when it makes up sources
copilot is a blessing when you're dealing with a programming language you aren't yet very experienced in.
It also helps a bit in my experience for languages that have a very bad LSP experience themselves (usually due to dynamic typing) cause copilot tends to have a pretty good idea what to do anyway while the regular LSP has no fuckin idea what's going on cause it doesn't know what type anything is
Like, the idea that wikipedia is objectively a bad source is outdated, and I think AI is being treated in a similar vein
For things I'm not an expert in, I prefer to read the docs and several sources
There's a lot of shitty wikipedia articles
I do use Wikipedia but sometimes I just sort of laugh at how bad the article is
I appreciate how it has a lot of open-license images
that's not an unreasonable comparison, though I feel that there's a slight difference, in that even if a wikipedia article is full of misinformation, it still has citations, whereas GPT is a black box with unclear references
Also, AI being able to read and explain manuals/documentation is a godsend
Like read all this stuff and point me to the relevant bits
To me it's just a time saver, not an end all be all
I prefer to just read the documentation myself
GPT is the equivalent of dunking a hook into a river. It'll give you stuff to look up, and sometimes that stuff will be an actual real thing that might help!
yeah, I definitely understand why people use ChatGPT and as long as they're careful about how they use it it doesn't bother me
something GPT could be useful for is highlighting important information. like changing the color on it or something so it's easier to pick out of the rest of the text
but I don't personally want it
In part because I read freakishly fast, so that advantage isn't as compelling for me
lol mood
I know quite a few younger folks currently in a comp sci major who are so reliant on chatgpt that I don't think they've ever done an assignment without using it to write the majority of the code