« first day (647 days earlier)      last day (4299 days later) » 

6:01 PM
so here is my xaml @KendallFrey
<telerik:Needle x:Name="needle" IsAnimated="True" Value="{Binding Value}"/>
I load my DataContext, and Value is changing (confirmed it fires Prop.Notify), however the needle isn't moving
 
You tried setting it from codebehind right? Remove the Value="{Binding Value}" from your xaml and try setting the value directly from codebehind on startup
 
see anything wrong with that?
 
@arthurmani - Have you overrode SolveInstance somewhere else?
 
does it matter that Value is a int? ?
 
Which Value is int? both?
@TravisJ overridden, that is.
 
6:04 PM
@TravisJ yes i did
protected override void SolveInstance(IGH_DataAccess DA)
{ }
 
@KendallFrey - overrode past tense of o·ver·ride (Verb)
 
Should I delete that?
 
Yes
 
overridden.
 
@kendallfrey my records.Value is int?
 
6:05 PM
What is needle.Value?
 
            if (records.Value == null)
                records.Value = 0;
            needle.Value = (double)records.Value;
@KendallFrey double
 
Hummm.
 
@KendallFrey - They are synonyms which means that the context will dictate which to use. It would not have been proper English to use overridden in that sentence.
 
You might need to define a converter, or make sure your Values are both doubles.
@TravisJ I don't think overrode is proper English.
 
@Kendall - Well proper English is not based on what you think :P
@Kendall - Perhaps you should look into the differences between participle and verb with regards to sentence structure.
 
6:09 PM
have overrode vs have overridden. Which one?
 
overrode may be fine (I don't think so), but have overrode isn't. I'm pretty sure.
 
It depends on the context. When talking about what someone has done, then it is proper to ask if they have overrode, whereas if it was present tense, then it would be proper to ask if they have overridden.
Pose it as a question on ELU (from Kyle's link) if you want more clarity :)
 
6:22 PM
DONE.
 
link
ill upvote
 
0
Q: "Overrode" vs "Overridden"

Kendall FreyI got into an argument about the sentence "Have you overrode SomeThingamajig?" I thought that "have overrode" is incorrect, and should be "overrode" or "have overridden", or perhaps "did override". However, I was told that in some contexts, "have overrode" is appropriate. Is "Have you overrode...

 
Do note, that the context was have you overrode, not have overrode which is completely different :D
You can see from merrian-webster in the definition they provide an example of overrode:

She overrode the default settings on her computer.
 
How is it different?
 
Well that is perhaps another question you can pose.
How is have versus have you different contexts?
 
6:25 PM
Fine, if you don't know, then hopefully the answerer will.
 
I am just tired of arguing about semantics :P
 
Isn't have you a version of you have?
 
Not really.
Have you gone to the store?
You have gone to the store.
 
You have gone to the store?
I think that's still a valid question, although strangely worded.
 
Gone have you to the store?
 
6:30 PM
I believe that is still valid @TravisJ
 
I don't think that's valid.
 
lol
Okay, well go ask Yoda and he will tell you about the droids.
 
Yoda's english is all valid.
3
 
^
 
Gone to the store have you?
 
6:31 PM
or, all of Yoda's sentences are valid.
 
Valid are all Yoda's sentences.
2
 
correct they all are
 
looks like overrid is correct whereas overrode is not.
 
overrid? Good grief!
 
actually, I'm still not sure
 
6:38 PM
would love to see some extra help here (sugeestions/code samples/...) stackoverflow.com/questions/11627959/…
 
BTW, There's a reason I'm not an english major.
I have no idea what a participle is
 
I have an associates in Liberal Arts.
 
eaten is the past participle of eat, since it is used with have in "I have eaten your kitten."
OM NOM NOM
 
@KendallFrey this is how I added vertical axes to my ChartView:
var lineSeries = new LineSeries();
lineSeries.CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "TimeStamp" };
lineSeries.ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Value" };
lineSeries.ItemsSource = (chart.Chart as GuiAnalogQueue).Records;

would that be saying the lineSeries is taking Value and TimeStamp from the ItemSource (Records)
 
lol Kendall
@juFo - if you are going to ask another question in an edit, can you just create another one with the new question?
 
6:43 PM
I hate cats. Does it show?
 
it is related Travis.
it is actually the same question only asking more clearer for a solution
 
"What is the best way to make sure the clients use the same data and see eachothers updates/changes" - This is a different issue and cannot be done with EF. You might want to ask that as a separate question so you can see what people say about polling and web sockets.
 
but i'm still using EntityFramework in the DAL.
 
Yes, but the approach will not depend on EF. EF will be how you make a connection, but how that connection is managed is what you are after.
You can explain that you are using EF for context
 
TIL: You can re-order answers on a question by age, rather than score.
I honestly never saw that feature before.
 
6:51 PM
i've updated it travis.
 
17
Q: Why is the Stack Exchange chat room using simple polling instead of other Comet techniques?

Morgan ChengToday I logged in to the Stack Exchange chat room for the first time. And, the first thing I want to know is how it works. To my surprise, Firebug told me that the chat room page sends a request to the server at 1 second intervals. This is simple polling. I'm wondering why Stack Exchange do it i...

 
@TravisJ I win!
4
A: "Overrode" vs "Overridden"

John LawlerOverride is formed from the irregular verb ride. The Principal Parts of ride are ride, rode, ridden. That means the PPs of override are override, overrode, overridden. With me so far? OK, the first PP in each case is the Infinitive form (to ride, to override). The second PP is the Past for...

 
@KendallFrey - Like I said, you asked the wrong question :) It was obvious that have overrode was incorrect. However, as can be seen from webster, and even as the answer points out ( They overrode it ), when referring to an entity overrode is correct.
 
