« first day (805 days earlier)      last day (4369 days later) » 
00:00 - 12:0012:00 - 00:00

00:00
@CCInc Don't push it?
Eve
Eve
Or wait, never mind, I guess that's just what you'd write, not what you'd see.
@Pheonixblade9 They are.
I predict that @CCInc will be banned very soon after starting the bot in c++
Indeed.
Hahaha, I am taking this girl rock climbing tonight, she is resisting: "I got all sexy and wore a corset type shirt and you want me to change??? -:( 4:03 PM"
00:06
Its going to end up coming off either way.
4
lol
|o|
@TravisJ nice line, I just said that, hahahaha
@Pheonixblade9 keep sexy, drop shirt?
I'm sure that'd cause a stir at the climbing gym.
It's usually super fit girls wearing yoga pants/spandex
00:09
OMG I JUST FOUND A CHAT BUG
@Pheonixblade9 - Isn't that part of why climbing gyms are fun to go to? :)
@CCInc - Other than the picture of one I posted earlier?
@TravisJ hell yes. My brother came to my climbing gym and whispered into my ear "holy shit these girls are fucking hot"
I've actually gotten pretty decent at climbing :)
I can do a 5.10a/V2
Nice :) I am not sure what I can do, I did the simple ones the last time I went. I like the free wall ones
free wall?
you mean without ropes?
Yeah
00:11
that's bouldering :)
with the huge thick pads at the bottom?
Ah :) Yeah those
10-30ft maximum height
Right
yeah, I love bouldering :)
I can't remember what the best one I did was, but it was like the third or forth hardest one
You had to start from sitting down and work up
00:13
yeah
this is about the level I can do: youtube.com/…
I could probably get close to that, but I tend to have issues getting my foot to stick back to the wall after hanging
ah, yeah. takes a lot of abdominal strength
they have up to V8 or so at my gym
it's awesome, though. It's a really good workout, but doesn't feel like one. I joined the local one (stone gardens, the one in that video)
I am not sure what the one close to me has, I have only been like 3 times.
@TravisJ that's awesome that you've been, though. Most people are scared of bouldering.
I like going to the trampoline place too, they have like 40 of them setup in different arrangements and a big foam pit
00:17
haha, that's awesome. I've never done that
like, you jump from a height onto a big trampoline, then into the foam pit?
Here z teh bugz
@Pheonixblade9 - Had to deal with an invoice. Kind of, you get to jump on a trampoline which is like 10 feet off the ground, into a pit of foam cubes which is 10 feet deep. The trampoline is roughly 5ft by 5ft in area, but there is a group of 6 of them to jump on before the pit.
That is the non foam pit area
Ell
Ell
00:37
Hi guise
hey ellse
Ell
Ell
How is everyone ?
fine
you?
Ell
Ell
Tired
00:43
Da.
Ell
Ell
A bit random - anyone here Norwegian?
@Ell why?
Ell
Ell
Because I want to learn the language
14 hours ago, by Johan Larsson
Norwegian is more similar to Swedish than most Swedish dialects
@Ell why?
00:47
I'm Swedish
@JohanLarsson same with Icelandic :)
@Pheonixblade9 because $?
I'm Swedish, but only by heritage. My grandpa speaks fluent Swedish
About all I know is "SKOL!"
sure :P
like "cheers!"
00:50
yep
and
(bowl)
@Pheonixblade9 You know far more than that but you don't know it, almost all things related to computers or it are the same or very similar
@JohanLarsson tell us
Hi, does anyone use Visual Studio?
@James hahahahahahahahahahahahahahahahahahahahahahahaha
...continue, please
@James yes
01:03
I just want to know, when debugging how you view the properties of an object. When my code breaks due to a code error I can hover over my object and then see an expandable menu of prototypes and methods, however when in debugging and the code isn't broken I can't see this. Is there a way of seeing the properties of objects without adding an error to your code?
Compiler Kompliator
Programmer Programmerare
Program Program
Im a JS developer doing Win 8 development but I figured this wasn't C# specific.
Thanks in advance for any help.
@James breakpoint? Watch?
When I use breakpoints that doesn't work, I've tried that
@joh I don't know about Watch
@James you should be able to see most things in the locals/autos window?
01:06
@JohanLarsson Thanks, I'll take a read of that link now. Thank you.
@James make sure you start your code in debug mode (F5, rather than Ctrl+F5) if you want to hit breakpoints
@James I think the locals window is most useful
I use locals/autos most often.
autos misses important stuff sometimes, though
@Pheonixblade9 trudat, never figured autos out really
Ok thanks, I'm just learning to use debugging now, not used to it at all. Nothing shows up in locals or autos by default though. I'll read up on how to use them after watch.
01:08
@James that sounds strange
@James you have to be at a break point in order to get that sort of thing.
Ahh ok, that does appear now.
Can I ask a really basic question; how do debuggers work? Can it not see inside the variables when running the program, but at a break point does it kind of dump all the data and then that is what you see?
I'm very new to this.
@JohanLarsson I'll take this one :D
(just so he doesn't get confused by 2 answers, please correct anything I leave out)
@James basically, there are 2 modes a program can run in
(default, anyways)
@Pheonixblade9 ok...
the "release" mode of the program makes a highly optimized binary file (usually a .dll or .exe) that is designed to be released into a production environment. Like a final build, or shippable product
the "debug" mode of the program leaves out a lot of that optimization and leaves in place what we call "hooks" for the debugger to latch onto
these hooks allow the debugger to go in and read information about the running state of the program
how this happens differs language by language
but I believe C# essentially uses reflection for most of it (@JohanLarsson ?)
01:14
Ah, that makes a lot of sense. I get that, thank you. Can it only go and read the hooks at break points though?
reflection is a special technique that allows a program to look at the running state of itself. You can do things like add fields, remove fields, add variables to a class, determine the type of class, etc
well, the hooks are generic to the program.
break points are for your convenience
you could absolutely put a break point at the beginning of the program and step through every line
but that's not very efficient
instead, the program runs up to that break point so you can examine only the bit you care about
did I miss anything from a basic overview? :P
Nice @Pheonixblade9!
Ah, I get it. I hadn't actually noticed the step into option until just now when you mention it. I can see why doing line by line for the entire program would be inefficient, however for what I'm struggling with now its amazingly useful!
Thanks both of you for helping out, that's going to help me a lot
!
:) no problem
we can be friendly at times! Especially to polite people :P
You laughed when I mentioned VS before, how come? Is it not particularly good?
01:17
@James I was just being a smart ass. This is the C# room, everyone uses VS :)
Haha, I try to be nice whenever anyone is taking to help!
I can add that I have never thought about debugging this way really, just used it. I don't think knowing the internals is that important to be productive
Ahh I see, I'm using it for JS/HTML and don't know C# so had no clue!
You'd be amazed at how many people come in EXPECTING help, not asking nicely for it
@JohanLarsson well, it's important to know how it works when you're getting deep into the language. Stuff like reflection, timers, Lazy objects, LINQ all work very differently when you're debugging
@Pheonixblade9 I think we should always try to be nice when new guys show up. A reg can take some abuse that is different
01:19
Ha, yeah I'm not like that. I try to use StackOverflow questions if its something big, and only chat for little problems.
@JohanLarsson I'm always nice to people, unless they're not nice to me :)
@Pheonixblade9 but what did I do?
@Pheonixblade9 true
Well, you're a fellow Swede, so I know you can take some abuse
I also get that people come to the chat for exactly that, not necassrily to solve coding issues!
@James yeah, this is a very friendly chat :) the JS and C++ rooms scare me
chat is a good environment for explaining things. Sometimes that is difficult in an SO question
01:20
hmmm, I've had some bad experiences in JS
@James you should hang here, we are often bored just waiting for questions. And when we are bored we start talking about sh*t
Not too kind to basic questions some of the time.
if you asked an SO question "What is the debugger in C#?" you'd probably get a barrage of downvotes and "LOL DEWD JUST USE THE GOOGLE"
Nothing is too basic here :)
We're happy to help
Haha yeah, I think it might be classified as a little 'general'
sometimes determining what question to ask is the hardest part. That's why I use the duck method of asking questions
01:22
Thanks again for the offer. I def will do if I get stuck
I think I can guess, but how does that work?
the crux:
I still feel the debbugger is something you use a lot to learn, nothing you read a book about before using it. What do you say @Pheonixblade9?
I have a problem
I decide to bring it to stack overflow
I awkwardly write down my question
I realize that the question doesn't make any sense
I take 15 minutes to rethink how to ask my question
I realize that I'm attacking the problem from a wrong direction entirely.
I start from scratch and find my solution quickly.
Oh yeah, the debugger is a critical tool, makes life way easier
01:23
@Pheonixblade9 - thats my whole day
@ScottSelby :)
I love this story:
Ha, I've had that before. Jumping to SO too quickly and then solving my own issue whilst thinking how to write the question.
Bob pointed into a corner of the office. "Over there," he said, "is a duck. I want you to ask that duck your question."

