« first day (1155 days earlier)      last day (3810 days later) » 

12:00 AM
@Pheonixblade9 So would this be a bad way to compare:
@Pheonixblade9 I think your right, I should focus on the time portion first; then interlace the application host-headers.
 
12:27 AM
I want to have cache in javascript code. Cache should persist values across postbacks or other requests. Is usageof global variables the only option?
 
1:04 AM
anyone help? :(
0
Q: MVC Get model data posted from dynamically created partial views to controller

BriOnHHow do I post the dynamically created partial views to the controller? My Models Class wrapper: namespace Diabuddies.DAL { public class Exer_Main { public Exer_Workout Workout { get; set; } public Exer_Routine Routine { get; set; } public Exer_Set Set { get; set...

 
 
1 hour later…
2:29 AM
question
my action returns JSon with html inside. At browser it looks like "\u003cdiv id=\"alpineProfile\"\u003e\r\n \u003cp\u0..."
why so?
 
 
4 hours later…
Ram
6:53 AM
0
Q: How to retrieve data from XML in c#?

RamI want to read data from the XML response from API i.e wunderground API for weather forecasting. I have used the below code to read it. HttpWebRequest GoogleRequest; HttpWebResponse GoogleResponse = null; XmlDocument GoogleXMLdoc = null; try { GoogleRequest = (HttpWebRequ...

please help me
 
 
2 hours later…
8:51 AM
pls see this link stackoverflow.com/questions/20567485/… and give ans pls...........
This is about DropDownList
 
9:07 AM
hi, any one is there...............??????????.............................
 
10:00 AM
hi.............
any one know about asp.net DropDownlist
 
 
1 hour later…
11:24 AM
Anyone use the Trello app for Android? And does anyone who said 'yes' find that it refuses to log in?
 
12:02 PM
This one time, I made an entire back end in HTML
Pretty hardcore, I know, those gigabytes didn't even stand a chance against my 1080p a second Ethernet
 
@TomW I dont use it in android.
 
@codebrain yeah, Android-specific. Works fine in desktop, works fine logging on on the website in mobile browser, but the app won't log in
"Could not log you in, please try again later" or words to that effect, consistently every time
 
@TomW aww, you should report it. if at all those guys read feedbacks on weekends
 
hi all
 
@LINQ2Vodka Hello there
 
12:10 PM
@TomW they dont have a feedback or any means of contact.
 
they have the development board
I've put the issue there
 
12:28 PM
Hi all
It's good Saturday's moorning
 
12:44 PM
I have a question about architecture, can I post here?
I have been a project with three layers: Model, BLL, DAL. And, for exemple, I have customerBLL,ProductBLL, EmploeeBLL inside BLL project
and so on, imagining that in the future I'll have many BLL classes inside BLL project and I decide use only one classe in another project, for exemple, customerBLL.
It's correct creating one project BLL for each group of subject?
For example, inside ProductBLL layer, I'll have ProductPriceBLL, ProductStockBLL classes, and so on.
 
12:59 PM
@KreversonJulho that's what this example seems to suggest
 
hii
can anyone plz solve this....
0
Q: Getting sortcolumn "undefined" with dynamic column binding

Swati SinhaI am binding jqgrid with dynamic column binding but by following this am not getting SortColumn or sidx. But when i tried with static column binding it is working fine. my code for jqgrid binding is jQuery("#dataList").jqGrid({ url: gridDataUrl, datatype: "json", colNames...

 
Thanks for listening @TomW, I'll see this example.
 
1:22 PM
gmorning
 
Max
good morning, can someone help me?
 
@Max i dunno if i'll be able to help you, you haven't asked the question yet
 
Max
ok, I am making a Who wants to be amillionaire
type of game
I use this to put the question and the answers in the respective array, string[][] pergresp = File.ReadLines(@"C:\Users\Maxim\Desktop\Projecto COMP!\l1.txt").Select(s => s.Split('|')).ToArray();
The question is in possition [0,0], and the answers are in [0,1 to 0,4]
the correct answer is in [0,5]
 
is that working as expected?
 
Max
I don't know how to show the user the question and to compare the user's choice to the right answer
 
1:33 PM
there are multiple questions right? so in [0,0] there is a question, in [1,0] there is a question, in [2,0] there is a question, right?
 
Max
Yes, it stores the question1 in [0,0], q2 in [0,1] and q2 in [0,2]
I have 3 questions per txt
Yes, I have 15 txt files
 
"and the answers are in [0,1 to 0,4]"
" it stores the question1 in [0,0], q2 in [0,1] and q2 in [0,2]"
 
Max
which represents the level of dificulty
Yes, it stores the question1 in [0,0], q2 in [0,1] and q2 in [0,2]
sorry,
it stores the question1 in [0,0], q2 in [1,0] and q2 in [2,0]
 
okay cool
so, what you need to do is count how many questions you have, so what you'd want to do is count how many elements the first dimension of your array has
 
Max
this is the content of lvl1 txt:
Qual e a capital do Brasil? || Rio de Janeiro || Brasilia || Sao Paulo || Curitibia || Brasilia ||
Quantas sao as Tartarugas Ninja? || Quatro || Tres || Cinco || Duas || Quatro ||
Como se chama o estadio do Sporting Clube Portugal? || Sporting Arena || Esperanca XXI || Alvalade XXI || Leao XXI || Alvalade XXI ||
It's in portuguese
 
1:36 PM
(now, you initialize it like string[][], but you use it like [0,0] .... pretty sure you initialize a jagged array and use it like a multi-dimensional... are you able to compile and run what you have so far?)
anyway, you want to count how many questions you have, come up with a random number between 0 to your number of questions, then just access the array w/ that random number and pull out a random question
 
Max
Yes, thats it
and to compare with the right questions which is alvays in [i,5]
 
yep
sounds like you got it from here then
are you sure its [i,5] and not [i][5]?
!!google multi dimensional array vs jagged array
 
the second link is a good one
actually, this explains the differences very well
24
A: multidimensional array [][] vs [,]

CodeIgnotoIn the first instance you are trying to create what is called a jagged array. double[][] ServicePoint = new double[10][9]. The above statement would have worked if it was defined like below. double[][] ServicePoint = new double[10][] what this means is you are creating an array of size 10 ...

@Max
 
g'evening
no alcohol today
 
1:48 PM
gmorning
weak
 
=))
i saved my weekends day before yesterday
 
my lungs hurt from smoking too much yesterday :(
 
Max
@ste
 
my girlfriend's leaving me. Gonna code my pain.
 
no way man, i'm sorry @LINQ2Vodka
 
Max
1:51 PM
@Steve I searched and the correct way to put it was [i][5]
 
@Max awesome!
 
Max
I need to start using the correct way of saying things
 
@Max did you look at the last link I posted? It explains the differences between the two, with pictures
I f'n love pictures
 
Max
Yeah, I did
 
@LINQ2Vodka soo.... that means she's available, right? ;)
 
1:56 PM
Steve you'll damn me :)
 
lmfao
but no, really, feel better @LINQ2Vodka
 
2:14 PM
@kendallfrey
@JLott
nobodys here :(
 
2:32 PM
me
 
Hello, any idea on how to run JS in an HTML document?
 
<script> js code </script>
 
I don't think if it is that simple, I actually want to inject a javascript:(function(){...} on a page
 
2:53 PM
inject? as in from the gui?
 
that js function, removes just the leave the text of the page, removing everything else
 
that didn't answer my q
 
I need to figure a way of downloading a html document and use the function
 
still didn't answer my q
you're being very vague, normally you would use the script tag, as @LINQ2Vodka said
you could also 'inject' javascript onto a page from the url, or from forms if the security is lax
 
okay, how can i injected on the url?
 
3:00 PM
paste javascript into the url, example: "javascript: alert("test");" makes this chat window show an alert
so replace "chat.stackoverflow.com/rooms/7/c/" with "javascript: alert("test");"
but its only temporary... you make no permanent changes to the page, or how it operates
 
Do you think that is enough for getting modified html?
 
i have no idea what you're talking about, you haven't described your problem at all
 
I will try to be clear
I'm doing a news app
and the objective is when you open an article, screen scrapping the article in order to get just the news text
then save that text as string, and show it as i like
 
if you are MAKING a webpage, you want to use javascript between <script> tags
if you want to temporarily edit a page that isn't yours (such as this chat room), you can inject javascript through the url
 
I'm not making the web page, the pages are from different news papers
 
3:08 PM
how are you doing a news app? windows forms?
 
windows store
 
oh
 
i had the code for doing this in C#, but I can't use it
because of the various dll that are not supported
 
ahh, i have 0 experience in windows store
 
it's almost the samething as wpf
i've found the same code for getting only the text
but in js
ti use on the browser, I drag and drop this code into a tab
javascript:(function(){readStyle='style-newspaper';readSize='size-large';readMar‌​gin='margin-wide';_readability_script=document.createElement('SCRIPT');_readabili‌​ty_script.type='text/javascript';_readability_script.src='http://localhost/readbi‌​lity/js/readability.js?x='+(Math.random());document.getElementsByTagName('head')[‌​0].appendChild(_readability_script);_readability_css=document.createElement('LINK‌​');_readability_css.rel='stylesheet';_readability_css.href='http://localhost/...
can jquery be used for this?
 
3:14 PM
don't see why not
 
 
1 hour later…
4:33 PM
hi, how can i listen to my form when my form is going to background of other forms?
 
Be very, very quiet and you might hear it.
 
enyone help me please!!!
 
What's your question?
 
@KendallFrey how can i listen to my form when my form is going to background of other forms?
 
You already said that. What does it mean?
 
4:47 PM
@KendallFrey i have 2 window.when i click on first window and then i click on second window, i want to handle when first window going to background?
 
@KendallFrey i want a onHide event or something...
 
But that's not hiding the form, that's just removing focus
 
@KendallFrey Form havent LostFocus event!
 
4:59 PM
@KendallFrey "Deactive Event " call when my Form is close() not when my form hide!
@KendallFrey sorry!!, i'm not good in english
 
> Occurs when the form loses focus and is no longer the active form.
Not sure what your problem is
 
@KendallFrey thanks for your help
 
5:15 PM
@KendallFrey i call form2.ShowDialog(); in the form1. onDeactive event not worked now.
 
5:27 PM
@JohnD hi JohnD, how can i handle Deactive event (in the Forms) after showDialog method?
 
@javadaskari You can't deactivate a modal dialog...
 
Got a question. Is it correct that route values that was parsed on incoming request are still alive at the moment when razor "Html.ActionLink" is rendered? I mean, my Html.ActionLink doesnt contain own route vaues but they are somehow substituted in the resulting URL..
 
 
3 hours later…
9:23 PM
anyone here?
 
@LINQ2Vodka nobody here but us chickens
 
:))
 
10:20 PM
How do I know what the route name was choosen for specified values (controller, action etc)?
 
gaaah
an exe file interpreted as audio data at 1000 samples/sec sounds like a stomach rumbling
 
a pdb file sounds like a heart murmur
@CCInc you around?
 
Indeed
 
My sound thingy is done
 
10:27 PM
Yay!
 
Shall I push it to GH?
 
Sure
 
okay, hang on
lemme write up some usage notes
There, should be good to go
 
10:44 PM
Cool, thanks! Lemme try it out
 
11:33 PM
@KendallFrey The size variable... what is it?
 
@CCInc sample size, e.g. 8 bits, or 16 bits
 
How do I know what to set it to? Does it matter?
 
Probably
How big is one sample of audio?
1 byte? 2?
 
Kind of hard to tell, because my generation uses all ints...
 
ah. how does it write it to the file?
 
11:41 PM
It doesn't. I was only given the code for the raw PCM
 
huh?
 
What are we talking about?
 
if it's not in a file, where is it then?
 
I don't think you want WriteWAV in a loop...
 
11:45 PM
What does putchar in c++ do?
 
puts a char, I'm pretty sure
 
grunt
 
does anyone use microsoft excel?
 
Is there any reason you don't just run it on the file?
@Tommy Yes, lots of people.
Me included :P
 
yay :) @KendallFrey you mind if i ask a question about excel? the only way i can describe my problem i'm having is by writing it in c# unfortunately :(
 
11:51 PM
ok
 
Oh. I see. Run it on the file.. hmm... I suppose I could try
 
thanks!
 
Side note: Are you sure you want 2 channels?
 
Did I say two in my code? oops
So, do you see the sample rate?
 
what of it?
 
11:54 PM
I don't know how to find it in that code
 
Just use the default
 

« first day (1155 days earlier)      last day (3810 days later) »