#programmers-off-topic
1 messages Β· Page 14 of 1
i mean you only gave it like 9 data points
Yeah I know, I figured it wouldn't work lol. But wanted to try anyways
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
Oh really?
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
yeah it looks like model.fit abstracts it all away
Well rip
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
Huh, hmmm so how do I make it weight one way or the other
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
Oh hhh
3b1b has a good neural net series https://www.youtube.com/watch?v=aircAruvnKk&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi
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...
(honestly 3b1b has a good EVERYTHING)
Which part controls randomness? Validation?
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?
It's a random choice generator that pics based off probability of the next outcome
I think at least that's what it is
it's all linear algebra is what it is tbh
Ohhh
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
Alrighty I'll give that a watch over when doing the stuff
SHE LIVES
please it ran for like a half hour straight bc of rate limiting i deserve this
Oof
Twins lol
Kinda
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
Oof
3 more and then i gotta try and match this dataset up to my OTHER dataset
did you.. get tired of it π
i need tensorflow to work
and its not working on Arch
so im going to NixOS
what about pytorch
it wouldnt use my GPUs no matter what i did
dang
pytorch is weird in that you have to download the exact rigth version to match cuda
cause cpu is the default pip command
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
that's a fun one
(Also in that order in general, you did it wrong. /j
)
The only date format I accept is seconds since big bang
cause of its... packets?
getting them is a pain
packages?
like are you saying your wifi isucks?
no, i got GB wifi
honestly i like pip more than npm
that's a low bar
true
pnpm is better then npm though
i cant say ive had issues installing pip packages. It's getting rid of them once theyre installed thats the problem
how dare you want to get rid of them
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
I need to try uv tbh
(ive been at this for 7 straight hours)
bro you need a break π
I think you might be doing something wrong
I dont rest till it works
that's why it doesn't work yet /lh

do you have NixOS?
if so you can try out yourself, too see if i really am, provided you wanted to
I used to have NixOS but I dont now
big oof
however, getting shit to work on NixOS is a struggle on a good day
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
i would suspect you'd have to mess with your PATH more not less to get it working on Nix
Messing with path is also no big deal?
i swear im about to just compile Cuda from source 
yeah, whatever part lets me use tensorflow
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)
that's certainly a way to get text into a file
I wanna get better at using the terminal lol, plus I'm to lazy to open vscodium
(I use touch personally. Or vim)
you can modify a file with touch?
I always forget that's a thing
I'm also using echo "txt ">> file
(No, but creating one)
touch __init__.py
oh right
mere touch creates something from nothing

