« first day (879 days earlier)      last day (4068 days later) » 

12:20 AM
@TravisJ what is the time complexity of... lol I'm pretty sure its O(n squared)
 
We hired the intern :)
 
 
2 hours later…
2:00 AM
@Pheonixblade9 Yay!
 
Why do you care? Are you the intern?
 
2:17 AM
@KendallFrey ...
@KendallFrey How do I get the class which method the Func calls is in?
 
From where?
Outside the Func?
 
How do I encode this "http://www.ncbi.nlm.nih.gov/pubmed/22918716?report=xml" correctly in C#?
 
public class Methods
{
	public int GetInt()
	{
		return 4;
	}
}

public class Program
{
	public static void Main()
	{
		var methods = new Methods();
		var funct = new Func<int> ( () => methods.GetInt());
	}
}
from just the funct variable, how do I retrieve Methods?
 
You can't (simply).
Your best bet would be to do var funct = new Func<int> (methods.GetInt);
 
and then?
 
2:29 AM
funct.Target
 
@CCInc hes not a code vending machine CC
:)
 
Thanks Kendall
 
You piss me off.
 
@KendallFrey how so?
 
Look up.
You like mocking me, don't you?
 
2:32 AM
Here is my code and the current the result after string download = Encoding.ASCII.GetString(myDataBuffer);.
 
Anyway, it really is my bedtime. I'm not leaving because you piss me off.
 
@KendallFrey any ideas?
 
@KendallFrey Truely, Im not really mocking you. But your quote about the vending machine
But i'll tone it down. Sorry
 
Don't worry, I'm a guy. We don't hold grudges.
 
@KendallFrey Yeah I know.
 
2:34 AM
If was a girl, you'd be fucked.
Nite.
 
@KendallFrey Yes that's for sure. I'm smarter than that with a woman
:)
g'night
 
nigjt kendall
 
0
Q: Encoding ASCII as HTML

KillrawrI'm trying the DownloadData method from the WebClient. My current problem is that I haven't been able to figure out how to convert the ASCII result (&lt; to <, \n, &gt; to >) which is produced from Encoding.ASCII.GetString(myDataBuffer);, out of this page. /// <summary> ...

 
3:26 AM
hey @user2163356 I have an ethical question
@user2163356 do you mind?
@cfeduke thanks :)
 
4:19 AM
@Killrawr shoot
 
5:04 AM
@CCInc is it okay to down-vote an answer if someone didn't completely read the question, and then comment about what they did wrong?
 
i guess..
i dont downvote much at sll
 
5:26 AM
Hi all
 
5:45 AM
hi
how to get one week back date from present date
 
DateTime.Now.AddDays(-7)
 
Lies
Morning :D
Skype emoticon for big smile :D
 
ello!
:D
 
how are you?
 
meh, not bad, you?
 
5:51 AM
I haven't been on this chat properly for like a week and a half
I'm ok...just bored...why the meh?
Where's the bot?!
 
Ya we all missed you
ill summon him
 
Hahah
Summon
summon cc bot with extra juice
oh yeah!
cc/hangman
is that right
 
:D
 
