« first day (1417 days earlier)      last day (3525 days later) » 

10:00 PM
yeah its a lot better with no context
 
hello everyone
does anyone here use C# as a server-side language?
 
almost everyone
 
Yes (if you have a specific question, feel free go ahead and ask it)
 
10:15 PM
Sure. I'm sorry if this seems like such a cliche question, but too often I've found very elementary responses to questions regarding choosing a server-side language
I'd like to know why choose C# over something like php or Ruby on Rails
 
because i like c# better than the others
 
lol, okay. I guess that's one less language to learn if you're already familiar with C# anyway
 
visual studio, resharper, compiled language, constantly improved, azure, linq, signalr, etc, etc
lots of things to like
 
definitely
I use a Mac to code it
more specifically, a BBEdit/TextWrangler C# plugin
 
that will make things a bit more difficult
youre limited to the capabilities of mono then, right?
 
10:22 PM
Yeah, probably. I'm not really using the MonoTouch IDE, because it's inconsistent
someone made a compiler for TextWrangler and so far it's been decent
otherwise, I also use Mono's "Xamarin Studio" IDE for app development
I'm not sure how often they update their packages and whatnot, though
 
10:34 PM
Anyway- thanks for your perspective. Maybe I'll consider running Visual Studio on a PC or something
 
dual boot windows on your mac
 
11:01 PM
Can someone tell me why my content always counts zero?
        public static void FindImage(string path)
        {
            List<string> content = new List<string>();

            int id = 0;
            string query = @"SELECT [InvoiceNumber], [Signature], [Photo] FROM [ProofOfDelivery] WHERE ([Signature] IS NOT NULL);";
            using(SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings[@"CommerceDB"].ConnectionString))
                using(SqlCommand command = new SqlCommand(query, connection))
                {
 
because you get no results..?
also, you should use curly braces for using statements unless it's only one line.
my stepdad's response was "I like my code like I like my women. Loosely coupled and scalable"
 
why do you check for null in the code when you already exclude those in the query?
 
I do get results though
 
did you step through the code??
 
Yeah.
 
11:08 PM
it should be obvious whats happening when you debug it
 
It isn't though.
 
either no results, file doesnt exist
how could it not be obvious? you should see exactly which lines are getting executed...
if content.add is getting called but content.length is 0, then you got some weird problems going on
 
Well, it sometimes correctly adds and other times it doesn't.
 
ಠ_ಠ
 

« first day (1417 days earlier)      last day (3525 days later) »