« first day (2754 days earlier)      last day (2191 days later) » 

12:02 AM
Man the beers today have the coolest stickers
 
How do you handle children in a model?

Like, your store gets all the Users, but if each user has n items... How do you tie the item store to the user?

Right now I'm just returning them in the call for the Users, then in my update function, I create the Item models in there
but that seems wrong
 
@Cereal are you talking about mongo(ose)?
 
mobx
mobx doesn't define any way to structure your stores or models or anything
So I'm always looking for a better way to do it
 
You should do an array of IDs with a ref to the model of the item if I understand correctly.
 
Then I'd need to load all the items, wouldn't I? seems like a waste
 
12:17 AM
@Cereal my advice is don't have children. Messy and stinky
 
@William Also the children themselves are a hassle
 
No, just get the id or key that matches and plug it into your array of items?
@KendallFrey always practice safe programming
 
@DavidKamer I know what you mean, but then I'd need to load all of the items
Lets say you have a select box - It lists all the users
When you select one, it displays all the items for that user
You don't need to load all of the items
 
@DavidKamer mark and sweep, lest you leak
 
@Cereal what will the list show?
 
12:21 AM
The items
 
Like what information? Just usernames?
 
It doesn't matter
 
Are all items unique?
 
It doesn't matter. I want to know how to connect one model to an array of other models in the most intuitive manner
It seems to me you won't even have a store for the child models
or that the parent model would be the store
Or each parent would have a reference to the child store and load their data dynamically
 
@Cereal how do you use the data?
For example, is it bad to just have two separate stores where the only linkage is a userID in the items store for example?
 
12:27 AM
assignee?
 
like if you're only using items once in a while, the component could just grab items[userId] or vise versa, User.items
 
__I think that's what david was saying, but wouldn't I have to load *all* the items for every__

I just realized I'm loading them all anyway
pretend that's a strikeout
 
"We now have two independent stores. One with people and one with todos. To assign an assignee to a person from the people store, we just assigned a reference. " From mobx.js.org/getting-started.html
 
lol @Cereal
@DavidKamer right, yeah I mean that's what I'd do, if the items need to have their own updates/modifications anyway and are required in a store
otherwise if the items never change I'd mash them into the user object
 
🤰too many concepts involving children these days lol
 
12:31 AM
I also can't decide how to set initial data for ui stores.

Right now I have functions that do an await on the data they depend on, then all set actions to set them after the data's loaded.

Which is fine, it works, there's just a bunch of initialization in the main file I don't like
 
@Loktar yeah, I assume it's dynamic since user data was discussed.
 
I was just pulling users and items out of my ass, it was just an example
 
This brings up something... Why don't exported async functions seem to allow await syntax in react?
I think answer might change dependent on the amount of items.
Storing ten items is ok, but storing 300 is questionable.
 
any canadians in here
 
@Meredith no
wait, crap
hides
 
12:37 AM
rlemon is
 
how come hockey players wear shorts
 
we don't call them shorts
unless you mean jock shorts
 
But they are
 
I assume you mean hockey pants, and I'm guessing the answer is they allow better movement than full-length pants
 
@Meredith Do you think any American ever gets foreign accent syndrome with a Canadian accent or vice versa?
 
12:39 AM
What do you mean
@KendallFrey I guess but shorts and wool socks look weird
 
I'm used to it
 
Also they look like they're 2 inches thick
Like 5 centimeters
 
probably not quite, but they have hard protection and are loose fitting
@Meredith Soccer players looks weirder IMO
 
Foreign accent syndrome is real. But could it just be for like Canadian from American or is that a big enough change?
 
Soccer players do look weird
 
12:43 AM
@DavidKamer erm... wha? you should be able to await any async function.
 
Basketball is the weirdest though imo
 
@DavidKamer I suppose any change is possible, but you're unlikely to get a very accurate version
 
So like an american just randomly starting to say aboot?
 
unless i missed an important part of that conversation just got back home with a blizzard
 
Basketball in the 70s was weird
There super short shrors
shorts
 
12:44 AM
I'm unable to when exporting a redux action that returns a fetch promise
 
@Meredith Actually a california accent is about halfway there already
 
@KevinB yeah lol. I accidentally said about yesterday and made me think of it lol
@William Larry Bird shorts lol
 
Sometimes I pretend to talk in a swedish accent
 
A good swedish accent can instantly seduce me
 
hallo im svedish
 
12:48 AM
I do a great African "general" and a brilliant German and a decent Scottish
 
falls quivering to the floor
@DavidKamer Can you do Xhosa?
 
What about African warlord?
Probably
 
whos xhosha
 
That's super specific lol.
It's a certain tribe in South Africa lol
Wow, crypto is tanking
 
