instruction
stringlengths
34
36.1k
Appreciate your help with my questions What are conceptual requirements? How do they compare with stakeholder, business and functional requirements? what CASE tools can be used to capture conceptual requirements and scope?
I am developing an iphone app and working through some sample code I saw, which uses libz.dylib. I did some research and found nothing enlightening, other than libz.dylib could be used for zip files, but other frameworks are prefered... I'm dealing with a pdf sample, so why use libz.dylib? In general, what are dylib? A...
In bidding a complex project for a client, I wanted a way to determine their reliance upon software. They have many people doing manual entry and Excel spreadsheets power many pieces as well as legacy code and some off the shlef solutions that do not interact in any way. Its one thing to say "You need software to run y...
I'm experimenting with a naming convention I've devised and am seeking opinion. It involves the use of an "As" infix, and at this point I am envisioning it in the context of JavaScript, C# and C++ coding to assist with clarity of data format/contract when dealing with conversions or multiple representations of the same...
I am looking for a good release notes template. Possibly in a plain text or HTML form. What do you guy use? EDIT: I forgot to mention that these notes will be used internally in our company for other developers using our libraries. I am interested in what you believe a release note should and should not contain. E.g. ...
I wasn't sure if this was more suited to here or StackOverflow. I've always resisted doing web development because the technology stack just seemed a mess. It seems the web has become quite popular so I'm actually going to embrace web development, at least for a little project I'm thinking about. I'm a Microsoft develo...
I am wondering what is the default graphics engine used in Photoshop? It's great tool. And I don't know how they make it? I mean, if I want to create a simple tool like it, I will use MFC/GDI+. So, what is core to make Photoshop being great tools?
I have an interview coming up for a company operating in the financial markets. Other than generic skills like OOD, refactoring, testing and so on, what are the core areas that a financial software developer specifically needs? I can think of some obvious ones like rounding modes, differences between floating point da...
While it's almost impossible to apply for a freelance job without a sufficient portfolio/work experience, I see selling my scripts as a solution. Problem is, so far I've seen only one forum, where such trade is going on - DigitalPoint. Are there any more +/- trusted places to offer your scripts for sale?
I found a small bug in the microsoft mvc3 remote validation, concerning the clientside javascript implemented in jquerys unobtrusive javascript. The problem/bug can be fixed by adding a few lines to jquery.validate.unobtrusive.js which is bundled in the microsoft mvc3 installation. I can't seem to find a bug repository...
So I'm sitting down to a nice bowl of c# spaghetti, and need to add something or remove something... but I have challenges everywhere from functions passing arguments that doesn't make sense, someone who doesn't understand data structures abusing strings, redundant variables, some comments are red-hearings, internation...
I've always found XML somewhat cumbersome to process. I'm not talking about implementing an XML parser: I'm talking about using an existing stream-based parser, like a SAX parser, which processes the XML node by node. Yes, it's really easy to learn the various APIs for these parsers, but whenever I look at code that p...
I have 24 months experience develping .NET C# client/server apps in my profession as Soft developer. Now starting in a new company I have a probation time of 6 months. My new employeer wants to give me 6 month of time to get the MCPD Web Developer 4. If I understood the Microsoft website correctly I have to pass FOUR e...
I'm considering a project to migrate part of our WCF-based SOA over to a service bus model (probably nServiceBus) and using some basic pub-sub to achieve Command-Query Separation. I'm not new to SOA, or even to service bus models, but I confess that until recently my concept of "separation" was limited to run-of-the-mi...
I work in a small company as a solo developer. I'm the only developer at the company in fact. I have several (relatively) large projects I've written and maintain regularly, and none of them have tests to support them. As I begin new projects I often wonder if I should try a TDD approach. It sounds like a good idea...
In a typical software development environment, project closures mark the end of a project. Project records are completed and archived, resources released, issues and lessons are documented, and a formal dinner/party held for celebration. Last step is optional, though is very motivating for participants. :-) Cont...
What is the minimum software list that one should be looking at for learning C#, ASP.NET, WinForms. I do have a system which has Windows 2003 installed in it. I am looking at something like WAMP for C#.NET development. Do we have a listing? Something along the following lines Visual Studio 2010 Express Edition IIS M...
Notice how view counts of youtube videos are always laggy? For example, a video has like 1000 comments and still has 500 hits, and will have 10000 hits hours after. Youtube isn't alone in this. Most message boards are implemented that way and view counts are updated like every 10 minutes or so. Does anyone know the rea...
In your experience, what is a useful rule of thumb for how many lines of code are too many for one class in Java? To be clear, I know that number of lines is not even close to the real standard to use for what should be in a particular class and what shouldn't. Classes should be designed according to proper OOP philos...
I'm sure I am not alone in this issue so I wanted to see what others do to handle this problem. Whenever I have to reinstall my IDE, one of the first things I do is go out and look for addons. It starts out just grabbing whatever I plan on primarily doing but ends up with getting anything that looks interesting or may ...
I had a job interview today for a Job position as developer on an important site. They asked tonnes of programming language related questions, which I managed to answer without problems, but then they started asking question about how TCP/IP requests were made once I made a request on my PC to a web server. I did recei...
I've heard of TDD as an organizational development paradigm, where all developers are asked to let testing drive development, and I've also heard of organizations who don't embrace TDD so long as unit test coverage reaches close to 90 percent for the application. One thing I never hear is why an organization would set ...
Why has Python been backed by google and become so rapidly popular and Lua has not? Do you know why Lua has stayed in background?
I was recently thinking about the large variety of lisp languages, specifically the fact that while they all have similar syntax, and could all in theory be implemented from the same small set of primitive functions, the way in which one typically uses each lisp can vary widely compared to all the others. I realized th...
Programming isn't alien to me. I first starting doing markup (HTML, now please don't laugh at me) when I was 12 and a little bit of BASIC when I was 13 (I knew much about Flowcharts, Pseudocodes at this point), but then I was admonished into Biology in high school and hence missed out on "real" programming knowledge of...
I'm building a fairly complex interpreted program in Python. I've been working on most of this code for other purposes for a few months, and therefore don't want my client to be able to simply copy and try to sell it, as I think it's worth a fair amount. The problem is that I need the script to run on a server that my ...
I have created my own forum on ASP.NET MVC 3 and Razor. It's a decent forum with, say, version 1 functionality. I plan to work on other features as well after my release of this version. 1) What site apart from Codeplex can I post my application on as open source? 2) What are the guidelines I need to follow before pos...
I've always wondered how to apply agile methods really are in large complex embedded system software (100+ engineers). Firmware development has some unique characteristics that make it difficult to do agile (ie. Hardware is not available until late in the dev cycle; Once product is released, can't easily update firmwa...
I like languages that give me the ability to extend the syntax of the language. At the same time, all the languages that I know will let me extend the syntax have relatively heavy type systems. Are there lighter-weight languages that allow the same sort of syntax extensibility? Or does flexible syntax require that you ...
I need your opinions and suggestions about storing documents in a DMS system. I think the DMS should save its own copies of the documents, not their original path on the disk. So, the DMS should have its own space to write on. But what about the way they're stored? Do they have their own extension different from the or...
Well .. I am new to web development and I want to know what does toolkit independent framework mean?
My current organization has stated clearly that I should not work on any freelancing projects in the fields where the company offers their service. I agreed to that and joined the organization. At the time of joining, I also mentioned that I am a member of an NGO for last two years, not as a programmer but giving my so...
There are still groups of programmers who support old microprocessors, e.g., Z80, 6510, 68000, etc. What can we learn from old assembly languages at a time when functional programming is becoming fashionable? EDIT I imagine that there would be more to learn for embedded systems. However, assembler styles apply to a mor...
As a rule of thumb, generalisation is used only in specific circumstances. For example, when we can say that X is literally a subclass of Y. So, we can happily say that a Horse is a subclass of Mammal. I have always been lead to believe that we should use generalisation and inheritence here. If we do not have this stri...
Imagine that an unfaithful (or maybe careless) employee at Microsoft managed to sneak in three lines of GPL code into a the core of a distribution of Windows. Wouldn't this mean that Microsoft would need to publish all their source code under GPL as well? Or could they just rewrite the three lines once they are notifie...
IMHO binding a variable to another variable or an expression is a very common scenario in mathematics. In fact, in the beginning, many students think the assignment operator(=) is some kind of binding. But in most of the languages, binding is not supported as a native feature. In some languages like C#, binding is sup...
Where I work we practice scrum-driven agile with 3-week iterations. Yes, it'd be nice if the iterations were shorter, but changing that isn't an option at the moment. At the end of the iteration, I usually find that the last day goes very slowly. The actual work has already been completed and accepted. There are a coup...
It looks like K&R "C Programming Language (2nd Edition)" covers ANSI C, but another book that I'm starting (Stephen G. Kochan "Programming in C") says that it uses C99. I'm coming from a C#/JavaScript/Python/PHP/Java background and looking to round out my skills. I'm currently using GCC, but I'm curious about Clang....
Does anyone know the testing activities carried out in an Object-Oriented development project that uses an incremental approach to development and delivery?
What is it about great APIs that makes them great? I think that adhering to the "do one thing and do it well" mantra is a good sign and being is a good mapping to the problem domain is important, but what do great APIs have in common?
What language should I seek to learn if I would like to develop for Windows? Not command-line stuff (obviously, I guess) but with Windows Forms and such? I've used C before (when working with Rockbox), but that's it. Up until now, I've used Autoit (for basic, simple stuff), but I'm looking for something that has more f...
Many programmers, upon first encountering Python, are immediately put off by the significance of whitespace. I've heard a variety of reasons that this is inconvenient, but I've never heard a complaint from a Python programmer. Of course, I haven't met a lot of Python programmers, as I have spent my career in the Java w...
Possible Duplicate: Is there a canonical book on mathematics for programmers? I need your recommendation for math books related to computer science in these areas: Boolean Algebra (Boolean logic, gates, state machines, etc.) Discrete Mathematics Probability & Basic Statistics Please take note that i am self-lear...
We've 4 embedded firmware at hand. Two of them are released, are in maintenance phase. Other two are going to be released. The released product uses OKI 411 micro, where as yet to be released products are on OKI 431 micro. So far we've been compiling the code using OKI's CCU8 3.08 compiler. It supports both 411 and 431...
I'm trying to work something out which isn't quite covered in any of the other "contractor vs employee" threads. In a nutshell: Is there a natural (possibly even hard-wired and inborn) tendency for people to be meant for one or the other? A bit of background: I suffered a serious burnout over the past couple of years ...
I wanted to get your thoughts. I see build systems like scons, make, jam, ants, autotools. Why do they exist? are they something like cross platform 'project files'? Do they address another need? to me .NET has almost a standard project file (xbuild on mono can build some of my projects created by msvc) I seen makefile...
One meme about Rails is that Rails can't Scale. Is it known how this meme started? Was there a particular blog post that argued this is the case?
I think most programmers prefer to work solo on projects, even when it's not feasible. I prefer to work alone, even outside of programming projects. When working with other developers, I typically find that I don't like their formatting or conventions (such as variable or method names) I don't have a good understandin...
Possible Duplicate: How do you deal with changing requirements? This question must have been asked a thousand times but there seems to be little progress in this area: I have asked the customer what he would like the system to do, to little avail! I have asked the customer about the system that the software is supp...
I have this existing code where they have a class and an initialization method in that class. It is expected that once the object of the class is created, they need to call initialize on it. Reason why the initialize method exist The object gets created early to have a global scope and then the initialize method gets ...
I am considering open sourcing some software, but when I read the answers on this questions, it seems like the penalty of ignoring a GPL license is rather small, compared to the costs of the suing party to document that the other party has included GPL code in their proprietary code and the costs of suing. Therefore, I...
If you were putting some work of yours online (say, a research project still in development or something alike) and it had to be made available to the public, but you wished that if someone uses it, he has to acknowledge the original author (i.e. you don't want anyone pushing your research as their own) what would be a...
I work in a company that runs on a model of using one developer as tech lead (me), with an onshore co-ordinator/developer who co-ordinates the offshore team, and on the offshore team there's an off-shore co-ordinator. It sounds bizarre but it basically works. The rest of the developers are offshore. I happen to be on...
Whether an object physically exists or not, we can choose to model it in different ways. We could arbitarily use generalisation or composition in many cases. However, the GoF principle of "favour composition over generalisation [sic]" guides us to use composition. So, when we model, for example, a line then we create a...
I find that when I am trying to learn something high level I end up worrying about problems that are out of scope like how is this thing implemented etc. For example, when I am learning Python's Twisted, I end up thinking how can Python define things in such a manner and stuff which leads me to worry mostly about inte...
I'd say that we're developing software in a world where the front-end of an application is probably the most important. The increasing ability for a user to access and interact with software almost instantly in the cloud is making the first few minutes of user interaction crucial in determining whether the application ...
Are there any applications that can help me design a user interface in conceptual way?
I hope it is appropriate to ask this question here. I was going to ask at stackflow. A very general question. There are loads of ecommerce web based applications about, such as prostores, eshop, exactabacus.com etc. It appears a lot of them already have atemplate ready (with few options). I am just wondering if there ...
For the sake of simplicity, my question is focused specifically on Wordpress instead of focusing on all Content Management Systems including Joomla, Drupal, Concrete5, or you-name-it. Wordpress is becoming ever more popular. You can extend it's feature set with widely available plugins or you can simply design your own...
I'm thinking about using the basic mechanics behind the D20 system royalty-free, however, I'm unsure if the OGL allows that. Any thoughts appreciated. And if I can't use the D20 system royalty-free, then any suggestions on other well tested systems appreciated as well.
I got some projects at home, and I want to get them done already. I was wondering, is it common to use project management for this? Even though it would only be for me, do you use some kind of project management for personal projects?
I’ve been working on something outside of my day job and they have asked me if they can use it. It is a closed source project, but I don’t mind giving them the source code; but I definitely want to retain the intellectual property and any improvements they make. Is there a prewritten licence I could use for this? Has ...
Is there any data on which paradigms allow for code which is easier/cheaper to maintain? Certainly, independantly of the chosen paradigm, good design is cheaper to maintain than bad, but there should probably be major differences coming only from the paradigm choice. Unstructured programming, for instance, generates ve...
Are the words "wrapper" and "shim" more or less synonymous, or is there a distinction, perhaps connotative?
Stack-oriented programming is a pretty non-widely used paradigm (well, PostScript gets used under the hood a bit here and there). This in mind, what problems are stack-oriented languages good at? What would they do better than [paradigm] does? Also, for what problems are they a bad choice? Is stack-oriented programming...
I need lots of training in SQL coding in MS SQL server The following part that is needed to be improved is: script T SQL Procedure Function Problem: Where can I get material to improve my ability in SQL coding? Is there any website for downloading a database with different task/assignment and solution? Where shoul...
So you're fixing bugs, then you encountered one that could affect other modules of the software product. Your data is not enough to support your claim about the effects of the fix and you were asked to create an impact analysis document. Is there a defined process on how to do this? What are the key information needed...
I am going to develop iPhone application for clients, for fixed project cost. After that I will help maintain the application by charging a service/support fee. Questions: What should I put into the contract? Any samples I can use for reference? Do developers normally give their source code to the client? And what...
In my team, everyone would like to do everything, including backend, frontend, middle layer. I told them that we should divide the work according to roles and area of expertise. What are the pros and cons of dividing the work vertically (each user story is done by the same person from the back end to the front end) ver...
A few days ago, StackExchange member Anto inquired about valid uses for bit-wise operators. I stated that shifting was faster than multiplying and dividing integers by powers of two. StackExchange member Daemin countered by stating that right-shifting presented problems with negative numbers. At that point, I had nev...
A 'friend' of mine asked me to write a complete CRUD system with AJAX for him for free. What should I do? Technically, its bread and butter for me. However, I am wondering if I should get paid for it. I mean it's a commercial project. On the other hand, I was thinking that I do not care if he pays me. Do what ever you...
I'm a .NET developer and mostly builds GUI's but of course also pure C# due to architecture and database level needs. To me, developers of games in discussions often being simply referred to as "gaming developers". I find that a little too shallow and I'm curious what a "gaming developer" really stands for. What wou...
I'm currently in the process of developing a REST service that will be consumed by an iPhone app. Basically, the service wraps existing business logic. This business logic is written in c# and I'm writing the service in c#. From a purely curious point of view (not this project) my questions are: What other languages a...
We have a multilingual website in which a bug was discovered some days ago. It was displaying other language data in other language and also the mixture of data like English language was selected but it was displaying other language data as well in the page and vice-versa. It is doing it infrequently but is present in ...
How useful are compile time functions? Personally I haven't worked in any language that supports them but they seem nifty in some cases. For those who don't what I mean, a compile-time function is evaluated at compilation rather than at runtime, so if you have for instance in your code int i = Pow(4,34); you could ...
We are trying to develop a website that automate an organisation process. This company, let's called it Acme Limited, usually ask their clients to submit paper form and have the clerks to manually enter those form into the internal system. At the moment they have 60 clients across the state. Now, Acme Ltd wants their c...
When you begin a new project/function/object you mostly have an idea of the model you want to build. It can be based on the clients' wish, on your ideas for the app or whatever. In the middle you often realise that your model will not work. There may be new requirements, you didn't think of something etc. Then you have...
If a prospective employer told you they "outsourced bug fixing because developers hate fixing bugs", What would you think? What might be your concerns?
Note: this is from the spring of 2008, thus ancient in rails land. (The title for this probably isn't as good as it should be, I cannot think of a better one) I am about to revisit a startup idea and my platform of choice is Ruby on Rails. I've also recently started re-reading the book "Enterprise Rails" which sugges...
How should I keep up to date with the ever-changing Rails community? I have been trying to learn Rails off and on for a year now and the brick wall I keep running into is the fact that I'm trying to balance learning most of the Rails' community best practices and they keep changing direction. For example, I obviously ...
I have a bug in my application that I'm building. I asked a question on S.O. and one of the users asked me to post or send all the code to him so he could look at it. I totally understand the request. It is valid and understandable. However, I'm having doubts on if I should. Obviously, I give him/her the keys to th...
Historically I've been able to get away with making small changes to an in-house helpdesk system riding on a LAMP stack and just making a backup prior to editing. This has no user acceptance / testing phase and I work on the live .php files directly. However now the requirement has arisen that will require a bit more c...
I was looking at Project Euler Problem 48: The series, 11 + 22 + 33 + ... + 1010 = 10405071317. Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000. In Python I can do this with a single line : sum((x**x for x in xrange(1,1001)) But the assembly equivalent of this would be 100 lines and a real chal...
I wonder how many .NET developers have a working knowledge of CIL and where it has been useful to them. In case you are missing my meaning, here is a simple CIL example to add two locations together: ldloc.0 ldloc.1 add stloc.0 // a = a + b or a += b;
My company asked me to set up a personal goal of improving time management. This means keeping up with time reporting, revising estimates and being responsive to email inquiries. Of course, I have read books on the topic and have tried numerous systems. I just get absorbed in coding to the exclusion of administrative ...
When drawing out quick class diagrams, I'm often at a loss how to represent classes that are used just to pass data around between various parts of the program. I've been putting them out in the middle of nowhere, so that other people can see what the class in the parameters/returns is. Is this the correct way to do it...
I've done a google search on both of them, can't find much information. I was wondering what is a logical subsystem and physical subsystem (in an object-oriented system)? Also why would it be useful to keep the two separated?
I have heard of security firms who consult on the security of a clients systems. All of the people I know in this field are network engineers, but I know programmers get involved in security as well. What do security programmers who perform audits/consulting actually do? Do they literally go through the codebase looki...
Possible Duplicates: I still can't figure out how to program? I'm graduating with a Computer Science degree but I don't feel like I know how to program I don't known if you guys have super brains specifically for programming but I would like to know how you do manage to learn, understand and apply Java programming. I...
There is a feature that has already passed acceptance testing, both internally and by the customer. It is a fully working feature. However, there is now a request to exclude this feature from an upcoming release. According to the customer, this feature should be removed because the users have not been trained on how to...
Should you use "internal abbreviations/slang" inside comments, that is, abbreviations and slang people outside the project could have trouble understanding, for instance, using something like //NYI instead of //Not Yet Implemented? There are advantages of this, such as there is less "code" to type (though you could use...
I'm wondering if there is any benchmarks which can help to understand real-time characteristics (response time) of non-real-time software. For instance C# application on Windows or MSSQL Server. I know that Windows is not real-time OS, however it does not prevent us to use it in Real-time system if there some addition...
I have an application built in WPF and VB.net. It works on several Windows XP computers that I've tested it on, however, my animator's computer doesn't seem to like it. At first, the program would work up to a certain point, where the program would play a video. However, as she was missing the codec to play the video, ...
I started a project repo on codeplex and haven't publicly published it yet. I realized that the name I gave to it is not appropriate and would like to change the name of the project before publicly releasing it (they have a 30 day deadline). The name of the directory that hg clone needs, i.e., dirname in https://hg01.c...
Consider a somewhat contrived model that goes something like: class Player { public int Health; public int Ammo; public Weapon CurrentWeapon; public PhysicalState State { get { if (this.speed <= 0.1) return PhysicalSpeed.Standing; /* and so-on ...
I have a situation where I have three requirements: Lazy initialization - don't create the collection until asked for it Caching - keep the collection in memory on the object Reinitialization - be able to reinitialize the collection when desired, instead of simply getting the existing results. This is simply an optim...
Let us say that person "A" mentioned an idea for a software project on the web (ie. in a forum). Person "B" sees this idea and implements it. Can person "A" claim ownership of the idea? Has person "B" done something illegal by implementing the idea that person "A" posted?
I'm a software engineer in an software development team. The last 3 years we worked for an internal customer on a new product. Now this product is finished we're going to work on major new features for existing products. For a particular feature, product management have guessed it takes 150 hours to develop. Together w...
We are reviewing our JEE web application for some planned refactoring and one of the suggestions is to replace log4j with logback or slf4j The team is not clear on whether we should do this - because currently we want to follow if it ain't broke, don't fix in this area. Edit: I'm not asking for a comparison of the logg...
I'm developing an ipad app for managing HR attendance, so the idea is that the staff come to the center, choose their name from a table, and write down their personal id, for the time they come and the time they leave, still evaluating for the requirements if they want the time automatically saved or the staff write t...