« first day (991 days earlier)      last day (3966 days later) » 

12:00 AM
1am.. work tomorrow! Goodnight drch
Chat later.
Rather guten morgen
 
woah
work tomorrow?
welcome to the rest of your life. it mostly gets worse
 
I started on Monday :( :)
 
sweet
 
@drch That's comforting thanks!
What does TGH mean?
 
tgh?
 
12:05 AM
1
A: create dictionary entry containing List<int>

Lews TherinI think what you need is a Dictionary<string, Vector3D>. It is easy to create a Vector3D class/struct yourself as I don't think it ships with the .NET framework: public class Vector3D { public int R{get;set;} public int G{get;set;} public int B{get;set;} } dict["red"] = new Vector3D{R=255...

TGH got it
Urban says totally gay homo lol
 
hahaha
probably it
 
Lol :'(
 
or maybe, you know, the other user answering the question
 
LOL
 
makes me want to change my name to GFY or STFU
 
12:07 AM
How did I miss that lmao
@drch Ha ha. That'd piss a lot of people off :P
Ciao ciao!
Poor drch all alone here :P
 
@KyleTrauberman Holy shit, hey mang.
 
 
1 hour later…
1:26 AM
1 hour later...
 
1:41 AM
OH GOD WHEN DID THAT HAPPEN
 
 
2 hours later…
3:25 AM
@drch what's good code called?
like the name for it...
 
3:38 AM
good practice, right
it's too late to be thinking
 
 
1 hour later…
sup
4:55 AM
guys is there a way to port the datas from the db present within the visual studio 2010 to mysql ?
 
 
2 hours later…
6:26 AM
Hi
 
6:41 AM
Hey peeps Morning
 
6:57 AM
Morning guys
 
Hey Gary, long time.
Is anyone ready for a MVC question ?
 
7:27 AM
me still newbie
know nothing :D
 
7:39 AM
:P I thought you were another gary.
 
sup
8:05 AM
hi guys
 
Is there a way to use a action from xController in Ycontroller without copying it ?
 
9:04 AM
sup @sup
 
sup
nm just had my lunch :p
and btw
is there a way to port the datas from the db present within the visual studio 2010 to mysql ?
 
what do you mean by 'the datas from the db present within the visual studio 2010'
SQL compact edition? a DataSet?
 
sup
those @ActionHank
 
9:19 AM
lemme check
 
sup
voky
 
SQL CE
 
Seems like it, yeah.
I never use that though :P
 
you can create database and manipulate it in VS 2010.
I havent seen .mdf any where else unless i back up a db from sql server. So it is CE.
@ActionHank I have seen it in some old app in my office :P
 
sup
9:38 AM
so how can i transfer datas @codebrain
?
 
@sup do you have the SQL Server management suite?
You can import or export data there
 
sup
nop
mysql only so far
:/
 
oh crap you said mysql instead of mssql :P
 
sup
lemechk
 
Hi every body
 
sup
9:52 AM
@ActionHank all i get is imgur.com/9V0jxCW
 
How can I exclude a file name in open file dialog?
for example I want to disable to show main.xml
but show *.xml
is there any way to exclude some file name ?
 
Good morning all
 
hey dre
 
Doing good ?
 
kind of
 
10:03 AM
@Ahadaghapour Look at this SO question, maybe it will help you stackoverflow.com/questions/921937/…
@ActionHank What happened ?
 
Life ;)
 
ok, thank you
 
I need to make an appointment with a psychologist. Nothing serious, but for my own sake I need to.
I kind of 'found out' I need to last weekend
other than that: I'm fine ;)
 
@ActionHank If you commit suicide, I'll beat your dead body until it comes to life so I can bitchslap you >.>
 
@AndréSilva it's not like that ;)
It's more a 'what's the use' than a 'I wanna die' issue
 
10:06 AM
@ActionHank Ahh
Since I don't know what happened to make you feel that way I can't try to make you feel better..
 
Just what I said: life made me feel that way ;)
mental abusive dad, low self esteem, trouble with girls
that kind of stuff
 
Ah, wanna change ?
 
in C#, what is there something possible with anonymous delegates, that is not possible using a lambda expression ?
 
I just want to feel happy ;)
That's all
without having to resort to LSD/XTC :P
 
sup
haha
 
10:08 AM
hold on, there's a scrum meeting
brb
 
sup
booze & weed all the way
:P
 
@ActionHank I can give you a schizophrenic mother plus a sister that lives in parents house with her 3yo baby and she uses all drugs possible and dates a thief that was arrested twice plus some 5k$ debts. I can give you more if you want to..
 
sup
.g ud schizophrenic
O.o
 
sup
.g = google
ud = urbandictionary :P
 
10:13 AM
O.o = didn't work I guess
 
And it doesn't work i thinkg
-g
/g schizophrenic
 
The bot is probably offline
 
sup
haha :P
 
@AndréSilva suddenly my problems seem minute
 
@ActionHank If you want more I can give you more.. Muahahaha
For instance, I'm sleepy and hungry. Those two are horrible, terrible, worst nightmare for anyone
 
10:42 AM
I think I'm falling in love with a coworker. Which is exactly my problem: I tend to mistake friendship for love.
that's worse than being hungry
 
I'd call even.
Just kidding
 
How old are you hank ?
 
28
you?
 
20 ._.
 
10:47 AM
and yet so wise ;)
 
Nah, just fucked up..
 
don't say that!
if nothing else, you're helping people here, right?
 
Well, I care for the people who help me ;p
About this girl... Have you talk to her at least ?
 
yeah the problem is: she was kind of the trigger to 'I need to get some professional help'
 
But, do you socially talk to her ?
 
10:51 AM
yeah all the time
 
hello I need help..
 
@sanjeet Go ahead and ask it :)
@ActionHank So, call her to lunch a couple of times, make her laugh, try to organize a meeting to the bar with some other company fellas
Next week you call just her
Then, you're set
 
No no no no no
She's taken
I don't WANT to be in love with her
 
yeah, see my problem? :P
 
10:53 AM
i m creating application using entity framework ...when i retrieve maxid of my primary key it throws an error
 
I mix up friendship (which we have) with love
@sanjeet what's the error?
 
@sanjeet Could you give us some code sample ?
 
wait a min@silva
 
@ActionHank Look, what I usually do to not fall in love with every girl I see in the street, I try to have douchebag thoughts and think of them as sexual objects
 
Hahaha that might actually work
 
10:57 AM
it throws NULL exception@silva
 
And, let me tell you. Being a douchebag to protect your imagination, sometimes you ge lucky, because a lot of women think the same way and love douchebags.
@sanjeet Code ! We need code !
 
okies i a sending u in a min.@silva
 
@AndréSilva as that might be true, I first need to get myself straight
THEN I'll hunt for girls
wait
 
@ActionHank Stop being gay then ._.
 
var newprodid = obj.Products.Max(u => u.ProdID); getting exception in this line it gives me null @silva
 
11:01 AM
Is there anything inside obj.Products?
 
@AndréSilva haha it's not straight/gay, it's straight/off
 
@ActionHank I know, it was just a joke haha
 
;)
ah damn it I need to go into a presentation now
 
yes its a method which returns list of products from database.@silva
 
cu guys in an hour or so
Thanks #dre
 
11:02 AM
@ActionHank No problem
 
I am sick of converting C# 2.0 to MVC :\ :\ :\
 
 var newprodid;
if(obj.Products.Any())
   newprodid = obj.Products.Max(u => u.ProID);
if(newprodid == null)
   return;
@sanjeet Try that
 
ok i will try..thanks@silva
 
IN my VS 2010 Error tab is not displayed. :o what cause it could be ?
 
Because you closed it ._.
Try Ctrl+], E
 
11:06 AM
I build it and have 2 Errors. still i dont see it.
 
Or go in View and Error List
 
lmao.
How did i forget view ? I was searching it under Windows :P
dang
 
:)
Why is it so hard to register for spotify ? ffs
 
hello
i have need help
abt security purpose
 
Feel free to ask your questions.
 
11:10 AM
i have one page in display all video
that video can not download
any visiter
only show
 
Always the same video ?
 
no diff diff
learning vedeo
video
 
I'm not sure if that is possible
Because you'll be streaming your video
 
way u know pural sight ?
 
Any browser extension can get those streaming data and create a file out of that
Sorry, I don't know.
 
11:13 AM
how many time work in asp.net
sir
 
I worked with ASP.NET in two other companies, but I don't know much
 
ok so please
help me
my site is one academy classes
related
ok thanx
 
@jayrajGoswami Look, if you wait about one hour or so, more pros will be here to help you. I have to run into managers office right now, sudden meeting.
 
DateTime.Now gives me 07/03/2013
how do i kick out the 0 ? i.e; 7/3/2013 is what i want.
 
qwr
see Format for doing this on msdn
 
11:36 AM
yeah got that @qwr :)
I have written a method to override ToString() method. and it works fine everywhere
except the string i retrieve from dictionary.
string date = DictionaryObj.Value.ToString(MyFormat format) isn't working.
 
hi kumar sir
help me ???
 
12:00 PM
sup guys
anyone done cuda programming here or used cudafy.net
 
anybody knows MVC?
hi @AndréSilva
 
And I'm back
Sup
 
sup
 
12:17 PM
Nm
 
hi
hi andre-silva
 
12:52 PM
@FredOverflow WTF indeed
int a = 100;
Can be converted into:
((a = 100) == a)
No.
1. You must declare the variable in the second case anyway.
2. An assignment is all the happens on the first one, so the second one will be slower
3. An assignment is an expression too.
4. OP is obviously retarded.
 
Variable declarations can be made introduced into expressions with lambdas.
 
He thinks inlining is the way to get rid of boxing O.o
@R.MartinhoFernandes Expressions, not expressions
 
int a = 100; statements; can be transformed into ((int a) => { statements; })(100)
 
Well, my day is ruined.
 
1:31 PM
@R.MartinhoFernandes haha brilliant
 
2:12 PM
Great, @KendallFrey is here! I have a question that's right up your ally! How do I cast "on" to a bool?
 
bool isOn = str == "on";
 
I feel like there should be an implicit cast for that.
 
implicit?
 
I wrote an answer about that once.
 
if its "true" or "false" you can Bool.TryParse
or "0" or "1"
 
2:13 PM
In this case it's "on" or null.
Thanks html!
 
but not on/off oui/non ja/nein
 
19
A: how to convert a string to a bool

Kendall FreyQuite simple indeed: bool b = str == "1";

The question was "0" or "1"
 
@Billdr where is "on" coming from?
 
It's the same principle
 
@drch A checkbox from an html form.
 
2:14 PM
bool isOn = !str == null; in your case ;)
 
You mean !=?
 
whatevs
 
str != null?
 
That would fail to compile
 
@Billdr MVC?
 
2:15 PM
Yea
 
use @Html.Checkbox if you can
it adds a hidden as well and will bind it to a bool for you
 
@drch i do the same thing and it annoys me when it ain't compile
 
it does the hidden so it can differentiate between a checkbox not existing and not being set
your browser omits the checkbox altogether if its not checked
 
well look at that. Thanks Drch.
 
then again, you could just use '1' or 'true' instead of 'on' in your markup and bool.tryparse it yourself
 
2:18 PM
Yea, I just looked at what the @Html.Checkbox did.... that was totally doable from my end.
 
Finally I can work on my project again.
 
Finally.
 
A "nicety" on my project is to "Make it as not c# as possible."
 
2
Q: terminology for what a class does with generic type parameter

Jos. SchlitzGiven class MyClass<T> what is the proper terminology to describe what MyClass does with the generic type parameter? Implements? Uses? These don't sound right. I've skimmed through MS documentation on generics and they seem to talk around it without using a term. My question came to mind wh...

var internet = new Series<Tubes>();
 
On WPF, I'm trying to use Command in a button to trigger a ( some kind of ) click event... But there is no Click thingy :(
Ok then
 
2:24 PM
6
A: WPF Command with Click Event Handler

John BowenYou could attach the ICommand to another property and execute it from the Click handler. <Button x:Name="MyButton" Tag="{x:Static ApplicationCommands.Stop}" Click="MyButton_Click" /> and in the handler: private void MyButton_Click(object sender, RoutedEventArgs e) { var button = sender as...

 
I was reading that actually
 
That means I did not understand the purpose of a Command in elements :(
 
The real purpose of a Command is so that an operation can be abstracted to be called by a button, a menu, code, etc.
I consider anything of the form x ? true : false humorous. — Kendall Frey Mar 16 '12 at 18:48
lol @ myself
 
3:07 PM
silent in here today
@Steve must not be here.
 
I have a function MarkIt and a function DoMarkIt. Am I evil?
 
user1162766
Hi there
 
user1162766
I have a doubt about entity framework context, can someone help?
 
@KendallFrey yes.
 
@Areks The correct term is 'question', as pointed out in a humorous tweet once.
 
user1162766
3:17 PM
Uhm, I'll accept that. What I want to know is probably too big to be a "doubt"
 
user1162766
Do you have any experience with Entity Framework?
 
A question is never known as a doubt.
No.
 
user1162766
Okay, thanks
 
@Areks just ask it, if someone knows they will answer
 
user1162766
Okay, I basically want to know if I should keep just one stance of my context or re-create it every single time I want to do something. At first I thought it would be "better" to just have one and re-use it but I've been reading I shouldn't but without arguments.
 
user1162766
3:22 PM
So I don't know what to do, I thought there would be a performance improvement if I persisted the instance rather than create one every time.
 
I think contexts are designed to be created as needed.
I don't know what's wrong with the singleton approach.
 
context should be in a using statment
 
@juanvan I get the feeling you're spouting off random knowledge you once read in a book.
 
Lazy loading is the only problem with perstance
 
Now I get the feeling even stronger.
 
3:24 PM
@KendallFrey might be - Might like to try
 
is there a shorthand way of setting fields in a constructor?
like calling a parent classes ctor. :base(_____)
 
Not in C#, IIRC
 
private string _str;
public Class(string str)
    :_str
{ }
okay
is it Java that has that?
 
I think C++ does.
 
3:32 PM
What made you come to Stack Overflow and the C# chat room to ask about a non-programming question on Super User?
 
windows
 
ಠ_ಠ
 
user1162766
@Kend
 
ohk! thanks for the comment.. i'll go check.
also, it's just i thought c# devs using multiple mon. might be here..
 
WTF...
 
user1162766
3:37 PM
@KendallFrey * You remember me some acquaintance I have on a certain forum... haha.
 
huh?
 
user1162766
Nevermind, just wanted to say it.
 
I am so confused.
 
user1162766
You remind me* Sorry English is not my primary language.
 
o/ @CBenni
 
3:41 PM
hi @KendallFrey
our WPF book arrived
 
I'm bored.
 
:)
 
Cool!
 
lol
Can you tell me what happened:
..
 
Changing message box messages. yay -_-
 
3:42 PM
I wrote an app that uses speech-to-text (the one included in .Net)
 
Sweetness.
 
it worked kinda ok-ish for me
friend of mine tested it too
worked fine too
then he turned on OBS (a livestreaming capture/broadcast program) and suddenly
1. Suddenly the program would detect everything as the command that the recognizer was looking for
2. starting my app turned down his mic volume to 35% from 100
idhafc what happened there
seriously :D
 
1. You mean like 'Stop Listening' or 'Mouse Grid'?
 
huh?
 
I only used the Windows Speech Recognition tool. Those are commands you can give it.
 
3:47 PM
WSR is pretty good
soooo boredddd
 
oh no i meant the System.Speech stuff
that is the important part of my code
 
kewlllllllll
 
3:59 PM
posted on July 03, 2013 by Eric Lippert

EXCITING NEWS EVERYONE! Like Eric Lippert, Neil Gaiman enjoys soup! That probably didn't make a whole lot of sense without context, so I should start by reposting My Buddy Neil Totally Agrees With Me from 2011: British fantasy author Neil Gaiman was … Continue reading →

 

« first day (991 days earlier)      last day (3966 days later) »