« first day (1621 days earlier)      last day (3344 days later) » 

3:01 PM
@BrianJ - The routing mechanism in mvc uses reflection in order to target routes. The incoming route for /Charts/DetailsPage first looks for the controller ChartsController by design. If found it then looks for the public method DetailsPage and then invokes that method. However, your controller name is ChartController, which would mean the link should be /Chart/DetailsPage.
Fixed. Which is why I asked twice if your controller was named ChartsController
 
the S strikes again - plural here singular there
 
You must have renamed the controller at some point without renaming the folder
 
@TravisJ okay so basically my folder name should be Chart not Charts
 
@BrianJ - And your link as well
 
didn't know the folder name had to match the controller name
 
3:05 PM
or simply rename your controller to chartscontroller
 
@KendallFrey I want to thank you for helping me and explaining it to me. I get the basics now and my code is working :-)
 
pro tip: right click on your action result and then select "Add View". It will setup the folder name and view name automagically
 
+1
 
type less, solve more!
 
you can also right-click to Go To View
 
3:07 PM
hey guys any idea how I can resolve my issue stackoverflow.com/questions/29248692/…
 
... and resharper will highlight broken links like that where the controller doesn't exist by name, too. (yet another reason to consider it a massive value add)
 
unmanaged dll stopping apppool on local iis server
 
Try using sysinternals procexp / procmon to see what and from where IIS actually tries to load when it goes to resolve that DLL
 
@Gotalove - Seems like it is causing an exception to be thrown which cannot be caught and so it just crashes the request.
 
@Gotalove did regsvr the dll when in the system32/SysWoW64 folders
 
3:13 PM
@Gotalove - Are you sure the c++ code is correct?
@Gotalove - Don't just dump something in here and not respond ;) It can cause unexpected results.
 
@TravisJ so any idea on yesterdays series problem? It's expecting an array of points
afik
 
@BrianJ - No clue :(
Try a different tutorial and overlap the similarities
 
I did come across a different tutorial that just passes in the following hard coded values:

new Series { Name = "Total", Data = new Data(new object[] { 441, 441, 22, 30, 610 }) }
could I convert my y values to the same format?
@TravisJ
 
Morning everyone.
 
3:30 PM
@Greg Good Morning
 
Anyone here understand how to use quaternions?
 
Is this a C# question?
 
Are you a C# question?
 
its related
:p
 
3:44 PM
@Sippy ur mom something something stack overflow lol
 
roflcopter
 
@AnthonyA you could always ask the question. I'm not so hot on mathematics, but others might?
 
my iOS device gets a quaternion value based on its orientation - I need to take that quaternion and convert it to an angle so I can draw it on a screen
I'm trying to make a level app
the problem is that when I convert the quaternion back to a euler angle to draw on the screen, it introduces gimbal lock
which makes sense... I'm trying to understand how to properly draw an angle from a quaternion
 
So what's your question, exactly?
:)
 
how to properly draw an angle from a quaternion
 
3:47 PM
OK. I don't know :(
 
@AnthonyA surely you can find an identity that relates angle to quarternion components
 
haha, thats ok squiggle, thanks though
 
I don't know either, but I have a vague idea
Is that any help?
Unit quaternions, also known as versors, provide a convenient mathematical notation for representing orientations and rotations of objects in three dimensions. Compared to Euler angles they are simpler to compose and avoid the problem of gimbal lock. Compared to rotation matrices they are more numerically stable and may be more efficient. Quaternions have found their way into applications in computer graphics, computer vision, robotics, navigation, molecular dynamics, flight dynamics, orbital mechanics of satellites and crystallographic texture analysis. When used to represent rotation, uni...
 
3:59 PM
 
looks like quaternion rotation :D
@TomW thanks, I've read that but it doesn't help much :/
 
A level app, you say? Like a spirit level?
 
@TravisJ How long has it taken for your skill to become the way it is in programming?
 
if so, I guess gimbal lock is an issue
 
yep
 
4:09 PM
@AnthonyA what exactly are you trying to do>?
 
@Greg - I have been programming for 10 years. But it kind of came naturally to me. /shrug
 
Moooorning.
 
@BrianJ - Perhaps you need to cast your array of double as obect
object*
@SpencerRuport o/
 