this is so unserious π
Lol
fuzzywuzzy is a top tier name for a library
In linux, they have the Erty library.... liberty.so
I figured it why I couldn't download cuda
Fun!
I'm the bright side, I learned the DD command better 
it is actually a pretty darn good library for "get me a close-enough string match"
would recommend, it even gives you confidence threshold
But... can it read your mind, like a certain anime girl?
idk what anime you're referencing but coincidentally i am using this for an anime-related project lol
Anya-chan! β€οΈ
that's embarrasing for me!
Your PFP, dude
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
then why does anya look so happy
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
See? Talking about anime CAN be on-topic in #programmers-off-topic π
I go nitey nite now. Is tomorrow.
test 123
π but can ur editor show u errors?
(in C++ I use neovim btw
)
(many hours wasted to do this pointless thing)
That's not pointless, it's love that
Id*
love you β€οΈ
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
Hey, remember those super weird font antialiasing issues I was having on Linux?
I fixed it, and I feel dumb now. That is all.
how?
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.
well then
jesus
lol
does anyone know why all the fish have identifier codes, even the legendary ones, but then the goby is literally just 'goby'
that seems suspiciously on-topic
but it's because of technical changes in 1.6 that made that possible at all
sorry, are you answering me? I'm afraid I don't understand, was there something in the 1.6 update to cause this?
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
Couldn't think of a better place to ask: wondering whether its possible to know where the bots in this server came from?
Oh, @pliant snow...
https://github.com/aquova/bouncer and https://github.com/aquova/governor/ primarily, though.
Where do any of us come from stares at hands
See above!
Thank you all!
also a couple on blueberry's github
aquo do you realise hxd is already a hex editor
that sounds like its problem
All my incomplete junk
is genova for the genesis
yeah, but it didnt get too far lol
ah
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!
you wrote multiple emulators! that is very impressive
one even has a logo!!
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
its a tutorial "book" on how to make a game boy emulator
So the next server event should be a make-an-emulator event, you're saying?
note to self: make a CPU with 3 instructions
yeah, its a sequel to the chip-8 one so to speak
but much, much longer
bytepusher has a single instruction
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 
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...
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.
I've got a 100% private server for super quick notes while I'm on my phone, yeah.
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
Sounds like a gap in the "market"!
It's like a slightly more modern version of emailing yourself
Maybe texting yourself?
Exactly that. Even cloud notes apps require more steps for me to access them easily than just something I always have open everywhere.
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
Im exactly the same. but im wondering if adding bots could be a fun little project to encourage me to take more notes 
Just be careful what you add depending on how personal the info there is
oh
You could technically tweak Bouncer and turn its user notes system into a topic-based one!
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
Also obviously Discord already has access to it, too
Because I'd want notes that pertain to a specific thing to be easily searchable later on
i just spam keywords in my notes and hope i accidently do good "SEO" in the process
I went through my Google Notes before and tagged a bunch of them, but I don't use it super often, still
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
tell me more, please?
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
Yeah that's what the ones I put in KT are, just temp storage, usually groceries and such
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
as long as no bots have admin/manage channels and your notes channel has them blocked from view/entry you'd be fine
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
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
https://github.com/aquova/bouncer/blob/88efd3a5ffde0b18852fdd0b90e1e31b7b8ee1cf/src/db.py#L143
It would theoretically be a pretty simple change! Just gets shoved into a database using some ID, which in our case is a Discord user ID.
That's why I don't think I'd ever land on a single solution for all my different noting needs
But this would only really be nice for... pretty short notes.
Different tools are better for different purposes
ah well there goes my idea of having a bot tell me i did a good job whenever i journal down thoughts after therapy 
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.
so a tablet with a cloud-based notes app and a stylus?
If you find something like that, I want it.
I have a whiteboard sitting leaned up against my desk to hang for like a year lol
ugh i would kill for a pocket sized expandable whiteboard
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
I mean I suppose there's kinda... https://remarkable.com/? Ish?
I also have a bullet journal sitting on my desk waiting for me to set it up to use daily
I have an iPad, but I'm talking like 40" screen minimum
I would not want to carry that around, no.
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
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
I've never taken notes in my entire life so I'm no help there
Like I feel like on an iPad my notes are constrained to the small screen, even though I can scroll around
what's the problem with just a simple paper notebook btw?
I've written notes when writing mods on my physical whiteboard. Writing out the logical flow that I want things to happen in.
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.
You might like a Bullet Journal. It's a whole system for taking quick concise notes in a small physical paper notebook. If I can ever just start I think I'll use the heck out of it cause it's already kind of how I take notes anyways
its my preference but hard to manage on the go especially in summer when im not carrying a shoulder bag around all the time
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
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
The journal I bought is like the size of a larger cell phone
I did the bullet journal thing for a bit too
yeah i did bullet journal too for a bit. my brain said no to the structure eventually
I like the idea of taking notes but I've just never really been inclined to take any for anything, not even shopping lists
worked better in college when life was more naturally segmented
Did you try tweaking the structure at all? It's supposed to be pretty flexible, but I haven't gotten into it yet
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.
pretty sure that already exists
It'd be completely unstructured so that it can adapt to whatever you want to use it for
So Microsoft's new Recall thing, but... slightly more broad?
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
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
I recently started to use obsidian! I don't use the git plugin though, would you recommend it? I've only just started so I haven't installed very many plugins
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
the amount of tokens some models allow is more than you'd ever write in a notebook in a month
If I did something AI, I'd want it all running on my own hardware
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
As in no sending data back to the cloud, and encrypted end-to-end if there is any syncing between devices
see this is where i shouldve studied cs not theater π
But I like keeping work/life stuff separate, which is why I started to use Obsidian
maybe eventually I'll have to stop just relying on memory alone for everything
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
The plugin, absolutely! I've got it auto-committing every minute because I want super granular changes in the commit history.
Vault committed {{date}}. {{numFiles}} changed.
Changes:
{{files}}
Nice macros available for the commit messages to get what you see in the screenshot for the commit message, too.
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.
It is, but it does nothing without any changes to commit yeah.
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
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
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.
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
all i use it for is "app that holds .md because i want quick formatting for course notes" and it's perfect
Apologies to any microsoft devs, but why the f is everything microsoft so bad
I tried using OneNote unsuccessfully
i switched to obsidian after onenote was a pain for class lol
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
I've tried a ton of notes apps, and found what works well for me is the simpler the better
Windows Explorer is horrendous right now! Fortunately that's not a core part of anyth-
Most of my notes are just in flat text files, I could probably use a better system lol
windows explorer hasn't been good... probably ever
the fact that the old windows 10 context menu "more options" isn't formatted like the main right click menu drives me nuts
Microsoft just gonna do away with Explorer and make you speak to Copilot to open a file
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
Apple Notes is about as much as I need from any notes app
going back to mkdir in the terminal
I've been using OneCommander for a bit, seems pretty neat
I'd prefer that! Sounds like it would be easier to replace! 
But I think actually not having work notes immediately right there on my phone is fine and healthy
You can even link notes, tag them, add things like locations. So basically every feature I'd find useful.
And instantly grabbing to try. Thanks!
Or how about that GitHub CLI Copilot thing. That's the direction they're headed.
I've still yet to find any use in copilot beyond the autocompletion(which is very good)
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
Before: cd ~/Documents
After: Take me to my documents
"which documents"
"the folder called documents"
the directory called documents 
"this folder is password protected, please speak your password out loud"
Yeah, i don't use the history in apple notes at all, I didn't even know it had a feature for it
i refuse to speak to my devices
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.
"hunter then the number two"
they can deal with my old-fashioned typing
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
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...)
Imagine giving up typing on a phone in favor of saying your Google searches out loud
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
I feel like a complete fucking moron whenever I speak to my phone
in any context other than a phone call
I only use it to text while driving. It works surprisingly well
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.
I feel like that even in that context! 
hey google what does discreetly mean
Hate phone calls
Google explains βdiscretelyβ instead π
"Why would a window leak?"
The autocomplete on this one was terrific
"Why would I need to pay taxes."
The majority of what I use any voice assistant for is to set timers
I don't set timers...
I mean okay I do for cooking but there's a timer in the oven/stovetop
I use my phone timer
See, that's the thing I go hands-free for
But I set it with my hands
I'll boil the pasta water and then "Hey Google, set an 8 minute timer"
I'll look at the time and calculate what time is 8 minutes from now
and then do thing
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.
cooking assistant
"Hey Google, I got egg everywhere, please help"
Only bake in freedom units
I just guesstimate
The units we use here are so confusing...
You live in a strange land, full of slugs and stones
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!
I know the common conversions by memory, but doing the arithmetic can be annoying
454 grams
me too
Lmao
I too am capable of moving a decimal point
I know a cup is around 200-250 mL, right?
that depends
Fuck kilograms. Use kibigrams just to mess with people.
an imperial cup it's 284
I just use US recipes by volume, though
Like the recipes I grew up making I still make
I almost never see a recipe in the US that uses anything other than volume.
I know recipes by weight are more accurate but itβs not how I learned
Also I have a few of them memorized
This may be my downfall, but I actively try not to commit much to my memory that I know is easily retrievable within seconds
Well, volume or distinct counts of something. "Two eggs" as an example
This is exactly why I've memorised zero unit conversions!
I canβt not memorize things I see often enough tbh
surely it uses weight to measure out like, pasta
I know I'm capable of memorizing things easily, which is why I actively try to restrict it
I have no control over what I memorize. My brain picks the stupidest stuff to memorize.
you're not gonna say a cup of spaghetti
Atra will pop in any minute to mention their memory π
I donβt measure when I cook
I still have a windows XP product key memorized.
I've accidentally memorized license plates by looking at them and realizing there's a pattern
75 strands of spaghetti please
Spaghetti units are in eyeballs
Wait, that's a great point... how is pasta measured there?
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
No idea, I donβt measure it
I just pick up some
Pasta is measured by the handful
That's fair, actually.
Put it in the pot
Pasta's more of a garnish.
I usually cook two handfuls of fettuccine
what if you're using a pasta shape you're not used to
If I make too much pasta I just eat leftovers
Pasta is measured in boxes, obviously
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
Forget pasta units, what's the deal with serving sizes, huh? Can anyone explain that?
in the us, they pick whatever serving size makes their product not look as bad for you
What human being is one serving size calibrated to?
Also how do I 401k
What's the deal with airplane food?
Atra why is there pasta in your 401k
doesn't work quite so well in the EU since you're legally required to list the 100g nutrition values
401k is a long way to run
Don't get ahead of yourself, you should 400k first
Don't run before you walk
don't worry, you have decades of time to run the 401k
I swear, based on serving sizes, I eat a family worth of food every meal
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...
Dirty dirty lies
It's the FDA trying to shame me for my appetite
Something ain't right here.
Subscribe for weekly short films.
Support -
Patreon: https://patreon.com/joelhaver
Paypal: https://bit.ly/2ZI7uff
Social -
Instagram: https://www.instagram.com/joelhaver
Drawings: https://www.instagram.com/joeldrawsandwriteshaver
Letterboxd: https://letterboxd.com/joelhaver
You know what I hate? When a package that only has one of something is considered more than one thing.
"Hey, check out our big cookie! It's only 50 calories*!"
*if you eat like 10% of it
Serving sizes be like
please eat only half the kitkat and give the other half to someone else
No
Yeah, we program Kit Kats here π
I think it should be programmers-off-topic
It's programmers going off topic from anything at all
Accurate
If we're on the topic of food, question for the americans, why is all your "extreme sour" candy so extremely underwhelming?
Idk it tastes pretty sour to me
I wish I knew
I swear it used to be much worse
But I donβt like extreme sour
as a kid I remember some of them really fucking people up, but theyre tame now
I like βa bit sour and also sweetβ but I guess that doesnβt roll off the tongue
You gotta remember with America, our baseline is very sweet. What you call cake, we call bread.
Honestly I bet there were lawsuits and now there are regulations about being too sour
Friend of mine brought these back from Orlando, honestly, barely sour
And warheads too, just sweet
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
This as well, when I went they had some limited flavor drink, one sip and you'd need a dentist appointment
Is serving size government defined
Did you try the death lemonade?
Nope, but judging by the name, I think I'm glad I didn't
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
Tbh often I never look at those
(I cook from scratch)
Just 237mg of caffiene
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
Your caffeine tolerance is sky high lol
See, glad I didn't, did a full stop on energy drinks last december, to reduce my caffiene intake
Meanwhile I drink tea and feel antsy the rest of the day
Meanwhile, I just had my bed time cup of coffee.
bedtime coffee??
2 cups of coffee a day is my limit. Once in the morning to wake up, and once mid-day to get me through.