I looked at the duck. It was, in fact, stuffed, and very dead. Even if it had not been dead, it probably would not have been a good source of design information. I looked at Bob. Bob was dead serious. He was also my superior, and I wanted to keep my job.

I awkwardly went to stand next to the duck and bent my head, as if in prayer, to commune with this duck. "What," Bob demanded, "are you doing?"
I like that anecdote! Should buy myself a stuffed duck...
I can tell that is going to happen , when my boss says whats the problem , and it takes me a while to get back to the original problem
and I HATE nullable bits - get turned into bool? that no input can easily handle properly
01:27
Quite often, I go to my boss or one of the architects and ask a question, and answer it myself. However, I love to just listen to them talk - so much good information to absorb
just make the fucking thing false , how can a bool be null , arrrgggghhhhh
and where the hell has Tony been ? I want to give him shit about how amazing Linq is , now that I am getting to understand it
LINQ is amazing! high five
hand writing sql commands is for chumps andTony
lol, I hand write lots of SQL
but the place where I work pushes the limits of SQL
I still have a big issue with a linq select statement that takes 4 seconds...thats bad , when I put the generated Sql in SSMS it is fine , I'm wondering if it is Linq taking that long to generate the Sql ( 5 outter joins) or is LinqPad is just slow
01:35
@ScottSelby 5 outer joins, eww.
I have a requrements of no relations between tables
thats just how it goes sometimes
just try and index the stuff you're joining on ;)
ohhhhhhh, lol :) completely forgot , that was supposed to be done already
oops
Hahahaha! Glad I reminded you :P
Should be much faster, now.
I'm still not actually doing it now , and may forget
hey @Pheonixblade9 - you good with MVC ?
01:43
uhm... reasonably competent, but it's been awhile
I have a form that submits to Action "AddEvent" , in the AddEvent code I have these 2 lines of code at the end
    Response.Redirect("/TicketOptions?id=" + newEvent.ID.ToString)
    Return View("Index", newEvent)
