« first day (1078 days earlier)      last day (3884 days later) » 

12:01 AM
Oh my... this is about the worst looking C# I've seen in a long, long time: stackoverflow.com/q/19061756/65358
 
12:33 AM
@ReedCopsey you need the userscript that hides questions from users with 1 rep
 
12:47 AM
in English Language & Usage on The Stack Exchange Network Chat, 1 min ago, by tchrist
> The corollary, of course, is that if individuals are not paying for some online product, they are the product.
 
yeah it should be well known by now...
any time you get a service for free, you are not the consumer, you are the product
 
 
1 hour later…
2:05 AM
 
 
4 hours later…
6:21 AM
@MRS1367 please help me with this stackoverflow.com/questions/19063931/…
 
 
1 hour later…
7:39 AM
Good day everyone !
:)
 
8:26 AM
@JLott HI
 
Hi
What's the best practice to store a DataTable in Properties.Settings?
 
8:51 AM
Hi Everyone.
Can someone plz help me with this one stackoverflow.com/questions/19064927/…
 
9:03 AM
There is a graph solution: create a graph based on student's prefrences, then divide it into groups by 3 or 4 trying to cut as less edges as possible and with as less weight as possible. Weight is two if prefrence is mutual, one otherwise
I guess you can't solve it with SQL because it's gonna be an iterational solution
 
@Durga -> hey, I'll check ur question
 
9:29 AM
@MRS1367 hi
 
hey @Durga
 
@MRS1367 have you ever created crystal report ?
 
@Durga -> yes but it's for 3 or 4 yrs ago.
I'll check ur question
 
@MRS1367 ok I am creating one ,and new to it
@MRS1367 hence getting some issues with it
 
9:57 AM
@MRS1367 can you plz help me as well
 
@user2345661 -> yes, sure
 
-2
Q: Divide students in groups based on preferences

user2345661I am writing an application using C#/Asp.Net. In the database i have three tables. (Students, Groups and Preference). Students Student Name---------Group ID(Not Data for now) Student A Student B Student C Student D Student E Student F Student G Student H Student I Student J Student K S...

 
@user2345661 -> I'll check ur question when I'm not busy
 
thanks man
 
Gui
hi guys whats up
how do you convert a number, for example 1 to the equivalent month, for example January ?
 
10:03 AM
69
Q: Best way to turn an integer into a month name in c#?

DevelopingChrisIs there a best way to turn an integer into its month name in .net? Obviously I can spin up a datetime to string it and parse the month name out of there. That just seems like a gigantic waste of time.

 
Gui
thx
 
 
2 hours later…
12:31 PM
I just noticed that my visual studio 2010 always crashes when I rename a winforms control in the designer. Did anyone else have that problem before and maybe knows a workaround? Google just spits out people reporting it on microsoft forums and not getting any useful reply...
 
12:41 PM
not many here use winforms I think
 
12:52 PM
Hey guys,
need a clarification with MVC
using Session with MVC a bad idea ?
 
1:03 PM
Guys can anyone plz help me with this question
-3
Q: Divide students in groups based on preferences

user2345661I am writing an application using C#/Asp.Net. In the database i have three tables. (Students, Groups and Preference). Students Student Name---------Group ID(Not Data for now) Student A Student B Student C Student D Student E Student F Student G Student H Student I Student J Student K S...

 
Haven't you already posted the same question in here earlier today?!
 
yes i asked @MRS1367 for help but he was busy
can you help?
@ThiefMaster?
 
@user2345661 pinging and nagging often makes people annoyed.
 
@JohanLarsson i apologize
 
with a ping! :D
 
1:08 PM
np, just saying it so you can get better help here in the future
I prefer being pinged, I'm a multi-chatter
I have no idea about your q btw
 
@JohanLarsson is it confusing?
 
I just suck :P
 
@JohanLarsson i guess i will have to wait another 4 hours may be
@Athiban @ThiefMaster any ideas?
 
you could edit your question to provide what they ask for in the comments.
 
@user2345661 It seems you really want us to do some homework for you. The question you posted is about algorithm, not c#. It's a common task that can be solved by using weighted graphs. It can't be solved using SQL (I guess).
 
