« first day (1955 days earlier)      last day (2993 days later) » 

9:00 PM
@MikeEdenfield @Amy For example. If I modify a navigation property of an entity (at runtime) and then delete all of the navigation properties in the DB right before saving, EF will just leave all the Navigation properties as deleted. Instead of throwing some sort of exception, recognizing that the Navigation property was modified in 2 places
 
oh ffs... VS2015 doesn't support running IISExpress with a real hostname?
 
@Michael what's the problem that you're actually trying to solve?
 
hmm.
The concurrency check.
basically what I described above
But it all seems related to some overarching issue (I have no idea what it is) I'm guessing its related to EF not knowing Navigation properties are being modified?
 
user47589
 
Everything does work fine with normal use though. I can create an entity, Modify all its properties, Navigation and scalar and save them the DB normally.
 
9:10 PM
@Michael so is someone making changes directly in the database while someone else is using the application normally something that's likely to happen?
 
@Amy I have done all of that. Except I'm not running VS as an administrator, I've used netsh to change the ACLs.
this all works just fine in VS2013, but in VS2015 I get an Access Denied error using the same applicationhost.config :\
 
user47589
weird
 
also... it works fine if the web service/application is not the startup project.
 
@mikeTheLiar no, but doing that allows me to test if two users make edits at the same time.
 
@MikeTheLiar is DateTimeParse(EventDate).ToShortDateString() legal inside an instance of a view model where you're setting elements of your view model to the values of your query result?
 
9:13 PM
@Alex I don't see why it wouldn't be.
 
When I attempt it, it doesn't like it
 
Too vague
What doesn't like what?
 
var detailsViewModel = new DetailsViewModel
{
EventName = report.EventName,
EventLocation = report.EventLocation,
EventDate = DateTime.Parse(EventDate).ToShortDateString(),
}
 
EventDate is DateTime
The result is a string
right?
 
@travisj Yes the result is a string that returns the date and time
 
user47589
9:16 PM
ToShortDateString will only return the date
 
No, I meant the type. Although it seems EventDate was already string since it is being parsed. So, disregard the type comment.
 
I need to strip the time from it so the view only shows the date
 
@Alex what I believe more than one person here is subtly trying to tell you is to show us the exception
 
EventDate = DateTime.Parse(EventDate) - is there any other definition of EventDate in scope here?
 
DateTime.Parse(DateTime.Parse(EventDate).ToShortDateString()) // please don't actually do this
 
9:18 PM
@Alex - What doesn't work?
 
user47589
he isn't.
 
@Alex well you cant do EventDate = DateTime.Parse(EventDate).ToShortDateString()
because you are assigning a string to a dateTime
 
@Michael - EventDate was a string.
 
@TomW Severity
Error CS0103 The name 'DateTime' does not exist in the current context
 
So that is legal
 
user47589
9:18 PM
@Michael, no he isn't
 
DateTime doesn't exist? WAT? It is part of using System;
 
^
what he said
 
My query is returning a string that is 2/20/2016 12:00 am. When I try to do DateTime.Parse I get the error I just posted above
 
@Alex then something is very wrong with your project
 
If I try ToShortDate I get a type error of converting string to date obviously
 
9:21 PM
@TomW - Know anything about the "V Festival"?
 
@Alex Have you removed using System; from the top of the file?
 
maybe the top answer will help?
 
@TravisJ heard of it, never been, why?
 
My file has these using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc
 
9:21 PM
@TomW - Looks interesting. It's in England. Was curious if you had any local perspective on it.
 
@Alex add using System;
 
@TravisJ both sites quite far from me
Not my style of music
Chelmsford probably full of dickheads, go to Staffordshire
 
lol :D
 
British city names always baffle me
 
Milwaukee
 
9:28 PM
Waldorfingtonshireschestersmith. Pronounced "Boston"
 
Murican friend lost her shit over 'Leicestershire'
 
we have a few "-chester" places in Maryland, too, so I know that one.
"lestersure" ?
 
"Lester"
 
close enough
 
We have Worchester County, "wusster"
 
9:31 PM
Featherstonehaugh is a great one
 
Need to remember that most of you lunatics are German anyway
So it's not like it's something that got lost on the boat over
 
@MikeEdenfield Same as Worcester here.
 
user47589
most of us are German? that's news to me
 
@Amy @mikeTheLiar So maybe i'm completely missing code to lets EF know graphs have been modified? like they show here: entityframeworktutorial.net/EntityFramework5/…
 
