« first day (1074 days earlier)      last day (3893 days later) » 

12:14 AM
time to go home.
 
12:27 AM
me too- cya
 
1:06 AM
Anyone care to help me on a quick question, learning LINQ. I have list of FileData class, with three properties (name, hash, size) if i wanted to put a value for each of those properties, even though the FileData list is empty. I tried FileData.Select(p=>p.name) = "test"; but thats not working ofcourse.
 
1:27 AM
@Dayan, use foreach for this or create/use 3rd party extension method called ForEach and accepts an Action<T>.
source.ForEach(fileData => fileData.Name = "test");
 
oh neat
That ends up being the same as foreach (var item in filedata) { item = "test"; } ??
item.name ** sorry
 
yesá
 
i thought there was an additional way, possible slight faster way to directly access that field without having to iterate.
 
No, the whole linq extension method and query acosystem is built on iteration and how could you access each item in a collection whut iteration?
 
good point, thank you Peter, appreciate it.
 
1:37 AM
goodday!
 
good morning! :)
 
take care everyone, back to code ;) thanks again Peter, have a good one.
 
Any time, have fun with coding!
 
 
1 hour later…
2:46 AM
If I have a XAML <Path/> with x:Name = "foo" can I access and change the Fill attribute using the x:Name String in the behind code? I realize I can do foo.Fill = "white", but it doesn't apply to this case.
 
3:04 AM
nevermind :)
 
3:57 AM
anyone here knows how to set table-relationship in compact4.0?
@codebrain >:D hi
 
4:28 AM
hi elegiac
 
hi @Dinesh_Dini
 
do you know which is best platform to create blog (webforms or MVC)?
@Elegiac
 
sorry @Dinesh_Dini im not a webguy but lets wait for other's opinion
 
posted on September 24, 2013 by Scott Hanselman

I feel better when things are backed up. I use the File History feature of Windows 8 to backup files every hour or so. I really encourage folks to use the Computer Backup Rule of Three. One of the features of Windows 7 that I love is System Image Backup. I used to use 3rd party products to image my system. In Windows 8 (8.0, that is) it's kind of hard to find System Image Backup. While I use

 
4:40 AM
Hi.. is there any way to slow down the appending of text in a richtextbox
 
5:17 AM
hey guys i am trying to store code segments like in a sql table, but am unable to do it because this error pops up "System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$content_items$qDes="#include <iostream.h>")."
so any help on how to save code segments in a database
 
Morning :)
@Elegiac Hei
 
5:33 AM
yo yo yo @codebrain
you familiar on how to make table-relationship in sqlcompact?
 
never used compact much buddy. I am not so good at sql. :(
 
ok np :)
 
these days i do much of jquery and Mvc-c#
 
guys any one know how to store code segments in a database
 
Nope, but why ?
 
5:42 AM
i am trying to store small c++ programs in a table but its giving error. its saying that its a potentially dangerous request.
"System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$content_items$qDes="#include <iostream.h>")."
 
5:53 AM
Hi all good morning guys
I have a small query guys
I have an image control and on that image control I am setting an bitmap image
the actual image has a white background, but when I set that image on the image control, the background is disappeared and set to window background color
How can I make my image control background to image background
 
hi codebrain.. Gud morning dude
 
6:09 AM
vanakkam @codebrain
 
@MAD4RA u know tamil?
 
i'm from chennai bro
 
oh super
 
you from @JasperManickaraj
 
Am from Madurai.. but now am working in bangalore..
 
6:16 AM
Okay
 
@Where do u stay in bangalore @JasperManickaraj
I stays in bangalore
 
In Madivala Ganesh
user251179 u are from?
 
AndhraPradesh
 
I stays in Agara
I am from Andhra
@JasperManickaraj
 
@Ganesh where in Andhra?
 
6:18 AM
Vizag
 
What is ur name @user2511798 and wr r u frm?
 
@Ganesh Mohsin . From Kadapa
you working as a developer @Ganesh?
 
Hmm Good.. @Ganesh
 
@MAD4RA Vanakkam !
@Ganesh you need some serious spoken english tutorial
 
6:31 AM
s
@codebrain
 
Hi @codebrain Wat up??
 
@codebrain did my english making that much noise here?
s Moshin
I am working as a developer
 