1:20 PM
@Nanako i don't expect you to do it. I just need some example or something. So, i can get an idea.
 
Also you can at least try to solve it using the dumbest way: try all the possible divisions of students by groups of three or four and find out the one that cut's off the smallest number of "prefrences".
modify tags of the question to "algorithm" and "graph-algorithm" and try it there, but be aware that the answer hill hold only the basic guidelines
When you'll have the algorithm, then you may ask some questions about implementing it using C#
other way you'll get yourself downvoted, you already has a hold off
 
@Nanako thanks
 
1:47 PM
test
 
+ve
 
good morning @KendallFrey
 
hello
 
Whoa
Looks like something out of Star Trek.
 
1:54 PM
i know, right?
 
I finished the first season yesterday
 
of the original star trek?
 
yeah
 
i like.... voyager > next gen > ds9 > enterprise..... never really could get into the original so its not on the list
 
I've heard tng was better
But I still want to watch the rest of tos
 
1:58 PM
yeah i really like tng, their acting seems more realistic, not just another tv show, even compared to like voyager
 
TNG is the best by far.
tos had some interesting plots though
tng > (voyager > tos this one is close, but 7of9>looking at shatner so) > enterprise > ds9
 
they're supposed to be writing up a new star trek show i heard
 
I think the most unrealistic part of any hand-to-hand combat scene is when the antagonist pauses before killing the protagonist, letting the protagonist strike back.
Gets me every time.
 
yeah i agree
it should be more like liam neeson in Taken where they just very coldly execute their enemies
 
2:38 PM
yep
 
2:58 PM
What's the common practice to store a data table within a Properties.Settings? I used XML serialisation, but found out that you can set a DataSet as a type of a Setting. How can I make it serializable?
"XML serialisation" I've meant storing a string in Settings and serializing/deserializing as a schema for DataTable
 
      <div class="col col-lg-12">
        <div class="input-group">
          <input class="span2" name="quote" placeholder="type the speaker's brilliant quote here" oninput="noteit()" onchange="noteit()" onkeydown="if (event.keyCode == 13) { postit(); return false; }" type="search">
              <span class="input-group-btn">
                <input class="btn btn-default" value="Note" onclick="postit()" type="button">
              </span>
            </div>
      </div>
 
@Nanako huh? I don't understand what the connection is between serializability and datasets
 
I can't change the span of input class="span2" :(
 
I didn't know you could have datasets as settings, that's useful to know. Where does serialization come in?
 
hey could anyone tell how to solve this error Error 1 Interop type 'DexterLib.MediaDetClass' cannot be embedded. Use the applicable interface instead.
 
3:03 PM
@Durga does this help?
277
A: Interop type cannot be embedded

Jon Skeet.NET 4.0 allows primary interop assemblies (or rather, the bits of it that you need) to be embedded into your assembly so that you don't need to deploy them alongside your application. For whatever reason, this assembly can't be embedded - but it sounds like that's not a problem for you. Just op...

 
@TomW I even can set some of my own classes as a type.
 
that doesn't answer the question
 
@kush I am not getting this option "Embed Interop Types"
@kush where I will find this line? Excel.Application xlapp = new Excel.Application();
 
@TomW What I'm trying to achieve is to put a DataSet inside settings without using workarounds, like reading XML from string on a startup.
 
@kush Hey thanx it resolved issue
 
3:39 PM
Have any of you guys used MediaElement and MediaTimeline?
 
So I was able to add an object to the settings on a runtime
However it didn't show up on the settings in VisualStudio after the end of runtime
 
couls someone build a XNA 4.0/CSProj for me? I have VS2012.. unfortunately
 
4:38 PM
@TomW So you CAN store a whole dataset into settings without serialisation, the only problem is that if you want a default value it has be stored somewhere else, like in a MySQL database
 
I see
when does that get loaded?
 
I don't know
Settings designer is empty for that item
I guess it is serialized as binary data
 
at the point the appdomain spins up then, probably
you'd see a database hit for that default value I suppose
 
That's is so awesome I can't understand why is everyone telling that you have to serialize it to a string as XML
I don't use a default value
 