@TravisJ perhaps, what would be the syntax for that?
 
@TomW See JS room
 
4:19 PM
see sharp
 
@TravisJ would something lie this work?
object[] yDataAsObjectArray = yDataMaxRange.Cast<object>().ToArray();
 
lol. Been working on this feature for a client for about two months now. This morning I come in and they're saying they don't need it.
 
@SpencerRuport that sucks, at least you learned something from creating the feature
 
true. I'm not worried about it.
Kinda par for the course of enterprise app development at this point.
 
@BrianJ - I believe so
 
4:25 PM
okay I'm getting a strange one, when I run from local host, I get the following when I click on the table page, ie Records "Additional information: The ASP.NET Simple Membership database could not be initialized."
@TravisJ
 
morning guys
 
evening
 
@Pheonixblade9 - o/
 
@BrianJ - xy
 
?
oh the object array?
@TravisJ
 
4:29 PM
@BrianJ - Your [Authorize] attribute will cause that, but that doesn't have anything to do with charting :)
nah, the xy problem
you are working on x, but y happens and you think "hey, x broke!" but it was really y
 
thanks jebus for that, I thought the membership was funked up again
 
@TravisJ You fucker! It cam naturally, ugh.
 
lol
 
@TravisJ - What were you doing before programming?
 
@SpencerRuport Hitting the bong
 
4:32 PM
@SpencerRuport - School, just wasn't sure what I wanted to do. Also, while I was in my first part of comp sci I wasn't programming per se. In 101 they had us do some BASIC "programs" but that doesn't really count.
 
gotcha
 
@SpencerRuport - I also took a year off after high school because I figured I was young and wanted to have fun
 
^^
 
How old are you?
 
thinking of doing this after I finish college this May
 
4:33 PM
31
 
Oh okay. I just turned 30.
 
the jobs will always be there
I hope
 
Yeah, grad unemployment rate for developers is like 1.8%
They say for every developer right now there are 3 jobs.
 
knocks on wood
 
As long as everyone moves towards automation, 3d printing, robots, and drones there will always be jobs for developers
 
4:35 PM
Yeah I can't imagine how that would change.
 
If that changes, we are all fucked anyway lol
 
If that changes, I'm gonna take up woodworking or some other skilled crafts profession
 
lol I've had a few interviews, but there's companies giving talks like every week, offering jobs
 
@SteveBallmer - DEVELOPERS DEVELOPERS DEVELOPERS
 
@Squiggle - Yeah same. Something that still has a bit of an engineering side to it.
 
4:37 PM
@TravisJ lol I'm hoping it doesn't anyways, thinking of taking 6 months off after grad, don't feel like joining the grind just yet
 
I just turned 29, but didn't start really coding till 25. Which, I've self taught myself and utilized other resources. Is that good or bad?
 
guess who came offering jobs today? @TravisJ
 
@Greg - You are employed, so it is definitely good.
@BrianJ - Uhm, McDonalds? :P
 
GM
 
@TravisJ True, but would you say my progression is evident?
 
4:39 PM
and I'm in Ireland lol
 
@BrianJ - Makes sense. The US needs more engineers than we can train.
 
thought they were supposed to only hire in America to pay back their debt to the gov
to the US gov
 
They will import you.
They paid back their debt
 
nope they have a site here in Limerick
they do high performance computing and other cool stuff
 
The gov't no longer holds shares in GM as of late '13 I think
 
4:40 PM
@BrianJ Yeah, GM paid their debt in 2013 I believe.
 
yeah they mentioned it three times during the talk about how they wen tbankrupt
 
@TravisJ What is with that item on your ballot. Basically mass genocide of gay's.
 
@TravisJ - Non-technical people are the ones who clamoring for more engineers. But really it's misguided because all they want to do is throw more resources at problems.
 
@Greg - definitely making progress :) But I am not sure what other background study you have, progressing in math and physics will also help your ability to program in my opinion because it is very pattern based.
 
Rather than figure out more efficient ways to use the resources they have.
 
4:41 PM
like processing, throw more cpus at the problem
 
@TravisJ I'm going to start taking some courses to help, just bought some math books.
 