It does nothing to me outside of multiple energy drink levels. 
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
I used to work at Starbucks and had a ridiculously high caffeine tolerance, but no more
It's not even a buildup of tolerance for me, it's that... one gene that affects caffeine metabolism.
The internet says that if im susceptible to anxiety i shouldnβt have caffeine, which is super tragic
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.
That's not exclusive to Americans, everyone has that
True, but I do think there's a reputation for us doing things in excess
If itβs Americans, by European standards we all work too hard
Taking time off is not very common among Americans. Our identities are tied to our work.
And also you guys get sick days, If I'm sick I call my job and they tell me to get well soon
Thankfully, if I'm sick I get to work from home
There's no, "You spend your 10 sick days already, better come in anyway"
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
y-yeah i cant live without the joy my job brings me
My dad likes to say: "We work to live, while americans live to work"
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
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!?!"
that are not used for anything one would normally decide to buy a truck for
Lol
Sheku was like "what do you mean, after work on Sunday"
... You work sundays?
do you just have a different two day weekend instead

I'd lose my mind
(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
I'm working my way to get a 4 day work week, meanwhile you sitting at your desk on a weekend
Well, I also donβt do most of my work at my desk
I too sit at my desk on a weekend but not for work
I work at my bedroom desk, a coffee shop, my bed, and my work desk
Itβs great until to realize the tactics large superstores employ to undercut and drive local stores out of business
Sometimes at the kitchen table
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
You can do it here too crumble, but it's just... rare
I grew up in a noisy household
I suspect peopleβs noise habits and tolerance develop as a child
probably
I only did that when I worked in LA
I know people who grew with the radio or tv on permanently which would drive me completely mad
Then I would work at Starbucks in the evenings
Cuz my roomies smoked pot
And I couldn't stand that
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
Happens here too (Less, but still a bit) the difference is I can't buy everything in 1 place
I don't want specialty stores to disappear
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
I've heard of deals like that a few times here as well
I am too lazy to pay attention to that
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 
Walmart is particularly nefarious for this
They replace every specialty store with a bunch of jobs that pay less than livable wages
I've seen, a cucumber there is the same price as a box of candy with enough sugar to cause a high
I feel that's like processed food in general tbh
from what I understand dollar general has killed many many stores as well
meanwhile: I feel like led light bulbs are more expensive now?
somehow?
YOU WERE SUPPOSED TO GET CHEAPER, TECHNOLOGY
Yeah, I need specialty bulbs (t8, 2ft, preferably ballast bypass)
I just don't want 25 of them
Speaking of bulbs, Edison style screw ins are evil and I will not be convinced otherwise. 
or, you know, to pay $10 a bulb
βBig light bulbβ has gotta shift profits from disposable tech somehow
it's replacement for fluorescent so I guess I'll just pay up.
I'll be damned if "Big light bulb" becomes a real thing
(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.
The fact that you know how to rewrire stuff is intimidating π but it makes sense
I donβt touch the zap zap stuff
me neither
I mean, an LED is.
well
two wires.
One hot, one neutral. Pretty hard to screw up
Yeeees but
idk man that's a 50/50
Certain types of bulbs are one long wire! /j
It's also like. Well, AC.
Crumble, it's not 50/50, you literally just attach a wire to both ends, done
I've screwed in plenty lightbulb wires but that's not really rewiring in it's just hanging up a lamp
maybe I should get into the LED rewire business as a side hustle
(nah, I'm not a licensed electrician.)
I want to replace all the light switches in my house, but I have a lot of fear and respect for electricity
Someday Iβll live somewhere I care about fixing the outlets
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."
Things like that get dangerous when you worry about them too much!
Itβs best to worry a small but healthy amount
Exactly!
Most accidents happen when people get complacent
the trick is knowing only half of it gets hot
so you can ignore the instructions and hot swap tips fine
And which end.
Even if I donβt zap myself, whoβs to say I donβt end up burning my house down sometime way later
....you twist two wires together with the cap thingie
I haven't even seen a soldering iron in like 15 years
Good wiring isnβt too hard if youβre neat
A five year old can do it
how??
(I do recommend, however, following convention when it comes to wiring colors.)
I like my Hakko... though the poor thing is so underused.
where would I see a soldering iron
don't be the jackass who wires everything in weird colors like blue
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
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
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
// i am speed
I like how it changed an infinite number of files
I love that it's still getting comments to this day. https://github.com/torvalds/linux/pull/447
Iβm surprised itβs not locked yet
I dont think they really look at the github at all
I did not except to see "free robux click here" on a linux kernal PR
Spammers gotta keep spamming!
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
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
I wonder if you put "return copyVar;" below the finally if it'll change the behaviour
Still messed up
That would make it so much worse
IMO, return should override finally. However, finally ALWAYS runs after a try. =mind blown=
On the other hand, return cannot fail, either.
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
The thing is, you can have a return IN a finally
A return IN a finally makes sense. NOT returning when explicitly returning doesn't make sense
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
Finally, someone invented JavaScript but worse
What the fuck?
Yeah, I'm fine with it not returning 123, but it returning 456 is bizarre
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
errors are scary, just never throw errors
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?)
worst case scenario none of this was intended and it's popping a random value from the stack to return
I think that's a better case than this being intentional
C style assigns. Implicit returns. Try finally. My head hurts
Does that count as C style assigns
.... I'm not sure
@pliant snow mind if i ask you some Linux questions in DMs, im pretty in need of help getting tensorflow up
Sure
Thank you 
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.
Git CLI tbh. I always make my junior engineers learn how to use git without any sort of GUI help.
GitKracken is a great gui though, if you don't want to mess with VS git integration
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
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
Other than when you run into a conflict, most of what you'd use in the Cli for git is like 3 commands
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
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
Rider has good conflict management, I'll usually use that
#1 JetBrains shill 
Hey that's my title /s
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 >.>
that's also on you two to not mess up, git won't magically fix that problem
If you can't get Rider for free, I've found VS Code with GitLens is pretty good too
i know, its definitely just user error
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
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
and if you can't pull because of a conflict, git stash, git pull, git stash apply
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
then resolve conflicts, git add, and follow the instructions in git status
If you really want to get fancy, you'd feature branch your changes and merge them into your "main" branch

So all of your changes are just a paper trail of features
i definitely don't want to get fancy i've broken many things trying to get basic
It's not too fancy, but it helps ensure the integrity of your changes
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
(I don't do feature branches when it comes to modding, and neither do most people)
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
Digus is one of the only modders I've seen do proper feature branches
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)
aw am I not allowed to screenshare in the voice channels in here?
@deep drum You leveled up to Farmer. You're now a prettier shade of blue. Thanks for sticking around!
I am impressed
Horrifying.
Treating modding like it's a job
@rain lotus do you mind if I call you then? seems we can't do it in this server
i don't mind at all
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
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
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
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
and then run them in the command lne
You get a clean history of feature1, feature2, bugfix, bugfix, ...
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
I don't do this, but I like the idea of it
It's easier to just push to main all the time
Hey wait no, that's my title!
For example, this is what Digus history looks like
I continue to use Rider even though Debugging has been broken for me for months. I literally debug in Visual Studio off to the side as I develop in Rider.
Because for whatever reason Rider stopped allowing me to hot reload
Oh wow, you still never got that fixed?
Never did.... no idea why
So I just have two huge-memory applications running side-by-side as I do SDV development
What else is RAM even for?
It's why I have 64GB of it
I make sure main is always the released version
That way if I vanish
Someone else can pick it up
Then again
It's been two months
Someone else, where are you
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
You told me I wasnβt allowed to π
I only use branches to PR
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
Rider only allows hot reload when not debugging, it works in normal run. It's a pain but I usually just switch between the run configurations

im pretty sure i was managing to use github without having github installed
Yeah, I figured that out too, but I need my breakpoints when I'm debugging my messy code
i forgot github had a desktop client actually
is it worth?
git CLI for lyfe
i'm a cli user except when it comes to resolving merge conflicts. then i use the vscode gui lol
valid
i'll be doing a project in a whole other IDE but i open vscode for the merge lol
nope its quite useless im finding very rapidly
understandable
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
I have like four different tools I use for different purposes which are all just frontends to git
they ended up not having git CLI installed
the secret was that vs was not letting me in actuality
and one git status showed what the issue was
git bash is my favorite terminal
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
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
I'm a windows hater, but they kinda popped off with the terminal
i can make the terminal not ugly and hard to read π
Plus with spaceship starship I have a consistent terminal prompt no matter which OS I connect to
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
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"
pull replaces what's considered to be current in the branch, but your uncommitted changes will still be presented relative to that branch
technically it's fetch + merge iirc
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)
i like your funky words magic man
lmao I had this same conversation at work recently, apparently I'm like the only one that uses fetch
what does fetch.. do?
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
collect data for use, instead of use data
so pull being fetch + merge means it'll get the latest changes from github, and then try and fit them into your files
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.
Y'all are still better than me who just pushes directly onto master
I don't have time for feature branches now, I got a kid. Any minute I can save is precious.
I'm the gatekeeper for my SE team's git stuff so I get to be picky π
gizzymo is not a coder and im as much a coder as a housecat is an apex predator so on the one hand this looks hard and on the other hand maybe it could prevent the two of us from messing each other up as frequently if i figure it out
the best way to avoid sadness is probably just to use what works, and do it often
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.
(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
tbh, for what you're doing, you could probably get by with a cloud-synced folder. Every major cloud file storage has revertible history.
they're working with other people though, sounds dangerous for co-editing
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
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
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
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
You have important things to do
(And so do i)
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
i hope your hands were ok 
dry ice from you know where
the supermarket?
(Elizabeth and I used to live in the same city)
(I'm being cautious to not give it away.)
Isn't being alive peak OK
it could be from the dry ice mines
dug up from deep underground
The dry ice black market
its redhat's docker alternative
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
Thats my experience more or less
oh dear
watch out, butter bear has cuda π
but now... ai time

I PREVAIL TWICE OVER, got my mining card working now :3
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 
they accomplish the exact same thing so i'm mostly just wondering if there's a difference that i'm missing lol
Discord tries to predict at least your age and gender
You can turn off discord using those predictions (https://support.discord.com/hc/en-us/articles/21865322754327-Data-Used-to-Personalize-Discord) although I'm not sure if that also stops them from making the predictions
We shall see when I get my data export
i'm personally a fan of the no-throw version
Sure they technically accomplish the same thing, but in terms of readability, throwing is the worse option here.
(imo) you should only be throwing to completely break out of a procedure, method, etc up to a predetermined point (the catch).
The error printout is much easier to read and comprehend at a glance
(also you don't need the parentheses around all your "ors")
i have to do it that way or i'll lose points on the assignment. it's to keep things "organized" 
but they don't group anything
surely you don't need the nested grouping
the second one with the groups inside
Professors do be doin some weird shit
imo it's less readable that way but i'm not ur professor so
i am sorry for ur loss
you're so right btw, i've been doing hw for way too long LOL
Itβs a personal pet peeve lol i had to call it out
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
we can use them yeah. i usually just don't think about them lmao
i think about this video all the time and i realize i am this guy
I'm a Never Nester and you should too.
Access to code examples, discord, song names and more at https://www.patreon.com/codeaesthetic
Correction: At 2:20 the inversion should be "less than or equal", not "less than"
Come on dude
How you gonna post the same the same thing as me
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
Literally the first place my brain went
the day i learned ternaries.... ohohohohoho game changer
Iβm gonna stop you right there
no please i never go more than 2 ternary layers
Because if you chain ternaries you go to jail
let me have this
Oh good
i never do more than 2 trust i can be trusted
because!!! otherwise you've nested!!!
and i am a never nester π
LMAO honestly i can very easily be converted, braces are my biggest downfall
there's always one missing somewhere......
Guard statements are superior to if else ladders in every way
Aka early return
as am i π
oh early return my beloved
guard statements are superior now that i know what they are i AGREE
When I was learning I had my revaluation moment where I just looked at my enormous if else ladder in disgust
spare an example for me please i cannot visualize for the life of me π€²
the intro series at my university bans breaks and early returns
while True:
user_input = input()
if user_input == 5:
break
print("BAD USER TRY AGAIN")
idk why i made that so aggressive π
that's what the user gets for being naughty
I couldn't think of a good early return example
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
Programming patterns is such a fun subject
In this one, each nested block has a specific objective that you can visually see, which makes the code easier to understand
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
It all goes out the window when the deadline comes up anywya
thank you guys for sharing your wisdom..... i learned new things tonight
back to the grind 
uhhhh is there a way in VSC to rollback to a previous version of your solution. i fucked up
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
vscommunity, sorry i should have specified
actually, probably should have just said vs LOL. im frazzled right now
ah, well same answer ultimately
RAAAHHHHH
The true first step with any project is git init
yes
or just pressing some button "no git repository detected, would you like to create one?" info header
$ 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.
mfw git init
that's insane. i am also a never-nester and a never-thrower and i can't imagine life without early return
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
well, i would simply never use lua, so /lh
Please, I only use gotos and exceptions as control flow
(Insert clip of Taylor Swift singing "it's an art")
lighthearted! (tone indicator)
lighthearted
thats my problem with the tone indicators, I'll learn them, then forget by the end of the month and have no idea
See, I just prefer the old fashioned tone indicators, ascii emojis π
i use this sometimes
....discord why
Exactly, no need to wrap your entire function in an if statement if you could just leave early
for the break though
what is the alternative
adding an extra clause to when your loop should stop and setting a boolean?
Use a goto
Stack smashing
I think... XP days?
thought you meant the laptop for a sec lol