@Ganesh haha
nope, Silly mistakes here and there.
@JasperManickaraj hey nothing much. busy with some work
 
Hmm aha Good Start.. Keep Going..
 
I think this is time to start ask queries
 
6:47 AM
HI , how to send uploaded file to Controller without using html.beginform() and Ajax.beginform()???
<input type="file" id="fileupload"/>
Any Ideas Regarding my Question..
 
I think you cant do that
 
any alternate way other than html.beginform
 
<input type="file" id="fileupload" name="jax123"/>
              @using (Html.BeginForm("action","controller",Formmethod.post,new{enctype = "multipart/form-data"}))
              {
              //;;;;;---
              }
              [HttpPost]
              public actionResult postedData(Model mdl, httpPostedFileBase jax123)
              {
              //httppostedfilebase is your document uploaded.
              //Best method to work with mvc.
              }
input name should match the name mentioned in action method arguments
javascript arrays are far more better than jquery arrays. Curious to work with more complex JS arrays !
 
7:07 AM
Hi..I am working on project where i send mail automatically using send mail task of ssis. I have used script task to get te mailbody and the mail subject.
I want hyperlink in my mail body how do i do that using c#
Can any body help me out
 
@user2710511 set this myMessage.IsBodyHtml = True & then add anchor tag to ur string in html
 
ssis wont support html body in it
 
it will in scriot task
 
My code for is as follows..

String MailSubject = "Sail Reports";
String MailBody = String.Empty;
MailBody = "\n\n";
MailBody += "Good Morning All,\n\n";
MailBody += "You can find the report in the following location.: \n\n";
MailBody += "";
MailBody += "<file:\\SHARED\\EVERYONE\\Daily sail Details\\Daily report>";
MailBody += "\n";
Dts.Variables["User::MailSubject"].Value = MailSubject;
Dts.Variables["User::MailMessage"].Value = MailBody;
 
Morning @Neha Mathur
 
7:20 AM
its throwing me an error..it says string does not contain definition for IsBodyHtml
@Neha
 
@user2710511 ehat is not a string variable function
 
Can u please tell me what i have to use..My link is string only
 
