« first day (1654 days earlier)      last day (3311 days later) » 

12:02 AM
@Mosho lol
 
12:18 AM
Hello everyone! Do you know Kruskal's algorithm?
My question is this:
-2
Q: The ouput of Kruskal's algorithm is a minimum spanning tree

user159870I want to show that the output of Kruskal's algorithm is a spanning tree. We suppose that S is the output of Krskal's algorithm. To show that S is a spanning tree we have to show that S is connected and acyclic. How can we justify that S is connected? S is acyclic because each time the algo...

I hope someone can help me!
 
 
2 hours later…
2:27 AM
Hi guys can you tell me what is the best site where i can start learning C++ and C#?
 
2:43 AM
@ton.yeung I have to say they're unlikely to sunset TFS before 2020 based on revving it in 2015's release package....
 
3:38 AM
@ton.yeung yeah, I ran into that this week. I was able to create instances on my account but not the one for the guy I'm doing a IdP buildout for.
 
3:51 AM
Yeah, winity is my hoster option. I just really wanted an OpenStack environment with an S3-alike at a lower price point for my stuff, and this seemed like a slam dunk for the client.
 
4:14 AM
err, backup option
 
 
1 hour later…
5:40 AM
morning!
 
6:09 AM
Morning evrybody
"The desginer could not be shown for this file because none of the classes within it can be desgined".
Have anyone gone through this?
I came across it when i copied a workable project from one drive to another......
I suspect & thus changed its .NET version on the newly attained drive but in vain
 
Hi every one, does any one worked on beyond compare tool with integrating with win forms application
I have a query which was posted at this link
Have you looked at the command line reference? — BJ Myers 10 hours ago
does some one have a look at it and please let me know how can I suppress the view of the screen (the diff. screen) when calling from my win forms app
 
 
3 hours later…
9:03 AM
chat ded. RIP Waffle chat.
 
Why is it so silence HERE
 
howdy dudies.
haha
doodie
 
@JAVEDIQBAL Have you tried this? stackoverflow.com/questions/6683255/…
@Sippy hai
 
public class StatusPoolerIT extends JunitTest {

