#programmers-off-topic

1 messages Β· Page 14 of 1

dapper sinew
#

I using tty cause normal kde can't handle it plus render

strange copper
#

i mean you only gave it like 9 data points

dapper sinew
#

Yeah I know, I figured it wouldn't work lol. But wanted to try anyways

strange copper
#

repeating them 2 mil times doesn't change that it's only 9 things to learn from. if a model trains iteratively, it'll see your 9 things more than once anyway

dapper sinew
#

Oh really?

strange copper
#

and i presume the model trains with more than one pass because that's just how it works and also it took 30 minutes lol

dapper sinew
#

Didn't know that

#

Here's the model trainer

strange copper
#

yeah it looks like model.fit abstracts it all away

dapper sinew
#

Well rip

strange copper
#

which is nice honeslty if you're learning

#

the thing is, neural networks generally start with randomly initialized weights

#

and i bet that thing has a LOT of weights to learn

dapper sinew
#

Huh, hmmm so how do I make it weight one way or the other

strange copper
#

model.fit trains your model

#

you can fiddle with the hyperparams but if your data isn't good it won't matter

#

it learns the weights based off of your data

dapper sinew
#

Oh hhh

strange copper
#

What are the neurons, why are there layers, and what is the math underlying it?
Help fund future projects: https://www.patreon.com/3blue1brown
Written/interactive form of this series: https://www.3blue1brown.com/topics/neural-networks

Additional funding for this project provided by Amplify Partners

Typo correction: At 14 minutes 45 seconds, th...

β–Ά Play video
#

(honestly 3b1b has a good EVERYTHING)

dapper sinew
#

Which part controls randomness? Validation?

strange copper
#

i just realized 9 points isn't even enough for a train/test/val splti

#

have you done any looking into what a neural network actually is at its core?

dapper sinew
#

It's a random choice generator that pics based off probability of the next outcome

#

I think at least that's what it is

strange copper
#

it's all linear algebra is what it is tbh

dapper sinew
#

Ohhh

strange copper
#

i really would recommend learning some foundations on what a neural network is, what a train/test/val set is, what your different hyperparameters do, etc. because I think it'd help you understand how to collect your data and what you're actually making

dapper sinew
#

Alrighty I'll give that a watch over when doing the stuff

strange copper
#

SHE LIVES

dapper sinew
#

Nuh uhh

#

unalives her

#

That sounds won't

#

Wrong

strange copper
#

please it ran for like a half hour straight bc of rate limiting i deserve this

dapper sinew
#

Oof

strange copper
#

but it ran!!!

#

only to do it 3 more times now lollllll

strange copper
#

i ran my friend's model training homework on my computer for him the other day and it also took exactly a half hour

#

we are twins

#

look how long my json out is

dapper sinew
#

Oof

strange copper
#

3 more and then i gotta try and match this dataset up to my OTHER dataset

dapper sinew
strange copper
#

did you.. get tired of it 😭

dapper sinew
#

and its not working on Arch

#

so im going to NixOS

strange copper
#

what about pytorch

dapper sinew
#

it wouldnt use my GPUs no matter what i did

strange copper
#

dang

#

pytorch is weird in that you have to download the exact rigth version to match cuda

#

cause cpu is the default pip command

cinder karma
#

Light UI rant

#

If you want me to enter the date on the format mm/dd/yyyy and make me enter the slashes myself you did a ui bad

safe dragon
#

that's a fun one

crystal wren
#

(Also in that order in general, you did it wrong. /j SDVkrobusnaughty)

cinder karma
#

The only date format I accept is seconds since big bang

dapper sinew
#

montly, i hate pip and python cause of its packets rant

#

ok thats all

#

good day!

strange copper
#

cause of its... packets?

dapper sinew
#

getting them is a pain

pliant snow
#

packages?

strange copper
#

like are you saying your wifi isucks?

dapper sinew
#

no, i got GB wifi

dapper sinew
#

sorry

strange copper
#

honestly i like pip more than npm

safe dragon
#

that's a low bar

strange copper
#

true

dapper sinew
#

pnpm is better then npm though

pliant snow
#

i cant say ive had issues installing pip packages. It's getting rid of them once theyre installed thats the problem

safe dragon
#

how dare you want to get rid of them

dapper sinew
#

i, im simply trying to get tensorflow with GPU support for python

#

and its,,, a pain

#

noooo, cant just pip install tensorflow-gpu anymore, its unsuppoooorted

#

grumpy noises

cinder karma
#

I need to try uv tbh

dapper sinew
#

(ive been at this for 7 straight hours)

strange copper
#

bro you need a break 😭

pliant snow
#

I think you might be doing something wrong

dapper sinew
strange copper
#

that's why it doesn't work yet /lh

dapper sinew
dapper sinew
#

if so you can try out yourself, too see if i really am, provided you wanted to

pliant snow
#

I used to have NixOS but I dont now

dapper sinew
#

big oof

pliant snow
#

however, getting shit to work on NixOS is a struggle on a good day

dapper sinew
#

i moved back to here so i could have an easier time with python cause i can just say "Hey use this" and it does, no fancy PATH stuff to deal with

pliant snow
#

i would suspect you'd have to mess with your PATH more not less to get it working on Nix

cinder karma
#

Messing with path is also no big deal?

dapper sinew
#

i swear im about to just compile Cuda from source laugh

safe dragon
#

what exactly would you be compiling

#

the toolkit?

dapper sinew
#

I am learning a skill!

#

Compiling Java without an IDE

#

It's interesting but fun

#
[nix-shell:~/Mount]$ javac HelloWorld.java 