See the reply to my comment, which indicates that "have you overrode" is incorrect.
 
7:05 PM
Your comment is vague. "So, the answers to my questions are "no" and "never"? ".
 
How is it vague?
 
its not vague
see the two questions at the bottom of his question.
 
Its not, I thought you were referring to the title.
Yes, I see them. Alright, I will give it to you.
 
can someone clarify what is going on when I have something like AnalogQueue which inherits from GUIQueue (which has a property Var that returns a List<int>), and GUIQueue inherits from GUI.... then I have GUI gui, and I do (GUI as AnalogQueue).Var. I don't understand what happens when this call is made.
I think I confused myself, but if you know what I'm saying, it'd be helpful
 
7:18 PM
=?
 
><
 
If gui is an instance of AnalogQueue, gui as AnalogQueue returns gui typed as an AnalogQueue. If not, it returns null.
 
@klut Nothing much happens, the cast (GUI as AnalogQueue) tells .NET to approach that object as an AnalogQueue, instead of GUIQueue. Since AnalogQueue inherits GUIQueue, it isn't hiding a member and it doesn't do anything.
Or, if it is hiding a member, then the result is different. Otherwise, not.
 
Since AnalogQueue has a Var property, you can use it. You will get a NullReferenceException if gui isn't an AnalogQueue.
 
In TPL, is there any easy way to create a queue of tasks to complete (and add items, even tough the 'parent' task is complete)? The goal is to have 1 task per thread and queue items to utilize each core of the machine.
 
7:27 PM
thx
 
Create a Queue<Action> and a Task to poll/run those actions.
 
@Kendall Did you look at my website?
 
Haha yeah. Very professional.
I know, I know, mine isn't either.
 
I crammed it out as fast as I could ;)
I don't have that many useful programs
 
Sigh, "Cannot perform runtime binding on a null reference" =/ Stupid nullable foreign keys.
 
AMH
7:31 PM
how to pass html string to WCF
it always contains /
how to encode it any idea
 
@AMH Thank you for the wonderful context.
 
AMH
@RoelvanUden wat do u mean , sorry
 
Please explain your situation, your problem and what you wish to achieve. Nobody can help you otherwise.
14
 
AMH
7:36 PM
ok I want to insert in database using WCF
so I have ajaxhtmleditor
 
what up c# people
 
AMH
@RoelvanUden
 
@AMH You mean instead of sending the / you want to send a encoded string to it won't mess your html ?
 
AMH
I take its context and pass it to the WCF function
 
If yes, try HttpUtility.UrlEncode
 
AMH
7:37 PM
hmm, I mean I want to encode this part my request ur llook like functionname/{id}/{desc}
 
@Kendall Thanks
 
Try to formulate your sentence better. I really can't understand you. :(
 
@AMH So what, exactly, are you doing? You mentioned WCF, but nothing about what you are actually trying to do (and in what client-language)? If both are C#, you can just create a service reference and have Visual Studio manage everything concerning communication.
Assuming you are using SOAP. See, load of assumptions there, please narrow it down.
 