if you had one
 
4:44 PM
App checks if the database is initialised
 
5:04 PM
If I create a closure event handler for a control will it be destroyed with the control?
 
 
1 hour later…
Gui
6:18 PM
whats up everybody
 
6:32 PM
nothin
saturdays = bore
 
Gui
6:42 PM
why not do some C# coding?
 
I'm coding)
 
Gui
good boy
 
I don't have enough motivation, there's nothing much I really want to build for my own merit
it's my biggest limitation as a developer
 
6:59 PM
God made woman first or man ?
 
God doesn't exist
 
Man
 
Yeah, in that case if I have to dream evolution process I should either see ape Fucking a women or a man Fucking ape. I wanted it to be simple so I created a base class god. Now say man or women ?
 
wat.
 
A man ? that isn't a big mistake. These women atestupid and crazy.
That base class thing is just addumption..
Assumption *
 
7:05 PM
Women are teh sublass, obviously
 
Typing from phone. Lots of typo errors. Just have a good night.
 
So god -> man -> woman
But ther were several revisions, so we have a bunch of religions nowadays
 
You people are troglodytes.
 
Gui
does god have a father god ?
 
any exp developer is der ? im fresher havin few doubts.
 
7:07 PM
I don't know why most women are so so stupid. Just a small AC remote and she doesn't know what mode its running ON. My god.
I don't wanna talk about god man..
 
There is a rumor, that women on heels use part of their brain to maintain equilibrium
Higher the heels -- bigger the penalty
 
Gui
and what man use to maintain the equilibrium ?
his D ?
 
Man don't wear high heels, mostly)
 
Man doesn't bother.
 
Gui
8:02 PM
 
8:27 PM
if listToCheck.Count is equal to 0 why does lineNameError always show as false?!
Someone please, its driving me crazy
 
How could I define the column of a datagridview into unsigned number ???
 
9:05 PM
@JoelKidd Depends on what the other stuff does. Why not step through? Looks like you could be hitting that InvokeRequired and falling through the else statement.
 
@RoelvanUden I'm really new to C#, how do I step through?
 
@JoelKidd Using Visual Studio?
 
@RoelvanUden Yes
@RoelvanUden 2012 express
 
@JoelKidd Click on the line number at the beginning of that function. A red ball will appear, that's a breakpoint. Once code reaches that line, the program pauses and you can inspect all the variables. You can then step through with the debug controls, F10 to step over, and F11 to step into.
Running, of course, needs to have debugger attached (F5)
 
@Roelvanuden Wow that sounds very useful, thanks. Maybe now would be a good time to read through all of Visual Studio's debugging tools.
 
9:08 PM
@JoelKidd It wouldn't be a bad idea. Debugging is the source of code flow information, it gives you everything and anything related to how your code runs. Knowing how to utilize it well will greatly accelerate your learning experience ;)
(And development time)
 
@RoelvanUden That's great thanks! One thing, I've inserted a break point and it's paused, now how do I check a variable's value?
(in debug mode)
 
Mouse hover over it and the value will appear. :)
 
Legend, thanks so much :D
That's incredible
Absolutely incredible
That could have saved me soooooo much time
 
Haha it seems that this is your first time using VS? Welcome to the industry leading development environment :)
 
I'm very experienced in VB, but I taught myself
I've missed out on vital things like break points just because I haven't spent any time debugging
Learning about debugging*
 
9:10 PM
Ahh I see. The same principle applies to VB.NET too. ;)
 
I see! I love C#, it's perfect for me
C++ scares me and VB.NET was a little too basic
Seems the perfect compromise
 
VB's feature set is basically identical
 
A fun little fact though, VB.NET and C# both compile to the exact same assembly.
 
I suppose I'm more talking about the syntax
Which I prefer
 
I agree on that. :)
 
9:12 PM
Can I ask then, if VB and C# are very similar in features
Why use C#, other than the syntax difference?
 
the syntax difference is a very good reason
 
Ahh ok :)
 
also you will get better help here for example
 
There is no reason other than preference for syntax. It's an extremely valid one.
 