[nix-shell:~/Mount]$ java HelloWorld 
Hello, World!```
#

:3

#

(im coding using cat txt >> file and nano)

safe dragon
#

that's certainly a way to get text into a file

dapper sinew
#

I wanna get better at using the terminal lol, plus I'm to lazy to open vscodium

cinder karma
#

(I use touch personally. Or vim)

pliant snow
#

you can modify a file with touch?

dapper sinew
#

I'm also using echo "txt ">> file

cinder karma
#

touch __init__.py

pliant snow
#

oh right

safe dragon
#

mere touch creates something from nothing

pliant snow
safe dragon
late ore
#

hang this up on a wall this is so funny

strange copper
#

this is so unserious 😭

dapper sinew
#

Lol

ivory shadow
#

fuzzywuzzy is a top tier name for a library

upbeat turtle
#

In linux, they have the Erty library.... liberty.so

dapper sinew
#

I figured it why I couldn't download cuda

#

I'm the bright side, I learned the DD command better panda_happy

strange copper
#

would recommend, it even gives you confidence threshold

upbeat turtle
#

But... can it read your mind, like a certain anime girl?

strange copper
#

idk what anime you're referencing but coincidentally i am using this for an anime-related project lol

upbeat turtle
#

Anya-chan! ❀️

strange copper
#

that's embarrasing for me!

upbeat turtle
#

Your PFP, dude

strange copper
#

me when i get exposed

#

i'll throw out excuses but they will be meaningless 😭

upbeat turtle
#

gives BarleyZP a warm jacket.

#

Exposure is nothing to sneeze about!

strange copper
#

anyway here's spy x family in the graph now that my import is done lol

#

ah dang my trope scraping messed up and grabbed more than just tropes that's annoying

upbeat turtle
#

Yor is clearly teaching Anya about object-oriented programming....

strange copper
#

then why does anya look so happy

upbeat turtle
#

Busted.

#

I tried to make it on-topic.

strange copper
#

The way that me showing off my graph revealed that my script had issues and now spy x family is attached to its related works isntead of the tropes in it πŸ’€ guess i'm fixing that

upbeat turtle
#

I go nitey nite now. Is tomorrow.

inland jungle
#

😎 but can ur editor show u errors?

#

(in C++ I use neovim btw SDVpuffercoolest)

#

(many hours wasted to do this pointless thing)

dapper sinew
#

Id*

inland jungle
inland jungle
#

I've finally learned to setup language servers with LSP and now it detects errors while I am in nvim for C#, C++, and lua

safe dragon
#

πŸŽ‰

#

neovim is nice

crystal wren
#

Hey, remember those super weird font antialiasing issues I was having on Linux?

I fixed it, and I feel dumb now. That is all.

thin estuary
#

how?

crystal wren
#

So, keep in mind I did very thorough (visual) tests to make sure it wasn't DSC, or a reduced colour space like 4:2:2 or 4:2:0 being used for some bizarre reason...

#

...but I switched out to DisplayPort instead of HDMI. That's it. Problem gone.

safe dragon
#

well then

pliant snow
dapper sinew
tawny marsh
#

does anyone know why all the fish have identifier codes, even the legendary ones, but then the goby is literally just 'goby'

sand frost
#

that seems suspiciously on-topic

#

but it's because of technical changes in 1.6 that made that possible at all

tawny marsh
#

sorry, are you answering me? I'm afraid I don't understand, was there something in the 1.6 update to cause this?

sand frost
#

Yes, string IDs are now possible. But like I said, this is on topic (meaning it doesn’t belong in the off topic channel), you should ask in #making-mods-general

hardy storm
#

Couldn't think of a better place to ask: wondering whether its possible to know where the bots in this server came from?

crystal wren
#

Oh, @pliant snow...

pliant snow
#

Where do any of us come from stares at hands

crystal wren
#

Just realised the name... @hardy storm. SDVkrobusgiggle

lethal walrus
crystal wren
#

See above!

lethal walrus
hardy storm
#

Thank you all!

lethal walrus
#

also a couple on blueberry's github

lethal walrus
pliant snow
#

that sounds like its problem

lethal walrus
#

I always enjoy looking through your github, very interesting projects

pliant snow
#

All my incomplete junk

lethal walrus
#

is genova for the genesis

pliant snow
#

yeah, but it didnt get too far lol

lethal walrus
#

ah

crystal wren
#

Did you know Discord slash commands can be pasted into Discord pretty reliably?

/command first_argument:This is stuff for the command. other_argument:data for the argument here last_argument:Even more stuff here!
lethal walrus
#

one even has a logo!!

pliant snow
#

I think jade did the logo iirc

#

I actually have another big emulator project that's getting close to being done, but I'm taking a break from it

lethal walrus
#

oo

#

what console

pliant snow
#

its a tutorial "book" on how to make a game boy emulator

lethal walrus
#

ahh

#

like the chip8 one?

crystal wren
#

So the next server event should be a make-an-emulator event, you're saying?

lethal walrus
#

note to self: make a CPU with 3 instructions

crystal wren
#

Is that like... TRISC?

#

Because... tri?

pliant snow
#

yeah, its a sequel to the chip-8 one so to speak

#

but much, much longer

#

bytepusher has a single instruction

hardy storm
#

So this might be an odd question but lets say you hated every journaling/mental health/productivity app, so you resorted to the standard notes app for simplicity, but then you realized a private discord server could be much more flexible. Any fun bots you might add to it? In this "hypothetical" "you" switched to discord because the notes app didn't have a nice easy way to keep track of dates/times for additions and "you" have extremely minimal cs experience SDVpufferchicksweatsip

crystal wren
#

I use Obsidian + the git plugin along with auto-commits, so I get...

#

It does mean looking on GitHub or something similar to see when things are added though, which isn't ideal for that...

marble jewel
#

I have a semi-public discord server (invite only) with private channels, one of which is named clipboard where I just jot down quick notes.

crystal wren
#

I've got a 100% private server for super quick notes while I'm on my phone, yeah.

marble jewel
#

Nothing special about it though, it's just a quick place for me to write something that I can access later across different platforms.

#

I haven't found an app-based notes experience that's quite as convenient as that

crystal wren
#

Sounds like a gap in the "market"!

sonic mirage
#

It's like a slightly more modern version of emailing yourself

#

Maybe texting yourself?

marble jewel
#

Exactly that. Even cloud notes apps require more steps for me to access them easily than just something I always have open everywhere.

sonic mirage
#

I guess I do use the personal channel on KakaoTalk to note things down sometimes, even though I also use the Google Notes app

#

That's almost literally just texting myself

hardy storm
sonic mirage
#

Just be careful what you add depending on how personal the info there is

hardy storm
#

oh

crystal wren
#

You could technically tweak Bouncer and turn its user notes system into a topic-based one!

marble jewel
#

If I wanted more structure to my notes, I probably wouldn't use Discord, but what I would look for in terms of features would be things like organizing notes by tags, maybe being able to associate notes with extra metadata like location or time

sonic mirage
#

Also obviously Discord already has access to it, too

marble jewel
#

Because I'd want notes that pertain to a specific thing to be easily searchable later on

hardy storm
#

i just spam keywords in my notes and hope i accidently do good "SEO" in the process

sonic mirage
#

I went through my Google Notes before and tagged a bunch of them, but I don't use it super often, still

marble jewel
#

Like I might take notes about a sushi restaurant for the rolls I've tried, and which ones I liked or disliked. I'd want to ultimately forget about that note, but easily be able to retrieve it the next time I'm there

marble jewel
#

The use case for Discord to me is that the notes I save there are only relevant for the moment

#

Staffer talking about the inner workings of the Discord

sonic mirage
#

Yeah that's what the ones I put in KT are, just temp storage, usually groceries and such

marble jewel
#

But it's open sourced, so you can fork it

#

For grocery lists, my notes are even more low-tech. I have a small, whiteboard on my fridge, and I take a photo of it before I go grocery shopping

lethal walrus
# hardy storm *oh*

as long as no bots have admin/manage channels and your notes channel has them blocked from view/entry you'd be fine

marble jewel
#

I used to do a grocery list app, but the effort of opening it up on my phone was more effort than just writing it as soon as I realize I need something

hardy storm
#

i find any added step past writing the thought down (tags, organization) tends to prohibit me from wanting to write it down in the first place so ive never had any luck with any major notes app

crystal wren
marble jewel
#

That's why I don't think I'd ever land on a single solution for all my different noting needs

crystal wren
#

But this would only really be nice for... pretty short notes.

marble jewel
#

Different tools are better for different purposes

hardy storm
marble jewel
#

I'm actually pretty fond of whiteboarding. I kind of wish I had a "smart" whiteboard where I could write random notes, save them digitally, recover them digitally, like I have at my work.

lethal walrus
#

so a tablet with a cloud-based notes app and a stylus?

crystal wren
#

If you find something like that, I want it.

sonic mirage
#

I have a whiteboard sitting leaned up against my desk to hang for like a year lol

hardy storm
#

ugh i would kill for a pocket sized expandable whiteboard

marble jewel
#

Microsoft had the Surface screen and there is a webex version too

#

But it's a big screen you can draw on, and it feels like a whiteboard

crystal wren
sonic mirage
#

I also have a bullet journal sitting on my desk waiting for me to set it up to use daily

marble jewel
#

I have an iPad, but I'm talking like 40" screen minimum

crystal wren
#

I would not want to carry that around, no.

marble jewel
#

Oh, this is more for my brainstorming/notes sessions

#

I do use my iPad and Apple Pencil for smaller scale notes, but it doesn't quite capture the same experience

hardy storm
#

but id need it to be physical i think sadly. i get such a weird dissociated feeling from handwriting on a screen. like the slight difference in what my brain thinks my hand is doing and what appears on the screen bugs me somehow

safe dragon
#

I've never taken notes in my entire life so I'm no help there

marble jewel
#

Like I feel like on an iPad my notes are constrained to the small screen, even though I can scroll around

safe dragon
#

what's the problem with just a simple paper notebook btw?

marble jewel
#

I've written notes when writing mods on my physical whiteboard. Writing out the logical flow that I want things to happen in.

crystal wren
#

Imagine one of these types of things, but with... I don't know, some special IR stylus it can track and an actual projector to project the notes on the surface.

sonic mirage
hardy storm
safe dragon
#

I'm not really sure about anything you could bring that's smaller than a simple paper notebook

#

I guess your phone

#

since you already have it anyway

marble jewel
#

Nothing wrong with pen+paper, but I have like 8 different physical notebooks in my house that served different purposes at different times, and I had trouble committing to any one of them

sonic mirage
#

The journal I bought is like the size of a larger cell phone

marble jewel
#

I did the bullet journal thing for a bit too

hardy storm
#

yeah i did bullet journal too for a bit. my brain said no to the structure eventually

safe dragon
#

I like the idea of taking notes but I've just never really been inclined to take any for anything, not even shopping lists

hardy storm
#

worked better in college when life was more naturally segmented

sonic mirage
#

Did you try tweaking the structure at all? It's supposed to be pretty flexible, but I haven't gotten into it yet

marble jewel
#

I think this might actually be a good application for AI-technology. An assistant that you can have free-flow conversations with that can recollect whatever you write to it.

safe dragon
#

pretty sure that already exists

marble jewel
#

It'd be completely unstructured so that it can adapt to whatever you want to use it for

crystal wren
#

So Microsoft's new Recall thing, but... slightly more broad?

marble jewel
#

I thought the problem they have right now is they have limited ability to maintain the context

#

Like they're limited by tokens or whatever

sonic mirage
#

If I ever start I'm sure I'll have a main daily one and then one for different projects/contexts that I write in less often

sand frost
hardy storm
#

yeah but im specifically looking for something for notes on more sensitive topics so AI is definitely not my go to thought but as pillow pointed out earlier, bots probably aren't either

safe dragon
#

the amount of tokens some models allow is more than you'd ever write in a notebook in a month

marble jewel
#

If I did something AI, I'd want it all running on my own hardware

sand frost
#

I'm a hardcore note-taker, I have a very good memory but I stopped being able to manage everything in my life in my head many years ago

marble jewel
#

As in no sending data back to the cloud, and encrypted end-to-end if there is any syncing between devices

hardy storm
sand frost
#

But I like keeping work/life stuff separate, which is why I started to use Obsidian

safe dragon
#

maybe eventually I'll have to stop just relying on memory alone for everything

sand frost
#

I do remember something like 90+% of things on my own, I just prefer to basically never forget something

#

I do sometimes fail to do things, but it's not because I forget

crystal wren
sand frost
#

every minute seems so frequent!

#

does it skip if you don't make changes?

marble jewel
#

I've got a good memory, but I can't rely on it 100% of the time. Plus there's limited capacity, and I'm trying to reserve it for less mundane things.

crystal wren
#

It is, but it does nothing without any changes to commit yeah.

sand frost
#

Also, having a to-do list really helps me prioritize

#

I've reached a point when I can't feasibly do everything, so figuring out what to do first is critical

safe dragon
#

I tried obsidian for a bit after the hype but ultimately the only thing I've actually ended up using it for is to hold a bunch of database scripts I find myself frequently using

marble jewel
#

It's funny, a highly valued skill at my work is being able to talk about all the company numbers from memory. I have no interest in that. I just need to know generally how things are going, and have access to any info I want at my fingertips.

sand frost
#

I basically only want "app that holds text files" out of obsidian, so I suspect I'll do just fine

#

I was using OneNote, which is a piece of shit trash fire

strange copper
sand frost
#

Apologies to any microsoft devs, but why the f is everything microsoft so bad

marble jewel
#

I tried using OneNote unsuccessfully

strange copper
#

i switched to obsidian after onenote was a pain for class lol

sand frost
#

hate outlook, hate onenote, powerpoint on the web is shitty

#

word is awful

safe dragon
#

I've essentially become an encyclopedia for much of our work's projects, I tend to remember who implemented a feature too which helps speed planning along

marble jewel
#

I've tried a ton of notes apps, and found what works well for me is the simpler the better

crystal wren
sonic mirage
#

Most of my notes are just in flat text files, I could probably use a better system lol

safe dragon
#

windows explorer hasn't been good... probably ever

strange copper
#

the fact that the old windows 10 context menu "more options" isn't formatted like the main right click menu drives me nuts

marble jewel
#

Microsoft just gonna do away with Explorer and make you speak to Copilot to open a file

sand frost
#

I use Apple Notes for personal notes stuff, and it's literally just bullet points mostly

#

So I really like it, plus the synch feature is nice

marble jewel
#

Apple Notes is about as much as I need from any notes app

safe dragon
#

going back to mkdir in the terminal

sonic mirage
crystal wren
sand frost
#

But I think actually not having work notes immediately right there on my phone is fine and healthy

marble jewel
#

You can even link notes, tag them, add things like locations. So basically every feature I'd find useful.

crystal wren
marble jewel
#

Or how about that GitHub CLI Copilot thing. That's the direction they're headed.

safe dragon
#

I've still yet to find any use in copilot beyond the autocompletion(which is very good)

hardy storm
#

my only issue with apple notes is i don't like how revision history is displayed. its why ive started using discord instead because it forces linearity i guess

marble jewel
#

Before: cd ~/Documents
After: Take me to my documents

safe dragon
#

"which documents"
"the folder called documents"

marble jewel
#

I'm sorry, I cannot comply with your request

#

What's a folder?

safe dragon
#

the directory called documents shockedd

safe dragon
#

"this folder is password protected, please speak your password out loud"

sand frost
#

i refuse to speak to my devices

marble jewel
#

Oh that's the part which bothers me too. The Humane AI pin or whatever will never be a phone replacement as long as every bit of info to and from it is audible.

sonic mirage
#

"hunter then the number two"

sand frost
#

they can deal with my old-fashioned typing

safe dragon
#

I already lose my mind with ios/ipados splitting the concept of files and photos. I'd cry if we went further down that path

sand frost
#

the only time I'm tempted to speak to my devices is for switching music on long drives, but I actually just gave up on that instead

#

and listen to the radio (the selection gets bleak some places though...)

marble jewel
#

Imagine giving up typing on a phone in favor of saying your Google searches out loud

sand frost
#

I don't like when my devices make noise, and I don't really want to make noise myself to interact with them

#

I'm very anti-audio unless it's music

safe dragon
#

I feel like a complete fucking moron whenever I speak to my phone

#

in any context other than a phone call

sonic mirage
#

I only use it to text while driving. It works surprisingly well

marble jewel
#

People would think I'm a moron by some of my google searches. Like I'll be in the middle of a conversation and discreetly search a word that I don't recognize.

crystal wren
safe dragon
#

hey google what does discreetly mean

sand frost
#

Hate phone calls

sand frost
safe dragon
#

me too

#

somehow a completely different word

cinder karma
#

The autocomplete on this one was terrific

#

"Why would I need to pay taxes."

safe dragon
#

capitalism...

#

wait no

#

socialism...

marble jewel
#

The majority of what I use any voice assistant for is to set timers

safe dragon
#

I don't set timers...

#

I mean okay I do for cooking but there's a timer in the oven/stovetop

sand frost
#

I use my phone timer

marble jewel
#

See, that's the thing I go hands-free for

sand frost
#

But I set it with my hands

marble jewel
#

I'll boil the pasta water and then "Hey Google, set an 8 minute timer"

safe dragon
#

I'll look at the time and calculate what time is 8 minutes from now

#

and then do thing

marble jewel
#

I'll also sometimes do unit conversions. So I guess what I'm trying to say is that voice assistants are only useful to me when I'm cooking.

safe dragon
#

cooking assistant

sand frost
#

I don’t really do conversions when cooking

#

Too American πŸ˜›

crystal wren
#

"Hey Google, I got egg everywhere, please help"

sand frost
#

Only bake in freedom units

safe dragon
#

I just guesstimate

crystal wren
#

The units we use here are so confusing...

sand frost
#

You live in a strange land, full of slugs and stones

crystal wren
#

Human weight? Stone. Cooking weights? Sometimes grams. Human heights? Feet and inches. Distances? Miles! Lengths under distance level? Meters!

#

Milk? Pints! Pop/soda/anything else liquid? Litres!

safe dragon
#

idk what y'all are doin over there

#

how much is a pint even

#

568 milliliters

sand frost
#

I know the common conversions by memory, but doing the arithmetic can be annoying

#

454 grams

crystal wren
#

I can convert grams to kilograms and vice-versa... SDVkrobusgiggle

#

Flawlessly, in fact!

safe dragon
#

me too

sand frost
#

Lmao

safe dragon
#

I too am capable of moving a decimal point

sand frost
#

I know a cup is around 200-250 mL, right?

safe dragon
#

that depends

crystal wren
#

237, apparently!

#

For a US cup...

ivory shadow
#

Fuck kilograms. Use kibigrams just to mess with people.

safe dragon
#

an imperial cup it's 284

sand frost
#

I just use US recipes by volume, though

#

Like the recipes I grew up making I still make

ivory shadow
#

I almost never see a recipe in the US that uses anything other than volume.

sand frost
#

I know recipes by weight are more accurate but it’s not how I learned

#

Also I have a few of them memorized

marble jewel
#

This may be my downfall, but I actively try not to commit much to my memory that I know is easily retrievable within seconds

ivory shadow
#

Well, volume or distinct counts of something. "Two eggs" as an example

crystal wren
sand frost
#

I can’t not memorize things I see often enough tbh

safe dragon
#

surely it uses weight to measure out like, pasta

marble jewel
#

I know I'm capable of memorizing things easily, which is why I actively try to restrict it

ivory shadow
#

I have no control over what I memorize. My brain picks the stupidest stuff to memorize.

safe dragon
#

you're not gonna say a cup of spaghetti

sand frost
#

Atra will pop in any minute to mention their memory πŸ˜›

#

I don’t measure when I cook

ivory shadow
#

I still have a windows XP product key memorized.

marble jewel
#

I've accidentally memorized license plates by looking at them and realizing there's a pattern

safe dragon
#

75 strands of spaghetti please

sand frost
#

Spaghetti units are in eyeballs

crystal wren
#

Wait, that's a great point... how is pasta measured there?

marble jewel
#

I'm afraid if I don't throttle my memory, I'll end up with a bunch of useless information taking up my brain space

sand frost
#

I just pick up some

marble jewel
#

Pasta is measured by the handful

crystal wren
#

That's fair, actually.

sand frost
#

Put it in the pot

crystal wren
#

Pasta's more of a garnish.

marble jewel
#

I usually cook two handfuls of fettuccine

safe dragon
#

what if you're using a pasta shape you're not used to

sand frost
#

If I make too much pasta I just eat leftovers

ivory shadow
#

Pasta is measured in boxes, obviously

safe dragon
#

a whole box of pasta

#

hope you have a family of five or more

sand frost
#

Usually it’s just me, so a whole box is too much

#

But I know from experience most pasta shapes

#

And I mostly just cook my favorites anyways

marble jewel
#

Forget pasta units, what's the deal with serving sizes, huh? Can anyone explain that?

sand frost
#

Life is short, eat the best pasta shapes

#

Curly ones are the best, also fettuccine

safe dragon
#

in the us, they pick whatever serving size makes their product not look as bad for you

marble jewel
#

What human being is one serving size calibrated to?

cinder karma
#

Also how do I 401k

ivory shadow
sand frost
#

Atra why is there pasta in your 401k

safe dragon
#

doesn't work quite so well in the EU since you're legally required to list the 100g nutrition values

sand frost
#

401k is a long way to run

marble jewel
#

Don't run before you walk

safe dragon
#

don't worry, you have decades of time to run the 401k

ivory shadow
#

401,000 is entirely too much pasta.

#

I would start with less.

marble jewel
#

I swear, based on serving sizes, I eat a family worth of food every meal

safe dragon
#

when they claim on a box of cookies that a singular cookie is the server size

#

or like a single handful of pringles

#

lies

#

but it makes their calories and sugar content look better since it's listed by serving size...

sand frost
#

Dirty dirty lies

marble jewel
#

It's the FDA trying to shame me for my appetite

ivory shadow
#

You know what I hate? When a package that only has one of something is considered more than one thing.

ivory shadow
#

"Hey, check out our big cookie! It's only 50 calories*!"
*if you eat like 10% of it

marble jewel
#

Serving sizes be like

safe dragon
#

please eat only half the kitkat and give the other half to someone else

ivory shadow
#

No

marble jewel
sand frost
#

Yeah, we program Kit Kats here πŸ˜›

marble jewel
#

I think it should be programmers-off-topic

#

It's programmers going off topic from anything at all

sand frost
#

Accurate

tropic anchor
#

If we're on the topic of food, question for the americans, why is all your "extreme sour" candy so extremely underwhelming?

sand frost
#

Idk it tastes pretty sour to me

pliant snow
#

I swear it used to be much worse

sand frost
#

But I don’t like extreme sour

pliant snow
#

as a kid I remember some of them really fucking people up, but theyre tame now

sand frost
#

I like β€œa bit sour and also sweet” but I guess that doesn’t roll off the tongue

marble jewel
#

You gotta remember with America, our baseline is very sweet. What you call cake, we call bread.

ivory shadow
#

Honestly I bet there were lawsuits and now there are regulations about being too sour

sand frost
#

I’m with Khloe

#

That seems very American

tropic anchor
#

Friend of mine brought these back from Orlando, honestly, barely sour

#

And warheads too, just sweet

marble jewel
#

That and they realized they can change the formula slightly without it going noticed to save a fraction of a penny, and did that over and over again hundreds of times over years

#

Shrinkflation

#

Works in ways other than making things smaller

tropic anchor
cinder karma
cinder karma
tropic anchor
#

Nope, but judging by the name, I think I'm glad I didn't

marble jewel
# cinder karma Is serving size government defined

Maybe they should be, or at least standardized, because when I would find them most useful is when I'm trying to compare the nutritional value of things, but sometimes that requires some fractional head math to really understand which thing is better

cinder karma
#

(I cook from scratch)

cinder karma
marble jewel
#

I mostly cook from scratch too, and nutritional value is relevant when considering raw ingredients

#

Like I'll improvise recipes, and still have to make choices when I'm shopping for my pantry items

sand frost
tropic anchor
#

See, glad I didn't, did a full stop on energy drinks last december, to reduce my caffiene intake

sand frost
#

Meanwhile I drink tea and feel antsy the rest of the day

crystal wren
#

Meanwhile, I just had my bed time cup of coffee.

sand frost
#

bedtime coffee??

marble jewel
#

2 cups of coffee a day is my limit. Once in the morning to wake up, and once mid-day to get me through.

tropic anchor
crystal wren
#

It does nothing to me outside of multiple energy drink levels. SDVpufferwaaah

sand frost
#

I’ve banned myself from coffee after noon and honestly shouldn’t even have coffee at all

#

But I like it, so sometimes I indulge

marble jewel
#

I used to work at Starbucks and had a ridiculously high caffeine tolerance, but no more

crystal wren
#

It's not even a buildup of tolerance for me, it's that... one gene that affects caffeine metabolism.

sand frost
#

The internet says that if im susceptible to anxiety i shouldn’t have caffeine, which is super tragic

marble jewel
#

Even though you're not American, that's another trait we have, most people have some baseline thing about them that others would consider to be excessive

#

Maybe you work too hard, drink too much, not get enough sleep, whatever it may be.

tropic anchor
#

That's not exclusive to Americans, everyone has that

marble jewel
#

True, but I do think there's a reputation for us doing things in excess

sand frost
#

If it’s Americans, by European standards we all work too hard

marble jewel
#

Taking time off is not very common among Americans. Our identities are tied to our work.

tropic anchor
#

And also you guys get sick days, If I'm sick I call my job and they tell me to get well soon

marble jewel
#

Thankfully, if I'm sick I get to work from home

tropic anchor
#

There's no, "You spend your 10 sick days already, better come in anyway"

marble jewel
#

I say that like it's a privilege (which it is out here), but most don't actually try to take time off to get better

pliant snow
tropic anchor
#

My dad likes to say: "We work to live, while americans live to work"

marble jewel
#

What gets me too is that in places like the restaurant industry where you're worried about covering shifts, that's where they get the most pushback for trying to take sick time off

#

They'd rather sick people spread their disease to everyone else than take the time off

#

I am Job

tropic anchor
#

One thing I did like about the US, Wallmart. Ya'll have 1 giant store which is the same size as my towns largest shopping center

#

I've never walked down one line going "Drinks, Toys, Kni- KNIVES!?!"

safe dragon
#

US likes its gigantic stores

#

with equally gigantic parking lots

tropic anchor
#

For their unnecessarily giant trucks

#

You live in a suburb dan, drop the F150

safe dragon
#

that are not used for anything one would normally decide to buy a truck for

cinder karma
#

Sheku was like "what do you mean, after work on Sunday"

tropic anchor
#

... You work sundays?

safe dragon
#

do you just have a different two day weekend instead

sand frost
#

Every day is work

#

Just some days less work

#

And no meetings

#

Or less meetings

tropic anchor
safe dragon
#

I'd lose my mind

sand frost
#

(Atra and I are in more of the β€œhigh skills high education high commitment” space)

#

So it’s not necessarily representative of American jobs, though I won’t argue it’s entirely non-representative

tropic anchor
#

I'm working my way to get a 4 day work week, meanwhile you sitting at your desk on a weekend

sand frost
#

Well, I also don’t do most of my work at my desk

safe dragon
#

I too sit at my desk on a weekend but not for work

sand frost
#

I work at my bedroom desk, a coffee shop, my bed, and my work desk

marble jewel
sand frost
#

Sometimes at the kitchen table

safe dragon
#

people actually work in coffee shops?

#

that's not just like a funky influencer thing

sand frost
#

Yeah, I focus better with noise

#

And one of the local shops does a promotion where if you pay in advance for the month you get a discount, and they’re nearly empty around midday

#

It helps me take breaks at good times and beat the traffic to spend the morning there

safe dragon
#

interesting

#

I work best in complete silence

tropic anchor
#

You can do it here too crumble, but it's just... rare

sand frost
#

I grew up in a noisy household

#

I suspect people’s noise habits and tolerance develop as a child

safe dragon
#

probably

cinder karma
#

I only did that when I worked in LA

safe dragon
#

I know people who grew with the radio or tv on permanently which would drive me completely mad

cinder karma
#

Then I would work at Starbucks in the evenings

#

Cuz my roomies smoked pot

#

And I couldn't stand that

sand frost
#

I was so lonely one summer as an intern I played the radio so I wouldn’t feel so alone

#

Still probably better than roomies who smoke though

tropic anchor
safe dragon
#

I don't want specialty stores to disappear

tropic anchor
#

There's a store here, which if you find a product at a lower price elsewhere, they'll update theirs to match and give you the product for free

safe dragon
#

I've heard of deals like that a few times here as well

#

I am too lazy to pay attention to that

tropic anchor
#

I've had it once, pack of cookies, like 5 cents difference, they changed the price, but changed it back a week later, so I got two free packs of cookies SDVpuffersquee

marble jewel
#

Walmart is particularly nefarious for this

cinder karma
#

Walmart isn't really cheaper tbh

#

For produce especially

marble jewel
#

They replace every specialty store with a bunch of jobs that pay less than livable wages

tropic anchor
#

I've seen, a cucumber there is the same price as a box of candy with enough sugar to cause a high

cinder karma
#

I feel that's like processed food in general tbh

safe dragon
#

from what I understand dollar general has killed many many stores as well

cinder karma
#

meanwhile: I feel like led light bulbs are more expensive now?

#

somehow?

#

YOU WERE SUPPOSED TO GET CHEAPER, TECHNOLOGY

marble jewel
#

Over their lifespan, they may still be

cinder karma
#

Yeah, I need specialty bulbs (t8, 2ft, preferably ballast bypass)

#

I just don't want 25 of them

crystal wren
#

Speaking of bulbs, Edison style screw ins are evil and I will not be convinced otherwise. SDVkrobusgiggle

cinder karma
#

or, you know, to pay $10 a bulb

marble jewel
#

β€œBig light bulb” has gotta shift profits from disposable tech somehow

cinder karma
#

it's replacement for fluorescent so I guess I'll just pay up.

tropic anchor
#

I'll be damned if "Big light bulb" becomes a real thing

cinder karma
#

(to be exact: the bulb is fine. The ballast is dying.)

#

I can either

  • replace the ballast ($20, but modern ballasts also don't die) and continue to use old bulbs
  • rewire to take LEDs
#

I've been doing the second.

sand frost
#

The fact that you know how to rewrire stuff is intimidating πŸ˜› but it makes sense

#

I don’t touch the zap zap stuff

safe dragon
#

me neither

cinder karma
#

I mean, an LED is.

#

well

#

two wires.

#

One hot, one neutral. Pretty hard to screw up

sand frost
#

Yeeees but

safe dragon
#

idk man that's a 50/50

crystal wren
#

Certain types of bulbs are one long wire! /j

cinder karma
#

It's also like. Well, AC.

cinder karma
#

Crumble, it's not 50/50, you literally just attach a wire to both ends, done

sand frost
#

The wall has some strong zaps

#

I am merely mortal

safe dragon
#

I've screwed in plenty lightbulb wires but that's not really rewiring in it's just hanging up a lamp

cinder karma
#

maybe I should get into the LED rewire business as a side hustle

#

(nah, I'm not a licensed electrician.)

marble jewel
#

I want to replace all the light switches in my house, but I have a lot of fear and respect for electricity

sand frost
#

Someday I’ll live somewhere I care about fixing the outlets

cinder karma
#

meanwhile, work is like "you're really, like, nonchalant about the 700C soldering iron in your hand, you know?"

me: "hey, I haven't burned myself yet."

crystal wren
#

Things like that get dangerous when you worry about them too much!

sand frost
#

It’s best to worry a small but healthy amount

crystal wren
#

Exactly!

sand frost
#

Most accidents happen when people get complacent

cinder karma
#

the trick is knowing only half of it gets hot

#

so you can ignore the instructions and hot swap tips fine

crystal wren
#

And which end.

marble jewel
#

Even if I don’t zap myself, who’s to say I don’t end up burning my house down sometime way later

cinder karma
#

....you twist two wires together with the cap thingie

safe dragon
#

I haven't even seen a soldering iron in like 15 years

sand frost
#

Good wiring isn’t too hard if you’re neat

cinder karma
#

A five year old can do it

cinder karma
#

(I do recommend, however, following convention when it comes to wiring colors.)

crystal wren
#

I like my Hakko... though the poor thing is so underused.

safe dragon
#

where would I see a soldering iron

cinder karma
#

don't be the jackass who wires everything in weird colors like blue

sand frost
#

What if you need to do janky home electronics destruction repair

#

They’re like $10 for a cheap one so I just have one at home

#

But I used one at work recently

cinder karma
#

I don't have one at home but like

#

Work has them, so

safe dragon
#

one company I'm looking at does a ton of embedded stuff and hires electrical engineers so I assume they have soldering irons...

#

I have the shakiest hands known to man I cannot be trusted with a soldering iron

#

I take like 5 tries to get a screw into its spot when screwing in a motherboard

#

tiny ass screws in awkward locations

pliant snow
#

I had this ancient one from radio shack for years. I got one of those pinecils people recommend... and have yet had a reason to use it

sonic mirage
#

// i am speed

safe dragon
#

I like how it changed an infinite number of files

crystal wren
thin estuary
#

I’m surprised it’s not locked yet

pliant snow
#

I dont think they really look at the github at all

lethal walrus
upbeat turtle
#

Spammers gotta keep spamming!

thin estuary
lethal walrus
#

...

#

the horror

thin estuary
#

I’m hoping it’s an implicit return

#

Still bad

safe dragon
#

I'm not even sure if this makes sense or not

#

cause the point of a finally block is that it's guaranteed to run after a try catch

#

wait

#

no

#

this is fucked

#

I didn't read it right

thin estuary
#

A return in the finally block should override the return from the try block

#

I don’t have a problem with that

#

The question is if that’s an implicit return or not

upbeat turtle
#

I wonder if you put "return copyVar;" below the finally if it'll change the behaviour

#

Still messed up

thin estuary
#

That would make it so much worse

upbeat turtle
#

IMO, return should override finally. However, finally ALWAYS runs after a try. =mind blown=

#

On the other hand, return cannot fail, either.

safe dragon
#

an implicit return just assumed the variable you assigned somewhere in there is what you want to return sounds like a strange thing to do

thin estuary
#

The thing is, you can have a return IN a finally

upbeat turtle
#

A return IN a finally makes sense. NOT returning when explicitly returning doesn't make sense

safe dragon
#

so does an early return inside a try finally block just not work in gamemaker

#

that's what I'm gathering from this

#

I mean it probably stops executing whatever is in the try

#

but it ignored what was intended to be returned

ivory shadow
#

Finally, someone invented JavaScript but worse

cinder karma
#

What the fuck?

pliant snow
#

Yeah, I'm fine with it not returning 123, but it returning 456 is bizarre

safe dragon
#

I am once again in the camp "this conversation shouldn't be necessary, this should be a compilation error"

#

programming language that try their hardest to make any broken code "work" anyway are my worst enemy

pliant snow
#

errors are scary, just never throw errors

ivory shadow
#

My guess: the return statement is randomly taking control of a local variable to store its value.

#

(Or maybe it's not random and that's a special name?)

safe dragon
#

worst case scenario none of this was intended and it's popping a random value from the stack to return

frosty echo
#

I think that's a better case than this being intentional

safe dragon
#

defined behavior vs undefined behavior...

#

really it's just bad regardless

cinder karma
# thin estuary

C style assigns. Implicit returns. Try finally. My head hurts

pliant snow
#

Does that count as C style assigns

cinder karma
#

.... I'm not sure

dapper sinew
#

@pliant snow mind if i ask you some Linux questions in DMs, im pretty in need of help getting tensorflow up

pliant snow
#

Sure

dapper sinew
#

Thank you Cry

supple ether
#

Fuck gamemaker for real

#

Godot 4 life

rain lotus
#

github is quickly scraping off significant portions of my remaining lifespan
can someone please tell me how i make it play nice with visual studios? specifically when i hit pull it just creates doubled up versions of all the code in my files and i go from no errors to about 200 because everything's been duplicated. it won't let me push to the repo because the local and remote repos don't line up (even though they're the exact same code and files in the same layout now since i manually uploaded each one from my file explorer), but it won't let me pull or sync the remote.

deep drum
rain lotus
#

command lines are absolutely unreasonably scary i'd never used one before this month, but if it's the only way to make this work then ill bite that bullet. i know the problems im running into are user error but wow this was not built to be user friendly

deep drum
#

not sure if you're talking about VS or git. I'm not a big fan of VS, I use Rider.
But Git is unfortunately very powerful, which can sacrifice user friendliness... It's a certain amount of just memorizing the correct CLI commands until you start to get a grasp of things.

#

at the very least, git status is always your friend to see where you're at

marble jewel
#

Other than when you run into a conflict, most of what you'd use in the Cli for git is like 3 commands

rain lotus
#

git sadly, ive been using it for a few years from a "get code" side of things but now i'm attempting to upload repos and such and i'm struggling a lot more than i want to be

marble jewel
#

tbh I like certain visual tools for dealing with git, and I'll go outside of my IDE to use them (specifically when dealing with things like conflicts)

#

Sublime Merge has been my go to as of late

deep drum
#

Rider has good conflict management, I'll usually use that

marble jewel
#

Although Rider is really good now

#

Beat me to it

deep drum
#

#1 JetBrains shill SDViconstardrop

marble jewel
#

Hey that's my title /s

rain lotus
#

all i want to be able to do is work on this project with a second person and not have every file break horribly any time one of us tries to upload a commit >.>

deep drum
#

that's also on you two to not mess up, git won't magically fix that problem

marble jewel
#

If you can't get Rider for free, I've found VS Code with GitLens is pretty good too

rain lotus
#

i know, its definitely just user error

deep drum
#

if you're new to collaborating with git, make sure you always pull before you commit + push changes, you never know what someone did while you were coding

rain lotus
#

but knowing im using it wrong doesnt make using it right any easier ykno? i've watched 2 videos and read a few guides and i feel like i'm drowning lowkey

deep drum
#

and if you can't pull because of a conflict, git stash, git pull, git stash apply

rain lotus
#

thats what i've been trying to do but if i use either github desktop or vs to pull first, it doesn't pull it duplicates all the code within the files

deep drum
#

then resolve conflicts, git add, and follow the instructions in git status

marble jewel
#

If you really want to get fancy, you'd feature branch your changes and merge them into your "main" branch

deep drum
marble jewel
#

So all of your changes are just a paper trail of features

rain lotus
#

i definitely don't want to get fancy i've broken many things trying to get basic

marble jewel
#

It's not too fancy, but it helps ensure the integrity of your changes

deep drum
#

if you're really having a bad time of it, I'd be happy to hop in a VC with you and try to straighten it out if you share your screen lol

marble jewel
#

(I don't do feature branches when it comes to modding, and neither do most people)

deep drum
#

I mandate it for my work repos, but since I'm just contributing to master (I don't own the UIInfoSuite repo), I just work in my fork main

marble jewel
#

Digus is one of the only modders I've seen do proper feature branches

rain lotus
#

if you can show me where i'm messing this all up id definitely appreciate it because at this point every time i want to change one line of code i'm reuploading the entire file via drag and drop, then deleting my local files entirely and reinstalling them from github and this is simply unsustainable lol

#

(slight exaggeration but its how it feels)

deep drum
#

aw am I not allowed to screenshare in the voice channels in here?

indigo mistBOT
#

@deep drum You leveled up to Farmer. You're now a prettier shade of blue. Thanks for sticking around!

marble jewel
#

I am impressed

ivory shadow
#

Horrifying.

marble jewel
#

Treating modding like it's a job

deep drum
#

@rain lotus do you mind if I call you then? seems we can't do it in this server

rain lotus
#

i don't mind at all

sand frost
#

I can't say i've ever had that particular problem in git, but I can say that the learning curve is definitely real for git

#

My first few attempts to do pull requests ended in flaming failures

marble jewel
#

One thing I like about branches + merge is that you can squash the branch and the commits on your main are all tied to the single change

sand frost
#

I honestly don't know how to squash

#

When I was first doing git, I would write down the magic incantations in a little note

marble jewel
#

Squash is just taking all the commit history of your feature and grouping them into one thing when it comes to the main branch history

sand frost
#

and then run them in the command lne

marble jewel
#

You get a clean history of feature1, feature2, bugfix, bugfix, ...

sand frost
#

eventually I now actually know what the magic words mean

#

Interesting, maybe I should learn squash then, since I have a commit history made of a bajillion small fixes usually

marble jewel
#

I don't do this, but I like the idea of it

#

It's easier to just push to main all the time

crystal wren
marble jewel
#

For example, this is what Digus history looks like

marble jewel
#

Because for whatever reason Rider stopped allowing me to hot reload

crystal wren
#

Oh wow, you still never got that fixed?

marble jewel
#

Never did.... no idea why

#

So I just have two huge-memory applications running side-by-side as I do SDV development

crystal wren
#

What else is RAM even for?

marble jewel
#

It's why I have 64GB of it

cinder karma
#

That way if I vanish

#

Someone else can pick it up

#

Then again

#

It's been two months

#

Someone else, where are you

supple ether
#

I don't use branches at all

#

except better beehouses bc I made a separate one for 1.6 dev when I was updating it

sand frost
#

I only use branches to PR

rain lotus
#

aha that was a mess but Absorbed did a great job at hand holding me through

#

also discovered my nice fancy mic has died between conference calls so thats cool

deep drum
rain lotus
#

im pretty sure i was managing to use github without having github installed

marble jewel
strange copper
#

is it worth?

deep drum
#

git CLI for lyfe

strange copper
#

i'm a cli user except when it comes to resolving merge conflicts. then i use the vscode gui lol

deep drum
#

valid

strange copper
#

i'll be doing a project in a whole other IDE but i open vscode for the merge lol

rain lotus
strange copper
#

understandable

rain lotus
#

but absorbed had to guide me through installing git bash and was quite surprised that vs had been letting me do github things without it

marble jewel
#

I have like four different tools I use for different purposes which are all just frontends to git

deep drum
#

they ended up not having git CLI installed

rain lotus
#

the secret was that vs was not letting me in actuality

deep drum
#

and one git status showed what the issue was

strange copper
#

git bash is my favorite terminal

supple ether
#

I like windows terminal but only because its got tabs and I've made it look all pretty

#

also the quake terminal is fun

#

I have it set to use a nice chunky pixel font (November) and the whole thing has this nice aero-glass-style effect to it

marble jewel
#

Windows Terminal is my go to also, I have preconfigured settings for each of the ssh connections I make complete with their own icon

#

It's aesthetically appealing, and very convenient

deep drum
#

I'm a windows hater, but they kinda popped off with the terminal

rain lotus
#

i can make the terminal not ugly and hard to read πŸ‘€

marble jewel
#

Plus with spaceship starship I have a consistent terminal prompt no matter which OS I connect to

rain lotus
#

hey i have a question that should probably be known but i don't know most things i should /lh
if i use pull before pushing my update won't that erase the stuff i want to push
alternatively because ive seen that not be the case, why not

deep drum
#

if you've committed and then pull, Git will do its best to try and merge the two together intelligently.
In the case that it can't, like if you and someone else have changed exactly the same lines, it'll ask you to fix the file up manually

#

a good thing to look up if it happens is "fixing merge conflict manually"

marble jewel
#

pull replaces what's considered to be current in the branch, but your uncommitted changes will still be presented relative to that branch

deep drum
#

technically it's fetch + merge iirc

marble jewel
deep drum
#

😦

#

I love fetch

marble jewel
#

j/k

#

Just made me think of that reference

deep drum
#

you can also do git fetch + git rebase origin/master to try and get their changes and put yours on top of that (which I prefer but is a bit more in depth than you probably want to go)

rain lotus
deep drum
# marble jewel j/k

lmao I had this same conversation at work recently, apparently I'm like the only one that uses fetch

rain lotus
#

what does fetch.. do?

deep drum
#

Merge is trying to get someone else's changes to fit your new code, Rebase is trying to make your code fit into someone else's changes

#

fetch just "fetches" the latest information from github, but doesn't do anything with it yet

rain lotus
#

collect data for use, instead of use data

deep drum
#

so pull being fetch + merge means it'll get the latest changes from github, and then try and fit them into your files

bleak laurel
# marble jewel For example, this is what Digus history looks like

I hate squash commits, they can be a mess with multiples devs and features if you do stuff like cherry picking and need to check how the code evolved between them. For personal repository it ca be handy.
But I usually just commit when I'm finished anyway.
I do amend commits if just before merging I find something I missed. So it's like squashing anyway.

I used to create features branches for stardew valley repository, but now I'm just committing in the develop before releasing and merge to master when I upload the package.

deep drum
#

squash commits are my enemy

#

fixup or shut up

marble jewel
#

Y'all are still better than me who just pushes directly onto master

bleak laurel
#

I don't have time for feature branches now, I got a kid. Any minute I can save is precious.

deep drum
#

I'm the gatekeeper for my SE team's git stuff so I get to be picky πŸ™‚

rain lotus
deep drum
#

the best way to avoid sadness is probably just to use what works, and do it often

bleak laurel
#

I did create a feature branch when I created the optional Content Patcher version for Advanced Cask Mod, and merged when I made it the official version.

rain lotus
#

(read: i want to be but the limitations of evolution have barred me from acting on that reality most of the time haha)

#

commit every 3 lines, got it

marble jewel
#

tbh, for what you're doing, you could probably get by with a cloud-synced folder. Every major cloud file storage has revertible history.

deep drum
#

they're working with other people though, sounds dangerous for co-editing

marble jewel
#

Like your scratching the surface on git so you're not getting the benefit, and it's just overhead

#

Google Drive, OneDrive, and Dropbox all support working on the same file at the same time

deep drum
#

oh do they really?

#

huh

marble jewel
#

I guess the asterisk is it depends on if you're working in their tools for editing

#

But I do OneDrive with Office all the time

rain lotus
#

yeah i really should go back to using an interface i understand better but i'm trying to learn before using it becomes an outright need and that means a lot of trial and error

#

i have a learning disability and an absolute inability to accept that something is too hard for me to learn if i just keep trying

marble jewel
#

Because git can be powerful, but that's when you get into some of its inner workings. The UI stuff usually doesn't expose a lot of that. Or at least doesn't make it any easier to work with.

#

UI great for basic pull/push, and maybe a bit of conflict resolution

#

Like I'm not averse to using different tools for similar purposes if I feel like each one is specialized or more suited than the others

#

And cloud storage is good at doing just that

cinder karma
#

(And so do i)

sand frost
#

hissssss

#

distressingly accurate

#

why must you be so smart SDVpufferchickcry

cinder karma
#

Hey, I once bought dry ice from you know where and tried to walk the mile back to you know where

#

Some kind stranger saw me and gave me a ride

sand frost
#

i hope your hands were ok SDVpufferfear

cinder karma
#

Yeah, because a kind stranger gave me a ride XD

#

I was not killed!

pliant snow
#

dry ice from you know where
the supermarket?

sand frost
#

that's a good baseline.......

#

but we can strive for better than not killed!!

cinder karma
#

(I'm being cautious to not give it away.)

tropic anchor
#

Isn't being alive peak OK

sand frost
#

dug up from deep underground

#

The dry ice black market

pliant snow
#

has anyone tried podman

#

does it have any advantages

safe dragon
#

idk what it is

#

is it an mp3 player

#

oh it is not

pliant snow
#

its redhat's docker alternative

marble jewel
#

I've considered, but every time I research it, I find out it's not quite as a drop-in replacement as they say it should be

#

I'm not ready to deal with the migration pain, and most of docker's downsides can be mitigated like running rootless

pliant snow
#

Thats my experience more or less

dapper sinew
#

I PREVAIL

#

AAAAAAAAAAAA

pliant snow
#

oh dear

strange copper
#

watch out, butter bear has cuda 😭

dapper sinew
#

its been

#

3 WEEKS OF WORK

strange copper
#

but now... ai time

dapper sinew
dapper sinew
#

I PREVAIL TWICE OVER, got my mining card working now :3

wintry aurora
#

hiii smart people, i'm doing a hw assignment with C++ and i'm trying to figure out if either of these methods are "better" than the other in this circumstance SDVpufferthinkblob

#

they accomplish the exact same thing so i'm mostly just wondering if there's a difference that i'm missing lol

gaunt wadi
#

Discord tries to predict at least your age and gender

#

We shall see when I get my data export

strange copper
deep drum
strange copper
#

(also you don't need the parentheses around all your "ors")

deep drum
#

Also -1 point for == false

#

while(!isValidInput)

wintry aurora
strange copper
#

but they don't group anything

#

surely you don't need the nested grouping

#

the second one with the groups inside

deep drum
#

Professors do be doin some weird shit

strange copper
#

imo it's less readable that way but i'm not ur professor so

#

i am sorry for ur loss

wintry aurora
deep drum
#

It’s a personal pet peeve lol i had to call it out

strange copper
#

are you allowed break statements? idk if it's technically "better" but i'd be inclined to infinite loop with a break statement

#

get the input, break if it's good, after the break statement print out that it was an error and loop again

wintry aurora
#

we can use them yeah. i usually just don't think about them lmao

strange copper
#

i think about this video all the time and i realize i am this guy

deep drum
#

Come on dude

#

How you gonna post the same the same thing as me

strange copper
#

i think you win bc you used a brain cell to like. copy the link rather than snipping tool

#

but i am a never nester i am unashamed i will do whatever it takes to not open another set of braces

deep drum
#

Literally the first place my brain went

strange copper
#

the day i learned ternaries.... ohohohohoho game changer

deep drum
#

I’m gonna stop you right there

strange copper
#

no please i never go more than 2 ternary layers

deep drum
#

Because if you chain ternaries you go to jail

strange copper
#

let me have this

deep drum
#

Oh good

strange copper
#

i never do more than 2 trust i can be trusted

#

because!!! otherwise you've nested!!!

#

and i am a never nester 😌

wintry aurora
#

there's always one missing somewhere......

strange copper
#

if the loop or the if is short i'll go single-line

#

it makes me feel something

deep drum
#

Guard statements are superior to if else ladders in every way

strange copper
#

define me a guard statement

#

i am curious

deep drum
#

Aka early return

wintry aurora
#

as am i πŸ‘€

strange copper
#

guard statements are superior now that i know what they are i AGREE

deep drum
#

When I was learning I had my revaluation moment where I just looked at my enormous if else ladder in disgust

wintry aurora
#

spare an example for me please i cannot visualize for the life of me 🀲

strange copper
#

the intro series at my university bans breaks and early returns

strange copper
#

idk why i made that so aggressive πŸ’€

wintry aurora
#

that's what the user gets for being naughty

strange copper
#

I couldn't think of a good early return example

deep drum
#
void MyFunction() {
    if(someCondition) {
        for(var i = 0; i < 10; i++) {
          Console.WriteLine($"Iteration {i}");
        }
    } else {
        Console.WriteLine("Second");
    }
}

// vs

void MyFunction() {
    if(!someCondition) {
        Console.WriteLine("Second");
        return;
    }

    for(var i = 0; i < 10; i++) {
        Console.WriteLine($"Iteration {i}");
    }
}
#

the "happy path" gets to continue down the method body in a very readable fashion while all the bad cases get filtered out

#
public static bool RenderBuildingOutput(Building? building, List<string> entries)
    {
      if (building is null)
      {
        return false;
      }

      List<Item?> inputItems = new();
      List<Item?> outputItems = new();
      MachineHelper.GetBuildingChestItems(building, inputItems, outputItems);

      Dictionary<string, int> inputItemsMap = GetItemCountMap(inputItems);
      Dictionary<string, int> outputItemsMap = GetItemCountMap(outputItems);

      if (inputItemsMap.Count > 0)
      {
        entries.Add($"{I18n.MachineProcessing()}:");
        foreach ((string displayName, int count) in inputItemsMap)
        {
          entries.Add($"{displayName} x{count}");
        }
      }

      if (outputItemsMap.Count <= 0)
      {
        return true;
      }

      if (inputItemsMap.Count > 0)
      {
        entries.Add("");
      }

      entries.Add($"{I18n.MachineDone()}:");
      foreach ((string displayName, int count) in outputItemsMap)
      {
        entries.Add($"{displayName} x{count}");
      }


      return true;
    }
#

Here's an example from my mod

strange copper
#

Programming patterns is such a fun subject

deep drum
#

I wish I could say all my stuff is neat, but it's not lol

#

but it's a good habit to try and be in

strange copper
#

It all goes out the window when the deadline comes up anywya

wintry aurora
#

thank you guys for sharing your wisdom..... i learned new things tonight

#

back to the grind SDVpufferclueless

wintry aurora
#

uhhhh is there a way in VSC to rollback to a previous version of your solution. i fucked up

safe dragon
#

not vscode itself no, source control/git does that job

#

git does integrate into vscode though

#

but I'm guessing you haven't been using it considering the question

wintry aurora
#

vscommunity, sorry i should have specified

#

actually, probably should have just said vs LOL. im frazzled right now

safe dragon
#

ah, well same answer ultimately

wintry aurora
#

welp

#

goodbye to 6 hours of work then SDVpuffercoolest

safe dragon
#

learning about source control the hard way

dapper sinew
trim relic
safe dragon
#

yes

#

or just pressing some button "no git repository detected, would you like to create one?" info header

crystal wren
#
$ mkpr new-project
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:     git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:     git branch -m <name>
Initialised empty Git repository in /home/alan/new-project/.git/

Perfect and flawless idea that will never go wrong.

deep drum
#

mfw git init

worn remnant
pliant snow
#

Early returns I can at least somewhat understand. I'm a fan of them, but I know there are some codebases that prefer to not do them for readability. Banning breaks is just stupid though, there's some operations I think you would just be screwed

#

There are some places where nesting is better. Lua doesn't have continues, so if you're doing conditionals in a loop, you either have to nest or use a goto statement

#

I did this just yesterday lol

worn remnant
#

well, i would simply never use lua, so /lh

cinder karma
#

Please, I only use gotos and exceptions as control flow

#

(Insert clip of Taylor Swift singing "it's an art")

pliant snow
#

/lh
lucky... let's... logic?...

#

the h is honest maybe...

worn remnant
#

lighthearted! (tone indicator)

pliant snow
#

lighthearted

#

thats my problem with the tone indicators, I'll learn them, then forget by the end of the month and have no idea

cinder karma
#

See, I just prefer the old fashioned tone indicators, ascii emojis πŸ˜›

dapper sinew
#

i use this sometimes

cinder karma
#

....discord why

dapper sinew
#

:3

safe dragon
#

early returns are great for guards

#

if someone passes a null value or something

deep drum
#

Exactly, no need to wrap your entire function in an if statement if you could just leave early

safe dragon
#

for the break though

#

what is the alternative

#

adding an extra clause to when your loop should stop and setting a boolean?

cinder karma
#

Just raise stop iteration

#

Like guido intended

safe dragon
#

i += 10000

#

much better than a break

cinder karma
#

Use a goto

safe dragon
#

rewrite the whole thing to be recursive

#

recursive but no early returns...

#

nasty

pliant snow
#

i was thinking a goto, but yeah a boolean would be "cleaner"

#

thats still stupid tho

upbeat turtle
cinder karma
#

When was framework 3.5

#

Why do I have to

crystal wren
#

I think... XP days?

pliant snow
#

thought you meant the laptop for a sec lol