12:53 AM
is it?
 
Not too bad but not too good. Should be better tomorrow
murmured prayers
 
I should've paid off my student loans instead of investing in crypto
 
Pretend that was italics lol
@Meredith It's all a scam.. not crypto, college lol
 
College is fine
Capitalism is the scam
 
Socialism is just a more clear cut scam where you vote in your overlords
 
1:00 AM
Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh‌​hhhhhhhhhhhhhhh
 
Which should be terrifying for either side lol
Trump is president... Do you want him to have complete control over you? I'm apolitical, but I don't like anyone have a lot of power...
 
You're still allowed to have checks and balances in socialism
 
Not pro are anti anything. I like the idea of UBC better than socialism.
Yeah, but if they control all money and donate to politics...
It's all a pyramid scheme either way
 
I'm sure
 
I'm utilitarian. Your income should be based on a systematic approach to allowing you to contribute in your own way.
 
1:06 AM
No spoilers obvi: infinity wars was spectacular
 
No drama and no way to screw anyone else over by being petty. Pretty simple concept that an AI overlord could implement without bias lol.
 
Was ant man in it
 
What percentage cgi?
 
i wouldn't call it spectacular....
 
go see it lol I’m not gonna say
 
1:07 AM
worth seeing, but not spectacular
 
Post all the spoilers you want
But md5 it first
4fbf349bc69897258a96a304dbff4351
 
Was Dr strange in it?
 
was batman and robin in it?
 
What are your thoughts on bb-8's oscar snub in the star wars movie
 
no oscar for him, he gets a golden globe
cuz hes a ball
 
1:18 AM
I hate the avengers after they didn't let deadpool in
 
@Meredith are all md5's reversible now??
 
@SterlingArcher was the P silent?
 
No
 
You can google quite a few of them
 
The crackers online literally look for hashed passwords that match your md5
 
1:20 AM
they don't use movie spoilers
 
Yes and no will work
 
I mean.. I guess maybe by chance.
 
95% of IT “Engineers” in India Incapable, New Report Reveals
 
that article is unwelcoming to women of colour
 
54d815a3b968308369bbbf55d16f2ffd doesn't work on the one site i tried
btw if someone manages to crack it thats not a real spoiler
 
1:26 AM
It's a recipe for quiche.
 
@William Are you sure that we aren't all incapable? There's always one more thing in an endless labyrinth of tools that really just do the same thing or are the intellectual equivalent of knowing how to place silverware for the queen of England when it's a semiformal gathering on a Wednesday
 
@SterlingArcher what's so good about it?
 
I don't eat quiche
 
I made a crustless quiche recently
it was really good
 
@DavidKamer funny joke there are good Indian engineers just non of them live in India
 
1:27 AM
I've had store bought quiche and did not like.
 
The quiche at publix is 1040 calories for a pretty small portion
 
Quiche is life, bruh
 
@Meredith It's a shame everything they make at their Bakery/Deli is so damn good though
We live for Publix subs
 
I gain a pound every time chicken tender pub subs are on sale
 
1:29 AM
publix is for poor people
 
Publix gets expensive
 
and what is for rich people then?
 
It's basically a not garbage grocery section of Target
 
I don't think it's easy to judge competency because you have to assume someone is more competent and that their answer is empirically correct. Only math can prove that, so I guess if they used math..
 
Fresh market has $2.50 avocados
 
1:30 AM
I'm just jealous; we don't have publix here
 
No one can afford to shop there except like dan mullen
 
Yeah, Publix will ruin the bank account, it's just good for meat/fish/subs and bogos
It's like Whole Foods, except the food is actually good.
 
Bogo cheezits this week
 
We're getting a whole foods here soon
I'm excited
I love whole foods but I can't afford it
 
1:32 AM
I like whole foods for some things
 
Do you have a Lucky's Market near you?
 
I mean I can cuz I'm a software developer but I'm kinda cheap
 
We just got one and it's the bees knees
 
God I love Lucky's
Where are you?
 
florida is for poor people
 
1:32 AM
Inside the house
 
Just west of Orlando.
 
Cool I'm in gainesville
 
A/S/L
 
14/f/lithuania
 
nice
 
1:33 AM
The salad bar at Lucky's was the clincher for me.. 7.99 for a lb of salad..with whatever you want on it..
 
Dude
Our lucky's just got a hot bar
Then they got another
And it was great
 
Oh yeah, they have the beer and wine thing too, where you can drink and shop
I just realized that last time
 
Yeah guys if you don't know
Lucky's let's you buy a $2 pint of beer and drink it while shopping
 
1:34 AM
get your filthy floridian grocers out of here
 