public void Main()
{
String EmailMsgBody = String.Format("<HTML><BODY><P>{0}</P><P>{1}</P></BODY></HTML>"
, Dts.Variables["Config_SMTP_MessageSourceText"].Value.ToString()
, Dts.Variables["InternalStr_CountResultAfterXSLT"].Value.ToString());
MailMessage EmailCountMsg = new MailMessage(Dts.Variables["Config_SMTP_From"].Value.ToString().Replace(";", ",")
, Dts.Variables["Config_SMTP_Success_To"].Value.ToString().Replace(";", ",")
, Dts.Variables["Config_SMTP_SubjectLinePrefix"].Value.ToString() + " " + Dts.Variables["InternalStr_FieldingDate"].Value.ToString()
a google code it is
might be helps u
@codebrain gm
 
fine will try it out.Thank u so much..
 
aha.. i got into a weird problem.. as the List<string> entries increases the GUI is not responding!
 
7:37 AM
@Neha this code is to send mail using html mail bodt right..I am sending t through send mail task .I just want that link in my mail body.
I tried to add that html body its throwing me error.
 
@neha -> accepted PM invitation
 
@codebrain ?
 
@Neha did you invite me for a chat room ?
 
Dont mind cant i do it using send mail task
 
ya
 
7:39 AM
haha
 
can someone tell me whether or not the rendered id of a aspx control in html always remains the same ?
 
mein accept kar dhiya
 
@n
@neha
Dont mind cant i do it using send mail task
 
@user2710511 you have to write ur message in script only
 
@user2710 dont tag people like @-n it will tag all the SO users with name starting with n.
 
7:44 AM
oh k fine sorry it was by mistake...
@neha Then why should we send html mail task
Then why should we use send html mail task
 
that a script task
 
i am getting confused ..I have script task only .through script task i am getting mail body and sending that as varible to send mail task.when i get the mail the link breaks because of the space in the path.
@neha
 
0
Q: Is rendered id of aspx control always rendered the same in source html code?

ArbaazFor Eg i have an aspx textbox with id="txtkms" In html view source i can see that it is being rendered as ContentPlaceHolder1_Gridview1_txtkms_1 My question is .. this control txtkms always be rendered as ContentPlaceHolder1_Gridview1_txtkms_1 everytime i run my aspx page on any browser or any ot...

 
Hi everybody Kindly see my question and give solution if anybody knows plz

http://stackoverflow.com/q/18974828/971977
 
8:43 AM
whoaaa no one here
 
I'm here!
omggggggggggggggggggggggggggggggggggggggggg
let's have chattings on stackoverflowings
:( aw nobody here
it's ok.. i'll just talk to myself
so like.. hows things giovani?
yeah pretty kewl..
:P
hello?
aw nobody's here...
mr codemonkeys doesn't want to chat lol
@c0dem0nkey!!!
 
9:16 AM
Hi @Giovani
 
9:37 AM
hi lol
 
Jez
Does anyone here use SeaMonkey?
 
I used Sea Monkey years ago but I don't even remember what it is anymore. It's a Mozilla product, right?
 
Jez
well kind of
it's a community opensource product that is tied in with the mozilla source
 
Yep, I just looked up the site. Seems very familiar.
 
Jez
well i just released an extension for it and i'm looking for testers. feel like it?
 
9:43 AM
Hi @Giovani how r u?
 
Back to the vibrant community.
Shimming scripts,border-radius,html5,css3,es5 are a tedius job.
 
Jez
Hello everyone, I've just released a SeaMonkey extension and I'd like to get it bug tested. If you're interested please download (and preferably review) here: addons.mozilla.org/en-US/seamonkey/addon/monkeyfix
2
@Giovani that's the URL
 
@Jez 1.0.0
?
 
Jez
yep
 
:)
 
10:25 AM
@NEha there ?
@ton.yeung Work at amazon, you can wear shorts, t-shirt, sandals, plug hear phones, decorate your table with 1942 wine bottle(empty**) and play cricket in office if you're working at night. all in one.
 
@codebrain yea
 
10:41 AM
is ther anyone knowledge in linq
?
 
@ketanitaliya say
 
wait i give my code
this is .cs file code
this is .aspx pastie.org/8351373
nw this is my relation of tables..
here eventid is the primary key.
and clientid is foreign key.
clientid is save in my table..
from clientid i want to show clientname ..
but dynamically.
@Neha
r u got it.?
event is my main table..
is that clear..?
 
am not clear with what r u trying to retrieve
 
@Neha Whatsup ?
 
@codebrain I need some help yr
 
10:55 AM
@Neha say, If i can i would do it :)
 
in short i want join query..
like that
var q = from a in db.EMR_EVENTs
join b in db.EMR_CLIENTs on a.ClientID equals b.Name



select new
{
ClientName=a.Name,
ClientID = a.ClientID,
Name = a.Name,
No_Of_Invitees = a.No_Of_Invitees,
Extra_Invitees = a.Extra_Invitees,
Total_Invitees = a.Extra_Invitees + a.No_Of_Invitees,
EventID = a.EventID
};
is it true..?
 
Hi all, can someone please help me with displaying data in android listview from sqllite database? I'm new to android and all the tutorials are extremely confusing
I need to know... how to create database, how to add tables and columns and rows to it, and then, how to insert, update and delete?
 
@ketanitaliya query format is right
@Giovani if u want to tell java code we cant & if its sql then there are syntax availiable for these operations
 
omg, so sorry. I totally forgot I was in the C# room lol!
 
@Giovani That's sad. No clue on how android listview works
@Giovani rofl
 
11:02 AM
@codebrain I really dislike android development. things take sooo much more time to make than say, a windows phone app in c# and even just the syntax of the xml and java apis they have is all screwy
for example, android.R.whatever; = what the hell is R? they have so many random weird things and the character casing is so ... random and unexpected. like they have methods starting in lowercase? but class names start with uppercase? that's just weird
c# is by far the most practical and efficient language
 
lol
ALL HAIL C#!
2
 
haha yeah ! java screwy screwy
 
I'm gonna have a peek in the java chat room.. see what craziness they're on about lol
did I tell anyone about the new definition I gave to CRUD oneday while I was having problems with it?
 
nope, I didnt hear it ?
 
Hey @Codebrain
..got your pings
I've been tied up for a long time with dirty work.
How've you been .. with your new job?
 
@Chukwuemeka Didnt join in new work yet mate. on Oct 21st :)
That's okay, Everyone one of us is tied up with some dirty work ;)
 