AMH
@Andredseixas @RoelvanUden did u get me
 
What are .jsp pages?
 
7:42 PM
Java Server Pages
 
AMH
@RoelvanUden no I use JSON
 
Java??!?!?!?!?!
@AMH So javascript
 
@OutlawLemur Well, yes, it is an old beast :P
 
What has the world come to.... plaguing the internet with java?!?
 
You do know that a very large portion is still Java, right? :P
Java isn't that bad.
 
7:44 PM
You did not want to say the in the C# room...
 
AMH
dear, I callJSSOSN web service through C#
 
Why not? Everyone here knows that Java seems to be C#'s retarded little brother, but it can still produce applications and web frameworks just fine. A lot of enterprise applications are still running on a Java stack, including a mentionable portion at Google.
 
Just because lots of thing use it doesn't mean its good... like steroids at the olympics
 
AMH
any idea
 
I believe that J2EE powers eBay
 
7:47 PM
almost all android apps are java
 
1 min ago, by Outlaw Lemur
Just because lots of thing use it doesn't mean its good... like steroids at the olympics
 
If I had Visual Studio for Java, I wouldn't mind working in such an environment at all. Java isn't, by definition, bad. It's just different, and yes, less productive -- but tools help with this.
 
Anyone have any thoughts on this? I came across a complex situation.
 
0
Q: Server Error: Cannot perform runtime binding on a null reference

Travis JIn ASP.NET MVC3, using EF 4.1, I am querying a database, filling a view model, and then serializing an object in the view model. Please see the history of this development from these two questions: Is there a way to automatically map a view model object to a javascript object? How can I convert...

 
7:48 PM
@Kendall Hilarious
 
But true.
 
I have seen that graphic when I took business communications
 
Ugh, I see that picture almost every week. Uni is fun that way.
 
@Roel Why would you use something not productive when you could use something better and more productive
 
AMH
any idea guys
 
@OutlawLemur I would never choose Java for a new project, let's be clear about that. However, there are a lot of enterprise applications that need maintenance and improvement running on Java, and you can't simply push an entire technology aside every time a new technology comes around.
 
I know this is going to make me feel like an old person.... but How do I make a file into a zip file
 
right click
 
@Roel I understand that you shouldn't throw everything out just because new things came... but when you need to update you should adapt
@Travis then
 
7:52 PM
Right-click > Send to > Compressed (zipped) file
 
^ if win7
 
Cool thanlks
 
Is it different in XP?
 
AMH
i think no one has idea
 
On that note, why would we use ASP.NET when Node.js is around? It's more productive and you can do RAD more effectively. However, tooling (pressing this point, scaffolding and Visual Studio, as well as an established API) turns the tables on that. It's all about situation, you can't just say a different language/stack is bad just because you don't like the language or whatever.
 
7:53 PM
no, not in xp
 
@Roel I don't not like Java, but I do think that C# and Javascript can do everything Java does better, and the reason we keep ASP.NET is because you CAN do things with it that you can't with Node.js, but everything java can do C# can do better
 
I was thinking more along the lines of linux, ubuntu, or mac. wasn't sure what he was using but on any of those you can right click, or display the "contextmenu" and get the zip option.
 
@OutlawLemur Really, how about a cross platform GUI without re-developing? :)
 
7:57 PM
@Roel - That is what is nice about developing SaaS in a browser.
 
Of course, but you can't solve every problem with the same set of tools. Personally, I pick C# whenever I can but there are simply solutions one has to create that cannot be done in your favourite tool. Everyone should be able to agree on that.
 
oh .. serious discusstion here. Ima ask my questions / tell jokes later
 
That is also why pretty much every language has a right to be around.
 
@Roel Defiantly, But I never use Java (or Node.js) when I can use C++
 
8:00 PM
@OutlawLemur I think you mean C#?
 
@Roel No, I won't use Java when I can use C#, but I won't bother learning more of Node.js when I could learn C++
 
@RoelvanUden Every language? Even, say, BASIC?
 
C++ is not really for great for RAD (IMHO), and Node is really quick for REST services.
@KendallFrey Hey, I said, "pretty much every language". Not, "every language".
 
@Roel Yes but C++ can do much more than any other language really
@Kendall Now you can actually download my programs
 
Eventually, yes, but look at development costs and hiring expertise for that. Often not a great fit. Besides, C# can do whatever C++ can since you can marshal.
And developing C++ cross-platform introduces a whole new set of issues.
 
