#programmers-off-topic

1 messages · Page 56 of 1

marble jewel
#

Mattermost is also an option. Matrix appealed to me because it's a federated service, so there is cross-talk between instances.

#

I even played around with hosting Mastodon, but that was a bit annoying

rotund violet
#

When it comes to software, I try to stick to tools that do one thing and do it well, so that I can understand the complexity of the whole system.

#

You run a whole rackmount setup, whereas I am grug, I run this all off a single NAS.

pliant snow
#

I've tried out quite a few self hosted projects

rotund violet
#

(Though I might, at some point, build a dedicated server, because I don't like the hosting device also being the backup device)

pliant snow
#

Some are easy to set up, some are not

#

Matrix falls into "not"

cyan shadow
#

I feel like I'm doing something wrong here with the linux (Bazzite) installation

pliant snow
#

😔 haha yeah who would host several discord bots

cyan shadow
#

By which I mean, I did what DH suggested and put a normal SSD in a usb c case thingy

rain apex
#

Did u mount it

cyan shadow
#

The laptop detects the ssd, but idk what's happening

pliant snow
#

Did the BIOS see it?

cyan shadow
#

It did, yeah

rain apex
#

lsblk

rotund violet
#

It's not the discord bot that's of any concern to me, it's Discord itself. Nothing wrong with self-hosting Discord bots to run on some public Discord server that you're involved with, I just don't want my private notifications being published to Discord's servers, or depending on their infrastructure for my own home infra.

rain apex
#

Or was it lsdsk i forgor, one of these

marble jewel
pliant snow
#

lsblk will show available block devices, yeah

rain apex
#

Most distros have automount tho

cyan shadow
#

That's what I'm finding odd

pliant snow
#

for the installer, it should automount and be ready to go

rain apex
#

For removable drives

pliant snow
#

Was the drive already formatted?

cyan shadow
#

We just installed bazzite onto a - no, i didn't format it yet

pliant snow
#

It still should see it

cyan shadow
#

Just took it out of the box and stuck it in there

cyan shadow
pliant snow
#

Let me look at the bazzite installer UI

rotund violet
pliant snow
#

oh right, it's like Fedora

#

You're in that "System -> Install disc" or whatever menu I assume

#

Is this just a secondary drive for games, or do you want to boot off of it?

cyan shadow
#

That's as far as I got

cyan shadow
#

I still have windows on this thing

#

Wanted to keep it intact while I tested Bazzite on the external disc

pliant snow
#

Are you running this in a VM?

#

Why does the drive say it's a QEMU drive

rotund violet
#

I hope it's a VM, otherwise that's a really tiny hard drive.

marble jewel
#

What hardware are you installing Bazzite on? I've been thinking about putting it on my Rog Ally

rotund violet
#

And yeah, since it is a VM, the installer is only going to see the virtual disks, not the real disks.

marble jewel
#

I currently have Atlas on it which is just a modded Windows 11

cyan shadow
pliant snow
#

Ahhh

cyan shadow
#

I'm putting the desktop edition with KDE on it, no steam gaming mode

pliant snow
#

Does "Add a Disk" prompt anything useful

cyan shadow
#

Nothing pops up in those menus

pliant snow
#

let me run bazzite in a VM of my own to see how this works

cyan shadow
#

Alright

pliant snow
#

How many people does it take to screw in Linux

#

I'm used to arch downloads, this is a hefty lad

#

alright, starting up, lets see here

#

Yeah, I would expect it to be under "Local Standard Disks"

cyan shadow
#

I thought so too, but it won't show up

#

Do I need to format it first?

pliant snow
#

I wouldnt think so

cyan shadow
#

Hm

#

I really don't understand it

pliant snow
#

You could try rebooting and instead go to the "Test it out" option, we might be able to diagnose it better there

#

actually Test it out looks like it took me to the same place

cyan shadow
#

I'll boot into the BIOS again hang on

#

Well, there's the dingus

#

It recognises two drives in the bios

pliant snow
#

two drives or two partitions

#

one of those is your USB stick too

#

I think it just sees the one

cyan shadow
#

Ah motherfucker, I forgot about the USB stick

#

Okay

#

Lemme format the ssd with windows and report back

#

If I can, that is

#

What does Linux prefer

#

NTFS or something else

cinder karma
#

Ext4

pliant snow
#

Linux has support for NTFS, but I wouldn't trust it. Ext4 is the ole reliable

safe dragon
#

ntfs is what windows understands

cinder karma
#

Yup

#

I've done stupid shit before like having my home on a different partition

#

And mounting that on both windows and Linux and that was a bad idea

fleet wren
#

the hipster's answer is btrfs or zfs

pliant snow
#

I love zfs but I wouldnt put it as my boot partition

safe dragon
#

there's much more hipster than btrfs

cyan shadow
#

I should take the laptop to a repair shop and check if my laptop has a second SSD slot - Selph don't confuse me I beg😭😭

marble jewel
#

I just like pronouncing "butter fs" out loud

pliant snow
#

reiserfs - the author only killed someone that one time™️

#

What model is it? We probably could google it

cyan shadow
safe dragon
#

it happens...

cyan shadow
cyan shadow
#

Oh hey, it recognizes something is plugged in here I think?

cinder karma
#

Have you tried swapping the order of these two

cyan shadow
cyan shadow
#

Windows doesn't recognise the ssd dingus either so I'm gonna check if the ssd is properly installed in the casing

#

... Could it have been upside down?

#

I'd installed it in the thing facing this way

cinder karma
#

You can't install it upside down

#

Like, it isn't symmetric it won't let you

pliant snow
#

Yeah, it would've been very crunchy to install it wrong

cyan shadow
#

Yeah I looked further and confirmed that it's fine

#

But yeah

#

Opened up disk management on windows

#

What on earth am I looking at

#

You know, I usually know my way around a computer just fine, but this is stressing me the fuck out lol

pliant snow
#

the windows disk management tool is forsaken by God

cyan shadow
#

What do I select in that horrid initialise disk box

#

Do I just leave it as is and click ok?

pliant snow
#

It terrifies me, I shall refer you to someone else lol

cyan shadow
cinder karma
#

Tbh I usually do disk management from the boot drive

cyan shadow
#

Atra help me

#

please

cinder karma
#

At BEST I shrink it from windows

#

Then use gparted

cyan shadow
#
#

This is what it shows up as in my device manager and in the bios

#

this is not being recognised as a valid storage device

#

yep, trying to initialise the disk will not work

pliant snow
#

thats odd

cyan shadow
safe dragon
#

jmicron isn’t a hard drive company is it

#

micron is

#

well, they make flash memory

#

oh jmicron creates sata bridge controllers

cyan shadow
rain apex
#

This business seems harder than installing arch

safe dragon
#

considering how straight forward archinstall is that is genuinely true

#

also sorry I have no idea what’s happening with your drive

cinder karma
rotund violet
#

Given that both Windows and Linux are having serious trouble with it, my guess would be either that the disk is coastered, or has corrupt firmware. Or, it could be an issue with the I/O controller, can test that by trying it in a different port.

frosty echo
#

It's an external enclosure

rotund violet
#

And?

cyan shadow
cyan shadow
# rotund violet And?

And the controller is recognised in the device manager, the disk is being identified as the controller instead of as an SSD, and this seems to be a common problem

#

I'm normally capable of troubleshooting on my own but hardware bullshit is beyond my understanding

#

I'm probably gonna take the ssd to a shop and see if they can install it in the laptop directly or at least test it, and if that doesn't work I'm going to go straight to coolblue and get my money back

safe dragon
#

coolblue has its own repair as well I think

#

might help your warranty

cyan shadow
#

The lady at CoolBlue said if it doesn't work I should just return it lol

safe dragon
#

😌

rotund violet
#

NVMe enclosure sounds like a sketchy concept to me, tbh. It would have to recognize the controller and the disk, because the enclosure has to have its own controller, because it's PCIe and therefore can't use the internal controller (there's no such thing as PCIe over USB, to my knowledge). So USB is giving an interface to a new I/O controller which subsequently gives access to the disk.

#

If it recognizes the controller but not the disk, then that seems to confirm the "disk" is bad, or not compatible with the controller.

cyan shadow
#

I'll go test it tomorrow or on Monday

#

Probably on monday, because then I'll take my dutch-speaking friend with me to the shop

ivory shadow
#

I should probably place my Framework order now, even though I haven't hit my threshold of Nexus money. 🤔

marble jewel
#

You haven't gotten that Better Game Menu payout yet

ivory shadow
#

Did get 135k points today tho

safe dragon
#

that sounds like a lot

marble jewel
#

My rewards are down, but that's mostly because I took down my most popular mod

#

My peak was 306K one month, but that was a total anomaly. I can't imagine what the more ubiquitous frameworks are getting regularly.

safe dragon
#

that sounds like such an insane amount

#

is it explainable to someone who has never used nexus in his life

ivory shadow
#

136k = $136

safe dragon
#

how do you get these points

marble jewel
#

It's based on your share of unique downloads per month, I believe

#

Compared to the overall ecosystem

strange copper
#

they technically hide the algorithm but I think unique downloads are a big part

safe dragon
#

right

marble jewel
#

Aedenthorn was a prominent modder who had hundreds of mods across dozens of games on NexusMods, I would bet they were getting millions of DP per month

safe dragon
#

306K unique downloads of a mod in a single month would be pretty nuts

strange copper
#

as another data point, if i get a thousand or so unique downloads in a month it was a really good month for me lol

safe dragon
#

funny how I have no idea who they are, presumably just cause they don’t go into off topic

cyan shadow
marble jewel
#

wait really, I thought they abandoned modding as a whole

#

Didn't realize they only abandoned SDV

#

They shut down their entire Discord server which supported their mods across all games

cyan shadow
#

Think they still make stuff for other games, yeah

marble jewel
#

So yeah, they're probably getting a large share of DP

safe dragon
#

their profile says 11.1M unique downloads but idk if that’s for this month or total

marble jewel
#

I tend to cash out every 1M DP or so, however long that takes, and then buy things off of my wishlist

ivory shadow
#

I look at how many mods aedenthorn wrote and just get exhausted

#

But I guess if you're not doing long term support it's w/e

safe dragon
#

how does one have that many ideas for a mod

marble jewel
#

There is no shortage of ideas, but I wouldn't be able to churn out as many mods as I have ideas for simply because of time, and tbh passion

safe dragon
#

perhaps someday I will make a mod for a game

marble jewel
#

There's hundreds of mods I could make, doesn't mean anyone else would be interested in them

#

Or even me for that matter. Most of the time it's just brainstorming.

strange copper
#

I think i'm more limited by time than anything else although now I feel that this is suspiciously on-topic

marble jewel
#

This channel should become programmers-off-topic since it's programmers who discuss whatever

cyan shadow
#

I think the ssd issues kind of counted

safe dragon
#

I’m being censored

pliant snow
#

good

safe dragon
#

tbh for mods I’d much more see myself pick some funky technical problem/engine work to solve than actually creating anything

#

I enjoy solving a technical problem a lot more than I do actually creating something

#

though frankly doing engine work as a mod sounds like it’d be fairly rough

#

and break every update

#

I guess at work I do build “add-ons” for a program, that’s kinda close to a mod

marble jewel
#

I'm similar, and that's why I do more in the realm of framework authoring rather than making mods which do things on their own

#

I try to get more creative every now and again, but those rarely ever do well

safe dragon
#

I have the refined art skills of a chimpanzee given buckets of paint and a canvas so any mod of that nature would be out of the question

#

really though I also almost never use mods

#

other than performance and render distance mods in minecraft

#

oh and performance mods in starbound cause for some reason that game just did not run on my machine despite being, in theory, significantly more powerful than necessary

marble jewel
#

I mod games that have a good modding scene, but try to keep things to QOL or aesthetics

safe dragon
#

fair

marble jewel
#

My minecraft loadout is pretty large, but it's all mostly aesthetics/performance

safe dragon
#

oh dear

marble jewel
#

A few things that help when I'm building farms like carpet, tweakeroo, minihud, litematica

#

xaero is probably the only cheaty thing I have

safe dragon
#

just the carpet mod by itself gives a pretty good indication of the kind of player you are

#

I have no idea what most of these are

#

it’s a miracle to me that the game continues to work with stuff like this

#

how do these mods not end up breaking each other

ivory shadow
#

I still really want to do a playthrough with the new create mod. The factory automation stuff looks super neat.

safe dragon
#

the create mod does look cool yeah

marble jewel
#

Fabric is pretty wonderful, and most of my aesthestic mods add particle effects that don't collide with each other

safe dragon
#

I’ve tried some minecraft mod packs a few times but I always reach some point very quickly where I can get pretty much anything I want by snapping my fingers and have no motivation to continue playing

marble jewel
#

I do plan to scale some of these back whenever the new Vibrant Visuals comes out for java since I think the vanilla game has most of what I use mods for anyway

#

With leaf litter, fireflies, and falling leaves, I don't feel like I'd use most of these anymore

ivory shadow
#

Yeah, that's my big issue with Minecraft. You quickly reach a point where you have effectively infinite resources and okay now what

safe dragon
#

I enjoy building but somehow in a modpack it completely kills my interest in doing anything except a cube with stuff

#

the direwolf20 style base

ivory shadow
#

That's why I want to play with basically just create and not other tech mods

#

Create machines all take up space do you need to make space to put them

supple ether
#

Create is so good

ivory shadow
#

Not just a single powered block that does a million things

supple ether
#

It's like redstone but better

safe dragon
supple ether
#

I have a 600 mod gigapack that I made for minecraft but the most recent one I played was all the mods 10

ivory shadow
#

Tech mods really miss the point, generally.

supple ether
#

The problem with the gigapack is that sometimes it hangs while processing datapacks during world load and I can't figure out why

safe dragon
#

there’s a bunch of mod packs with a “book” guiding you through some progression paths but to me they’ve felt more like busywork than fun

supple ether
#

I like quest books when it's less "here's what you have to do" and more "here are some challenges/goals you can do if you want", or instructional quests that guide you through mods

safe dragon
#

I remember really liking some bees/apiary mod thing many years ago and I’d just spend hours trying to breed new bees while having no idea what I was doing

#

that was fun

supple ether
safe dragon
#

ah right that’s what it was called

#

I have no idea if I would like it now but I did back then

supple ether
#

Mods have changed a lot since then. Mostly for the better, I think, but there's some stuff I miss

#

Mostly thaumcraft and astral sorcery

#

Spectrum seems promising though

safe dragon
#

easily my least favorite mods are the ones that are just like “this block is a [thing]amalyzer and if you put in [vaguely chemistry words] you get [other chemistry words] which you can then use to make… and then that continues for 700 steps till you built a nuclear reactor or something

pliant snow
#

mekanism.png

supple ether
#

Mekanism is fine, that sounds like the evil of gregtech

#

Greg my beloathed

cinder karma
#

I hear this Minecraft had an April Fools update

#

How do you do, fellow kids

supple ether
#

Gregtech is made for people who hate themselves I think

safe dragon
#

give me a nice looking watermill not a super uber thingamalyzer running on petanewtons

pliant snow
#

netherlands.png

cinder karma
#

A what

safe dragon
#

a super uber thingamalyzer

#

a doohickey

pliant snow
#

a whatsit

supple ether
#

An antiprotonic nucleosynthesizer <- real mekanism machine

safe dragon
#

that does sound vaguely science

#

.define antiprotonic

heavy daggerBOT
#

Definition not found. Did you mean antiproton?

safe dragon
#

shame

#

I do know what antiprotons are technically I suppose

supple ether
#

It uses liquid antimatter to mutate items

safe dragon
#

can antimatter be a liquid

lethal walrus
#

yes

cinder karma
#

Yws

supple ether
#

In theory yes

safe dragon
#

that’s fun

lethal walrus
#

it originally comes from a liquid in most tech packs iirc

cinder karma
#

But why are we using antimatter to make nucleotides

supple ether
#

It's magic science, I don't gotta explain shit

safe dragon
cinder karma
#

People love their random liquid....never mind

#

I trust twin to not be nutty

#

...pineapple?

#

Okay, I'm assuming you mean pineapple juice

#

I'm very innocent you know

safe dragon
#

ah finally the AI has taken our role of generating the hypothesis so we can skip the tedious step of having to figure out figure out something we actually want to know

#

“but how many golf balls would fit into a plane”

#

hypothesis: the volume of the balls should be less than that of the plane

cyan shadow
#

this is gonna result in pubmed being filled with AI slop, isn't it

safe dragon
#

naturally

#

AI does have legitimate uses within research though

#

protein folding being the easy most publicized example

#

but this…

ivory shadow
#

"Hypothesis: the word strawberry has two Rs." - AI, probably

safe dragon
#

generating research proposals?

pliant snow
cyan shadow
safe dragon
#

yeah

marble jewel
cyan shadow
#

Matt your keyboard scares me

marble jewel
#

I just realized that I use my ring finger to reach for the letter Z, but this keyboard seems to work better if I used my pinky instead

#

I'm finally getting used to middle finger C

#

Learning how to type again is weird

safe dragon
#

the bracket placements are of course the best part

#

no bias

marble jewel
#

Definitely stole that one from you

#

I tried combo keys for brackets from someone's elses layout, but I wasn't feeling it so switched back

#

I've also gone back and forth between 4-5-6 or 1-2-3 being on the home row for the 10-key layer

rotund violet
cinder karma
#

Tbh I tend to trust TwiN

rain apex
#

is there a way to mass download linked images in a discord thread LilyDerp

supple ether
#

Is this for sneeb purposes

cursive sigil
#

Must be

supple ether
#

In any case, the simplest solution is probably to write a javascript script to find images and pack them into a downloadable zip, then scroll through the message history to load them all

cursive sigil
#

Loading them all would take a while

supple ether
#

I think the only other way to do it would be to write a bot and get it invited to the server it's in

#

You might also make the script just write a list of links and then use curl to mass-download them

rain apex
#

both of these sound very scary

cyan shadow
rain apex
#

i suppose the js script wouldnt be that bad if it is just some kinda tampermonkey thing on web discord?

#

and yes it absolutely is for sneeb purposes

cinder karma
#

Yessss sneebbbbb

rotund violet
# cyan shadow Eeeeeh, there's useful stuff in there sometimes

There is, and it'll probably be the same with the AI-assisted stuff - some useful, a lot useless. Actually, there's some evidence that AI-assisted "peer review" and meta-analyses can pick up things that human reviewers tend to miss, because less biased and less primed for nonsense like p-values.

#

Which isn't to say that AI is capable of actually doing the research, and I'm not so sure about AI generating hypotheses or proofs either, but there seem to be legit uses for it.

cinder karma
#

Sadly, the AI did not successfully write me some tcl

#

I'm generally more fine with ai that is reviewed by a human

#

I legitimately find it faster to tell it to write bash for me, mostly because I suck at bash syntax

#

Also because the things I want in bash are usually very simple little scripts (ie, process the output of svn status, or iterate this directory and delete files matching this regex and also svn rm them, etc)

#

Tl;dr I often find myself writing bash scripts to make svn suck less lol

worn remnant
#

at least when you ask the thing to generate some code or a script, your compiler or shell or whatever is right there and you can see for yourself right away whether the output it gave you is full of shit. depending on what it is, you don't even need the specialized knowledge; you can just look at it with your ape eyes

cinder karma
#

Yeah. And it takes some coaching tbh

#

Like, in a "okay, but did you make sure to take into account that directories sometimes have spaces in them"

rotund violet
#

I still personally don't find myself more productive with it, but if someone who is themselves an expert on the subject matter is using GenAI as a productivity enhancer, then that's fine, can't really complain.

#

It's only when they add no value to the equation themselves, and think that "AI" is going to do all the work, that it becomes a serious problem.

supple ether
#

I haven't ever really used it before, but I think if I did, it would only be for extremely straightforward boilerplate.
Though even then, there's usually ways to abstract the boilerplate anyhow

cinder karma
#

Tbh it mostly is only good for bash. I tried to get it to do some tcl for me but since it didn't understand the ecosystem nothing it gave me was right

devout vault
#

I missed the modded minecraft talk, how tragic. 😔

#

I've been thinknig about playing again but playing by myself doesn't tend to last as long these days

#

My favorite modpack was probably Agrarian Skies 1, it did feel like it fell into that "quests that instruct or challenge you" rather than "quests that are a checklist" sort of thing like mentioned earlier.

Learned a lot about various mods I hadn't heard of or at least used before, like Blood Magic or Gendustry (the latter was basically ways to get better Forestry bees without being quite as subject to the whims of RNG - poor bees, I melted so many into DNA).

I think I had gotten near the end of it, if not outright completed it (besides maybe some more extreme 'extra' quests).

Tried Agrarian Skies 2 at one point, didn't get as far in it, didn't feel quite the same if I remember right. Could've just been me though.

I tried going back to AS1 at one point within the past couple years, but lacking some of QoL vanilla features was making me suffer (like no sprint button, just double tap forward sprinting).

#

I don't seem to be as good with generic kitchen sink packs (ie. ones without good quests). I also just really like skyblock as a concept (perhaps for the same reason I like floating islands as a setting in general).

rotund violet
marble jewel
supple ether
ivory shadow
#

Skyblock has been one of my favorite things, if only because it's so laser focused on automation.

#

It definitely cuts away the aesthetic/creative side of things, to a large extent.

supple ether
#

I used to like it, but a lot of the cool skyblock mods have vanished in newer versions

supple ether
ivory shadow
#

I suppose that depends on individual creativity. I work best with a canvas of some kind. So, in this case, an existing landscape.

#

If I'm left to build in skyblock everything turns out very geometric.

marble jewel
#

Same here. I like the progression of it all. Plus you can totally min-max the farms by controlling all the spawning mechanics.

#

This kind of makes me want to do another SkyFactory play-through.

cursive sigil
#

I also only do skyblocks i get too distracted or overwhelmed otherwise and i never finish the pack

#

And i need some sort of guidance too so love quest books

ivory shadow
#

Right? No need to build a perimeter the entire world is a perimeter.

#

Just go down to the world floor and create insanely efficient farms with no effort.

cursive sigil
#

Indeed, and i'm also not great at making things pretty and i've found it doesn't bother me that much if there's no view/landscape to ruinSMCKekLmaoDog

ivory shadow
#

It's also fun to combine advanced knowledge of vanilla mechanics with modded bullshit

#

Like those one block mob grinders that just kill everything in front of them instantly, basically?

#

Combine those with a spawning platform at the world floor in a perimeter and you have something not much less efficient than a sliced portal farm, but without the annoying update suppression work.

#

And perimeters are... pretty easy to make with the right mods.

#

Then again I think I saw a mod that was literally just update suppression in a single block

#

(And I bet carpet has that as a feature, lol)

dusty pollen
#

...what were they doing then

safe dragon
#

I have no clue

dusty pollen
safe dragon
#

In November 2023, Reiser wrote a letter to Fredrick Brennan from prison, who forwarded it with Reiser's permission to the Linux kernel mailing list (LKML), in which Reiser recounts his regrets regarding how he interacted with the Linux community.

dusty pollen
safe dragon
#

hope he had other regrets too

#

... wtf

#

quite the story to how you met your wife.

In 1998, while working in Saint Petersburg, Russia, Reiser arranged to meet a Russian woman he selected from a mail-order bride catalog.[17] To communicate with the woman, Reiser hired an interpreter, Nina Sharanova. Five months later, he married Nina.

dusty pollen
dusty pollen
dusty pollen
dusty pollen
terse galleon
#

i have a question about github! i started using it to keep track of my mod files and to allow me to sync between my computer and my laptop. i made a new branch for updates im currently working on, and i’ve committed a few changes to it. do i have to publish the branch to be able to see the changes on my laptop?

#

basically i broadly want to know what commit vs publish does. i did their tutorial repo but i’d love to know more details

lethal walrus
#

you'd have to publish the branch to github to be able to download it yes

#

currently it only exists on your computer I imagine

terse galleon
#

i see

rain apex
#

so when you use git with a remote there's 2 copies of your repostory

lethal walrus
#

commiting is adding the changes locally, pushing makes them available remotely

rain apex
#

one is with nic-pc, one is with github (or whatever)

terse galleon
#

so the files are always stored locally, and github just accessed them? or does a copy exist online somewhere

lethal walrus
#

github has a copy

rain apex
#

you do git push to upload changes from nic-pc to github

lethal walrus
#

when you push, you update github's copy

safe dragon
#

commit just takes your current changes and makes it part of a "commit". A push then sends your commits to the remote repository(in this case github)

terse galleon
#

i see i see

#

publishing is the same as pushing right?

rain apex
#

i never seen this term used but i hope so?

safe dragon
#

idk publishing either

terse galleon
#

i use github desktop and it says i can commit and then publish

#

…i think, now i’m doubting myself lol

safe dragon
#

I guess with publish they mean having the branch exist in the remote at all

lethal walrus
#

publishing is uniquely used when you have a local branch in github desktop

#

in all other contexts they use push

safe dragon
#

github using its own terminology hc_pensive

terse galleon
#

further question: can i publish the same branch multiple times? i’d like to push my changes every night but not if it’ll create 738277383 branches

lethal walrus
#

you can just push your changes to the same branch

terse galleon
#

oh excellent

lethal walrus
#

and then press thepush button when committed

safe dragon
#

when you work by yourself you often don't need to use branches very much...

rain apex
#

commit and push directly to main everytime

terse galleon
#

ohhhh i thought branches were used for like. updated versions

#

1.0.1 or whatever

rain apex
#

so for single contributor repos its just up to your own organization desires

#

some people branch to do feature and then merge back to main or stable when done

terse galleon
#

so instead of a new branch 1.0.1 i can publish to main, and make the change summary titled 1.0.1?

terse galleon
rain apex
#

you can do multiple commits for 1 version if you want

#

lots of ways to do things

terse galleon
safe dragon
#

versions as branches are more to keep an old version around (for a variety of reason). Like if you decide something is a version release you can make a new branch with that name which you'd then leave unchanged beyond maybe some fixes

terse galleon
#

makes sense!

#

and a valid reason to keep an old version around does NOT include as a backup, right? since you can go through the version history of the main branch and restore any of those?

#

sorry for typos my phone hates me

rain apex
#

sometimes i make a second clone on my local just so i can look a old version easier

#

but see bc it is git i can simply do that anytime, rather than keep version around for this purpose

safe dragon
#

beyond the basics people generally have different strategies on how they(or their team) likes to organize it

terse galleon
#

yeah that makes sense

#

i’ll play around then and see what works for me now that i actually know where the files are and what committing/pushing does

#

thank you all!

safe dragon
#

by yourself at the start you're honestly fine just pushing to main and maybe making branches if you're working on changes you're not sure about yet

terse galleon
#

that’s my secret, i’m never sure about changes i’m making B)

safe dragon
#

you can also revert or reset in your history worst comes to worst...

terse galleon
#

can i revert changes made to a specific file(s) or would it be rolling back the entire thing?

safe dragon
#

you'd generally be reverting a commit

faint sorrel
terse galleon
#

yep github! specifically i downloaded github desktop

#

but i know it’s on the web too

faint sorrel
lethal walrus
#

the desktop app can't undo a specific file's changes

terse galleon
#

gotcha! but if i go into the repo online, i can download a specific file’s past version?

rain apex
#

does this not let you select a past commit yggy

#

thats cursed

faint sorrel
rain apex
#

vscode has this graph thing

#

(its a linked list bc again i push to main everytime)

terse galleon
#

“full list of all github commits here”— did you create that or was it generated?

rain apex
#

u can right click and open in github from this

faint sorrel
terse galleon
#

i’ve been using notepad++ but i could probably switch to vscode

rain apex
#

np++ may have plugins for this type of thing, im not familiar tho

terse galleon
#

so far all i’ve done with it is tell GH desktop that NPP is my preferred text editor lol

faint sorrel
#

I have a - not 100% related to GitHub but connected with it - question - could anyone tell me how to properly format "nightly" mod versions using Semantic Versioning 2.0.0 (https://semver.org/), please?
Would, for example, 1.0.0+05042025 be correct? And if so, even though these would be private versions, would SMAPI recognize this version format?

rotund violet
#

Would strongly advise against using GitHub desktop, it's just going to teach you all the wrong things about distributed source control. You can use the GitHub CLI to deal with specific things like pull requests, when you've reached the point of needing that level of control.

rain apex
#

smapi does -version

#

so for example i may make several 1.5.0-beta.x versions

#

and once i release 1.5.0 smapi considers that to be higher

terse galleon
faint sorrel
#

Yes, I know that, I have already done 0.9.0-beta.3 and something similar.
So it's better to keep using way too many alpha and beta versions?

rotund violet
#

VS and VSCode both have integrated Git support. If you really need it outside the IDE, you can use Git Extensions or TortoiseGit (I prefer the former). Long-term, it's best you learn how to use the Git CLI.

terse galleon
#

(the IDE is windows power shell, right?)

rotund violet
#

The problem with GitHub Desktop is that it's trying to provide a model of "some sort of GitHub cloud service thing that technically uses Git to sync" which is completely ass backwards.

#

No, IDE is VS or VSCode or whatever you use to build.

#

(Not Notepad++ obviously. That's just an editor.)

terse galleon
#

but i can see how it would give me the wrong impression of how stuff is stored and saved

rotund violet
#

Yes, I know, I could tell from your earlier posts that you were starting to conceptualize the whole thing as GitHub being some "cloud sync" like Google Drive, which it 100% is not. GitHub is just a remote host for Git repositories, with some fancy frontend stuff.

#

At any point in time you could take your Git repo and move it to GitLab or Codeberg.

terse galleon
#

so when i download a repo from someone else’s github page, is it hosted on their computer, and then sent directly to mine?

rotund violet
#

If you want to learn Git properly, then from day 1 you have to learn it in terms of commits, pulls, pushes and (eventually) merges and rebases.

#

No. GitHub has its own copy of the repo. But that's all it is, a copy of the repo, and you decide what gets pushed or pulled and how.

#

It's not a blanket "sync everything" between A and B like a Google Drive. It has its own set of branches, commits, everything.

#

This is why I'm saying not to use GitHub Desktop - it'll prevent you from correctly learning how to use git locally, and that's the correct way to learn; after you get familiar with local repo management then it'll be far more obvious what a "pull" or "push" actually is.

terse galleon
#

oh yeah i expected it wouldn’t be an automatic sync based on how it was teaching me to commit and push (although i didn’t know what each step did specifically). but it sounds like learning it locally is definitely the way to go lol

rotund violet
#

Commit is the same as checkin or changelist in other VCSes, literally a list of all changes you've made to any files since the previous commit. You don't want to conflate that with a push, which is when you send all those recent commits to a remote repo, or a pull, which is the opposite.

The biggest reason why you really want to understand these distinctions right away is that in order to finish a push or a pull, the local and remote have to be perfectly in sync, or you have to take additional steps (resolving conflicts) to get them in sync. And for you, since you are saying you want to use 2 different machines to edit and use GitHub to "sync" between them, you are eventually going to run into a conflict like this, i.e. where you forgot to push something from client A, then made changes on client B, and need to get them merged.

Also most people find that before long, they have reasons to want to make experimental changes locally and have the ability to revert back to an earlier state, without promoting half-finished or half-broken stuff to the remote. It matters more for teams than individuals, but even as an individual, it is just less stressful to have unlimited "savepoints" without creating a gigantic mess in the public repo that you won't be able to search later.

terse galleon
#

okay! i understand the second paragraph well, the first paragraph mostly (i don’t know what VCS and checkin/changelist are but i can guess), and i’m unsure of the implication of your third paragraph—are you cautioning me away from pushing a lot of changes since it’ll make a mess?

rotund violet
#

It's hard to make things like this entirely clear when there are gaps in the fundamentals, which isn't a criticism mind you, just a simple statement that it's not possible for me (or anyone) to cover all the basics in a few short chat messages, and it's best to start with a tutorial or two on Git. It's not about pushing "a lot" of changes, you push as many as you need, but for a wide variety of reasons you'll want to put some effort into keeping repos "clean", i.e. with a commit history where each individual commit has some coherent meaning and leaves the project in a buildable and working state, and Git lets you make as much of a mess as you want locally and then clean everything up just before making it public.

#

But the real point I'm trying to get across is about the mental model. Git (and other SCMs) should not be understood as "syncing code between devices". The use case, the reason it exists, is to keep a meaningful, functional, searchable history of changes for the purposes of easy maintenance and (in some cases) collaboration with other people.

pliant snow
#

tbf though, when you're starting out, 99% of the things git does can be completely ignored. If you're working on a project by yourself, then yeah, you're just making a backup you can put in SavePointSparkles the cloud SavePointSparkles and you can roll back to any previous version you want. In that case, you just need to understand git add git commit and git push. Once you start on projects with other people, then you can worry about branches and merging and such

rotund violet
#

Maybe, but if a one-man project grows to any significant size then you are going to regret having a disorganized and confusing commit history. It doesn't take much extra effort to learn some basic techniques like squashing.

#

And as for branching, well, that depends; I'd say if you're in a situation where you can expect to do heads-down work, where you simply don't commit or push until you feel like it's ready, then yeah, you can just commit everything to master. On the other hand, if you anticipate stopping work in the middle of an implementation and then continuing on a different device, you really should use a dev or feature branch.

pliant snow
#

I don't think I've ever squashed commits in my life, except maybe after a weird rebasing

rotund violet
#

One of the most common scenarios for a Git repo that's even halfway popular is needing to fix a bug discovered in the released version while there's a bunch of unfinished dev work.

#

There's more than one way to handle it, but all of the ways require some knowledge of branches.

pliant snow
#

That's true

rotund violet
#

If you've never done a squash or a fixup (which is basically the same thing) then either you're extraordinarily careful and deliberate about your local changes, or your repos are scary to look at.

pliant snow
#

or both!

rotund violet
#

Could also be both, yes.

safe dragon
#

imagine making mistakes

#

the main way I’ve used squash isn’t manually but just that PRs are automatically squashed to be 1 commit

#

I don’t think I’ve ever used it myself

#

those PRs could also then be cherry picked into release branches if necessary

pliant snow
#

I'll rarely use it locally if I decide later I have two commits that could be one, but honestly I tend to just work on one item at a time

#

I have a lot of local branches tho, I tend to keep things separate

safe dragon
#

me too

rotund violet
#

I myself do not understand at least 90% of what's in the Git manual and frankly, I'm not sure if any human is capable of understanding everything that's in there. But in my book:

  • Git 101 is commits, remotes, pushes; don't do anything with Git before understanding those;
  • Git 102 is branches, merges, resets, amends and interactive rebases; don't try to do an important project with Git before learning the very basics.

Everything else can be deferred, yeah. You don't need to know all about the git config settings, reflog, manual file management and all that junk. Can probably even get away without knowing about stashes, and rely exclusively on the IDE to handle things like file renames.

safe dragon
#

I’m very skilled at fucking up a rebase

rain apex
#

just make patches crumble it'll solve everything twust

rotund violet
#

Really? It seems hard to irrecoverably fuck up a rebase since you can abort at any time.

safe dragon
#

oh no I’ve always recovered from it

#

I’m just good at reaching the point where I abort

rotund violet
#

Only situation that's hard to fix is when you rebase over stuff that's already been pushed, and even then, it's nothing that a push -f can't fix.

#

And if it sounds like I'm being unreasonable in my list of need-to-know material, just check out the main doc page and look at the entire list of commands... do you know what bundle and backfill are for? I don't, and I'm not sure I want to.

pliant snow
#

I think if I attempted a push -f a coworker would come in and execute me

safe dragon
#

I once used bisect

pliant snow
#

bisect sounds nice, but its more trouble than its worth, I just do it manually

rotund violet
#

Oh yeah, bisect is incredibly useful but is definitely one for the "intermediate" category, beginners don't need to know that.

safe dragon
#

99% of the time I just look at the commit description and can figure out which one it would be without anything fancy

rotund violet
safe dragon
#

I have no idea what that is

rain apex
#

If you told me you made that up i would believe you

rotund violet
#

It's 100% real, though I can never remember what it does without looking it up.

pliant snow
#

We don't actually push directly, we push to one of those review staging things, and then once it gets enough approvals it goes in. I don't actually have direct access to the branches

rotund violet
#

Wouldn't rebasing be very important in a code review context? No one is going to review a slew of halfassed commits.

pliant snow
#

We use git I think very differently than most companies

rotund violet
#

I mean, you could just not commit anything until you're 7 hours in and are absolutely sure it's perfect; I remember those days and I don't think I'd want to go back.

pliant snow
#

For us, a code review is one single commit. If we need to make changes to it, we amend that exact commit

rotund violet
#

Right, that isn't unusual. Reviewers want one commit per logical change.

#

And when you're working locally, you're going to want to commit a bunch of times in between while you screw around.

cinder karma
#

Reading this exchange about git and internally cringing because the idea of putting a coherent thought in an svn commit 😦

pliant snow
#

It's not like github, where you can push like 27 commits for a single review

safe dragon
#

rn I can play very loose with the rules for git discipline since it’s mostly solo projects…

pliant snow
rotund violet
rotund violet
safe dragon
#

azue devops also does pull requests and it’s the version I’m used to so when I had one in github once I got pretty confused

pliant snow
#

one of these days we'll probably switch to devops, but who knows

safe dragon
#

well… two ways for me to look at it. Either I don’t know what I’m missing out on or azure devops works fairly well

rotund violet
#

See, the pull-request system just shifts responsibility for cleaning up the "batch" from the committer to the owner. It's completely understandable that a lot of companies don't want that kind of workflow, and instead expect authors to do their own cleanup.

safe dragon
#

what do you mean with cleanup?

rotund violet
#

As an open-source maintainer with little expectation of external contributions, then sure, I'm fine to let authors submit a bunch of micro-commits and do the squash/rebase myself. In a company, though? No freakin' way.

safe dragon
#

why would you need to do that? That’s completely automated

#

you just accept the PR and it gets squashed and rebased

#

at least in azure devops…

rotund violet
#

In ideal conditions, maybe, assuming no merge conflicts or other issues. And there's still the matter of the commit message.

safe dragon
#

merge conflicts can be annoying though the person who opened the PR has to do that

pliant snow
#

isnt that the authors problem

rotund violet
#

In no way am I saying you can't deploy the PR model in a closed corporate environment, just that a lot of companies aren't going to bother because it's unnecessary.

safe dragon
#

it’s the norm in both companies I’ve worked at so perhaps my perspective is warped

rotund violet
#

What if an accidental, unrelated change finds its way into the middle of a long chain of commits in a messy PR?

#

And don't even try to say that accidental changes don't happen in your company.

safe dragon
#

you give them a disapproving look if it ends up causing issues 😌

rotund violet
#

Haha, well, my teams have generally been less flexible about that sort of thing.

safe dragon
#

though we didn’t really review commits honestly we just reviewed the diff at the end

rotund violet
#

Right, I'm saying what if the diff has something that shouldn't be there. Sure you can solve it by just making another commit to undo the change, but it's an ugly process.

safe dragon
#

it is

pliant snow
#

If the diff has something that shouldnt be there, it would get flagged in the review process, and the author would fix it, and it would all resolve in the final submission

rotund violet
#

So some companies just say "reviews should be one commit; amend it as necessary".

#

The PR model is fine too, it just requires a more sophisticated branching strategy.

safe dragon
#

our sophisticated branching strategy was just “1 branch per workitem”

#

the branch names were like [workitem-number]-SomeNameThatKindaDescribesIt

rotund violet
#

Look, there are basically two ways to do Git at scale, which could be called the "merge model" and the "rebase model".

Merge model is the canonical GitHub model; everyone works on their own feature branch, hacks away, and caps it off with a big merge commit. Rebase model is where devs are expected to rebase their work off a branch (typically a common dev branch, not master) before sending it out for review, so that every commit that is actually accepted into the common branch is free of merge commits and other artifacts.

#

I'm not recommending, attacking or defending either model; they have different tradeoffs that depend on situation. Merge-based is typically a speedier workflow, but rebase model tends to be used more often in huge repos with thousands or tens of thousands of contributors, because otherwise merge commits and other crap make the repository unreadable and make production incidents harder to track down, roll back and/or recover from.

#

You can automate squashing, but you'll still end up with merge commits; you can try to automate rebasing, but often it just doesn't work and the author has to redo their PR anyway.

#

So obviously most of you guys are used to working with the merge model. Aquova's sounds like possibly a rebase model or something in between.

pliant snow
#

Yeah I think we're closer to the rebase model

#

They treat branches like they're made of gold

safe dragon
#

I guess I’ve worked in fairly small teams

#

I knew every person who worked on every project I touched personally

pliant snow
#

I work out of a very large repo with at least a hundred people touching it regularly

safe dragon
#

we only had like 15 devs

#

in total

#

and there were quite a few different projects we just jumped between depending on the workitem

#

some only worked with a few of the project though personally I worked on all of them

#

since I got kicked from team to team several times to help reach deadlines

rotund violet
#

Yeah, 15 devs is smaller than most well-maintained open source projects so I would definitely expect to see the merge model there.

safe dragon
#

one thing I really don’t miss about that job was how everything had to be rushed out often before any dev could honestly be all that happy about the quality of what they wrote

rotund violet
#

I have worked on monorepos collectively maintained by more than 10,000 devs, and a fair number in between (1000-2000). Different priorities.

safe dragon
#

kinda…

#

I’ve now found myself in a rather bizarre environment honestly

rotund violet
#

It varies by degree, of course, but it is always there.

safe dragon
#

I could rant about the previous’ job’s issues though many of them would be familiar to many

rotund violet
#

Only way you get to be 100% happy with the quality of your code is when you have no external deadlines or supervision, and let's face it, in that case you're probably going to just get lazy.

dusty pollen
#

I feel like workplaces have lost all creativity where it comes to their massive red flags

safe dragon
#

“we are like a family here”

#

that was almost the first thing I heard at that job

dusty pollen
#

why is it always crunch, blame culture, "we are like a family", toxic personalities etc? I want some originality please. Give me someone performing hexes at their desk in the open-plan office

safe dragon
#

I can tell you that if that’s what your family is like I wish you the best and I hope you find a new one

dusty pollen
#

"we are like a family here" when my family asks me to do a ton of extra work that's unnecessary and for no additional pay I say no...

rain apex
#

well maybe the meant mafia when they said family

dusty pollen
#

unless they mean that we are like a family because they're about to promote me to a position I haven't earned because I'm basically a nepo baby now?

rotund violet
safe dragon
#

honestly my current job’s red flag was none of these. The red flag was that there was only 1 guy who knew how the application worked and had been (nearly) the only dev for it for like 30 years

rotund violet
#

You knew that well in advance, though. I remember you mentioning it several times before you took it.

safe dragon
#

yeah I was aware of it

dusty pollen
safe dragon
#

and it’s been good frankly, though the first few weeks I wondered what I got myself into

#

at this point I’m starting to understand the mess and see the weird shitty beauty in the cursed spaghetti

dusty pollen
#

is your coworker named Tom by any chance

safe dragon
#

luckily not

rotund violet
#

Sounds like you're settling into "just another job" mode. It's part of adulthood, when you stop caring about "making a difference" and just take something with low stress that gives you a decent amount of free time.

safe dragon
#

this guy wouldn’t know what subversions are

dusty pollen
#

tbh I have worked with a Tom who I feel like could probably end up doing something JDSL-equivalent

#

he's the one who was asked to write some unit tests and started by spending two weeks writing unit tests for the unit tests

safe dragon
#

one nice thing about this job is that they work in a field where an average project takes years so even their concept of a “nearing deadline” could be months away. That opposed to my previous job in retail software where a day late could be considered catastrophic

#

it’s noticeable even in parts of the company that don’t do anything with these projects directly

dusty pollen
#

do you ever wonder what your life would be like if you were more willing to jump on the latest bullshit tech trend and scam some people out of money

safe dragon
#

(it’s also a company where finishing anything with mistakes is pretty much unacceptable so they cannot ever “rush” things)

dusty pollen
#

like, there were times in the past ten ish years when that would have been so easy

safe dragon
supple ether
#

Every day I think "but what if I just gave up my principles and became an ai shill"

dusty pollen
supple ether
#

Might make it easier to find a job but I dunno if I could live with myself

dusty pollen
#

but like, during the nft hype? oh my god there was so much money going around

safe dragon
#

“what if I had joined that clearly doomed crypto company I saw when I looked for rust jobs”

dusty pollen
#

no like

what if you pitched a blockchain startup that would "revolutionise <roll a random word generator>" to some investors a few years back

safe dragon
#

while most of the tech scam bullshit is in the US we do have a few here in the netherlands

dusty pollen
#

literally free money

safe dragon
#

I will revolutionize rolls wheel cheese making! with AI

dusty pollen
#

you both laugh but at least one of those probably existed on kickstarter at some point

safe dragon
#

I appreciate that we both thought of food for some reason

dusty pollen
#

atra I will revolutionise knitting by nft-ing it

safe dragon
#

unfortunately the company I work for rn is well over a century old and not a unicorn startup revolutionizing [industry]

cinder karma
#

Knitting already isn't fungible

dusty pollen
cinder karma
#

Every piece is individually made with love

safe dragon
#

I shall make chainmail out of this supposed blockchain

cinder karma
#

It's obviously with love because otherwise why knit lol

dusty pollen
#

...guys. guys.

I will revolutionise podcasts using AI voice generation and a blockchain, and I will nft each episode--

#

I feel like podcasts could really benefit

cinder karma
#

Sure!

safe dragon
#

you will be able to own a podcast episode

cinder karma
#

Just randomly have a 30 year old guy with a dulcet voice whisper questionable scientific facts in my ear

safe dragon
#

[the data inside the token is just a url to the podcast stream]

cinder karma
#

I really need to know if hack squats are better than barbell squats

dusty pollen
#

"and what you can do is, you can put in the contract that every person who listens to it has to pay you 10% royalties when they sell it to the next person who wants to listen to it, and the first person isn't going to care--"

cinder karma
#

Truly. It's of grave importance ||except realistically you just take the machine currently open||

dusty pollen
#

oh my god that "nft that" speech gary vee gave was one of the funniest things I saw about nfts KEK

safe dragon
#

alas we are now in an era after nft’s

#

they will no longer make you money

cinder karma
#

What

#

Fungible tokens?

#

Fungus tokens?

safe dragon
#

non fungus tokens

rain apex
#

non fungible knitting patterns

dusty pollen
#

it's funny how the "copyright is the most important things ever, you must own all IP" changed their tune real quick when AI became a thing. it's almost like they didn't care KEK

safe dragon
#

the tune is whatever is beneficial for their finances

#

preferably in the short term

#

cause the long term is scary

dusty pollen
#

or whatever whoever is scamming them says is most beneficial to their finances

#

see: gary vee

safe dragon
#

oh yes it doesn’t have to be true

#

fine I’ll look up this gary vee

dusty pollen
#

if not, maybe don't

safe dragon
#

so far it’s just your average dumb grindset influencer scammer

dusty pollen
#

pretty much, but he's like their final boss

safe dragon
#

damn but they’re all their own boss

#

what a scam

#

I can’t say I follow or care about whatever these people are doing

#

it’s like people who love jonathan blow

#

I guess they get something out of it for some reason

#

good for them

devout vault
safe dragon
#

clearly we need an AI that can taste

crystal wren
#

No, the AI is lactose intolerant.

devout vault
# safe dragon damn but they’re all their own boss

Also, this just makes me think of this video: https://m.youtube.com/watch?v=wbfu39l0kxg

I earn up to $20k a month while working from home, making my own hours, and being my own boss... and you can, too! I earn up to $20k a month while working from home, making my own hours, and being my own boss... and you can, too! I earn up to $20k a month while working from home, making my own hours, and being my own boss... and you can, too! I ...

▶ Play video
cinder karma
safe dragon
#

it also reminds me of that video every time

devout vault
crystal wren
#

Maybe for CheesePT 2.0.

devout vault
#

Also since I was on BDG’s channel I had to watch this a couple times

https://m.youtube.com/watch?v=3w1wwGcu0Dk

we've got a beautiful mind
LISTEN ON SPOTIFY: https://spotify.link/vGzmPIIBVDb
CHECK OUT TOM'S CHANNEL: @tomcardy1
(watch the bloopers on my Patreon): https://patreon.com/briandavidgilbert

music and lyrics by Tom Cardy, Brian David Gilbert, and Taras Hrubij-Piper
album art by Joy: https://instagram.com/mythical_water
filmed by Karen Han: https...

▶ Play video
crystal wren
#

Only a couple?

devout vault
#

I also replayed a few parts several times

#

But I’m also tired and need to sleep because my sleep schedule is so messed up and I actually have stuff to do this afternoon

#

Also had to watch the game changer season 7 trailer since the first episode is tomorrow

cinder karma
#

(Enjoy!)

safe dragon
#

what’s game changer

#

oh it’s one of dropout’s shows

cinder karma
#

What is dropout

safe dragon
#

a streaming service born out of the remnants of CollegeHumor, a once popular youtube comedy channel

crystal wren
safe dragon
#

maybe their price increase will change that

crystal wren
#

...they're doing a price increase?

safe dragon
#

1 dollar a month more than before yeah

#

but only if you’ve never been subscribed before

#

and rn you can still lock in the old price

devout vault
devout vault
safe dragon
#

not sure honestly cause I’ve never used it

devout vault
#

I just recall watching the price change announcement video on YT

#

Still cheaper than most (all?) other streaming platforms though

safe dragon
#

I love brennan and used to watch collegehumor back in the day but I’ve never really tried dropout

devout vault
#

Me too

#

For the Brennan part

#

I was just typing how I liked how the game changer trailer seemed to show that we’ll get more classic Brennan ‘torture’ (and hopefully a rant monologue) this season

#

Wish I had the attention span for more Dimension 20

safe dragon
#

I do find it nice how a supposedly unprofitable “business” in collegehumor somehow turned into a well beloved and succesful company under sam reich

devout vault
#

Yeah, from what Ive heard the parent company sold college humor to Sam for cheap and they had to get rid of all but a handful of full time employees

#

Need to catch up on all the smarty pants episodes

safe dragon
#

I’m sure this wouldn’t have been possible if sam reich didn’t come from a pretty wealthy family

#

but I won’t complain

pliant snow
#

I had a Dropout subscription for a month

#

I liked Game Changer and their other gameshow-style stuff, but honestly there wasn't enough to keep me subscribed for more than one month

#

if youre really into watching people play DnD, there's a lot of that

cinder karma
#

Isn't there a lot of people playing games on twitch

#

(I'm a bit sad my new schedule does not allow me to tune into my favorite twitch channel, aka Lawyer Explaining Things with PowerPoint)

safe dragon
#

gamechanger is not a show where they play videogames however

dusty pollen
safe dragon
cinder karma
#

I've literally never heard of this streaming company before

#

Now if you don't mind

#

I'm gonna immediately forget it

safe dragon
#

that’s ok

#

they ain’t for me either

dusty pollen
#

I did their trial back when they first started dropout and wasn't into it enough to stay subscribed despite liking collegehumour

#

they had a great parody show about food that I liked, but I didn't like that one show Katie did and I don't watch their game shows much

#

also it's based on vimeo's "make your own streaming platform" platform thing and I hate their player

safe dragon
#

in general it seems like alternative platforms can’t get the player right

#

I used to pay for nebula but the player didn’t work very well so I’d end up watching on youtube anyway

#

even netflix’ player has issues often enough

#

crunchyroll’s one is really unreliable

dusty pollen
#

oh it was the really nightmare quality kind though, it was so bad I thought for a while they somehow implemented it themselves

safe dragon
#

I’d describe crunchyroll’s one the same way honestly

#

it buffers/buffered regardless of how good your pc and internet are, the subtitles often were desynced…

#

sometimes it simply did not work

#

somehow their player was far worse than the ad-ridden disaster websites using off the shelf streaming backends

dusty pollen
#

iirc arrow keys didn't do anything with the vimeo/dropout one, it had issues going fullscreen, and a couple other issues

cyan shadow
#

Question about dual booting

Safe to do on a single, partitioned drive?

#

Or no

#

Because if safe, I'm simply going to upgrade my laptop's ssd

#

If not, I'm returning the ssd and shit anyway so I'll use the refund to buy a normal external SSD

dusty pollen
#

afaik

cyan shadow
pliant snow
#

Setting it up can be a bit of a bitch tho. installing isnt bad, but getting the bootloader to see both partitions I remember being more annoying than you'd think

dusty pollen
cyan shadow
#

I seeee

dusty pollen
#

or possibly not automatically but was very simple?

#

it's been a while since I last installed arch SDVpuffersquee

#

I'm not sure what grub is like though, maybe it's tougher with grub?

cinder karma
#

Good because I have no idea how to fix it if it breaks

sonic mirage
#

I've always heard that Windows will try to take over the boot loader, so I'd look into best practices for avoiding that. Maybe install Windows first? Assuming Windows is one of the OSs you're dual-booting, that is

cinder karma
#

Yeah, it does

#

It will also do it every time you update windows. I had to fix it twice

#

This is all 4-5 years ago so I've forgotten what I did, probably boot from a boot drive and follow instructions from stack overflow ngl

fleet wren
#

I think it's no longer a problem with UEFI

#

you can have multiple boot loaders and set priority between them

#

back in the olden days Windows would overwrite grub

cyan shadow
worn remnant
pliant snow
#

its free real estate

dusty pollen
#

I just got the payout for a bug bounty for the first time ever, this is fun

#

I can see why people hunt them SDVpuffersquee

safe dragon
#

a bounty hunter

crystal wren
dusty pollen
#

I think the (only visible to you) part only applies if you don't screenshot and send it to the person, but that might be the kind of insight you can only have when you're an elite expert bug bounty hunter /j

lethal walrus
sand frost
#

Congrats!!

rain apex
devout vault
#

Hi, it's me, your resident brainrotted-from-KAR-sequel. Had a dumb meme idea, enjoy.

ivory shadow
#

I might not be getting a Switch 2 at all. Still waiting to see how much Nintendo bumps the prices thanks to the nonsense.

thin estuary
#

yeah it's doubtful i'll get it, unless there happens to be a dumb exploit like original Switch 1 had

ivory shadow
#

I'm really not fond of them making games more expensive, too

cinder karma
#

I love xkcd

dusty pollen
devout vault
cinder karma
#

Wired: not getting a switch 2 because tariffs and high prices. Tired: not getting a switch 2 because let's face I won't ever play anything on it anyways

devout vault
pliant snow
#

I dont understand, why wouldnt you play Kirby Air Riders

devout vault
#

A time traveler came and told me Kirby Air Riders was peak gaming for at least the next 100 years.

I didn’t need a time traveler to tell me this, I already knew, but I figured citing a credible source might help convince you

#

“Which time traveler”
Uh… John Titor? Sure, let’s go with that, I’m definitely not just plucking a name I learned from Steins;Gate

cinder karma
#

You know what would be great

#

If pngs could embed alt text

#

I forgot to do alt text on that

#

It's a picture of a duolingo card that says "the gay community is protesting."

#

Very important vocabulary to learn

devout vault
#

Not knowing anything about that language (French?), the pre translated text looks like “the homosexual community manifesto”

#

In other words, the gay agenda

cursive sigil
#

It's more like "manifested"

devout vault
#

Shhhh, that ruins the joke

cursive sigil
#

But idk was never good at french lol

cinder karma
cursive sigil
#

Non

#

Atra why are you learning french

cinder karma
#

Why not?

cursive sigil
#

Why french?

cinder karma
#

(Because I used to live in Switzerland(

cursive sigil
#

And out of all the languages spoken there you liked french the most

cinder karma
#

We were close to the French border

#

What

cursive sigil
#

No further questionsSDVkrobusgiggle

cinder karma
#

What language do you suggest I learn

#

I'm also learning chinese

devout vault
#

What other languages would you need

safe dragon
#

learn Dutch

cinder karma
#

What about German

safe dragon
#

they've got their funky grammatical case system

worn remnant
#

every language has at least one Cursed Part

#

(this is what makes magic spells work)

devout vault
#

Does that mean designing a perfect conlang would keep you from using magic with it

devout vault
worn remnant
cursive sigil
cinder karma
#

I want a language with real world use

#

I'm more apt to learn Japanese

#

Or Korean

cursive sigil
#

Fair enoughSDVkrobusgiggle

past dawn
#

Say since I started dabbling in C# I'm trying to make an extremely basic Frame Buffer for 2D graphics. Could someone give it a quck glance and see if I'm on the right track?

#

Day 2 of C# and I'm already trying to make a basic graphics engine lol

devout vault
# cinder karma I'm more apt to learn Japanese

Ah, yes, a very important real world use: Watching/reading anime/manga/etc. before there's an english translation.

(/s, I know you well enough to know that's not why you'd learn it 😅 )

sand frost
#

I’m learning hiragana

past dawn
#

gl 😄

sand frost
#

So that I can very badly read Japanese: I can get the meaning of kanji but not the sound, and the sound of hiragana but not the meaning

past dawn
#

Just watched a video about a Japanese Woman reacting to foreingers with tattoos of Japanese writing

#

First one was literally "Dumb Foreigner"

sand frost
#

If I had to learn a new programming language it would probably be C++, but I’m also not going to do that

past dawn
#

C++ can get stabbed with a rusty spoon

#

it was just a tad too obtuse at times for me

devout vault
past dawn
#

C# seems like Java's cousin that doesn't eat paste

#

So I'm pretty comfortable with it so far

devout vault
#

C# is my favorite language

past dawn
#

say Kitty would you mind looking at one of the first classes I've made in C#? I want to know if this is okay or if it's absolute lunacy... I have no way to tell without an outside opinion. It's a very basic frame buffer.

devout vault
#

All it needs is more cats... which I could do myself if they would just allow emoji in identifier names (or maybe they added that and I haven't learned about it - a quick google search was unclear)

devout vault
past dawn
#

well It's basically just a container to repeatedly draw Bitmaps ontop of each other before it gets sent to the screen

#

and I have no idea if I'm doing it in a way that makes sense

devout vault
#

Like I said, I know what they are, but rasterizing stuff isn't something I'm knowledgeable in.

past dawn
crystal wren
#

I can think of definitely one person, maybe two in this server who I know would probably have thoughts to give, but it feels super weird to ping either randomly. SDVkrobusgiggle

devout vault
#

Yeah, I assume the person I'm thinking of is one of the ones you're thinking of

past dawn
#

🫠

#

it's nothing fancy, not using any APIs or anything, it's literaly Graphics.DrawImage() and I was wondering if it works the way I think it does for stacking PNGs

sand frost
#

Honestly in that case I would just try it and see

#

I only know C# for stardew but if you can just try, why not?

devout vault
#

I have no idea what API even uses DrawImage as a function name

past dawn
#

Graphics, the basic thing that's in C#

#

it's literally it's built-in image and vector tools

devout vault
#

A lot of languages have standard library features that people might not use

safe dragon
#

can't say I've touched its drawing library in the last 9 years

past dawn
devout vault
#

I've never used the standard C# graphics stuff, only ever used something like MonoGame or SFML.Net

rain apex
#

System.drawing aka the thing i accidentally use instead of xna every week 3sSmolMiku

past dawn
#

lol

safe dragon
#

same

#

except I don't use XNA/monogame anymore either

devout vault
past dawn
#

well I guess I'll just construct a few dummy bitmaps and see if it works, I'm just trying to get rid of the flickering when drawing to the screen

#

🫠

rain apex
#

I think there r some people here knowledgeable about low level graphics stuff but my experience ends at the vulkan draw a triangle tutorial

devout vault
#

I used old immediate mode OpenGL in the past in C++ (I think OpenGL 3 or 4 was a thing at the time)

#

Vulkan scares me

crystal wren
#

If I ever use Vulkan directly, I will not be prospering at all.

past dawn
#

I'm too dumb to use openGL/Vulkan

rain apex
#

Well it just seems like a lot of boilerplate (but i can see how people deeper in the sauce can make use of all these knobs)

past dawn
#

can't use OpenGL

creates custom graphics solution like a rube

#

I'm still stuck in my way of doing things back with VB6

devout vault
#

Hope you don't ever need hardware acceleration then, I doubt there's any implementation of System.Drawing with that (but I'm pretty oblivious as to what that provides so I could be wrong)

rain apex
#

If u r still use someone else's Draw implementation isn't it some kinda graphic api underneath regardless

devout vault
past dawn
#

I shouldn't need hardware acceleration for extremely basic 2D... I would hope

rain apex
#

Yeah i just mean that you are definitely early enough to change to SkiaSharp or something for the draw

devout vault
#

Said pygame project was basic 2D and didn't have that many things drawn on screen

#

The main thing that was causing problems was the minimap

crystal wren
#

Unless the point is doing it for the fun of abstracting over some other stuff, then just go wild!

devout vault
#

Well, and the tiles

safe dragon
#

I remember drawing 1 pixel size rectangles for each pixel on the screen to write a raytracer and it still achieved a blistering 4 frames per second at 1080p

devout vault
#

<insert joke about sunscreen that I know we've done in this chat before>

worn remnant
past dawn
#

well I'll see how it goes with my rough draft 😄

#

If I need to I can use dark magic and parallelize the frame drawing process, I have 8 cores, I'll use them lol

safe dragon
#

and you'll have hundreds on your gpu

past dawn
safe dragon
#

I have written a simple Vulkan renderer before and the amount of setup/boilerplate to even render the traditional rgb rectangle vulkan_triangle took hundreds of lines

past dawn
#

🫠

safe dragon
#

of course there's many libraries that abstract most if not all of that away

past dawn
#

I went insane trying to figure out Vulkan for Java

safe dragon
#

Vulkan was a major motivator for me to switch to Linux at the time cause I spent like 2 entire hours trying to get the sdk to work on windows only to try on Linux and it taking 2 minutes

#

I think I went full Linux soon after and deleted my windows partition

pliant snow
past dawn
#

seems I made the frame buffer correctly, it composited 3 translucent images without flickering and smoothly animated them 😄

#

now I just need to get the drawing surface to fit the screen lol

crystal wren
#

At this point, I would be needing to resist the urge to add the typical blending modes so hard...

past dawn
#

I'm surprised this works after only a rough crash course in C#

internal class FrameBuffer
{
    private Bitmap Frame;
    private Brush brush;
    private Rectangle rect;
    private int Width;
    private int Height;
    private Graphics g;

    public FrameBuffer()
    {
        brush = new SolidBrush(Color.White);
        UpdateFrameSize();
    }

    public void DrawToFrame(Bitmap asset, int x, int y)
    {
        g.DrawImage(asset, x, y);
    }

    public void PushFrame()
    {
        Program.GameWindow.DrawFrame(this.Frame);

    }

    public void ClearFrame()
    {
        g.FillRectangle(brush, rect);
    }

    public void UpdateFrameSize()
    {
        Height = Program.GameWindow.Height;
        Width = Program.GameWindow.Width;
        this.Frame = new Bitmap(Width, Height);
        rect = new Rectangle(0, 0, Width, Height);
        g = Graphics.FromImage(this.Frame);
    }
}```
#

I guess this is technically all I need to draw an entire scene

#

I'll have to get metrics for frame times with hundreds to thousands of calls per frame

#

well it starts to break down around 1500 calls per frame

#

better than I thought

#

I could pre construct everything in layers with parallel threads then have them draw each layer in sequence

#

Optimizing bad design

supple ether
#

what are you using? System.Drawing?

past dawn
#

Yes lol

supple ether
past dawn
#

I can swap it out later for a real rendering solution

#

But this at least gives me something to work with to visualize other things I'm doing

supple ether
#

that's fair

past dawn
#

Also this is with like less than 2 hours of self taught crash course in C#

#

I'm amazed I made a working frame buffer at all

rain apex
#

Microsoft Java AquaThumbsup

crystal wren
past dawn
safe dragon
#

flexing your ability to use masked links

crystal wren
#

You can too!

rain apex
#

-# democracy

safe dragon
#

pretty sure that I got muted for an hour last time I tried...

past dawn
#

I used a masked link in a different server and I got an auto warning

safe dragon
#

or 15 minutes idk

past dawn
#

🫠

crystal wren
#

Yeah, we started allowing it for Framer and above as a bit of a test.

rain apex
#

Need the kyanite

safe dragon
#

those dang framers on their frams

#

J# is cursed though

rain apex
#

I'm still not used to them tho

past dawn
#

I'd argue my hack-job of making a rendering engine is cursed

rain apex
#

No it's just wheel making

#

Which is more on topic than 90% of discussions in here

past dawn
#

I'm gonna translate my netcode from Java to C# lol

safe dragon
#

Your code looks fine honestly . The only thing I'd have considered "wrong" about this in a professional setting would be that your private field variables sometimes start with a capital letter and sometimes don't (the convention everywhere I've worked would be _fieldName everywhere I've worked but I think modders here love their fieldName and then this.fieldName when referring to it)

rain apex
#

I use _fieldName cus of python and then csharpier yells at me

safe dragon
#

I don't think I've used this. at all in years

crystal wren
#

I just made Rider yell at me if I did anything but camelCase for privfate in C#.

crystal wren
#

And my editorconfig will yell at me if I don't use this. every time. I just... like it for some reason.

safe dragon
#

csharpier dislikes _fieldName for private fields?

rain apex
#

this. is probably patho's influence he had things setup to error if you dont use this.

safe dragon
#

it dislikes the convention I've used for my entire professional career hc_pensive

past dawn
#

I'm migrating over from over a decade of Java

crystal wren
#

Lombok will haunt you no more.

rain apex
#

I am do camelCase fields PascalCase props

past dawn
#

anyway thanks crumble for the critique of my code. I appriciate the feedback 😄

safe dragon
#

it's the tiniest critique imaginable

past dawn
#

it's still appriciated

safe dragon
#

if you want a miniscule generally unmeasurable performance bump and you never plan to inherit from the FrameBuffer class you can add the sealed keyword to it assuming you're using a modern enough version of C#

cinder karma
#

How do you decide on z depth for this?

#

Is it just painterly?

safe dragon
#

a sealed class cannot be inherited from which allows C# to skip some checks sometimes

cinder karma
#

(Ie, back to front)

past dawn
#

yes

#

I'm also throwing around the idea of pre-rendering the scenes in layers then drawing them in the correct order

safe dragon
#

build your whole own draw call abstraction

past dawn
#

🫡

#

for now I have a basic framework for visualizing assets on the screen as I try to tinker with them in code

#

definitely helps for figuring out if I mess up swapping some coordinates or something

devout vault
#

Though you mentioned as errors, my repo is just as warnings, probably because he didn’t want to go through and fix all of my code in a mono repo as big as mine

safe dragon
#

I'm afraid pathos won't find a single this. in any of my codebases if he ever has to look at them

devout vault
#

That’s okay, Pathos thrives on spotting all the missed spots for it and submitting a PR fixing them all /s

safe dragon
#

I would in rare cases use it in a constructor but now with primary constructors I rarely even have one

devout vault
#

Yeah, constructors are the only time I use them intentionally. I don’t use primary constructors much still though

#

<pretending I’ve even written a single line of code in the past few months>

safe dragon
#

they save space and yell at me if there's something in the constructor that I never actually use

#

I like em

devout vault
#

I can’t even recall the syntax for them, or even enough detail on what they do to describe it in words

#

I’m like the C++ user who still uses C++98 in 2025 despite being in an environment where they can use newer stuff freely /s

safe dragon
#

class Point(int x, int y) { ... }

#

would be a primary constructor

devout vault
#

I might’ve used that on my most recent KAR clone attempt which will even more not see the light of day now that Sakurai has blessed us with an upcoming KAR sequel

safe dragon
#

new car

devout vault
#

Ah, it was records that I used in that project

safe dragon
#

that's where primary constructors started

devout vault
#

Though I can’t even recall if records imply primary constructors, or if they are completely separate but usually used together

safe dragon
#

you can create records without using primary constructors just fine

cinder karma
#

I feel like they are different in stupid ways

#

Tbh

#

Due to like, visibility or readonlyness of the generated fields

#

Tbh I love record structs and use primary constructors so

supple ether
#

being able to do one-line data classes is nice though

cinder karma
#

I love me a read-only record struct, Wren

#

Makes the functional programmer feel good

supple ether
#

yesss

devout vault
#

I’ll be sure to remember this now (for approximately 30 seconds, after which I’ll promptly forget until I’m reminded the next time this topic is brought up)

cinder karma
#

Ngl I like and miss c#

safe dragon
#

one of my previous projects had entire swathes of "event data" style data records

cinder karma
#

(I don't miss mods)

supple ether
#

c# is my favorite of the languages I've used

devout vault
cinder karma
#

You're not lame!

devout vault
# cinder karma (I don't miss mods)

Hey now, modding is so much fun if you don’t have to deal with user support, or game updates, or user support, or compat with other mods, or user support, or…

#

(Have I mentioned how my least favorite part of modding is user support? No? Because it is.)

safe dragon
#

don't worry. Functional programming as a term is only older than nearly every single person in this entire server

devout vault
#

I don’t think that excuse works for me. Not 100% sure on that though (I turned 28 today)

cinder karma
#

Casey, you didn't fall into a bad crowd in college

#

We wrote HASKELL

#

And ran LINUX

supple ether
#

user support is definitely the worst part of modding

devout vault
#

That’s because I had no friends, I didn’t fall into any crowd

supple ether
#

wait casey you're my age?

devout vault
#

(Okay, I had one or two, plus a faculty friend. But that ruins the joke)

supple ether
#

I thought you were older than me

safe dragon
#

functional programming as a term seems to come from the 1960s

sand frost
devout vault
cinder karma
#

Just log in once a month, collect your PayPal earnings, etc