« first day (1440 days earlier)      last day (3518 days later) » 

9:05 PM
I have a Database related question. When I have table e.g. User and Clothes and User can have Clothes that other may have to. How do I bind the Clothes to specific users? Can I have in table User column ClothesID in string and save IDs such as 1,5,6,7 ? What is the best structure?
Or shall I create new table called ClothesMapping with structure ID,UserID, ClothesID?
 
User
ClothesId
virtual Clothes Clothes { get; set; }//exact clothes of this user

Clothes
ClothesId
virtual ICollection<User> Users { get; set; } //users with these clothes
Now, if a user can have more than one of the clothes, then you would need the linking table. So it depends on your requirements.
 
Yes it is 1:M
Link tables does mean to use one more table?
 
A linking table (aka junction table) is for M:M
It basically makes use of M:M becoming M:1 1:M
 
Ok. Thanks for that.
 
9:17 PM
Q: What is difference between SQL Server Express and SQL Server Management Studio?
"SQL Server Express is not recommended for use in production web applications. "
 
lol
 
Is that just the same?
 
what? where did you find that as an answer
 
SQL Server Express holds the database itself, including all tables and data
SQL Server Management Studio provides tools to connect to a database and issue queries against it
 
9:21 PM
@Marek SQL Server Express is the free, lite version of SQL Server. SSMS is an application designed to manage your SQL Server databases.
 
I'm not sure if SSMS now contains a database engine now, but I'd expect to have more luck running SQL Express in production than the management studio.
 
meh, SQL Server Express offers 10 GB of data to use
In a database, that is a lot of data
It would take hundreds of thousands of users to max that out
Or one ridiculously bad database layout
 
Or using your DB as a file server
 
bad idea
 
@user1112560 lol
 
9:24 PM
very
Really good in-depth article.
 
I have just did my first scaffolding, kinda cool
Thats so cute ;)
 
9:47 PM
Cute? What are you?
 
How do I know where the Data content is being saved in MVC? I specified SQL Server connection and I cannot find any .mdf file in App_Data neither table in SQL.
Gosh I specific SQL conn and it created new one..
 
something like this:
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
 
I set SQL connection and it created .mdf in App_Data just needed to Show all files. Interesting.
O. I get this. It created new database according to providerName
I will just attach it after.
 
@user1112560 - "So we ended up with a lot of aggregations and probably spent more time thinking about them than we did the “content” pages " Wow, they uh .. they should have read this: joelonsoftware.com/articles/fog0000000018.html
All that thinking and their site still looks like something from the 90s
A horizontal list with links, waaaaay too much content loaded up front and mashed all over the place, and a site map on the bottom that someone thought would actually be used.
 
@TravisJ I've got a question for you, since you've used web-forms.
 
9:56 PM
I haven't used web forms :(
Ask though, I am familiar with certain aspects of it
 
Well, I need to use two separate <asp:Repeater> controls, within the same area. Both calling two separate data sources. Any potential errors?
 
Shouldn't cause any errors.
 
Even though they both have similar syntax on the front end for Eval?
You sure?
 
god, I love just reading through Joel's archived articles.
 
weeeee we're having fun executing code via bash on eachother's machines lol
fun little exploit ;)
 
10:09 PM
@Greg - No, not entirely sure :( Haven't used multi contexted repeaters before
@Greg - When are you going to switch to MVC? :P
 
@TravisJ I wish we'd switch to MVC. We're still on ASP.NET Web site tech here for our main system.
Maybe someday...
 
@TravisJ I got to get this stable and built correctly, so the company can hobble along. Once it is done, then I'm becoming lead architect and Model View Controller 6 with potentially with Owin / Katana.
 
ugh OWIN
I wish they had OWIN, but they also had an adapter so you could still use IIS if you wanted to.
 
@Pheonixblade9 Well, I think the potential would really be nice benefit potentially.
@Pheonixblade9 Should help give control over the middleware layer.
 
10:26 PM
yeah
honestly though I don't care about middleware for 90% of things. I just want it to work.
IIS wasn't so bad...
 
Well, I've got to go. I'll catch you all later.
 
cya :)
 
10:42 PM
@Pheonixblade9 gn
 
night
golden retriever corgi mix:
 
Seems like bleeding or smth.
I learn some pretty good things about MVC. Gonna have a sleep now. Bye guys.
 
just wet
 
10:58 PM
What programming language is used to teach kids again?
I think it starts with S
Scratch!
 
Basic?
 
Is Basic used now? Interesting
 
team em LOLCODE
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
 
Jaysus
Ha ha
 
HAI
CAN HAS STDIO?
IM IN YR LOOP UPPIN YR VAR TIL BOTH SAEM VAR AN 10
VISIBLE SUM OF VAR AN 1
IM OUTTA YR LOOP
KTHXBYE
 
11:02 PM
Thank powers that be that isn't used in the industry -_-
 
industry uses SkeetCode
 
@TravisJ I've heard of ARIA being used for kids
 
Hi Jon,
So I need an application that will run on my watch and be able to read by mind.
Thanks
 
Scratch/Alice
 
@Pheonixblade9 I googled Aria and I wasn't disappointed
 
11:04 PM
I would start by teaching kids about html
 
I was taught VB.NET
 
It isn't a language, but it is easy and fun for them
 
@LewsTherin Aria, not Ariana Grande
 
Initially Flowol I think, LOGO, HTML/CSS, then moved onto flash/ .NET
 
@Pheonixblade9 If it was Ariana Grande then I'd be awfully disappointed.
 
11:07 PM
;)
 
11:46 PM
Yo
 
What's shakin' breh
Who wants to play FFXIV with me :D
 

« first day (1440 days earlier)      last day (3518 days later) »