@Greg - on the CA ballot?
 
@TravisJ Yeah.
 
Not sure, don't follow local politics very much, more interested in national dialogue.
 
4:42 PM
Which is currently focused on rehabbing non violent felons in prison I believe.
 
@TravisJ
going to have to change my database to not allow nulls
 
@BrianJ Why is that not a DateTime parse? You have it as a Double.
 
@Greg - Looks like some random idiot paid $200 to be hated by the rest of the world. Not going to reach ballot, definitely not representative of CA.
 
@BrianJ - If you're going to change the DB change it so Max_Range isn't a string. Otherwise just do: Double.Parse(item.Max_Range ?? "0")
 
@BrianJ - .Max_Range was null
 
4:46 PM
@SpencerRuport I like the second option better ;) have to park up the C# project for a while, have a 50% Java project to finish by end of next week :(
 
Yeah I figured. ;) Fixing schema issues takes a lot of work.
 
ugh, Java. Not so bad to write code for, terrible to try to get performance out of.
 
I'm writing a text adventure game using semantic networks, fuzzy logic for my AI module, lecturer's spec not mine
 
I'm listening to Linkin Park. #dontjudgeme
 
Going from C# to Java is like getting cut off on a highway by someone turning out of a driveway.
 
4:48 PM
I'm listening to GUNIT @SpencerRuport lol
 
G-G-G
I have no music on atm
 
g-g-g-g-g-g-UNIIIIIT... it's on.
 
do you feel the wires just hanging
new mumford song
 
yeah I have zero interest in the Java project, the C# project is built to my spec and my idea which is why I like working on it
fuuu text adventure game
 
lol
does it include a dice rolling?
 
4:50 PM
@BrianJ - Write yourself a note for next time: "NUMBERS SHOULD NOT BE VARCHAR"
 
@TravisJ I could link you the spec but not in the public room
 
Digits can be, like credit card digits, or phone digits.
But never numbers.
 
@SpencerRuport yeah I should have took more time planning the database schema
 
you mean like a quantity field?
 
It's alright. Everyone makes that mistake at one point.
 
4:52 PM
@BrianJ - I was mostly joking
 
@juanvan - Is that what I mean? Yeah.
 
@TravisJ lol anyways gotta start it now, thanks for all the help lads
 
FailSafe==0?'No technical alarms':((FailSafe&1)!=0&&(FailSafe&2)!=0&&(FailSafe&4)!=0&&(FailSafe&8)!=0?'Detection zones staying in a given state; Bad visibility;
Initialization; Bad configuration':((FailSafe&1)!=0&&(FailSafe&2)!=0&&(FailSafe&4)!=0?'Detection zones staying in a given state; Bad visibility; Initialization':
((FailSafe&1)!=0&&(FailSafe&2)!=0&&(FailSafe&8)!=0?'Detection zones staying in a given state; Bad visibility; Bad configuration':((FailSafe&1)!=0&&(FailSafe&4)!=0&&
(FailSafe&8)!=0?'Detection zones staying in a given state; Initialization; Bad configuration':((FailSafe&2)!=
That is one fucking statement.
Who writes this shit
 
dafuq I thought that was an error message
 
@SpencerRuport I agree, if you are doing receipt items, if you have mixed quantities in a display model like @ - X AR then it a varchar you want in that field
minified?
 
4:55 PM
@TravisJ Wouldn't a double for a DateTime potentially eat it? Unless your only using part of the date?
 
Anything that ends in ))))))))))))))) is bound to be entertaing
 
@TravisJ okay so the page loads now, but no chart is showing
 
@juanvan - I'm not sure I'm following. I'm talking about how it's stored in the database. It can be projected to whatever the needs are of the view. But the database should store numbers as numbers, not strings.
 
@Greg - Yeah double for datetime is a bad idea
@BrianJ - step 1: error messages
 
@TravisJ none just loads the page with no chart, i'll post the mark up
 
4:58 PM
@TravisJ Isn't that what @BrianJ Linq was displaying?
 
none in the browser console?
 
@Sippy you should feel glad at least this is written in c#. if in tsql this will be 5 pages long
 
@TravisJ Nevermind, misread data as date
 
@BrianJ - That is not what is rendered though
 
