« first day (1526 days earlier)      last day (3430 days later) » 

12:00 AM
@TravisJ Not about the question per se, but the code is kinda smelly
 
Is it an actual state the display can be in, whatever it is
 
@KendallFrey - So you think that question is a good fit? Is it just me? So many things irk me about that question.
 
@NETscape state and mode are both valid terms, not sure if I should prefer one though
 
@Greg - So you have an input element. On click you want it to make a request to the server. You want the server's response to end up shown on the same page the input element was on, but as a "popup".
 
@TravisJ It's not an outstanding question, but it's clearer than the majority of SO content IMO
 
12:01 AM
Well, I want it to be a popup over the current view.
 
all depends
 
@Greg - as in z-index:more than current view
I showed you an ajax example of that using the stop sign colors.
 
@TravisJ Yeah.
@TravisJ So, am I going to have to use Ajax?
 
If you don't want the page to refresh, then yes.
 
Hm, I'll play with it next week.
 
12:03 AM
isnt ajax some type of soap
 
@NETscape Figures. Depends on what?
I'm purposely not giving context :P
@meda ba dum tshh
 
@meda - It is a cleaning agent. It is also an acronym for asynchronous javascript and xml
 
State I would say is more physical, Mode is kind of like a setting?
 
too literal?
 
12:07 AM
you can turn your monitor on, off, or standby, those are states. I can go into the menu and put it in "theater", "gaming", or "high contrast" mode
 
@NETscape Yeah, I might switch over to mode
in this case it's things like fixed, resizable, and maximized
Maybe I should change the Display part too
 
MS uses state for that
 
yeah, there is that
 
well... at least for maximized
I guess depends who sees it. If its a UI designer looking at it, I would say Mode, if I'm reading it as another developer, I'd want to see State
Display could be throwing it off too...
 
it's entirely for developers
 
12:12 AM
@KendallFrey - wait you were serious with your compare and contrast displaystate versus displaymode?
 
oh yeah
 
displaystate: settings regarding what you are seeing on the display
displaymode: settings regarding how you are seeing the display
state: information or composition
mode: version or type
imo
 
I have no idea where the line between "what you see" and "how you see it" is
 
What you see is going to be the information, so for example on SO's question page, that is going to be questions, the user icon, buttons for asking, nav links, etc. How you see it is going to be version, such as mobile web, ipad app, android app
google? define mode: "a way or manner in which something occurs or is experienced, expressed, or done"
emphasis mine
google? define state: "the particular condition that someone or something is in at a specific time."
 
foo, mode it shall be probably
 
12:21 AM
room topic changed to C#: The Foo Bar. Read this: csharpchat.com [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
I wonder if I should sneak out early since its friday.
2
 
I'll have a Foo beer, please
 
Howdy.
 
Hi Spence :) Long time
 
ho ho ho, hi there
 
12:24 AM
Yeah. Went traveling for a bit and tried to unplug for a while.
 
Oh nice
 
How are you guys doing?
 
I love travelling
 
Me too!
 
Just been working really.
 
12:25 AM
Good stuff. I start a new job January 5th
 
still in CA?
 
Yep. But they have offices around the globe. And next summer I may be traveling to Sweden to work on site with a customer :O
I was seriously considering moving to Seattle but this company gave me a really good offer.
 
Nice :D
I am afraid I am off for the weekend right now though, hopefully you will be around next week!
2
Congrats on the job :)
 
Thanks man! Have a good weekend!
o/
 
 
3 hours later…
4:00 AM
Hello all
 
 
7 hours later…
11:03 AM
ermagerd spencer back
...my only having noticed he'd gone anywhere just now, seeing the conversation
 
F4z
hello~
does anyone know how I can find text in a WPF textbox and select it? like the Notepad find function?
 
 
1 hour later…
12:24 PM
Yes you can use text box Select property...
If you want selected text, then text box has SelectedText property... Try to use of intellisense menu...
If you want to select all text in TextBox then you can use TextBox.SelectAll() method
 
1:10 PM
Hellooo
 
1:55 PM
Hi
Any one knows how to use time part of a datetime picker and edit it?
 
 
3 hours later…
6:00 PM
Um, can I have a rough idea on how to do this: Read scores from a file (CHE 1 - 2 MCI) and increment MCIwins++ or CHEwins++. Except, this is for about 20 teams, so a simple if wouldn't work.
 
Dictionary, with the team name as the key
 
I would still have to type lots of ifs?
 
would you? why?
 
well, how would i test for the winner
 
whichever one's number is bigger?
Assuming this is some kind of sport where those are the rules
 
6:05 PM
well, that would require multiple: if(CHE > MCI){CHEwins++;}else{MCIwins++;}?
and so on for all pairs of teams
 
dictionary[teamName]++; I think that works
 
er, i just realized im stupid x.x
Thanks...
 
np
 
6:24 PM
I'm confused, I have an Image with Stretch set to Fill, and the image is just centering. Horizontal/VerticalAlignment are both Stretch. halp
 
usually in those cases, i make every possible thing Fill and see which one works out :D
mmm, again... i can't access msdn.microsoft.com/en-us/library/…
and i've already "using System.IO;"
 
It appears the image control itself isn't stretching
such confuse
wow
oh fuck, I might know
success, kind of
 
6:47 PM
Haha
 
hmm, ^ how would i count draws as well? surely a dictionary can't have 2 values.
 
In my app I have a search text box and I want to make sure I am validating inputs correctly, standard stuff like checking for blank submits, escaping special characters and so forth - is there a common kind of template for this, it must be used all the time?
 
@James just an idea: probably make something like 'public bool Validate(){if(input=="")...}
 
Thanks @Meraj99 I have actually got that one, I was just thinking about this like escaping special characters and anything else I might have missed- what usual stuff needs to be considered? Converting to lowercase possibly?
 
@James idk about this, but i think .ToLower() will give errors on special chars
otherwise, yes, converting to lowercase
 
7:04 PM
@Meraj99 Make a type that stores value for wins and draws (and maybe losses)
 
7:29 PM
Let's say I have code that looks like this:
        dynamic d = new ExpandoObject();
        d.ChangeVolume = (Action)(() => Console.WriteLine("1"));
How would I write it so that it takes a Func<T, TResult> instead of an Action?
 
8:22 PM
@RobertHarvey Just pass it a Func instead of an Action. There's nothing special about Func or Action here.
 
8:34 PM
Figured it out.
d.ChangeVolume = new Func<int, string>(x => x.ToString());
2
 
The cast works too
 
What are you doing with units? Do I need to spam a lib?
 
I have no idea what you're talking about
 
No need then.
 
9:06 PM
So weird, when I set WindowStyle to None, and maximize the window, it always ends up on my second screen, not the primary one.
doesn't matter where the window is to start with
wtf
 
9:30 PM
hmm, it's going to the largest screen, that's why
whyyyy
 
9:43 PM
more joy and happiness, more wtfs. such is life
 

« first day (1526 days earlier)      last day (3430 days later) »