XCoins
⚔ BETTING LEAGUE ⚔


ChatLog

First Previous 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 Next Last

time user name message
Mar 26, 2022 16:59:54

capricciosa

okay
Mar 26, 2022 16:59:12

mystiksoda

users.FirstOrDefault (u => u.Username == user.Username)
Mar 26, 2022 16:58:32

mystiksoda

ok then its simple
Mar 26, 2022 16:58:00

mystiksoda

does your TwitchUser class have any unique property that identifies that user ?
Mar 26, 2022 16:57:15

mystiksoda

ok
Mar 26, 2022 16:56:28

mystiksoda

is that what u want?
Mar 26, 2022 16:56:24

mystiksoda

users.Find (u => u == user)
Mar 26, 2022 16:56:20

10bag

man was there troubleshooting pleb users python installations and wondering why nothing worked
Mar 26, 2022 16:55:46

10bag

that was a funny couple of months
Mar 26, 2022 16:55:40

10bag

never forget when xcom told me you cannot distribute a python application
Mar 26, 2022 16:55:21

mystiksoda

Kappa
Mar 26, 2022 16:55:16

mystiksoda

i'll bash his head instead, thats fun
Mar 26, 2022 16:55:05

10bag

it's trolling up until the point you realise i'm right and then quietly start doing exactly what i said in the first place 4Head
Mar 26, 2022 16:55:02

edgewalker69

The local village idiot, dont worry about him SeemsGood
Mar 26, 2022 16:54:25

mystiksoda

you understand 0 of programming whatsoever
Mar 26, 2022 16:54:22

10bag

that's the spirit
Mar 26, 2022 16:54:14

mystiksoda

ok i give up
Mar 26, 2022 16:54:04

mystiksoda

???
Mar 26, 2022 16:53:39

10bag

bro i'm saying sacrifice performance for readability, it is string manipulation and you won't live forever but you will have to come and un-fuck this code later
Mar 26, 2022 16:52:31

mystiksoda

embeded is just one of 100's of different scenarios where memory / threads etc management is very important
Mar 26, 2022 16:51:30

10bag

there are no rules any more bro we have good CPUs
Mar 26, 2022 16:51:16

10bag

this is 2022 bro everything is fucked
Mar 26, 2022 16:51:06

10bag

are you for real? this code is being written in an electron app
Mar 26, 2022 16:50:35

mystiksoda

well you have A LOT to learn if you think like that
Mar 26, 2022 16:49:50

10bag

don't need to worry about performance until you're doing embedded
Mar 26, 2022 16:49:36

mystiksoda

thats how u write a constructor
Mar 26, 2022 16:49:31

10bag

slight speed penalty i guess but who cares because we have gigahertz
Mar 26, 2022 16:49:28

mystiksoda

public (Type paramName, Type ParamName){ intructions...}
Mar 26, 2022 16:48:51

10bag

but personally i value readability above all else
Mar 26, 2022 16:48:43

10bag

it'd work and look more readable to me

First Previous 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 Next Last