ErickO
KPCKevin Powell - Community
•Created by ErickO on 3/29/2023 in #resources
Accessibility (a11y) Resources
Good luck
12 replies
KPCKevin Powell - Community
•Created by ErickO on 3/29/2023 in #resources
Accessibility (a11y) Resources
12 replies
KPCKevin Powell - Community
•Created by ErickO on 3/29/2023 in #resources
Accessibility (a11y) Resources
Just for an interview? The Google accessibility course probably
12 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
dumbing it down is a good way to learn tho, coding is full of fancy names and terms for what's honestly fairly simple concepts, but we just wanna sound smaht
10 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
lmao, yes basically that
10 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
dunno how much I can simplify it and not confuse you more but...
A Schema is your blueprint, it tells you what your data should look like so that mongo (or mongoose) can check incoming data, look at the blueprint and go "this shouldn't go here, this should be a string not an int"
The Model is just the way you interact with mongoose, remember mongoose is nothing but a middle-man between you and mongodb and the model is them being the middle-man, a model takes a schema and compiles an object that has all the methods and functions you need to interact with mongodb
.insert()
.update
etc. in the background, every time you use one of those methods the model looks at the schema to make sure that the data you are giving it is the right one based on what you told it to look for10 replies
KPCKevin Powell - Community
•Created by Shane on 5/1/2024 in #back-end
Confused by Kysely
I do not know tbh
8 replies
KPCKevin Powell - Community
•Created by Shane on 5/1/2024 in #back-end
Confused by Kysely
typescript types are static, the sucky code from kysely's migration is run when the code runs, therefore it has no previous knowledge of the types you set, you'd need to have a script that can transform that info to actual types but the end result is the same, additional TS files for the db info
8 replies
KPCKevin Powell - Community
•Created by Shane on 5/1/2024 in #back-end
Confused by Kysely
yes, you still need to define the types
8 replies
KPCKevin Powell - Community
•Created by Shane on 5/1/2024 in #back-end
Confused by Kysely
🤢 absolutely vile
8 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
they're non-techy so rather not add friction
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
sharing files with my family, webp kinda shit natively if u wanna download them
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
technically I went
.JPG
and .jpg
to .jpg
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
I went jpg to jpg :PepeLaugh:
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
I went with -q 95 anyway
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
mayhaps, who knows
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
all in all between lossless and lossy compression of my images and a few videos here and there I saved about 7GB of space
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
anyway, I went through all my images at -q 95 and it worked great 👍
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
I tested with 100 first and somehow the original was 12MB and the converted was 14MB huuuuh :PepeLaugh:
60 replies
KPCKevin Powell - Community
•Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
yup, that's what I did
60 replies