Oh. yea. I forgot.. the 30-day bond.
 
yeah yeah notice, kinda work + fun now..:P
@MAD4RA Seems like you're using offset on a div. which version of bootstrap ?
 
Yea. good for you bro. You're living the dream..
 
11:29 AM
3.0 @codebrain
i used 2.3 like 3 months back
 
just give manual style on the div of link buttons, border of 1px and see to what end it covers.
@Chukwuemeka I am under control though. The major contribution to my knowledge is stack. I am feeling good to be here. and friends like you from all over the world helping seemlessly !
 
what i think is since i gave a span6 for the buttons
it gives you empty spaces
 
@MAD4RA yeah, try yo use pull-right on the button div too.
post the complete page picture
 
yea did that too
[6colspan(filledspace][6colspan(emptyspace)]
^^ u get that ?
 
huh,nope
 
11:40 AM
so basically i have a 12col span inside which 2 6col spans are there
the 1st 6colspan on the left side is empty
say the size of the 6colspan is 20cms
only 15cm's is filled up
u get me ?
 
11:54 AM
yeah i am getting it. it should easy work..
 
12:11 PM
 
12:26 PM
@codebrain , That's part of the dream. I don't even have the time to hang out here anymore. :(
 
Hi guys
 
@Chukwuemeka That's sad mate.get a working visa to US and you should escape.
hey Action
 
Hi @Hank
 
Sup Roel & Brain
 
MAD4RA = MADARA? As in Madara Uchiha?
 
12:40 PM
nothing much, after long time i completed my work items and have some spare time. Thinking whatta do now.
 
Well you can help me then
I have this String containing some XML
 
haha if i could
 
I want to load it into an XDocument
 
Xdocument ?
 
via XDocument.Parse(saidString)
 
12:42 PM
oh, okay...
 
it says however: Data at the root level is invalid. Line 1, position 1.
 
what's the problem with it
 
the XmlException says that
People on the internet ramble on about this BOM character (Byte Order Mark). But it's a copy-pasted STRING
it's not a stream thing
 
XmlDocument doc = new XmlDocument();
using (var reader = XmlReader.Create(new StringReader(xml), new XmlReaderSettings() {
ProhibitDtd = true,
ValidationType = ValidationType.None
})) {
doc.Load(reader);
}
 
0
Q: how to add text with spaces to label using jquery?

ramanI am using the following code to set label's text using jquery which is working fine but when the string contains space then it shows "%" on the place of space: function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') ...

please help me
 
12:47 PM
@ActionHank What is the XML?
 
hi guys
is MonoDevelop/gtk# stable enough for commercial dev?
 
hello guys
 
@w128 Sure
 
@w128 Yes, but why would you want GTK# if you intent to be commercial?
 
@ActionHank Is there a BOM? If so, are you reading it with a supporting encoding?
 
12:49 PM
Roel: just playing around, I don't really need gtk#, just questioning stability
thanks
 
@raman, are you able to locate the element correctly using $('[id$=lblQuestionText]')?
try $('[id$=lblQuestionText]').length first, to see if it is > 0
 
@tranceporter yes
 
@Action ??
 
@w128 If you don't need GTK# and you just want to save money on Visual Studio, there are express versions and the excellent SharpDevelop. That is, if you don't give a crap about Linux.
 
@tranceporter text is setting
but when the string contains space like "This is text" then it shows output like "this%is%text"
 
12:50 PM
Roel van Uden: i have visual studio, so no problemes there.. just checking out other tools for fun
 
Alright :)
 
that said, i may want to develop a cross-platform .net app in the future and was thinking monodevelop/gtk#
 
Or VS2012/Web :3
 
@raman try using val()
 
I assume using gtk# can be a bit easire for cross-platform compared to WinForms, right?
easier*
 
12:52 PM
@tranceporter val() is not working for label
 
@raman hav u tried with text
 
@Neha yes i have already
 
@w128 I wouldn't call GTK# easy. Or cross-platform for that matter. Cross-platform GUI development is a big fat lie, a terrible idea, and if you intent to serve users commercially, make a native look and feel with the respective GUI toolkit for that particular platform.
 
sorry guys: @Roel this is the xml:
 