I see, I'm a web developer 99% of the time and using C# was HUGELY easier to pick up over VB.NET
Although VB.net was my first language
I've been on a right rollercoaster xD
But I can certainly relate best with C#
 
9:14 PM
I agree that C# seems more suited to web development compared to VB.NET.
VB.NET feels.. unnatural for that, somehow.
 
VB.net was a legacy compatibility thing, basically. It was meant to be almost-convertible from VB6
C# was designed from scratch
 
Yes, although I have to say VB.net I feel was very easy to pick up as a first language
It really didn't take me long to pick up
Although if you put the effort in I suppose it's the same with any language
The transition was certainly very sharp though, so not a great one to start with
 
True, If And Or Then End is easier to read when you are not used to programming.
 
Yes totally, which is why I loved it so much
Before I was welcomed into a real programming language
 
I don't see them as different at all really. It just depends whether you're scared of parentheses
I'm not
 
9:18 PM
I'm not at all now either
 
It is the same principle as Lua or CoffeeScript. Reading them is like English.
 
I feel that starting with VB is not the way to go though
Not if you wish to expand your knowledge of programming languages
 
It doesn't matter what you start with. What matters is wanting to learn more.
 
Because it's quite a sharp curve in syntax
 
You can come from tinkering in a simple PHP script all the way to learning proper OOP and architectural principles, where you started does not matter, the drive to learn and improve will get you to where you want to go.
 
9:20 PM
That makes me happy :)
Would you say C# is a good language for making games in?
I like the idea of creating a game without the need to worry about memory all the time
Because that's all I see C++ as
 
That depends on the definition of game in this context.
A game such as Angry Birds can be made in whatever you want.
A huge AAA title absolutely needs the C++ rendering performance.
 
Ahh I see
So if we're talking about a 2D sidescroller, that's well suited to C# right?
Or any language like you say
 
For most indi games, tough, C# is more than powerful enough.
Yes absolutely. :)
 
My dog is begging, I think he needs a wee, back in a moment
 
think I wrote a semi-useful thing today. A mediaplayer with bookmarks
 
9:32 PM
That's awesome :D
 
heey everyone!
 
9:52 PM
hi matt :D
 
Gui
10:24 PM
hey guys
for html 5 developement
would you guys use webstorm or visual studio?
 
@Gui Who cares, anything with syntax highlighting will get the job done.
@Gui If you care about standards compliance and validators, you would be better off with WebStorm than Visual Studio, or an alternative that provides the validators you're after.
 
Gui
The only thing I care to develop faster for web application. Currently, I'm C# winform developer, I dunno if I should take a bit of time learn to use Webstorm. According to your answer, I don't really about standards compliance and vaildators as long as my web application works in most of the modern web browser.
I saw a feature that I really appreciate in webstorm, it's about live editing, when the html in webstorm, you get to see in real time the change in the browser
I have to see if there're a equivalent feature in visual studio
 
@Gui Well if you intend to write a back-end for your HTML5 application too, you want an environment that supports that. If that back-end is Windows Forms, Visual Studio is a logical pick. If that is PHP, PhpEd is a good choice. If Node, you just want something with Node validators.
@Gui If you're serious about writing web applications, you should care about standards compliance. It is exactly what makes 'it just works'-on modern and mobile devices. The validation you get from a compiler does not exist in that dynamic world, so validators are everything.
Live editing feature is irrelevant. You can accomplish the same using auto-refresh.
 
Gui
10:43 PM
Actually, I plan to develop an hybrid mobile application with html and phonegap. And by using some framework to help me to get up to speed with an acceptable design like bootstrap and sencha, it should be quite standards compliance
 
In that case, WebStorm is a decent pick, but so are many other editors. Personally I use Komodo Edit for the web.
 
Gui
why don't you use webstorm ?
 
It doesn't add any value compared to other (free) editors. I don't feel inclined to pay for a product when there is something of equal value for free. That, and I truly hate anything that relies on Java.
 
Gui
I so agree with you about java :D The first thing I noticed in webstorm is its java UI design, it's ugly
 

« first day (1078 days earlier)      last day (3884 days later) »