8:03 PM
@Roel So in theory.... C# is the most powerful language
 
Again, depending on Context. It can do a lot yeah, but not almost the most cost efficient.
 
Brainfuck is just as powerful as C#.
 
Anyway -- this whole discussion was just to establish an agreed base that other languages (such as Java) can be proper choices instead of the sledgehammer tool, C#.
 
@Kendall Haha
 
For reals.
 
8:05 PM
@Roel For some things.
 
Assembly is the "most powerful" as it can brick your BIOS.
 
@Kendall Its a language that if you don't know looks like a baby jumped up and down on a keyboard
 
@TravisJ It can? How?
 
lol true
 
@Roel - flash it
 
8:07 PM
C# can freeze the entire computer, no problem.
 
@TravisJ Doesn't that have to go through Win32 anyways? I never once saw direct access to anything outside of vmem in asm.
 
How to write Hello, world in brainfuck

+++++++++++++++++[>++++>++++>++++>++++>++>+++++>++++>++++>++++>++++<<<<<<<<<<-]
>++++.>+.>++++++++..>+++++++++++.>--.>++.>+++++++++++.>++++++++++++++.>++++++++.>.
 
Hi guys :D
First time I'm in this channel, EVER ^^
 
@kendall Goes to show its power ;)
 
Aww.. The iphone/ipad channel is always warm with the welcomes :(
 
8:08 PM
We're no hippies.
 
hahaha :p
Jeej ^^
 
Welcome. Do you have something to say, or just have to say something?
:)
 
@Kendall Pin ^
 
I'd like to ask the most annoying question out there ;p :D
 
What
 
8:09 PM
Hm, in ASP.NET, does Application_Start fire BEFORE starting to serve requests, or AFTER?
 
would you recommend learning C# to someone who is proficient in C and C++. Why is it worth it? (someone studying civil engineering and who loves web development)
^^
 
POST/GET info is only passed when a form is used, correct?
 
C# requires less effort to develop and maintain.
 
If you are good at C++... I would say no.... but others @Kendall will say yes
 
around here, Kendall is the Law
 
8:11 PM
I will not deny C++ makes it easier to get a lot of power and speed. But C# is my language of choice for desktop apps.
 
@Ammar Because he is the only room owner who has talked in the last year :P, also everyone loves him
@Kendall Me too, but if I was good at C++, I would use it
 
The only reason while I'm really considering it is cause I've briefly read that making GUI's and well, 'graphicall' environments, with C# is WAY easier
 
If you target Windows, C# is a great language. Easy to learn, high maintainability and a lot of wonderful frameworks (ASP.NET, WPF, WCF (Arguable), and stuff like managed DX, compiling to JS, and whatever crazy thing you can come up with)
 
Probably cause I don't know pumpkins about C++.
 
I4ve never done anything really graphical always backend powerhouses
 
8:11 PM
@Kendall Ditto
 
More than 1 WAY.
 
@Spyral WPF is Windows "Oh it's so easy" platform for GUI dev. :P
 
That's what C++ is great at.
 
C++ is great at gui's? !
 
.NET is great at making a pretty show for the client.
 
8:12 PM
lol, first time I read THAT
 
No, back-end.
 
C++ with Qt is kinda fun.
But Qt is discontinued, I believe.
Anyway, WPF(XAML) and Web(HTML) are the easiest GUI platforms in my opinion.
 
C++ is boring.... but it does get the job done really frickin well
 
HTML? =D
 
Also C++ doesn't have LINQ :D
2
 
8:13 PM
Well, C++ is only around 10% faster than C# so /meh at that.
 
making apps with C++/C# using html as a frontend?
seriously? = D
that sounds fun : D
 
It is
 