you mean there is no chart in the markup?
I thought this line was adding it @model DotNet.Highcharts.Highcharts
*referencing
 
5:00 PM
I don't know look at the rendered markup in your browser
And also look in the console of your browser
Rendered means the html produced on the page
 
function countDocuments() {
    var count = 0;

    for ( var i = 0; i < user.documents.length; i++) {
        count++;
    }

    return count;
}
That one's pretty awesome
 
wow
are you reading dailywtfs?
 
I'm sure I did something like that at uni lol
Yeah lol
 
lol
@TravisJ you mean open up firebug and check for the graph?
 
@Sippy lmao
 
5:07 PM
@BrianJ - firebug (shudder) yuno chrome
 
yeah but I use Firebug
 
@BrianJ - Firefox has too many security vulnerabilities.
 
whats the alternative?
 
chrome
 
@Sippy: Where do you dig up this golden stuff?
 
5:08 PM
@BrianJ - It is a must use.
Better dev tools, higher level of security, more feature support
 
oh that is what I'm using
what tool do I need to inspect the render of the graph though?
@TravisJ
 
inspect element
 
(y)
 
I might make a text based js game during my break later
what does (y) mean?
 
thumbs upp
lol rub it in, probably take me next two weeks locked in my room to do mine, but it is using fuzzy logic and networks
 
5:14 PM
Whyyyyy are my speakers so loud?
I have it at 2%
 
@TravisJ "Uncaught ReferenceError: $ is not defined"
when I inspected
 
what could that mean? :P
 
the chart isn't referenced correctly?
 
@scheien dailywtfs
 
but there is no $ in the mark up
 
5:17 PM
Who was that guy who was intending to write the most ridiculous, backwards code possible?
Someone beat him to it.
@JohanLarsson was it you?
Something truly useless.
 
Hi all, is there any way in visual studio to execute a copy task if a file with particular extension is modified? I want to do it for .js files in different areas of mvc projects.
 
@TravisJ can you give me a hint to what the problem could be here?
 
@BrianJ - $ means jquery. The script isn't being loaded properly and as a result when highcharts tried to use it, $ is undefined and your error message shows.
 
in JavaScript, 26 secs ago, by HackMaster
0
Q: How to set focus on textbox inside gridview and depending on where the focus is located change colors

HackMasterI have an gridview with header row and textboxes under that and an insert command that inserts the records into the database: The User Requirement: 1) Set the focus on the first textbox in the headerrow 2) turn the background value of the text box to light grey depending on where the focus is...

he seems to think his issue is more js related than asp.net controls
 
@TravisJ okay well that clarifies things a bit, but why isn't it being loaded properly?
 
5:29 PM
Does XNA have a specific "room" system, or do I have to make one?
 
@rlemon - I honestly hate it when people in their question say "Here is the spec you need to design your answer to", or worse as this user says "here is the requirement"
entitlement pisses me off
 
same
 
@BrianJ - Not sure why it isn't being loaded properly, perhaps the bundle setup didn't work
 
there is no js in his code, and I'm 99% positive it isnt' a js issue and an ASP.NET one
so eh, I told him to come in here
but he hasn't yet. so w/ e
 
@rlemon - The issue is that it is a request for code.
 
5:31 PM
I just scanned the code in the Q
didn't actually read it
 
@TravisJ well this is the bundle reference
        bundles.Add(new ScriptBundle("~/bundles/highcharts").IncludeDirectory("~/scripts/highcharts-4.0.1", "*.js"));
 
@rlemon - Hey, I am having a problem trying to make this application for an iphone. It needs to accept barcodes by text and then place an order using my amazon account. That is all, please answer in the form of a runnable application.
 
I really wish they had a "Hire a developer" answer.
 
@BrianJ - I am not familiar with the way bundling works since I don't use it.
 
@TravisJ I know it's sarcastic, but does that kind of thing exist? Seems like a useful app thing.
 
5:32 PM
seewhatididthr
 
@BrianJ you do not have a folder called Scripts/Content
 
@rlemon - omgwtf that was just what I asked for
 
]
 
305 messages since i last clicked on this tab?? licks his lips time to catch up
 
@user2984299 - It does. freelancer.com
 