  @Test
  public void testQuartz(){

    for(int i=0;i<8;i++){
      try {
        Thread.sleep(812000);
      } catch (InterruptedException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
  }
}
best unit test of all time 9/8
 
9:51 AM
That's... magnificently dreadful.
@Sippy o/
 
Yo
 
I'm cranky today and I don't know why
 
I'm cranky but I know exactly why
 
MONDAY
 
Mundy
 
10:04 AM
I'm using Selenium webdriver like so:
var driver = new PhantomJSDriver();
driver.ExecutePhantomJS(script, new object[] { name, target});
but nothing happens
no phantomjs window is even opened
 
I've not used PhantomJS via C# yet
don't you have to navigate to a page first?
 
the script does that
I just want to call it
 
the script navigates to a page?
But it doesn't even have a browser context at that point, surely?
 
it should be the same as going to a console and executing phantomjs script.js
 
oh no, I'm wrong. I don't know what I'm talking about :)
 
ENtity Framework doesn't know how to translate your ContainsEx method into SQL.
 
@Squiggle how can i change my code to work this?
 
avoid using custom functions like that.
What are you trying to do here that can't be done using the normal LINQ syntax?
 
d
 
d?
 
10:16 AM
#if CLIENT
public static bool ContainEx<T>(this IQueryable<T> query, Func<T, bool> expression)
{
return query.AsEnumerable().Any(expression);
}
#endif
#if SERVER
public static bool ContainEx<T>(this IQueryable<T> query, System.Linq.Expressions.Expression<System.Func<T, bool>> expression)
{
return query.Any(expression);
}
#endif
 
You know that's pretty much redundant?
 
i do that, becouse list.Any not working in silverligth if list is query
 
also using compile-time directives like that is bad practice
you're saying that IQueryable.Any() doesn't work?
what .Net version are you using?
 
@Squiggle i use mono
with unity3d
web player
 
Which version?
 
10:23 AM
unity 4.5
 
I don't know what version of Mono you're using, nor what it might support.
Your work-around is causing issues with Linq-to-SQL. Use the language that is supported by the runtimes you're using.
 
@Squiggle thanks
 
10:45 AM
Hey all
@Squiggle
heyz
is ASP.NET MVC 4 Identity and Membership supported on the apps hosted on shared hosting server which do not allow full trust ?
 
 
11:00 AM
What sort of membership provider are you using?
 
@Squiggle I am using none right now but i want to implement security as well as authentication/authorization in a fresh site
But i have known that Owin is not supported on shared hosting providers like Godaddy and Hostgator
that was regarding mvc 5.. using Identity 2.0 but is the earlier version supported?
 
honestly I'm not so sure. I haven't dealt with shared hosting in a loooong time.
Perhaps other folks here have more experience.
 
11:16 AM
Hey, does anybody here know how windows embedded 8.1 works? We're considering using it for our software and don't really know how complex it would be to deploy and update an app via internal network and access a window server via rdp. The online sources make this process look very complicated.
 
11:28 AM
Guys, buy Kerbal Space Program right now.
 
y?
 
equities ?
good day
 
@Squiggle 1.0 releases today!
 
game :D
 
It's more than a game. It's a lifestyle.
 
 
1 hour later…
1:05 PM
Hi Folks how to convert the solution from vs2013 into vs2010
 
Hi friends,any one have integrate Apple push notification service (APNS) using C#,if yes please provide some sample code or links,thank you.
 
0
Q: Set version Info does not exist error after installing MSBuild Extension Pack for DotNetNuke module creation

SkullomaniaThe PC at work finally kicked the bucket and I needed to install MSBuild Extension Pack on my new PC so that I could continue creating DNN modules for my website. For whatever reason after I install it, I am getting the same error as if it is not installed Set version Info does not exist in proj...

 
1:24 PM
howdy folks
 
Morning
 
afternoon
 
\o
 
ugh, so my alternator on my car stopped working yesterday and now it's not starting
 
o/
 
1:29 PM
No @Roel today? :D
 
@ShotgunNinja #rekt
Buy a new one, alternators aren't that expensive.
 
It's in the shop right now.
 
room is very quiet today
 
I know I'm gonna pay an arm and a leg for it, but I need my car to get me to work.
 
1:30 PM
@pradeep reason to downconvert - there's a lot of things that're painful moving between versions of VS, even upgrading. Downgrading is downright ugly.
 
The bus system, cheap as it is here, doesn't connect me to the suburb where I work
 
Public transport FTW
 
I took Lyft to work today, and it was $28 because it was rush hour
 
@squiggle home office with better setup than your employer's setup > public transport.
 
dude, hell yeah
but like, I don't have that, and my employer has a rule that you can only work remotely one day a week
Which is kinda bs, but whatever
 
1:32 PM
@TetsujinnoOni Then you just need to convince your employer to let you work from home.
 
@TetsujinnoOni perhaps. I prefer a co-working space to a home office, TBH :)
 
@ShotgunNinja it's still monday
you can use that chance
 
Not me; my employer doesn't trust me to stay focused at home
 
@Squiggle Depends what you have for co-workers to co-work. I'm averaging 40% in-office in my new role...
 
My office is 10 minutes by bike, 15 by bus, 18 by tram, 25 minutes by foot and about 30 minutes swimming.
 
1:33 PM
because I used to be on ADD medication and I go on SO chat all the time
which is another count of bullshit
 
@ShotgunNinja your employer is both smart and mean :P
 
@Squiggle swin to work then, for good health
 
@ShotgunNinja .... and here you are.... ;)
 
@TetsujinnoOni Right? I struck a balance now... but I used to be way worse.
 
Hm
Just realised I have 4 days left to work and still have 11 days annual leave
Fucked that up.
 
1:39 PM
funny how that sounded like "7 days annual leave and I'm done for the week"?
 
!!golfclap
 
@Squiggle That didn't make much sense. Use the !!/help command to learn more.
 
aww
@Sippy are you currently in the office?
 
Yeah lol
 
y
 
1:39 PM
dunno
I have an interview here tomorrow and some things to tidy up before I actually leave
And a call on wednesday my coworker would appreciate me being on
 
They buy out your unused time?
 
Nope
 
@Sippy just wrap up now and go to the beach
 
aye, claim it back in financial compensation.
you've effectively worked overtime
 
Hmm
 
1:42 PM
hi,everyone
 
Boss told me that we don't get paid our annual back we just lose it
 
room topic changed to C#: I'd take vacation if I weren't so damn busy [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
@Sippy well you won't make that mistake again :)
 