yeah that's not good
it works fine on localhost , when I run from the server it seems to skip right over those and tries to go to a view called "AddEvent"
hmmm
yeah I think that's a race condition
like because I'm white it wont work?
01:45
yup.
that kind of race?
yup..
I think you should be doing this:
i'll see if i can get some black guys for testing :)
return Response.Redirect("/TicketOptions?id=" + newEvent.ID.ToString)
ohhhhhh - yea good idea , that way it will work for any race , :)
01:47
:)
what would be better
what should I make the function type to allow return redirect? right now I have ActionResult and that wont work
is RedirectToAction
I had redirect to action , that does not like my adding of querystring
infact it hates it
You can use a parameter argument
no
tried that too
It wants object parameter , it just gets messy - I just want to simply put a Guid in there
even better:
that Redirect crap is not MVC-style
I highly discourage its use
so
return new RedirectResult("/TicketOptions?id=" + newEvent.ID.ToString);
is that helpful?
that is sexy
:) so I guess I don't suck at MVC! Yay!
I'm having trouble using process.start to run a exe.
It's a quick updater I created which I tested and it works
02:04
what's the problem, then? :D
but the problem is I one I open my exe, it checks fro a new file, and opens the updater but the updater never opens and the code just closes
`if (HasUpdate()) {
Process myProc = Process.Start(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location));
myProc.WaitForExit(300);
System.Windows.Forms.Application.Exit();
System.Environment.Exit(0);
}`
eww, VB
lol
@Justin is there a way to use a callback rather than just a delay?
huh?
@Pheonixblade9 I sent the C# code... lol
@Pheonixblade9 what do you mean?
02:09
@Justin I think it's because you're starting the process from that program. A process is a child of a program. You could use a service, instead, perhaps?
No because I'd have to install that service. I'm trying to make it simple and thin.
Is their a way I can open it from code so that it is not a child process?
4
Q: Open new instance of C# windows application