Or you can get 2 slices of pizza and a beer for $5
 
Didn't know about the pizza..oh my.
 
I don't think there's a single big store in polando where you can drink and sgop
 
And they have cod.. I finally can go to a store that sells actual freakin' cod.
 
poland is for polish people
 
1:36 AM
I heard a rumor about czech people
They don't say hi
Only "ahoy"
 
m8y
 
czech people hate polish people whole heartedly
 
the should, czech themselves
 
No one likes czechs though so it evens out
 
i'll see myself out
 
1:38 AM
what do you guys think about the country adopting the latin alphabet?
 
if it was such a great language why is it dead?
 
English should adopt the l with a slash from Polish
 
meredith for what use
 
łat are you talking about?
 
@hilli_micha it's all Brute's fault
 
1:39 AM
@AndrasDeak tałking
 
@KamilSolecki Magical Codeland has been bumping over the last couple of days FYI
 
that's not how that letter works :P
 
@AndrasDeak whoa how do you know how does this pronounce
@hilli_micha bumping?
 
@KamilSolecki I'm mildly interested in languages
 
noice
 
1:40 AM
you may wanna stop by
 
and surprisingly a lot of Hungarians are aware of your ł, don't know why
 
memes?
 
Not quite.
 
Do tell
or a screenshot
I'm in the mountains
 
Where in the mountains
 
1:41 AM
Well not quite the mountains yet
city called Wisła
 
isn't that the river?
 
that too
 
That's nearish where my mom is from
 
oh snap!
 
She's from katowice
 
1:42 AM
yeah, that's like 40km from here
 
I've only been to Kraków
 
do you think I took take an antihistamine long term for sleep?
like will I build up a tolerance?
 
We are not doctors, so probably not the best place to ask.
 
1:43 AM
!!urban antihistamine
 
@William No definition found for antihistamine
 
are you asking if you should take antihistamine as sleeping pills?
 
yeah I just want a straight answer from a doc. Nobody knows this stuff it seems
 
@AndrasDeak yeah, that's where I'm going to uni
 
1:43 AM
I don't think any of us are dealing with a crippling Benadyrl addiction
> I'm so addicted to clear sinuses! snort
 
@hilli_micha Michael i need screenshots :D
 
I'm taking something much stronger then Benadryl. Approximately 180 times more powerful
benadryl * 180
 
@KamilSolecki It's a bit more than that, just check in when you get a moment.
No rush.
 
actually I'm taking 180 benadryls at once
 
I'm pretty certain software development is way harder than being a doctor cause this scope.
 
1:45 AM
Well that depends
 
It's important you know.
 
My brother is a nurse, and the stuff he tells me about..if doctors have to deal with a fraction of that, nah. I'll stick to punching keys and complaining about Java
thanks
 
when your subject is dead you can always roll back or reboot
 
there is a reason doctors drink heavily
the mental pressure is way beyond dropping a prod db
 
Dropping a prod db though would keep anyone awake for a few nights tho
lets be real
 
1:47 AM
Lol, yeah, I worked in a hospital as a security gaurd before and I had to triage with no medical experience. Most stressful job I've had
 
@hilli_micha sure, but dropping a human for a quite a longer time ;)
 
I agree that doctor's have it really hard
 
nah, the human didn't have my entire client db, he's disposable
get em outta here
 
:IDisposable
 
You can't just declare people are interfaces like that
rude
 
1:48 AM
someone call the garbage collector already.. no wait, they come by their own schedule.
 
Software Development is more equivalent to a mental hospital.
 
@hilli_micha no they only implement it
 
I was legit hoping no one would go pedantic on me :(
just let me say dumb things in piece
 
Everyone is always certain their logic is superior, usually based on the merit of the fewer that can understand it easily, the better lol
 
1:50 AM
Poland 1: Me 0
 
Software engineering is like every other engineering
Except probably easier
 
@hilli_micha yo can you link me the discord link
I can get on from mobile
you have my curiosity lemme see
 
I worked at an engineering college, made a lot of friends both student and prof and worked on every computer and program there, and I'd say the biggest difference is that software engineers always seem to think their right when there is no right answer
 
PSA a can of wine is equal to half a bottle
 
Much more so than computer or electrical engineers
And even more so than computer science people
 
1:53 AM
If PBS would air that sort of PSA, I'd fund their stations in a heartbeat
 
And it's even worse because the thing they're "right" about is 💯 opinion that is completely different somewhere else, but they will still argue for no reason even when you don't care.
Possibly the best field on paper with the worst group of know it all in real life.. I blame society lol.
Not you guys though lol.
Just pejoratively.
 

« first day (2754 days earlier)      last day (2191 days later) »