« first day (1012 days earlier)      last day (3941 days later) » 

10:00 PM
Is it possible to use jquery for visual studios 2005? I've been reading around google and they say it's not possible.
 
Doesn't VS2005 have the same JS capabilities as notepad?
 
oh, it says intellisense doesn't work. nvm.
 
Are you wondering about autocomplete and error-checking and the like? Or if you can use it at all?
You can almost certainly use jQuery in any web application with any IDE, since it's just another javascript file.
 
I was just confused
but you answered my question. Thank you.
 
@kaser - jQuery is written in javascript. So anywhere javascript can be used, jQuery can be used.
Intellisense for javascript libraries can be tricky.
You have to have it included and have a local copy of it in order to get it to show up. If you use a helper to load it then you will have to workaround that also.
 
10:18 PM
@Travis J Well, I've read intellisense isn't even possible on vS 2005, so I'm not even going to try.
 
@kaser - For javascript you mean, or for c#? It should work for c# out of the box.
plz ping if you respond I have this minimized
 
@Travis J for javascript
 
@kaser - Okay. Does it not work at all or just not for jQuery? Test this:
<script language="text/javascript">
var x = [];
x.does intellisense pop up here?
</script>
actually, since you are using an older version, it may need to have the language declared
 
@Travis J you mean it should show a tab?
 
I mean does it show the Intellisense popout with probably 'hasOwnProperty' and some other default javascript API
 
10:24 PM
no
It's fine I dont need it.
 
hm, yeah, then it probably wont work without a large hassle
 
@Travis J that's what I'm trying to avoid
 
conversely, this is always available: api.jquery.com
 
10:37 PM
welp, I'm done with asp.net today. If you guys could help me with java layouts, that would be much appreciated. :)
 
11:07 PM
@JoshD. I do the same thing when my programs work!!
 
11:19 PM
posted on July 24, 2013 by Scott Hanselman

This is the beginning of a great compliment. Here, the President is speaking about the Attorney General of California: You have to be careful to, first of all, say she is brilliant and she is dedicated and she is tough, and she is exactly what you'd want in anybody who is administering the law, and making sure that everybody is getting a fair shake. Here's where it goes too far. She al

 
"wow, that's a really elegant Tuple implementation. Btw, nice tits"
 
haha
Honestly, that has to be the worst written article from Scott I have ever seen.
 
yeah...
maybe he was angry about those 2 dudes being sexist or something at the tech conference recently
I forget the specifics
 
Seriously, a coworker has awesome shoes on and I can't be like: "those sparkly cloud inspired shoes are freaking rad"? I think he took his example too far and it ruined his article.
I don't think he even re-read the article before he clicked send.
 
11:39 PM
so I came across something unusual at work this week and I'm out of ideas for dealing with it
I am dealing with approximately 35k rows of data from a db, not a lot, but it's coming from a teradata server which is extremely slow and the account for it is locked down to a handful of views, so I am querying the server only once, and dealing with the data on the webserver in c#.
the problem is, linq + 35k rows apparently = a few seconds of processing time, even for simple things like skip take
 
lmao, intern code:
 
I got fed up with the lag and found a way to get all the data to the client side, but of course JS is even worse for this sort of data handling
 
if(listOfProducts[listOfURLs[failedPagesList[i]].linkedProducts[i]].PageRequestError[listOfProducts[listOfURLs[failedPagesList[i]].linkedProducts[i]].URLsAsKey[failedPagesList[i]]] == true)
thankfully, he fixed it:
if(listOfURLs[failedPagesList[i]].PageRequestError == true)
 
so I combined the two, using jquery dataTables and ajax to query the server, so that it's only pulling 10 rows of data from linq at a time and the processing is only done when absolutely necessary, and all server-side
but still, 3-4 seconds minimum processing time, even when the only processing it's doing is skip(10).take(10)
and I have no clue how to improve it
any ideas?
and of course I just realized I missed something
so if no one can come up with anything, no worries, apparently I'm an idiot
 
11:49 PM
lol
 
what does your linq look like
what does your "processing it" look like
 
you might be surprised to know that js was faster than linq, but the quantity of data was too much for jquery dataTables to handle
@TravisJ It doesn't matter much: stackoverflow.com/questions/6940858/… notice he only got his query down to 3 seconds
 
.ToList(); fail.
Leave it as an enumerable.
 
yeah, that I know
it was, of course, the mistake I realized I made while rubber-ducking
maybe I can re-write the paging on jquery data-tables so that it works like it does for ajax but pulls the data from my js
 
meh, I have a view which displays 25,000 records all at once. no lag. it takes 1.7s
it has live filtering and it sorts on click
 
11:56 PM
how'd you handle filtering? ajax?
 
The filtering is done through an input field as you type
 
yes, but client side or server side
 
client
 
interesting, what engine did you use for the display?
 
I wrote it
 
11:57 PM
yeah, I think that's what I'm down to also
does it do paging?
 
No, it could but it mimics a table. Except that the headers stay in one place and the table content is scrollable
 
yeah, I think I'll go back to my all js solution, 'cause kicking over 35k rows from the server is fast...like hella fast
 
I used a div with spans for the headers, and divs with spans for the rows of data. there is a div which holds all of the divs with a fixed height so that it scrolls
 
not a table, but divs?
 
the table is too slow because as each row is added it has to recalculate all the other rows. by the 15,000th row or so calculating all previous 15,000 rows to ensure that the correct widths are used becomes very very very slow.
 

« first day (1012 days earlier)      last day (3941 days later) »