Yahya YounesI am working in windows environment and I need to open a new instance of my application programmatically while running the application is that possible? I am greatly appreciative of any guidance or help.

hey @Pheonixblade9 - I have a ServiceReference in another project , how can I find the URL of that Wsdl ?
Here is the updated code and it is still not working `if (HasUpdate()) {
System.Diagnostics.ProcessStartInfo myProc = new System.Diagnostics.ProcessStartInfo(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\update.exe");
Process.Start(myProc);
System.Windows.Forms.Application.Exit();
//End
}`
@Justin sorry, I don't know. Why don't you have your program run as a shell of the process, then close when the process is done? that's how I'd do it
anyways, I'm outta here. have a good new years, all!
02:17
later
@Pheonixblade9 because the updater has to replace the main exe, so I have to close it
hmm idk, but g2g
cya!
Thanks by!
02:38
Could anyone uprate/give me suggestions on formatting of my answer?
0
A: How to Upload/integrate Unity web player game to facebook app?

CC IncFacebook-Unity integration: There is a wonderful tutorial located HERE that outlines how you integrate Facebook into Unity3d, so for example if you would like to retrieve a persons friends, posts, etc and use that data inside of Unity. In this specific example, they do this via using a JavaScrip...

looks thorough , I have no idea about anything you said in there though , never used Unity , and never messed with facebook to much besides openAuth login
Is my post formatting good?
thanks
03:41
Can I ask hopefully a quick Question?
I am trying to load a list an I am getting an error
public CustomersViewModel(object Customer)
        {
            CBFDataDataContext conn = new CBFDataDataContext();
            Customers = new ObservableCollection<Customer>
            {
                List < Customer > Customers = (from s in conn.customers
                                               select s).ToList()
            };
        }

        public ObservableCollection<Customer> Customers { get; private set; }
@StephanM Whats the error
Argument 1: cannot convert from 'bool' to 'DbView.Customer'
The best overloaded Add method 'System.Collections.ObjectModel.Collection<DbView.Customer>.Add(DbView.Customer)' for the collection initializer has some invalid arguments
Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments
Invalid initializer member declarator
I don't understand this
Customers = new ObservableCollection<Customer>
{
    List < Customer > Customers = (from s in conn.customers
                                   select s).ToList()
};
Why are you declaring Customers twice?
'DbView.Customer' is a 'type' but is used like a 'variable'
I don't know I am trying to get (from s in conn.customers select s).ToList()
into Customers
every example I find for loading ObservableCollection does this new Customer() {custName = "Johan"},
I want to load my data from a SQL Table
Try this
    public CustomersViewModel(object Customer)
            {
                CBFDataDataContext conn = new CBFDataDataContext();
				Customers = new ObservableCollection<Customer>();
				foreach(var s in conn.constomers)
					Customers.Add(s);
            }

            public ObservableCollection<Customer> Customers { get; private set; }