:D
she no work :-(
 
5:54 AM
there you go bot
hey bot
y u no work
 
:D
 
lol try it?
 
:D
nope
 
5:55 AM
lol
#.png
 
it worked
 
hi,how to check the date is in between present date and one week back from now in the lambda expression
 
hi,i ansered ur question
 
5:58 AM
yah,I got it,How can I check the a date is in between this time range in the query
 
> and <
>
wateverDate >= DateTime.Now.AddDays(-7) || wateverDate <= DateTime.Now()
I THINK. Ask CC
:D
 
that is && not ||
 
oh yah
and...
not or... I mentioned "and" above that and I put ||
yo guys
 
yo
 
6:08 AM
wheres the SO chat application?
 
huuuu?
 
I was told a long time, when I wanted to create it, that there was a SO desktop chat application
 
pfft
 
hmmm
I just wanted to try it out... you know... may be I could have learnt alot
 
I have never in all my time of useless scrounging found an alternate chat clinet
 
6:10 AM
Reason why I asked is because my company monitors web page activity like a ******
a chat client would be better for me lols
Maybe I will make one :D and if people want to use it...then yay
It will be a nice learning for me...could even make other features :D
 
hello guys..
any1 here? I want to discuss a very important concept
 
I'm here but I do not think I will be a lot of help :D
 
why do u think so?
 
night people
see ya
 
u know php @BeginnerCoder
 
6:18 AM
oh hell no sorry @Swati
night night @CCInc
 
shit
 
find a php chat room?
im sure there must be
 
yes the room is dere
but no one in that room
 
put ur question here, maybe someone will still help you out
lol sorry
 
@CCInc Thanks,it is working fine
 
6:45 AM
hey, anyone know anything about oAuth2
 
7:09 AM
alo
hey?
0
Q: How do I upload file from local machine to other machine by UpLoad File control ASP.NET?

Binh TieuI have a file on my local machine.I want to use Upload File control of ASP.NET for uploading to other machine.This other machine is CentOS which was running on VMWare soft. HTML <body> <form id="form1" runat="server" enctype="multipart/form-data"> <asp:FileUpload ID="FileUplo...

Anybody help me on this issues
thanks
 
 
2 hours later…
9:32 AM
0
Q: Passing data to controller and updating partialview without updating whole page

TechAddictI am performing Edit operation in which There is One MainView and there is a partialview rendered on that page. Now I have different model for both views. Now as, shown in below Image, when I click on delete only that record should be delete from db and that partialview must be refreshed. I am ab...

 
10:20 AM
 
Heloooooo Every body
 
@BeginnerCoder hi how r u ?
 
10:48 AM
im ok and you saima
 
also fine
@BeginnerCoder same one question for u please
 
11:08 AM
ok
 
@BeginnerCoder I want to search the data using %Like% and show in Report?in datagridview i used LIKE and but in report i dont know u know about that....!
 
You using Crystal Reports?
 
no report in template
 
If I am looping through and creating strings for names with a given prefix, how can I make sure that a given name bar01 is already taken and I should move on to bar02 to start with instead of bar01?
 
im not sure @SaimaMaheen I never used that
 
11:18 AM
@BeginnerCoder ok thanx
 
sorry bossssssssssssss
@kush lets see some code
 
11:48 AM
i have a table with two columns. there is a index on col1. "select col1 from table order by col1" will use index for sorting, as shown in execution plan. however "select col1, col2 from table order by col1" do not use index at all. why this ?
 
12:37 PM
@BeginnerCoder ok
 
12:49 PM
foreach (var foo in Bar)
{
//..
    int currentCounter++;
    for (int i = 0; i < currentBar.Count; i++)
    {
        Item item = currentBar[i];
        if (i > 0)
        {
             /...
        }
        if (...)
        {
            string currentMark = String.Format("{0}{1}, itemRule.Mark, currentCounter);
        }
        else
        {
            currentCounter++;
            //...
        }
        /...
 
1:06 PM
u adding it to a list
 
1
Q: how to get the node's parameter in ASP.NET?

ramanI have a XML file and i want to read it and save the result into datatable, here is my XML file: <?xml version="1.0" standalone="yes"?> <NewDataSet> <Table name="tblAdminUser"> <Column> <displayname> Created Date </displayname> <orignalvalue>...

please help me
@dragon112 hello
you there @dragon112
 
@BeginnerCoder how does it work for me
 
1:22 PM
@raman The way SO works is: you try something and when you can't figure it out you ask people on SO.
 
0
Q: Windows Phone 8 fullscreen page

Roel van UdenI have the following page defined in XAML for Windows Phone 8 <phone:PhoneApplicationPage x:Class="MangaRack.View.Phone.View.ChapterView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-names...

 
1:44 PM
i shot the sheriff
... but i didn't shoot no deputy.
 
I shot my boss
 
:/
:D
 
@BeginnerCoder is @Steve your boss? he looks like he is in pain
 
lol
 
1:59 PM
I have a question about reporting Services in Winforms Please Help.........!
i want that to show the specific record through LIKE operator and i connect LIKE operator to Forms Textbox when user enter "a" all dataabout a show in report....!
i cannt understand to use like operator in Reports Services....!
hellooooooo
 
edc
isn't that the same as using LIKE in regular SQL queries?
I mean, unless you are talking about parameters, everything in RS is just a bunch of queries behind the scene
 
ok tell me that how i assign textbox value of winform to Report Parameter...!
 
edc
oh, you are getting values from the report
 
2:10 PM
yes
 
edc
actually, how are you getting a report shown in winforms? (I mostly dealt with reporting services for asp.net)
 
report shown in winform in reportviewer
 
edc
Oh there is a report viewer there for winforms, nevermind
 
@edc yes
@edc .................!
 
edc
@SaimaMaheen From here <http://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.serverreport_members(v=vs.100).aspx>, it seems you can set parameter using the API.
 
2:16 PM
@edc thanxxxxxxx
 
edc
Welcome. I used to work as support for a RS component. :P
 
@edc ok
 
aspxerrorpath=/Login/LoginController.aspx
 
@kush mvc without razor ewww
 
@Steve well that's on T-Mobile and not me
 
2:31 PM
oh
 
user1125394
are there people on visual studio (c#)?, I get a problem, I've already added a reference library (dll) to my project, was going to add another one, but it seems not possible this time?
 
1 message moved from Lounge<C++>
 
user1125394
and hi
 
Unfortunately that 'question' isn't even answerable here.
 
hello mr. frey
who was that guy who flagged us a week or so ago for not talking about c# was it mingebag?
 
user1125394
2:39 PM
when in the contextual mouse menu (right-click on the project) "add reference" is disabled
 
nice name...
 
what is the order which goes like Panel1, Panel2, Panel3, ..., Panel9, Panel10, Panel11, and so on...
 
@Steve Yeah.
 
user1125394
well can't even remove an existing added reference...
 
user1125394
VS is a mysterious for me
 
2:40 PM
Show us a screenshot of your context menu.
 
user1125394
ohh men sorry, was actyally running a debug application, that's why
 
user1125394
/me bans himself
 
@kush numerical?
or "intelligent" order
 
sup folks
 
The Redstone Update is here!
 
2:43 PM
whoa really?
 
@crl is the project still running?
 
@KendallFrey was about to help him on SO Proper then the name sounded familiar
NO MORE
 
ha
@ShotgunNinja YA RLY
 
user1125394
using System.Linq; linq as the linq language?
 
@KendallFrey sweet. More efficient digital calculations!
 
2:44 PM
1 message moved from Lounge<C++>
 
@crl LINQ is not a language. It's a set of functions you can use to query data.
 
@Deanna but that'd be panel1, panel10, panel100, ... ?
 
user1125394
 
@kush no, that's alphabetical
 
user1125394
bit like SQL
 
2:46 PM
numerical will sort 1,2,3,9,10,85,100
Explorer's intelligent sort handles numbers like that in the string
 
@crl It resembles SQL in syntax, and it can generate SQL queries for you.
 
WHY IS THE FROM BEFORE THE SELECT
 
Ask the people who decided that.
 
user1125394
another question, is there a Logger in c#, something like log4j
 
IMO, it makes more sense.
 
user1125394
2:49 PM
it might be better than Console.WriteLine
 
its so intellisense works
 
@crl There are many third-party logging libraries.
 
if you have the select first, the subset of options available is the entire language
 
Natural sorting? This seems to have Jeff Atwood's stamp of approval
 
user1125394
I always wondered where this
 
user1125394
2:52 PM
foo
{
    //
}
 
user1125394
coding style come from, seems it's C/C++/C# ...
 
user1125394
(the { after line)
 
user1125394
I prefer to save one line personally
 
it adds whitespace which makes code more readable
people read your code
 
I prefer to keep braces on their own line. I don't think it makes a big difference.
 
2:55 PM
lol
?
 
Yes you can.
 
i think its also easier to tell when you missed a bracket if they're on their own lines
i guess its not a big problem in VS since it underlines everything
 
I prefer them ont he same line, but I come from a VB6 background.
 
i hate when i wash my hands after going to the bathroom and i accidently splash water on my pants, it makes me look like i have piss all over myself
 
and insist on them for ANY blocks
@Steve Ahh, a Botley
 
3:04 PM
LOL it has a name for it! Now I don't feel so alone!
 
Good old Douglas Adams :)
Oh, and it was his birthday on Monday
 
"insufficient waggling of the willy."
 
^ lol
:)
people are quiet toda
 
3:23 PM
Everyone's making sure they get sufficient waggling of the willy.
 
@Deanna I really liked that google doodle. It's been too long since I read Hitchhiker's Guide.
 
xkcd Y U NO post new comic until late morning EDT?
 
user1125394
3:39 PM
I'm looking for the comment/uncomment shortcuts on VS
 
user1125394
ctrl+C works badly
 
Ctrl+K, Ctrl+C and Ctrl+K, Ctrl+U
 
user1125394
consecutively wow
 
user1125394
needs 3 hands to do that
 
user1125394
need to customize
 
3:43 PM
@crl I reassing ctrl+/ and shift+ctrl+/
reassign even
 
for some reason CTRL+E, CTRL+C/U works for me ... i think i added that, though
 
argh, damn 0 based values
I wanted a count to go up in 1KB chunks
x += 1023
works the first time
I guess I have to start with -1 and add 1024
 
Ah, sod it, it's number of processes, the exact number doesn;t matter
 
1 KiB is 1024, not 1023.
 
3:45 PM
yes, but in 0 base, an upper bound of 1023 is 1024 entries
hence the whole pretext to the mini rant
 
Yeah, but cardinal numbers (counting) don't depend on 0 or 1 base.
 
I shoudl have clarified it's an upper bound
actually, I'm being a nonce, it is a count, and I'm doing -1 on the array bounds
but it still doesn't matter, it's just the number it increases when it finds it hasn't allocated enough :)
 
user1125394
hmm I see the K is probably lower in qwerty keyboards
 
user1125394
I have an azerty
 
nope, u is on the top row on qwerty too
qwertyuiop (damn that's hard to type)
 
3:54 PM
qwertyuiop is not difficult to type on a qwerty
 
it's not natural though
I have to think about it more than normal typing
 
Phoenix hasn't spoken for sixteen hours. I was thinking of pasting a Ellie Goulding photo here...
 
ok, I'm clearly going blind, I could have sworn that @crl said the u key, not k
please ignore anythign I've previously said :)
 
user1125394
yes did update
 
oh
 
3:57 PM
people pinged me while sleeping. pong
 
user1125394
dam, all good shorcuts are taken on VS
 
@CCInc Hi CC!
 
Hey kush!
 
way to confuse me *** goes to sulk***
 
For example, int[] is a single-dimensional array of int, int[,] is a two-dimensional array of int, and int[][] is a single-dimensional array of single-dimensional arrays of int.
 
3:58 PM
@crl ctrl+/ focused the quick search box by default iirc which I never used
 
@Steve also called a jagged array
 
user1125394
@Deanna taken by GoToCommandLine
 
@Steve Alright, smartass, what's an int[][,]?
 

« first day (879 days earlier)      last day (4068 days later) »