We also have Gloucester (Glough-sta)
Also the actual pronunciation is almost impossible to represent in text
 
9:38 PM
If an Entity has Navigation Properties (lists) do you have to do special stuff to get EF to recognize what has been updated?
I'm germanish. grandma makes us hobblegrits every so often
 
@Michael - Anything changed which was attached to the DbContext instance will be updated when SaveChanges are called
 
Unless they're specifically AsNoTracking
@Michael I've never had to do anything like this but I suppose that doesn't mean it's not a legitimate concern for you
But manually managing entity state sounds like a pain in the panini
 
I'm just really lost. I dont understand why I'm having problems, Things seem disconnected
 
I do checks to look for elements in the context a times
foreach (var item in context.ChangeTracker.Entries<T>())
{
    //item is T
}
I use a version of this loop
 
So I guess thats not the problem then.
 
9:41 PM
@Michael I've felt like that my entire life. It's just the human condition.
 
@mikeTheLiar There's IPA, extensively used on Wikipedia, but the problem with that is that the only people who understand IPA probably wouldn't need to read an article about pronunciation
 
I wish I understood IPA. Besides the beer I mean.
 
@TravisJ well.. actually let me try that and see whats in there
 
@TomW - You mean the beer that had to survive the trip to the new world?
 
user47589
same
 
9:42 PM
@Amy I'm German, or at least my surname is.
 
user47589
woohoo! going on a date tonight! seeing Deadpool
 
@Amy - Nice. My fiancee really enjoyed that movie
 
NBC news said not to bring children to it
 
I like how they are doing a reboot of the storyline
Do not bring a child to that movie lol
 
user47589
@Michael well, duh, it's rated R
 
9:43 PM
I didn't like the Weapon X storyline as much, so I am glad it is being rewritten
 
Disregard that slideshow, I'm going through it now and it's stupid
 
user47589
is this basically the Weapon X story? i'm only vaguely familiar with Deadpool
 
@Amy what I meant by that was 'most-reported non-American ancestry on the U.S. census'
 
user47589
ah, i see, @TomW
 
user47589
I have German and French heritage.
 
9:44 PM
And also a lazy jibe
 
@Amy - Deadpool became weapon x in that one X-Men movie. However, the recent X-Men movie featured some time travel. And as a result history was changed, and now deadpool can be an xmen member and not become weapon x. I think? Who knows with people like JJ Abrams out there
 
user47589
i see.
 
Ah so that actually was Deadpool?
 
yup
 
I don't really know the character and wasn't paying much attention to the movie either
 
9:45 PM
Although, more accurately it was "alternate universe deadpool" I believe
I only came to these realizations after seeing the deadpool movie
Don't worry, that stuff is kind of abstract, has nothing to do with the way the movie goes
 
They screwed the first one with Deadpool as a super mutant
 
user47589
from wiki: "Weapon XI was portrayed in the film as a genetically-altered Wade Wilson.[citation needed] Weapon XI is referred to by Stryker as "Deadpool", possessing powers extracted from several mutants — a healing factor, improved speed, strength, agility, (from Wade Wilson) and aim (Agent Zero), the power to communicate via computer (Chris Bradley), teleportation (John Wraith), and destructive eye-beams (Cyclops) as well as adamantium blades in his arms."
 
user47589
apparently he was Weapon XI in X-Men Origins: Wolverine
 
[citation needed] lmfao
 
user47589
Weapon X is a fictional clandestine government genetic research facility project appearing in American comic books published by Marvel Comics. They are conducted by the Canadian Government's Department K, which turns willing and unwilling beings into living weapons. The project often captures mutants and experiments on them to enhance their superpowers, turning them into weapons. They also mutate baseline humans. The Weapon X Project produced Wolverine, Leech, and other characters such as Deadpool and Sabretooth. Experiment X, or the brutal adamantium-skeletal bonding process, written by Barry...
 
user47589
9:49 PM
"the power to communicate via computer"
 
user47589
We all have that power!
 
"The power of flight in a heavier-than-air vehicle!"
 
So apparently deadpool isn't weapon x per se, XI? strange.
 
"The power of inductive reasoning!"
 
Anyway, that is a lot of random nerd info slightly related to the movie :P
 
user47589
9:51 PM
yup
 
"The power to survive cold temperatures with a nothing but a jacket!"
 
@TomW Actually, it's pronounced "mill-e-wah-que" which is Algonquin for "the good land."
 