I was gonna post that as a message, but I realized it has vast philosophical implications
@MirzaJhanzaib sup
 
I wish I had a good excuse to take a vacation
because OMG KSP HYPE
 
1:44 PM
right
honestly, though, I've taken vacation for super-bullshit reasons
 
@Squiggle I'm not that bothered really, but def wondering if I can go home and just come in to help out lol
 
I owe nothing to my boss to not take vacation when I want unless there's some reason that involves the code or my coworkers
 
Usually you have to give notice to take leave do you not?
 
but I'm going to be taking vacation in July to watch my nephew get baptized
in California
with my girlfriend
...which may or may not include a trip to Disney
 
Lol
 
1:46 PM
Yeah, my sister decided that she wanted me to be my nephew's godfather
 
Awesome
 
Actually, yeah, it's a total honor.
The family resemblance is pretty strong, too.
 
i have a question regarding c# console application hope you guys can help me with my problem which is i want to take input 2 variables x,y from the user and want to add subtract and swap the values of x,y without using 3rd variable like temp etc how can i do that ? first problem which i a facing is if i try to cnvert string input to int i cant convert string variable bcz i have limitation i cannot use third variable then how this will be resolved(in console app)
 
@MirzaJhanzaib You should be able to get the user's input as an int directly...
 
@ShotgunNinja learn to code u wsup?
 
1:49 PM
@ShotgunNinja in a console app?
 
int.Parse(Console.ReadLine());
though it's super unsafe, so you'd have to catch exceptions and stuff
 
that's hardly "direct" :P
 
well yeah, but that's basically the working parts of what a theoretical Console.ReadInt() would look like
Read line, parse as int.
All the guy said was "no extra variables". I'm assuming that he knows enough to have proper error handling with retries on error.
 
HAPPY MONDAY, BITCHES
4
 
@ShotgunNinja what kinda software you deal with at that company?
 
1:51 PM
@NETscape Java web shit
 
@SteveG KSPKSPKSPKSP
 
did you crash?
 
But I was once a sprout in school, and I'm assuming this guy is looking for homework help
 
IT'S COMING TODAY
 
@KendallFrey you need to quit that jebadiah mode
 
1:52 PM
@ShotgunNinja You're Veggie Tales?
@tweray VALENTINA MODE ENABLE
 
@KendallFrey it's going to publish production version today?
 
@KendallFrey You know it
@MirzaJhanzaib Also, there's a pretty straightforward add-and-subtract integer swap from C floating around on the internet
Just google "swap ints" or something
 
@ShotgunNinja yeah. went to the website, i think. just showing loading constantly even though the site has loaded
i think i'm at the correct one. the one with the name "leonard" in it.
 
@ShotgunNinja thnx buddy i got that situation under contol :)
 
1:56 PM
wow dat Inglish
 
@NETscape Yeah, I have no clue why it does that
 
heyyy it stopped.
 
@KendallFrey isn't you in some west asia country right now btw?
 
FIX IT OR ELSE!
;)
 
1:57 PM
@tweray not yet
 
Probably from our delightful flash slideshow on the homepage
 
you deal with that site, or internal?
or customers
 
and the excellently-designed marquee at the bottom of the page
 
top grade, i give 10/10
 
only saw "or customers"
no, but I deal with aspects of that site (which should really be their own freaking websites)
and that site itself
and our other sites that we run
 
2:00 PM
ahhh
 
We've got about 8 sites which are heavily used
and a few others which are not
there's so much shit that we run it's not funny
and we only have 9 people in the systems department, and 1 IT guy
I think we have more product managers and ancillary staff who moderate content on our websites than we have software developers who maintain the code.
 
sounds about right
 
@KendallFrey isn't ksp already out? what?
 
our IT dept. makes up for about 2% of our employees lol
 
I'm ok with microsoft updates, but automatically removing on program and replacing with a different one is not cool (Lync 2013 -> Skype for Business)
 
2:04 PM
@SteveG ONE POINT OH
 
two point pea
 
you mean like a possum?
 
no the banana
 
You'll like KSP 1.0, there are female Kerbals
 
what version has it been on?
 
2:06 PM
0.90
It's leaving 4 years of Early Access TODAY!!!!!!
 
woooo
so, after 4 years, the work they decided was most important for launch was..... female kerbals?
 
no no no
the most important is the aero
 
whats that
 
planes n stuff
 
oh
 
2:08 PM
air does what you expect it to now
 
