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
R

RichardS

@RichardS
About
Posts
144
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unit testing discussion - Mock Data - Yes, No, or Yes & No?
    R RichardS

    Yes & No

    We draw a distinction in style of testing, as in we would write tests in a integration style but not as far as a database. We have a common data access layer and mock out data returned with test data. Code above the data layer is all tested with concretes, so our tests do end with lots of data setup (but using Builders/Mothers/Factories we can enhance common data providers to many tests). The tests all run from the highest level possible and pass through all units - we have abstracted away the http/message infrastructure so our starting units are after the "command" reaches the domain. In the past we would test each unit individually then moved over to a more concrete implementation testing. Our conclusion is: 1. We have far fewer tests to maintain 2. Our tests are more resilient to change - e.g. one dependency change/refactoring doesn't result in 45 tests needing to be changed, but just update in a common data change (our tests focus on behaviours being met) if the change has no material change to expected output. 3. We can test integration of units quicker - e.g. using strategy/command patterns and only testing units that are mocked has bitten us badly, so testing full concrete implementations ensured correctness. Where we deviate from the above pattern is where our tests need to test multiple paths in a specific unit (i.e. when the result is null given 3 out 6 inputs, constructor testing, builder testing, etc.), the cost of testing this from the upper level would have infeasible. Then we hit that unit directly with tests. With this approach we have seen our developers making better testing decisions and code evolving better as they are not swamped with updating tests just because they need to do a refactoring for new functionality.

    The Lounge question database data-structures testing beta-testing

  • UK Outsourcing companies - any recommendations?
    R RichardS

    Oh yeah - been there, done that. We have an Indian office and they struggle to take responsibility and require constant supervision.... The only ones that trump this is our dealings with a Russian group. They had a constant time estimation: Us: How long will 'xxxxxx' take? Them: That be big change...um...two weeks. or: Not sure...um...two weeks. Any change was two weeks....how that works I don't know :confused: This all led us to use the phrase: From Russia, with Bugs :-D

    The Lounge csharp c++ question

  • Are PC applications set to die out?
    R RichardS

    I remember the "dumb" UNIX PCs we had back in studies days. We then moved onto Windows NT Server that connected a few hundred students a dumb terminals. We used it to learn the basics of threading but of cause connecting that many students together that were learning how to code meant that NT lost handles like crazy. We got a email every day from the admin guy saying that we must learn to code properly and close handles when we are done :) Nothing like rebooting a server every couple hours...

    The Lounge com question

  • Are PC applications set to die out?
    R RichardS

    Thanks - another low cost device that will probably run all those is the RaspberryPI[^].

    The Lounge com question

  • Compiler Construction or Web Programming?
    R RichardS

    Hi, Do the compiler construction. Simple reason is that web programming can change on a regular basis. Yesterday PHP and ASP were the standards, now you have Ruby on Rails, ASP.NET and a whole bunch of others. Each one is fairly similar to the other and learning them should take very long. Compilers on the other hand will teach the bare basics of how things fit together. They will have concepts like FSAs and non-FSAs, which will make you think the understand more of the computing background than just simple programme learning. At the end of the day, I always approach learn and studying to learn the concepts rather than the syntax. The concepts is what gets you through rather than the syntax. If you now "what" you are doing, learning "how" to do it is a piece of cake. My 0.02c :) Cheers.

    The Lounge agentic-ai help question learning

  • Are PC applications set to die out?
    R RichardS

    Hi, I use Chrome as my default browser and it just added some nice advertising on the home page: Google ChromeBook[^] Which is absolutely great to get unwanted advertising spam :) However, this makes one think - are PC apps going to be around in 10 years time? If I look at the mobile market, more development goes into doing apps and mobile websites than PC desktop applications. Everyone wants an "app" or at least a mobile site to interact with employees and customers. So are PC apps going to be a museum pieces soon? (ps. I can image my two year old son leaving University to 20 years time saying, you used to work on one one those? :omg: ) Cheers.

    The Lounge com question

  • ASP or ASP.NET
    R RichardS

    Hi, We are in the process of upgrading a website. The focus of the website is advertising space and various other information related aspects. Currently the site is written in PHP, but most of the code does not work correctly and produces "page not found" errors. We are wanting to upgrade the site so that the advertisers are correctly displayed and rotated, etc. and to offer a service whereby some advertisers will get more viewing. We were thinking the ASP would give us the best advantage in doing this. However, for this application, would ASP.NET or ASP be better? Thanks.

    Web Development csharp php asp-net question

  • Drawing from different threads in OpenGL
    R RichardS

    Hi, I have created an OpenGL window and can draw on it fine in the same thread as the one that created the window and processes the message queue. If I move the gl code to another thread, it does not draw anymore. Does anyone know if this is possible? thanks, Rich

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    C / C++ / MFC graphics game-dev data-structures question

  • Which Web environment?
    R RichardS

    That sounds quite nice (the AJAX demos look quite nifty). I assume that the server could run ASP.NET or PHP?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Thanks, did not know that. I have been looking at the mootools site and they seem to have some nice code for this sort of stuff, so I might not need much server side stuff in the mix.

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    For the sounds of it the server side ASP.NET is the most flexable.

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Thanks for the links

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    The javascript one (as this is closer to my current knowlegde base). As mentioned in the original post, but each step has to be on a different page as each one has different graphics associated with it, mixing the graphics would cause a less nice display.

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Yeah, you are probably right, but then I would not get such great responses :cool:

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Thanks. Will this also work if the steps are on different pages?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Thanks. What is the difference between AJAX and ASP.NET?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Are there any server requirements for ASP.NET?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Which Web environment?
    R RichardS

    Hi All, I want to create a web site for taking users through a step-by-step process. Basically the user will choose an option in step 1, then depending on the option the next step will show a different set of options in step 2 (i.e. in step 1 there are options A and B, step 2 has options 1, 2 and 3. If user selects A, then options 1 and 3 are available. If user selects B, then options 2 and 3 are available). When the thing is finished it is going to be put into a normal html site as a link. My problem/question is that with so many different web technologies out there (PHP, ASP, .NET, ...), which is the best for doing this sort of thing? Thanks, Rich

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    The Lounge question csharp php html help

  • Memory type question
    R RichardS

    thanks :)

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    Hardware & Devices question hardware performance

  • Memory type question
    R RichardS

    Hi, I have been looking around at some new memory devices. Unfortunately my hardware knowledge of the memory coding is limited. I have found people using PC4200 and DDR2-800,... but I do not know how they relate to each other. Does any know where to find info on how PCxxxx relates to DDRxxx? thanks, Rich

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    Hardware & Devices question hardware performance
  • Login

  • Don't have an account? Register

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