Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

bit_cmdr

@bit_cmdr
About
Posts
12
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is the Code Review Parallel Programming or Singleton?
    B bit_cmdr

    The parallel bit was my sad attempt at making a metaphor for design patterns as real world code review exercises. Parallel because you're utilizing all your cores (devs) vs singleton which is intentionally resource restricting (i.e. one person). If we were practicing pair programming we could eliminate the code review all together as that's the purpose of pair programming; doing the code review up front while you're coding. :)

    - Arcond

    The Lounge sharepoint collaboration question code-review

  • Is the Code Review Parallel Programming or Singleton?
    B bit_cmdr

    I have a new team forming up and we want to decide on the best way to formalize code reviews. Is the Code Review the responsibility of one person or the whole team? Is each, or certain, team member(s) allowed to review others' code or is there only one person who does the reviews? If it's only one person, then who reviews his/her code? I've heard of both in practice and some of the teams where I'm at use both patterns. I'm just looking for insight as to what everyone thinks is the best way to go and why.

    - Arcond

    The Lounge sharepoint collaboration question code-review

  • What should I do?
    B bit_cmdr

    I'm a C# developer by profession and lately I've been using MVC3 with the Razor view engine. I currently don't have my own site and I'm planning on changing that. The thing is, I'm not really sure what technology I should go with. I have the option of sticking with C# and IIS7 which have made great strides in scalability and performance; or I could go with Java and Ruby on Rails with Apache which are known to be more versatile and scalable. My real questions are, does it matter much any more? Which one has more widespread usage? Which one is truly more scalable? Does one have a deciding factor over the other? I appreciate your input. :confused:

    - Arcond

    The Lounge ruby csharp java asp-net apache

  • Should I stay or should I go?
    B bit_cmdr

    I recently put my resume out there on a whim just to see what was happening. Nothing really wrong with my current employer just wanted to see what was happening in the area. I got a bite from a local company and interviewed with them. Now a little history about myself. I started out doing VB6 and Java then moved to VB6 with ASP then C# and ASP.NET for the past 6 or 7 years. I obviously am a Microsoft-oriented developer. I'm transitioning into Architecture more and more with what I do and I usually work on all aspects of systems from DB Schema design to the SOA data layers and business logic all the way up the the front end. When I received the job description it said they were looking for someone that can work on all tiers of development and contribute to architecture discussions. I found out in the interview that I'd be working primarily on front-end applications in .NET and all the business logic and data layer is SOA but developed in Java. This isn't a bad thing, but I've never been at a place that uses two different languages (outside of scripting languages) and is not planning on migrating to one. I've been told they are a rapidly growing company and while they are too large to be considered a start-up, still have some of that energy and mentality. The personalities clicked so that's not an issue. So I guess my questions are, have I been living in a hole and it's pretty common to see stuff like this with a .NET front-end and a Java back-end? Given other peoples experience would you think that if I expressed interest in the middle-tier I'd be given the chance to work with both technologies to further my career? Would this be a smart move? Thanks in advance guys.

    - Arcond

    The Lounge career csharp database java

  • What does your Architect do?
    B bit_cmdr

    I'm curious what everyone's company considers the role of the software architect. In my company the architect is involved in all phases of development life-cycle, I think that's pretty standard across the board. But as far as development goes where I work they are the primary coders as well as designing the whole system. I have a few colleagues at other comanies that say their architects hardly do any coding at all. Is this the norm in the industry today?

    - Arcond

    The Lounge question

  • WCF DataContractFormat for System.Exception
    B bit_cmdr

    Okay, so I've been trying to find an answer to this for a while and either I'm not looking in the right place or it's not out there. I figured I'd post here while I continue my search to see if anyone has encountered this. I'm writing a WCF service that needs to accept a System.Exception parameter. I have this done and it's working, problem is that all other exceptions that derive from System.Exception (e.g. ArgumentException) are not recognized, since System.Exception is a System class and not one I created I can't very well decorate it with the KnownType attribute, at least I don't think I can. Does anyone know how I can accept all exception types as a parameter?

    - Arcond

    C# csharp wcf help question

  • No one teaches PROGRAMMING any more
    B bit_cmdr

    Let me start by saying I absolutly agree. A lot of posters have stated that there has been a shift away from fundamentals and more towards the IDE again this is sadly true. When I was in college myself, the last half of my senior year the university decided to stop using C++ as the core language for CS and use Java. There isn't much significance there except that the reason behind it was to try and teach with a 'more popular' language. (Don't get mad at me for calling Java more popular, at the time it was a rising star over C++ in the industry) The problem there is that now you have access to built in libraries that honestly, while you're learning, you should be building yourself. To someone trying to learn programming it does them no good to call a library and use a pre-built Linked-List or Stack, once universities start going down that road they lose the ability to truely teach what those data structures actually are and what they do. One thing that I firmly believe each student should have exposure to is assembly code. Even one course makes all the difference, it is the most basic and fundamental code and what everything revolves around. Even a basic understanding of machine language through assembly code allows for a much broader knowledge of what's actually happening when someone runs: string greeting = "hello world"; I started in grade school with Logo. Go ahead and mock Logo, it's not really a language but it teaches very basic programming to young children. The next time I had a class was in high school and it was Turbo Pascal and beleive it or not, we had to have the program working on paper and be able to count in binary before we were allowed near a computer. (Which was probably a good thing since once I got in front of one I made a fake dos shell that would start by displaying a command prompt and then pretend to format the primary network drive then it would say file not found or command not recognized for everything else afterwards. Scared the piss out of the instructor, he didn't like me very much after that.) All that said and all of what everyone else has said, it's a good valid point. Not many places actually teach programming anymore. Here's a question for everyone, as programmers, what should we do about it?

    - Arcond

    The Lounge

  • Loading XML data into ListView control
    B bit_cmdr

    I would suggest investigating how to create a DataTable and populate it with your xml. This will not be an easy task but it's by no means overly difficult either. It will just take a bit of work to accomplish. You will have to create each column in the DataTable and fill it with the appropriate data. Once that's done you can bind the DataTable to the ListView and you should be good to go. There may be a way to cut out the DataTable entirely but you may figure that out by researching what I suggested.

    - Arcond

    C# xml

  • Replace umlauts
    B bit_cmdr

    string.Replace() is a method with a string return value. Try this st = st.Replace("a", "ae");

    - Arcond

    C# question

  • How to dump more than one row from table into the array !!!! please Help
    B bit_cmdr

    I'm not really sure exactly what you're trying to accomplish here, but I think this code below might suit you better: string[] arr = new string[dt.Rows.Count * dt.Columns.Count]; int i = 0; int j = 0; foreach (DataRow dr in dt.Rows) {     j = 0;     foreach (DataColumn dc in dt.Columns)     {         arr[i] = dr.ItemArray[j].ToString();         j++;         i++;     } } The results of this would be an array structured as: [0] = row1 col1 [1] = row1 col2 [2] = row1 col3 [3] = row2 col1 ... Hope that helps, if it doesn't be a little more clear on what you're trying to accomplish and maybe we can come up with something better.

    - Arcond

    C# csharp data-structures help tutorial

  • Retaining the dynamic controls
    B bit_cmdr

    Start with the simple stuff. Make sure you have the EnableViewState property set to true on the disappearing controls. Also make sure that you have all your initial page_load code within an if block to check for postback, i.e. if (!this.IsPostBack). If that doesn't work, you can always check the value's of subsequent buttons and checkboxes on postback and repopulate prior buttons and checkboxes accordingly.

    - Arcond

    ASP.NET help regex question

  • Updating/changing Items in a ListBox with a TextBox
    B bit_cmdr

    Simple fix, just add if (listBox1.SelectedIndex > -1) so that the conditional is evaluated before making any updates. This should resolve your issue and update the reruired data. For example: private void textBox1_TextChanged(object sender, EventArgs e) {     if (listBox1.SelectedIndex > -1)     {         listBox1.Items[listBox1.SelectedIndex] = textBox1.Text;     } } private void listBox1_SelectedIndexChanged(object sender, EventArgs e) {     if (listBox1.SelectedIndex > -1)     {         textBox1.Text = listBox1.Items[listBox1.SelectedIndex].ToString();     } } -Arcond

    C# help question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups