« first day (959 days earlier)      last day (3989 days later) » 

4:30 AM
any ppl ol?
i need to ask a question
 
4:58 AM
0
Q: Adding 2 Event Handler in 1 Control

Elegiacim doing on a context-menu can be found on rightclick like in actual code-editor something like this: and im already done with the cut,copy and paste by using this code: private void rtb_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { ...

anyone?
 
Good morning!
 
5:23 AM
@codebrain my nigga!
i need your help
 
lol..I myself need a lots of helps :P
 
pls help even for a shorttime :(
i think my question was just a peanut for you :/
 
lol..i am a noob too
anyways tell me
if ii knew i would help
 
0
Q: Adding 2 Event Handler in 1 Control

Elegiacim doing on a context-menu can be found on rightclick like in actual code-editor something like this: and im already done with the cut,copy and paste by using this code: private void rtb_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { ...

@codebrain my nigga
 
just tell me why do you want to add two event handler for one control ?
 
5:36 AM
i just want to add image beside everylist on contextmenu bro ...
 
lol that a big deal bud
you should ask jon skeet lol
 
bigdeal?
 
you want to add icons besides the menu ?
 
yeah
 
i havent done it mate. I am really sowiee..ask me simple questions that you dont have time to think :P
and i am in web not in windows
 
5:42 AM
awts :(
for web, you got a liscense for vbulletin? :D or you know where to get
?
 
ha ha
i am having strange issues in the new project and i was given a mvc project and i am dying!
 
6:13 AM
you should take a break nigga
 
6:49 AM
0
Q: EntityFramework 5 getting null value when using Include() method

Elvin ArzumanoğluI use Code first EntityFramework 5 in my project. I came across a strange problem. My code is as follow: public IQueryable<Company> Companies { get { return context.Companies.Include("BankAccounts").Include("CompanyContacts").Include("MyClients").Include("MyCompa...

Please help me.:)
 
 
3 hours later…
RJK
9:22 AM

C# Developers

Programs must be written for people to read, and only incident...
 
why another room?
 
9:54 AM
morning @TomW
 
morning
 
Another day with beach weather here
 
likewise, although not sure it'd be warm enough
been for a run this morning
now compensating with bacon
How I feel when reviewing a legacy codebase: youtube.com/watch?v=fgq0ecMHfzc#t=0m13s
 
your or someone elses code?
 
someone else's, obv ;)
 
10:14 AM
watch out so you don't end up decapitated
 
I love that film, btw
 
I have only seen it once, don't remember what I think of it :D
 
there are two sequels, amazingly
second one sucks
third one turns up the silliness of the first up to 11
but it's more bitingly satirical as well
 
I start to read e-books more and more, the autoscroll feature of Acrobat is useful (shift + ctrl +H, and arrow up/down to adjust speed)
 
 
3 hours later…
1:35 PM
I created what I feel is a really nice extension to apply a bit of syntactic sugar in C# yesterday
 
splain pls
 
I didn't use Enumerable.Repeat in production; but it does the same job. Not sure about performance; nor do I care
objective: type the fewest characters and the fewest enclosing braces in order to generate an enumerable sequence of objects
 
@KendallFrey hey
 
Gaaah, I can't get on MDN
 
want me to see if i can? Is it down?
 
never saw that site before
its a neat idea
 
Is there a single common cause for random sites becoming unreachable for one person for no reason? Your particular DNS having a fart or something like that?
 
back in the day when ping was viable before DOS attack
 
@TomW I'm pretty sure it's DNS-related.
 
I think there is a sysadmin who has a gripe with the world and has written a bot to block random IPs for a short while
 
1:46 PM
Router reboot FTW
 
2:00 PM
@TomW I like the name of the method, not sure it is useful. Why not new []{preceding, following} in the method body?
 
2:31 PM
@RoelvanUden you there?
 
@JohanLarsson that's probably another way to do it. Allocating an array is probably the most efficient way of creating an ienumerable, as well
And yeah, it's not 'useful' per se
I just prefer a syntax that looks similar to LINQ method-chaining
 
yes it is nice but for the internal creation of the array I think I prefer vanilla array initialization. Reads better
 
3:13 PM
@CCInc Yeah?
 
Got some C++ issues
 
Shoot.
 
Dexpot *dexx;

SamplePlugin::blah()
{
     Dexpot *dex = new Dexpot(_T("SamplePlugin"));
     dexx = dex;
     // dex.Function() works but dexx.Function() doens't
}
And I need dexx.Function() to work, because I need to call it from a global functin
 
Huh?
dex->Function()?
 
Yes
that's what I mean
 
4:15 PM
@RoelvanUden any idea/
 
guys.. any EF gurus around :)
 
not right here, no
 
4:33 PM
you want Travis and drch or SO proper
 
5:13 PM
hello :)
 
5:24 PM
heya steve
 
whats up
i'm debating, liquor or beer
 
Beer is liquor
Sorry, my bad
 
5:39 PM
erm...no it isn't
also, @Steve - both.
 
LOL
I AM going to get both
 
you're welcome
 
with bdubs take out
thanks :)
i wish i was more artistic, all my websites look like a 3 year old drew them on a wall with a crayon
 
likewise
well, I've never produced a 'finished' 'website'
 
ah
 
5:49 PM
but I don't have the spatial reasoning to decide what I'd want one to look like
 
lol yeah
 
my housemate is a graphic designer going into freelancing...I volunteered technical help
suits me fine
 
:)
 
she can do a bit of html, and probably flash
 
i'm working on a new site with an old friend, neither of us are good at makign things look nice
 
5:51 PM
but she mostly does mass print
 
ahh
 
I say volunteer
I'd be quite happy to do dev work for a share of the money
 
eh?
we're not really looking for more people atm :)
 
I wasn't asking
 
oh, i must have misunderstood, apologies :)
 
6:09 PM
although if work is going
i spend my weekends sitting on my arse, mostly...i could do a few hours here and there
 
@NinjaEcho $news I am fixed, and back better than ever!
 
.....Lol.
@NinjaEcho $news
 
I am fixed, and back better than ever!
 
oh, ok, does work
 
@TravisJ $google has been changed, so you might want to update your thingie
@NinjaEcho Look up C#
 
6:15 PM
C
C (named cee ) is the third letter in the ISO basic Latin alphabet. It is used to represent one hundred in Roman numerals. History {| class="wikitable" |- ! Phoenician gaml ! Arabic ' ! Hebrew gimel ! Greek Gamma ! Etruscan C ! Old Latin C (G) |- style="background:white; text-align:center;" | | | | | | |} 'C' comes from the same letter as 'G'. The Semites named it gimel. The sign is possibly adapted from an Egyptian hieroglyph for a staff sling, which may have been the meaning of the name gimel. Another possibility is that it depicted a camel, the Semitic name for which was gama...
 
hah
@NinjaEcho Look up C sharp
 
C-sharp (also expressed C or C#) may refer to: * C♯ (musical note) * C-sharp major, musical scale * C-sharp minor, musical scale * C# (programming language), a programming language created by Microsoft
 
Awesome, I ran a 26:30 today
better than I expected
 
but how far?
 
2 feet
 
6:18 PM
10 000 m would be elite
 
5000m
cross-country
the best ever time on that course is 15:56
 
I heard Skeet had 10:00
 
so yeah @JohanLarsson if I merely doubled the distance and kept the time the same, I'd be in with a shout for the commonwealth games
I overtook a few people wearing running club vests, so I'm pleased with that
 
I don't know if I could run 5k without pause :D
 
You ski. I expect you could
Skiing is exhausting, and that was shuffling from the bottom of the slope to the lift, on an indoor practice slope
 
6:25 PM
gf has apple spongecake ready time to get fatter
 
6:42 PM
Hey
 
Hey fella.
Did you ever try that async programming?
 
I watched the vids but did not do much more, did you dive into it?
 
No.. I am reading a WPF book. But I may use it along the way. What are you messing with nowadays?
 
not any coding at all really,except for hacking up samples for things asked in chat
what book are you reading? Unleashed?
 
6:51 PM
Yeah
 
Unleashed is a good one
 
Yeah.. but he lost me at the namespace mapping
 
become a reg in the wpf room? It is a really nice room but a bit quiet
 
Link? I will join you there
 
7:22 PM
Hey, I have a general design question
Is anyone generous enough to give me ideas
 
tell us what the question is, and we'll probably tell you to go away offer some advice
 
It is not a question
I am trying to design an ESL software
ESL = English as a second language
 
> Hey, I have a general design question
I beg to differ
 
So, I want a desktop application, where new forms are created, and each form will have an image, and two buttons
I am not the best at articulating, please bear with me
Now, I am storing the image path and the word associated with it, in the database
When a new form comes up, it will query the image path, display the image, and give two choices as words
How do I randomize these two words? I don't want one button to have the right answer all the time
I hope I made sense
 
Random.Next(1) to pick a number between 0 and 1
I guess, I haven't tried it
reviewed the docs and it should work like that
 
7:29 PM
ok, I will give that a try
 
sorry, Next(2)
bound is exclusive
I think you can then compute the value of the 'opposite' index with (result + 1) % 2
 
Yeah
It isn't the opposite per se.. just that it "rewinds" if result + 1 == 2
 
yeah, 'opposite' to mean 'the other one'
 
if I want to pass a series of options to a method eg: Option.One + Option.Two. How do I find out what options were passed in?
and how would i setup option one and two in an enum?
 
flag enum?
[Flags]
public enum Option
{
    None = 0,
    First = 1 << 0,
    Second = 1 << 1,
    Third = 1 << 2,
    Fourth = 1 << 3
}
207
A: Enum Flags Attribute

Orion EdwardsYou can also do this [Flags] public enum MyEnum { None = 0, First = 1 << 0, Second = 1 << 1, Third = 1 << 2, Fourth = 1 << 3 } I find the bit-shifting easier than typing 4,8,16,32 and so on. It has no impact on your code because it's all done at compile time

I don't know is C# has enumValue.HasFlag()
 
7:45 PM
thought of a better way to re-word it. What I essentially need is this: stackoverflow.com/questions/93744/…
so I'll make that type safe and all is well :)
 
nice extension methods +1
 
8:04 PM
Was HTML before XML?
 
@JohanLarsson I don't think so, HTML is a derivative of SGML which is very, very old
 
wrong?
 
Mmn.. if that's true this tutorial is wrong..
 
hey I'm wrong all the time
 
lol
 
8:06 PM
ooh, it's close
both wikpedias say 1998
wait, no
 
I think I confused it with SGML
 
html 1990, xml 1998
 
This tutorial is right then
 
/wpf?
 
Nope.. XML.. I wanna grok what XML namespace is
I don't know much about XML, except it looks like HTML :)
 
8:10 PM
Tom probably knows, he knows a lot
 
Tom giveth me your brainz
 
no point in guessing more :D
 
Do I?
 
what's the question?
 
8:13 PM
Before I understand.. I reckon I have to understand XML namespaces
 
@TomW yes or the person who uses your account
 
Lol
 
xmlns= ... is the default namespace no prefix needed
 
xmlns=""?
 
xmlns:x= ... creates an alias? and x:Name the x prefix is needed when using it
@LewsTherin xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
I shortened it should have made it ...
 
8:15 PM
What does "http://schemas.microsoft.com/winfx/2006/xaml/presentation" represent?
 
the wpf framework more or less
I'd say skip grocking it, not really important for using wpf
it will always be in the template when you create something
 
I dunno.. it probably is.
I mean there are two namespaces
One for XAML and one for WPF
I want to be able to identify which is which
 
ok grock away then :D
 
8:43 PM
@LewsTherin !
 

« first day (959 days earlier)      last day (3989 days later) »