catch stuff coming back to earth on fire?
 
YEAH
 
lol
 
WOOO SPLOSHINS
 
i know it did that already, i'm just giving you a hard time
 
2:09 PM
no it actually gets damaged now
 
oh wow
 
they have heat shields and fairings
 
ever play elite dangerous?
 
and you can mine for resources
@SteveG no
 
its a space game, pretty fun, they mapped the milky way galaxy, or to the best of their abilities, and then made a game out of it
 
2:10 PM
@KendallFrey so it's minecraft with rockets?
(jk I've played KSP before)
 
it has something like 400 billion systems you can fly to, scaled out the same as the actual milky way
 
@ShotgunNinja not that kind of mining
you're thinking of space engineers
 
see above
 
sees ceiling
 
anytime someone mentions mining in a game, I'm going to make a Minecraft joke
You can stop looking at the ceiling now
 
2:12 PM
lol
 
I can't read the chat, so I won't know that
 
Hi, I have a WCF service that I wish to pass a interface as a parameter is this possible
 
@Tommassiov Yes
 
I tried
 
yes
 
2:12 PM
    public class Service : IService
    {
        public bool Ping(IChannelManager channelManager)
        {
            return channelManager.Ping();
        }
    }
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        bool Ping(IChannelManager channelManager);
    }
But the method Ping() when I use Wcf test Client is not accessible
 
is the object you're passing a [DataContract]
 
is the implementation of IChannelManager serializable?
^
 
    [DataContract]
    public class Siteminder : IChannelManager
    {
    }
 
@KendallFrey you know WCF too...? get the fuck out in the sunlight
 
    [ServiceContract]
    public interface IChannelManager
    {
        [OperationContract]
        bool Ping();
    }
 
2:15 PM
@SteveG It's supposed to hit 20C this week, but I can't
remember
 
@SteveG Canada? Sunlight? Hahahaha
 
@Tommassiov [KnownType(typeof(Siteminder))]
 
!!google 20c to F
 
@tweray Where abouts
 
2:15 PM
on the interface
 
68F is a good temp
 
public interface IService
 
@SteveG not for coffee
 
no, the IChannelManager
 
hello everyone
 
2:16 PM
yeah room temp coffee is good too
it's better than no coffee
 
s/coffee/sex/g
when you can't have hot sex, lukewarm sex will do
 
can some one help me using entity frame work
 
any coffee is better then no coffee
 
lol
@r.hamd ask your question
 
@r.hamd whats your question?
 
2:17 PM
it's 75F here, and still i need a jacket, these guys just don't know how to use ac
 
It builds and runs, but still the same
However, I noticed this warning
Attribute 'KnownType' is not valid on this declaration type. It is only valid on 'class, struct' declarations.
 
i have developed a windowform application using C# and entity frame work. i dont know how to backup and restore
 
@r.hamd ok, but what's your question?
 
i cant restore because its always connected(entity framework)
 
I changed to ServiceKnownType, and still the same
 
2:19 PM
@r.hamd and your question is...?
 