03:54
produces -The best overloaded method match for 'System.Collections.ObjectModel.Collection<DbView.Customer>.Add(DbView.Customer)' has some invalid arguments
Well, what type does conn.customers store?
its a SQL Table
class Customer
    {
        public int cust_Id { get; set; }
        public float custSales { get; set; }
        public string custNo { get; set; }
        public string custName { get; set; }
        public string custAddress { get; set; }
        public string custAddress2 { get; set; }
        public string cust_City { get; set; }
        public string custState { get; set; }
        public string custZip { get; set; }
        public string custPhone { get; set; }
        public string custContact { get; set; }
Well, you need to convert conn.customers into a DbView.Customer somehow. Without your classes I can't help much
Ok, and what exactly is your SQL class?
I have no Idea how to anwer that
Well, show me your SQL code
04:03
It was this (from s in conn.customers
select s).ToList();
Where do you populate conn.customers? That is the code I need
public System.Data.Linq.Table<customer> customers
		{
			get
			{
				return this.GetTable<customer>();
			}
		}
sssssssssssssiiiiiiiiiiiiiiiiigggggggggggggghhhhhhhhhhhhhhh
Thats all I have
Ok, basically, is conn.customers an array of the SAME type that ObservableCollection<Customer> Customers is in, or is it a different type?
04:09
no conn.customers is suppose to be a connection to the SQL Server
I cannot find any examples of how to load 4847 records so that I can itierate through them and pull values from the table and update another field based on those values.
you can't go row by row in a datagrid So I amtrying to figure out how to get the data in a position where I can change
Hmm, hold on, I have somebody else that may be able to help
@CCInc you mean me?
whats going on?
Yes, please read over the past conversation
Hey all
hey @Cygwinnian
04:17
So I've been learning more and more C#
so have I
I finished playing with the IO classes
@StephanM Your error "Argument 1: cannot convert from 'bool' to 'DbView.Customer'" from my limited knowledge is caused because the feild in the database is not a bool value, its probably a string, and C# just cant convert
@StephanM Are you there? I dont have much longer.
There are no Bool fields in the SQL Table
@StephanM thats the point
04:22
HUH?
but you are TRYING to insert a bool value into it
32 mins ago, by CC Inc
    public CustomersViewModel(object Customer)
            {
                CBFDataDataContext conn = new CBFDataDataContext();
				Customers = new ObservableCollection<Customer>();
				foreach(var s in conn.constomers)
					Customers.Add(s);
            }

            public ObservableCollection<Customer> Customers { get; private set; }
28 mins ago, by StephanM
produces -The best overloaded method match for 'System.Collections.ObjectModel.Collection<DbView.Customer>.Add(DbView.Customer)' has some invalid arguments
His ISSUE is that his conn.customers type is not a Customer type, so he cannot add a non-customer type to the Customer array
@CCInc oh, okay let me check. Its hard to just jump in like this, you know
I know
How do you get SQL Data so that you can process it
04:24
Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
@StephanM conn.command = the sql code
all Examples load the data manualy and never show how to do it straight from SQL server
@JABFreeware He appearantly has no Sql code
@StephanM Ok, so you have NO sql code getting data from the server?
@StephanM well let me search for you.
(from s in conn.customers
select s).ToList();
04:26
@StephanM We are talking about conn.customers, not that
this works to load a datagrid.
 CBFDataDataContext conn = new CBFDataDataContext();
            List <customer> customer = (from s in conn.customers
                                        select s).ToList();
            CustomerGrid.ItemsSource=customer;
msdn.microsoft.com/en-us/library/s4yys16a%28v=vs.71%29.aspx
@StephanM to me its seams that you should connect to the database and then run an sql querry to get the data you want
and then load it into a datagrid (the results that is)
you can also sql to add entries into the database
04:30
I have that working
and I can update it
@StephanM so what EXACTLY cant you do
both one record at a time
@StephanM you mean "but"?
I cant get the whole table and process each row
@StephanM well if you look at the link I gave and study them, you should be able to figure it out
04:31
I don't want to click update 4800 times
I wish I could stay and solve this for you, but I have to go because my parents are making me
12 secs ago, by JABFreeware
I wish I could stay and solve this for you, but I have to go because my parents are making me
Me too
have fun
by the way, if you can update a record you have the hardest part out of the way!
yea I know, but I don't know why this is so hard
04:33
look at the links they helped me, but I still found sql server hard to work with, which is why I switched to sqlite
Good luck stephanM
good luck /o
i hope you can solve your problem
I'll pray for you.
You would think MS would have this all figured out already and well documented.
MS is the most bullshit documentation I've ever seen!
HORRIBLE
04:34
@StephanM Like I said, you need to convert from the SQL data type to the customer data type
So all, I seem have a desire
to make a C# application that can write xml files
how would i go about this?
@Cygwinnian I think C# has good XML support
 
7 hours later…
11:44
VC? what does it mean? C# does not feel like the tool for the job
I would suggest google image search
VC = Vote Close
cant make my mind whether or not to flag that question
I cant see WHY you would want to do that
yeah, smells black hat
ive flagged it anyway, lets see what the powers that be say
hey, u guys can help with some JS??
we can try
11:57
i want to run an event on mouse over of a div
i can't get it running
i made a demo fiddle: jsfiddle.net/rEaxE
I never figured out how to use jsfiddle
00:00 - 12:0012:00 - 00:00

« first day (805 days earlier)      last day (4369 days later) »