"The strength of his father's son!"
 
@ShotgunNinja I don't remember what city it was but apparently there's an American city which is basically the native tribe's word for "Asshole"
 
@mikeTheLiar Chicago comes from "putrid field"
it translates really goofy, but it's either "onion field" or "land of the putrid wind"
> The Indian word "Shikako"' or "skunk place" is recognized as the origin of the name "Chicago", this name having reference to some native wild onion. It is well known that our native wild onions or leeks were variously used by the Indians throughout their range.
 
9:56 PM
I don't think that's the one I'm thinking of. The story basically goes that the Europeans asked some natives what the place was called and they misunderstood the question to be "who lives over there". The place "over there" was were the natives' enemies lived, so they responded with "Assholes. Assholes live over there."
 
Neat, at some point in the past year, Azure SQL now allows you to set compatibility_level
Now we can support geospatial objects bigger than a hemisphere without workarounds
 
and Milwaukee actually derives from the term for a gathering place by the river, which was used basically as a slang term meaning "Pleasant Land"
 
10:17 PM
heh, found this amusing
@Eric: Thank goodness for that. I suspect that those who were arguing for signed bytes had never experienced the pain of using them in Java ;) — Jon Skeet Nov 29 '10 at 17:39
 
Nice, someone broke the dev environment.
Maybe they just wanted to go home early
Or give our admins a heart attack
 
Is both an option
 
Porque no los dos?
 
I have never seen Jon Skeet active in the c# stuff on github, strange imo.
 
Quick, someone bait him with a C# DateTime related issue
 
10:37 PM
Scenario:

using SomeNamespaceThatIsUsedEverywhere;

namespace ThisProject
{

    class TopLevelClassOne
    {
        class InnerClass {} // collides with something in SomeNamespaceThatIsUsedEverywhere
    }

    class TopLevelClassTwo
    {
        TopLevelClassOne.InnerClass innerClass { get; set; }
    }
}
 
Mmm tater tots
 
Is it possible to alias TopLevelClassOne for use of referring to InnerClass more sufficiently?
@BrianJ deep fry them and add garlic power. You can thank me later.
 
Hmm you could be on to something..I have no deep frter though :) oven will have to do
*fryer
Will remember that next time and fry them
 
I have a deep fryer at home. I don't get much use out of it but when I do it's totally worth it.
 
yeah, I have one too that I used to keep the oil in and use a couple times a week
 
10:40 PM
Like sometimes I'll make poutine from scratch.
Or deep-fried tater tots.
 
Yeah the chances of starting a fire outweigh the benefits for me
 
but now that I use it less I don't keep the oil in it and don't find it worth it to use ever
 
Oven is so much slower though
 
I like to have the option. I'm a bit of a food nut so when I decide to cook something I want it to be exactly the way it should be.
And deep fried tater tots are so much better then baked.
 
Yeah I might fry them after the oven :)
 
10:50 PM
So I'm assuming Azure doesn't bill me for empty blob containers, hmm... What if I set up a data wrapper that encoded arbitrary binary data as a series of container names...
 
Thai spice and fried after in oil..thanks for the tip!
 
Haha, somebody dun goofed: wcvb.com/politics/…
 
@mikeTheLiar - TEST RESULTS ONLY - NOT FOR BROADCAST OR PUBLICATION
Published 4:54 PM EST Feb 22, 2016
 
Hi people.
 
11:13 PM
@AndréSilva Hi there old friend
 
Hey Kendall, nice to know you remember me :) You good?
 
fine
 
A lot of new people in the chat, that is great :)
 
j
oh shit it's Kyle!
 
11:16 PM
hi!
 
@KyleTrauberman!
 
I'm the new and improved kyle
 
woohoo
What new features do you come with? :P
 
I upgraded to leadership 1.0
I'm now a lead dev
 
Nice
 
11:17 PM
/architect
 
congrats on making it out of early access
 
@KyleTrauberman - Finally getting a little more sleep too I hope?
 
twins are two now, so yes.
 
Yeah, at least at that point it gets slightly less hectic.
That is, until they coordinate to try to help water the christmas tree from the garden hose and leave it running for 6 hours.
 
11:27 PM
daughter wont' keep her diaper on, that's the extent of the troubles at this point
we have a fake tree, so no watering going on there.
and hopefully they don't come up with something equally mischievous.
 

« first day (1955 days earlier)      last day (2993 days later) »