@Spyral Sure, you could do that just fine. Just write a small http server and run a embedded browser against it.
(C# has HttpListener, so it got ya covered)
 
WPF/C# or HTML5/JS
 
I should get into that oO that sounds easy to do for homebrew apps
 
8:14 PM
var something = s from list where s == x select s; basically
@Kendall it should be == not ||
 
@Spyral An added advantage is that you could deploy on mono (Linux + Mac OS-X) using that route. And still benefit from Visual Studio and .NET love in the process.
 
I should have the [badge:OUTSPOKEN] by now
 
so can someone help me with understanding POST/GET? I wanna know if info is always passed even if there are no forms
 
I don't think POST/GET is a forms thing. It's basic HTTP.
 
@Ammar-Thebadprogrammer POST/GET are verbs of HTTP, when you request a website, it uses GET. GET doesn't have a body in the request, but POST does. POST is usually seen as something that "changes" the server state, while GET should not affect anything.
On that note, PUT and DELETE are the other two commonly known verbs.
 
8:17 PM
Meh I don't like OSx at all :p I really like windows ( <3333 ) I had to work with osX for the first time this month, I used it for a month and, I hated apple before, but WTF?!! I thought apple was overrated and OVERPRICED, but using osx junk, WTF?! that's the most un-userfriendly OS I've ever used :S Even things like gnome are more user friendly
 
@RoelvanUden sweet. Thanks
 
@Spyral Hah, yeah, but Linux could benefit from your app-love (I guess :P)
 
:p
 
Problem with HTML GUI is that it's not really environment-friendly. WPF uses the Windows theme for buttons and such, making it more "native". That's something you should consider.
Then again, since WPF runs on Windows only, it pretty much IS native anyway..
 
don't mind stuff that only run on windows
I think I'll get into making graphical stuff when windows 8 comes out
 
8:20 PM
I think JS is the way of the future.
 
@Kendall Really?
 
by JS you do mean Javascript? And by that statement you mean in normal pc applications to oO?
 
@KendallFrey I think JS needs a good IDE and actually class/objects, but then, yes.
 
Well I could see it
 
I think eventually normal PC applications are gonna be web-based.
 
8:21 PM
Defintally
 
JS does have objects/classes, it's just a little different.
 
I don't think you can call them totally webbased
more 'cloudbased'
you'll have webinterfaces
but backend systems will still be written in C++/C#/C
 
I used web-based to include cloud apps.
 
@Spyral Really, why? Sure, an OS + a server but JS can serve content just fine.
 
Servers will be in C++/C#/C node.js
 
8:22 PM
@RoelvanUden you'd like to see photoshop in javascript?
 
ExtJS.. All I have to say..
 
YES PLZ DO WANT
 
@Spyral HTML5 Canvas magic + calculations? Problem? :]
 
hmmm
 
This has been an in depth chat room for a whole hour... how strange
 
8:23 PM
I love canvas. It is the way of the future of the way of the future.
 
I haven't used canvas yet =/
 
HTML5 caching is just awesome as well.
 
so I can't really make a sensible comment
 
SPA web app with offline modi, insane.
 
look at gmail :) it uses html5 caching to be used offline
 
8:24 PM
Yeah, that is the future web :D
 
that's nice indeed
k
another question
skyrim in JS?
:p
 
HTML video streaming + cloud-based gaming (we're there, already).
But yeah, not written in JS :P
But we won't need anything other than JS on our clients!
Just a remote viewer, basically.
Then again, isn't there WebGL?
In Chrome?
Theoretically it should be possible to create a massive world, tho, I doubt how useful that is.
 
I like this chat room : D even though I don't know C# yet ^^ - I'll visit often : D
 
A steroidal version of canvas, with support for 3d graphics.
 
I can't wait!!!!!! All you will be dead and I will get to enjoy it!
 
8:28 PM
Really? Exactly how old are you anyway?
 
ok someone save me some time because I have no idea what I am searching for. What is the name of the Object value that you would put in when you have an HTTP post in the controller. E.G.
public actionresult Index() {..}
public Actionresult Index( OBJECTSOMETHING foo) { string s = foo.returnedString; ...}
 
@Ammar-Thebadprogrammer Use the HttpPost attribute.
@Ammar-Thebadprogrammer Then it is whatever you want.. a model perhaps?
 
yeah but after that. what goes between the Index( --- )
 
@Ammar-Thebadprogrammer ASP.NET MVC attempts to create the specified class with the content received by the client.
 
guess model would work for now
thanks
 
8:32 PM
@Ammar - What goes in the ( ) part is the object that you wish to be filled from the posted data. There must be fields in the object which correlate to every input in the post with a name attribute.
I wonder what dynamic would be like in there
hm
 
8:48 PM
found it! (FormCollection Form)
Stupid me
as always, thanks for the help btw!
 
if I do:
DataContext = Person in codebehind and
Value="{Binding Person.Age.Year}"
is that the same at
Value="{Binding Year}" ?
 
@klut No
 

« first day (647 days earlier)      last day (4299 days later) »