Hey Masters! I have a weird error about getter/setter that I try to make it public. An Inconsistent accessibility.. don't know why I got it.. all methods into this class is public..
using EF code first but this may be more of a generic SQL question/wonderment, some people (like those here: stackoverflow.com/questions/7639637/…) suggest that multiple addresses should be stored as a separate table of addresses and then related to entities via join tables...but is it BAD per se to use an address table for each entity with entityID in each address table making the relationship?
I've used the recommended approach in the past, was a pain in some instances with the joins and ended up with a ton of join tables, i guess i'm failing to see the advantage
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 1158544.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 1158544.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 1158544.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 1158544!
Could not allocate memory: System out of memory!
I'm having trouble with this drop down box, just cant seem to get it right, here's the code:
View (Index.cshtml):
@using EvaSimulator.Models
@Model EvaSimulator.Models.ModelVariables
@{
ViewBag.Title = "Index";
ModelVariables mv = new ModelVariables();
}
@using (Html.BeginForm("DropDown...
yea, basically one of the global variables (SelectedOptions) is empty, in the controller i did not add the checked names, but i dont know how to add the names
so i know one of the problems, but not sure how to add stuff to
i work mostly in web api, so i can't say for sure, but if i had to guess, it'd be whats selected initially on the drop down list, but i know google has the answer for sure
there's no Options property in your VM. so i think it should be SelectedOptions and @Html.ListBoxFor(s=>s.SelectedOptions,Model.Options) should be @Html.ListBoxFor(s=>s.SelectedOptions,Model.SelectedOptions)
every attempt in google has partial code or custom code with little to no explanation, i need someone to walk me through, and i have books on mvc which have 0 examples on a step by step drop down, im pissed off lol
Got to the office. A/C is working. Coffee machine is working. The computers aren't working.
So, I'll just sit around in the A/C and drink coffee until the electrician arrives, shall I?
Ok, I've wantonly disconnected the printer and paper shredder and a couple of people's monitors and now we have electricity for the rest of the office. Their sacrifice will be remembered.
My three year old son keeps talking about how he died in a car crash in Russia.
"We were in a field and there was fire and it was scary and I was old! But now I'm here and it's not scary. There's no fire here. And I'm not old."
Freaks me right the fuck out.
@StevenLiekens: I usually craft the mails as html templates, and load them up with File.ReadAllText() and populate them (putting the different 'components' together).
@deostroll I'm pretty sure they use IO Completion Ports, meaning that while waiting for network data to return, they don't even take up a threadpool thread.
@deostroll Yes and no. Async operations usually use I/O completion ports, meaning that they don't really use a thread until the OS is ready with the operation and sends a notification back; only then does a thread from the thread pool get used.
@deostroll Oh, I see. IO completion ports are an OS notification system. The actual IO runs on separate OS threads, and notify your code - grabbing a threadpool thread - only when it's complete.
@RoelvanUden We really should stop doing that. Or at least synchronize a bit more and take this show on the road.
But when IO completes I kind of want the notification logic executed, but not on threadpool...I get the fact that IO completion doesn't require a thread bound to my app....
@JakobMillah I do, actually, My brother and his family are in Poland for the summer, so we're all joining them for a weekend at some place on the Polish/Czech border whose name I can't pronounce.
@RoelvanUden Enterprise you mean? I don't think I could compress the files as they terrain files. I can look into it though. Also I think the error (as it reads anyway is on a per file basis).
I do have the Personal edition thanks to being in college but that doesn't seem to make a difference.
@Sippy That's reasonable. You just provide a way for the client to set the culture on the server to a limited number of options. For example, we allow clients to choose Dutch/German/French/English through a box (sets a cookie, updates the thread culture) so we restrict to exactly what we want.
I don't care if you're Danish or whatever, you can choose those 4.
Nooo, they just throw new requirements at us half way through development of features because agile.
@mikeTheLiar dunno if anyone cleared this up for you, but Ramadan is a month of fasting, which explains the consuming .. still not sure if that is a good way to use the phrase
Was the speaker Indian? Might be an Indian turn of phrase that doesn't translate very well lol
If they were american as I'm suspecting then it's probably just culturally insensitive hahaha
@RoelvanUden I'm 23, and the number of times I've already heard managers say "but we don't need proper planning, we're agile"
Words to that effect, anyway
In my last job the manager literally said "I know that you guys like to have lots of written requirements and specifications, but we are an agile team, so we can't expect to always have that from the client"