5:33 PM
:o
 
@TravisJ :D literal trolling is the best trolling
 
How long does it take for the chat to update my name? 10-20 minutes?
 
@user2984299 about that yea
 
@user2984299 - I think if you leave and come back it'll update.
 
@user2984299 - Refresh is instant
 
5:34 PM
test
 
no
 
Doesn't look like it
 
@user2984299 - No, that doesn't exist. I made it up on the spot.
 
chat user and main user are different
 
Oh, really?
 
5:34 PM
ghad that links to main :(
 
@juanvan so what should the bundle be then?
 
@user2984299 - Exit the room and come back. Don't just refresh.
 
http://chat.stackoverflow.com/users/2984299/user2984299 that link to your chat profile
when it updates, you update
 
My username was auto-assigned due to signing in with google
 
chat users are linked to main users but are not the same guys. there is a delay in update, you can't force it only mods can
 
5:35 PM
@juanvan that was the wrong screen shot, I've changed the bundle since
 
boooo
 
Still no Content folder
 
and this is my bundle:
bundles.Add(new ScriptBundle("~/bundles/highcharts").IncludeDirectory("~/scripts/highcharts-4.0.‌​1", "*.js"));
but I don't include content in the bundle? @juanvan
 
did you add the @Script.Render in the page?
 
5:37 PM
yeah I added this to the details page
@Scripts.Render("~/bundles/highcharts")
 
H needs be Cap
IncludeDirectory("~/scripts/highcharts-4.0.‌​1", "*.js"));
no?
 
possibly
damm yeah
 
ya anything in "" should be a Literal 1:1 match CapCase Spacing
 
testing again, thanks
this should do it
        bundles.Add(new ScriptBundle("~/bundles/highcharts").IncludeDirectory("~/scripts/Highcharts-4.0.1", "*.js"));
 
bet Scripts should be caps too
 
5:41 PM
yeah
@juanvan still getting a reference error on that bundle
        bundles.Add(new ScriptBundle("~/bundles/highcharts").IncludeDirectory("~/Scripts/Highcharts-4.0.1/js", "*.js"));
trying this
 
'SELECT * FROM meetings WHERE id!='.$id.' AND (((startDate < \''.$start_date.'\' OR (startDate =\''.$start_date.'\' AND startHour <= \''.$start_hour.'\'))) AND (endDate > \''.$end_date.'\' OR (endDate =\''.$end_date.'\' AND endHour >= \''.$end_hour.'\'))) OR (((startDate > \''.$start_date.'\' OR (startDate =\''.$start_date.'\' AND startHour >= \''.$start_hour.'\'))) AND (endDate < \''.$end_date.'\' OR (endDate =\''.$end_date.'\' AND endHour <= \''.$end_hour.'\'))) OR (((startDate <
\''.$start_date.'\' OR (startDate =\''.$start_date.'\' AND startHour < \''.$start_hour.'\')) AND ((endDate > \''.$start_date.'\' OR (endDate =\''.$start_date.'\' AND endHour > \''.$start_hour.'\')) AND (endDate < \''.$end_date.'\' OR (endDate=\''.$end_date.'\' AND endHour<\''.$end_hour.'\'))))) OR (((startDate > \''.$start_date.'\' OR (startDate = \''.$start_date.'\' AND startHour >
\''.$start_hour.'\')) AND ((startDate < \''.$end_date.'\' OR (startDate = \''.$end_date.'\' AND startHour < \''.$endHour.'\'))) AND ((endDate > \''.$end_date.'\' OR (endDate = \''.$end_date.'\' AND endHour > \''.$end_hour.'\')))))';
I had to split that one up.
What do these people think ..
 
god damm
 
omg kill it
 
someone took some time to write that bad boy
 
maybe a between would help cut down some of that
and, it just screams sql injection, but idk how you're getting the data
 
5:51 PM
okay so now I get a bit more detail after correcting the bundle
 
@BrianJ you cannot do any $(something) before you load jquery.js
 
well you need to load Jq first then any scripts that use Jq after that
 
that's what I thought I'd done already?
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/highcharts")
 
whats the top of the page look like where those bundles are called
 

« first day (1621 days earlier)      last day (3344 days later) »