could you read this code and tell me what is the problem
private void RestoreDatabase()
{
OpenFileDialog openFileDialogBackUp = new OpenFileDialog();
openFileDialogBackUp.InitialDirectory = AppDomain.CurrentDomain.BaseDirectory + @"backup";
openFileDialogBackUp.Filter = "BackUp File|*.Bak";


if (openFileDialogBackUp.ShowDialog() == DialogResult.OK)
{

con.Open();
ExcutCmd.CommandText = " USE MASTER RESTORE DATABASE ReGdb FROM DISK ='" + openFileDialogBackUp.FileName + "' WITH REPLACE";

ExcutCmd.Connection = con;
ExcutCmd.ExecuteNonQuery();
con.Close();
 
tl;dr
 
i appreciate your help
 
@r.hamd What are your expected results, and what is the actual result?
 
@tweray any ideas ? I changed to [ServiceKnownType(typeof(Siteminder))] but still the same
 
2:22 PM
@r.hamd SqlServer Express?
 
its is SqlServer Express
one min to run it
i am sorry it my computer has frozen yet
 
@r.hamd and you're getting an error back from SSexpress because you're stepping on a database with active connections, right?
i'm of course a little skeptical about in-use backups of (LocalDb) instances
 
@TetsujinnoOni i dont understand
here is the error
exclusive access could not be obtained because the database is in use
and RESTORE DATABASE is terminiating abnorally
 
if i stop it and run it i can restore it only one time
has the code got any problem @TetsujinnoOni
 
2:34 PM
@Tommassiov try put [KnownType(typeof(Siteminder))] under [OperationContract]
 
@r.hamd Yes: you're ignoring the need to close connections. Follow the link to the SO question I posted to cover a couple different techniques for connection clearing for the DB in question
 
When I put KnownType... I get 'Attribute 'KnownType' is not valid on this declaration type. It is only valid on 'class, struct' declarations.'
ALthough it compiles, still the same problem
 
@tweray any other ideas
 
@TetsujinnoOni these are all sql codes i dont know how to change them to c#
 
2:40 PM
@r.hamd Become competent?
 
what do you mean?
@TetsujinnoOni what do you mean?
 
@r.hamd That is a trivial exercise in conversion which I shall not expand on further.
See starred item #2.
 
@TetsujinnoOni
@TetsujinnoOni i am sorry for bothering but i dont know what do you mean by see starre item #2
 
!!facepalm
 
2:45 PM
@r.hamd the star list on the right of the screen the one with 17 next to it
 
@tweray I'm using a Wcf service library
Do I need to specify anything extra in my app.config file
 
hello
 
@TetsujinnoOni @juanvan this is my third time i use this chatroom sorry
 
Apr 20 at 13:29, by Roel van Uden
@JAVEDIQBAL I'll be extremely blunt. This a chat room for C# enthusiasts, not a support channel. We're not getting paid for answering questions. We do so because we like to teach and motivate learning/teaching. Your incapability to read and/or learn and/or accept something doesn't work the way you want to is not my problem.
2
 
@Tommassiov well, the typical way to do that is to still have a concrete class as parameter, and define [KnowType] inside it like this: msdn.microsoft.com/en-us/library/ms730167.aspx
 
2:47 PM
I want to get mouse position (x,y) on mouse over of some control in winforms.
help appreciated
 
@codebrain help with what? do you have a question?
 
I did get mouse position and displayed in tooltip.show(coords)
@KendallFrey read the above line please !
 
but i think i once saw that there's a trick to directly use a interface as parameter directly, i just cannot remember how to do that
 
@TetsujinnoOni thank you very much
 
@codebrain read the starred items please!
 
2:48 PM
!!google wcf use interface as parameter
 
@CharlieBrown +1
 
@codebrain I did, there's no question
 
@CharlieBrown I stared the original post against javed :P
 
which makes me really question things
 
2:51 PM
question On mouse hover of a image control i trigger the event. I set the mouse position as tooltip. on hovering and moving i want to update tooltip and show current position. I set tool tip in on mouse hover.
 
@codebrain do you not update the value when the mouse moves?
 
Its not smooth. it triggers ones again i have to go out of the control and hover it again on the control to get new position. is there a way around to get the position on tooltip on mouse move ?
 
and is tooltip the right mechanism to display that?
 
@Squiggle yes, I tried updating it on mouse move but its not smooth.
 
@codebrain it fires too often, implement a debounce/ throttle
 
2:53 PM
define "smooth"
 
@Squiggle I am not sure, will it be a good decision to display it on the separate label ?
 
@CharlieBrown - I did a raid this weekend and there were 4 MS employees in the group lol
 
@Squiggle It fires like once in 3 or 4 seconds.
 
@codebrain without knowing what your UI looks like, I can't really say. But traditionally, a tooltip is a temporary popover intended to display static text
 
@CharlieBrown good idea. thanks
 
2:55 PM
@TravisJ nice, i should load up the new content, since i paid for it long ago, lol
 
@CharlieBrown - lol you haven't done any of the crota stuff?
 
@codebrain msdn.microsoft.com/en-us/library/… MouseMove. It should fire every time the mouse moves.
 
@Squiggle Yes :( i thought it'll look good on tooltip. I should implement a debounce and display it on a separate label
 
way more than once every 4 seconds
 
@tweray @CapricaSix Could the problem be I'm using the Wcf Test Client
 
2:56 PM
although, I hate winforms programming. It's really clunky.
 
@Squiggle you'll be happy sometimes for being faster than winforms. lol
 
I.. what?
 
In case if you work in winforms, you will sometimes be faster than the winforms reactions. feels like superman !
 

« first day (1654 days earlier)      last day (3311 days later) »