thing is .text() replaces encodes the text
 
12:54 PM
Roel van Uden: agreed, so far I've been using Qt/C++ and it was an ok experience.. i've never done cross-platform with .NET though
 
God damnit
 
gotta go, thanks guys
 
@w128 Qt is a bit of a pain too. Personally I would just hook up web elemnents as my GUI and develop HTML/CSS with .NET bindings :P
 
@KendallFrey there might be a BOM, idk
 
Why don't you check? Surely you have a hex editor installed, right?
 
12:57 PM
@Roel var somevar = @"<?xml version=""1.0"" encoding=""utf-8"" standalone=""yes""?>
                                <message>
                                  <messageheader>
                                    <process>contract</process>
                                    <msgversion>1.0</msgversion>
                                    <msgidentifier>3</msgidentifier>
                                    <errorcode>0</errorcode>
                                    <errorcodedescription>OK</errorcodedescription>
@Kendall I is ashamed
 
lolwut
 
@ActionHank You read this from disk? If so, really check BOM (Notepad++, save as UTF--8 without bom)
 
double-double quotes?
That would be a problem
 
@KendallFrey this is directly copied from my unit test
 
1:00 PM
see edit
 
What encoding are you reading it as?
 
Ah, and the code to load it?
 
The code to load it? is just XDocument.Parse(somevar)
 
Oh, you're not reading from a file?
 
That's what he said
 
1:05 PM
I don't recognize standalone
I assume that's valid?
 
yeah that's not the problem I think
 
@KendallFrey from msdn
The standalone declaration indicates whether a document relies on information from an external source, such as external document type definition (DTD), for its content.
If the standalone declaration has a value of "yes", for example, <?xml version="1.0" standalone="yes"?>, the parser will report an error if the document references an external DTD or external entities.
Leaving out the standalone declaration produces the same result as including a standalone declaration of "no". The XML parser will accept external resources, if there are any, without reporting an error.
 
It looks like @tranceporter provided me with an answer earlier, let's try that out
21 mins ago, by tranceporter
XmlDocument doc = new XmlDocument();
using (var reader = XmlReader.Create(new StringReader(xml), new XmlReaderSettings() {
ProhibitDtd = true,
ValidationType = ValidationType.None
})) {
doc.Load(reader);
}
 
@ActionHank I would also trying simply writing that xml to a file first, and see if it gets written correctly
 
1:18 PM
couldnt access stackoverflow for a whole hour.... I just sat at my desk crying into my coffee mug wanting to post on SO to see if anyone else couldnt get to SO :'(
 
> êtes-vous un blaireau?
Le Blaireau d'Amérique (Taxidea taxus) est une espèce des mustélidés. C'est le seul représentant actuel du genre Taxidea. Cette espèce a été décrite pour la première fois en 1777 par le naturaliste allemand Johann Christian Daniel von Schreber (1739-1810) et le genre en 1839 par le zoologiste britannique George Robert Waterhouse (1810-1888). Dénominations * Nom scientifique : Taxidea taxus (Schreber, 1777) * Nom recommandé ou typique : Blaireau d'Amérique * Autres noms vulgaires (vulgarisation scientifique) ou noms vernaculaires (langage courant), pouvant désigner éve...
 
1:32 PM
I think I'm concussed, all I see is french
 
@dirt mais bien sur, mon ami! C'est un article Français!
This is my most 'bien' French
 
Ou est la bibliotheque?
 
fucké tu
Is that French?
 
no but the middle finger is
 
It is if your name is Ken doll
Never got what this is about... why does he do that?!
 
1:35 PM
i think thats called crack
 
it's like... 'engage retarded mode' 'ENGAGE RETARD MODE!!11!!'
 
it looks like hes being pulled by a wire actually
wire of crack
 
somebody remove the images and gif. couldnt talk here.
 
I'm sorry, I would if I could
 
Inspect Element > Delete
 
1:40 PM
make da window really tiny
or
we
could
spam
 
I want to
mods can delete not others
 
@KendallFrey done
 
@codebrain No, in your browser.
 
1:58 PM
Hi everybody
whats up
 
@ton.yeung Chennai, India.
@KendallFrey Oh that's good choice too. wont hurt others :P
 

« first day (1074 days earlier)      last day (3893 days later) »