instruction stringlengths 34 19.9k |
|---|
I'm currently building a tool that my company intends to sell. I'm the sole developer on the project and it is being developed outside our normal code base and to a certain extent outside our normal process.
I'm trying to put together a checklist of items to check before I deem the software ready to release for testing... |
I would like to know about people's experience of working with APEX and the SalesForce.com platform, was it easy to work with? How similar to Java and C# is it? What did you like? What don't you like? Would you recommend it? Do you think cloud computing has a long term successful future?
My reason for asking is that I... |
Possible Duplicates:
When is a BIG Rewrite the answer?
Have you ever been involved in a BIG Rewrite?
I am at a customer where I have been tasked to fix a number of issues they have in their existing systems. These systems are all quite old and was built in older technologies to really low development standards.
All ... |
I am developing an application that, when bought, can be activated using a license.
Currently I am doing offline validation which is a bit troubling to me. I am aware there is nothing to do against cracks (i.e modified binaries), however, I am thinking to trying to discourage license-key pirating. Here is my current pl... |
I have close to 3 years experience writing web applications in Java using MVC frameworks (like struts). I have never written multithreaded code till now though I have written code for major retail chains.
I get a few questions on multithreading during interviews and I answer them usually (mostly simple questions). This... |
I was pretty excited while creating one of my apps but as it turns out you can't actually sign up for Google Checkout if you don't live either in the USA or in the UK. And since Google Checkout is the only way Android Market will pay you, all my efforts seem to be going in vain. So because I live in India, I can't sell... |
Can you recommend a design pattern/approach to exposing/tolerating/recovering from system errors, Exception handling (Java, C++, Perl, PHP)?
Some errors need to be reported.
Some errors can be handled internally (by a retry or are inconsequential (can be ignored).
How do you structure the code to catch them?
But all er... |
In discussions about NoSQL vs SQL databases, I sometimes hear that companies prefer to use schemaless NoSQL databases because it is problematic to migrate the schema to a new version. But is that really a big problem when doing upgrades? Are relational databases bad for such operations?
I read this blog post on the Mon... |
What is the proper approach to functions that have side-effects in Delphi/Pascal?
For example, I could have a boolean function DeleteFile that returns True if the file was deleted and False otherwise. How do I collect the return value?
1) The very explicit form would be:
if DeleteFile(MyFilePath) then
begin
IsMyFile... |
I recently had a negative experience, where client bailed from the bill, but my middle-man already uploaded our software and design to the clients server. Client turned out be a known criminal, and of course he changed all possible passwords of the server.
However, I can still access the admin-panel of the CMS. Sadly i... |
I work in an organization which creates many integrated systems products - i.e. it is complete products with mechanical/system/electronics/software being designed and manufactured. At the moment most teams are organized around projects in a cross functional way. The advantage of an organization like this is that peop... |
My company is looking to develop and release an open source software project along with a proprietary enhanced version, similar to pre-4.0 VirtualBox.
What is the best way to maintain the two code bases such that changes to the open source version can easily be incorporated into the commercial version with minimal ris... |
When deciding what to work on for the next release, and estimating timings for each user story (and sub tasks for a given story), do you guys do this in a group or just managers?
For a team size of 10, is this practical?
How long does it take?
|
I'm starting to study a project that mainly will allows users to make payments from their iPhones or Androids. Since I don't have e-commerce experience and also I have never owned a smartphone, I ask you to give me some orientation on what is important when heading this kind of project.
What is making me doubt
Is it p... |
An e-commerce application I used to work on used a decision tree and a rules engine for each node in order to determine if a customer qualified for certain discounts.
The problem was that every promotion tree had to be evaluated, so the more promotions the client had the slower the evaluation became.
This was a big p... |
I have little knowledge about the subjects of compiler construction and parallel programming, so please bear with me. This is a course about compiler construction, and we are asked to learn CUDA while taking the course because the professor would like us to write a compiler for a simplified language. That compiler is s... |
Has Microsoft made any indication of WinRT's current or future relationship with server development (such as ASP.NET)?
While it's been made clear that WinRT is the intended future of Windows UI programming, it also includes a substantial library of common features like networking and data processing (like JSON). If the... |
I work for a small product based company. We are about to re-write our existing product from scratch. We are planing to adopt Agile methodology for our development. Now my question is as we have all the requirements even before start of project (as we are re-writing the existing product), is it worth to dive into Agile... |
Mike Cohn in Agile Estimating and Planning, page 154, defines a "natural order" for implementing user stories - this, according to him, is a intuitive sequence that makes sense to both developers and the team. I understand and endorse this idea.
Though, I am having trouble letting go the concept of "critical path"; I s... |
I'll try to keep this as much language agnostic as I can but I'll give the examples in C# since I now know how to solve it that language.
The question came to mind when I was thinking of how could I instantiate many objects of the same type.
Lets say I wanted to create one rectangle, I would do:
Rectangle rect1 = new R... |
As a developer on the Windows/.NET stack, it's pretty normal for the company-supplied machine to come with Windows (usually an ancient, archaic version like Windows XP) and a stack of software pre-installed as part of a Standard Operating Environment.
In companies building software on the Java/Ruby/PHP/C stack using L... |
I have notes about various methods of prototyping, and I found several definitions on the Internet, but I would like to confirm what I learned.
I understand that throwaway prototyping is developed from an outline of a specification, an various prototypes are delivered and modified until the client is satisfied with its... |
In my line of work I deal with very large files, hundreds of Gigabytes in size. The nature of the data in these files is such that compression would greatly reduce their size. The problem is, the records/data packets within the file must be individually accessible.
Is there a way to apply some home-grown techniques t... |
The problem with trying to use Google to find tutorials or answers for the C programming language is that C is not an expressive enough name to narrow down the searches. Even coupled with keywords like "Programming" and/or "Language" yields results mostly for C++, C#, and Objective-C.
Is there a way to more effectivel... |
Let's say version 2.4.x of Software Package X was released 2 years ago, and was sold up until about 6 months ago. Version 3.1.0 is now out (which fixes a lot of the issues with version 2.4.x), and is the only version actively being sold.
In this case, the software is being sold to large businesses, not individuals, so ... |
I have an array of floats, sorted from smallest to largest, and need to be able to pick out the nearest float greater than or less than a passed input value. This input value is not necessarily present as a value in the array.
A naive approach would be to do a simple linear search through the array. That might look l... |
How could I draw the database transaction commit in the sequence diagram?
EDIT
I want to draw in sequence diagram database transaction commit/rollback process
|
Possible Duplicate:
Why isn't the line count in Visual Studio zero-based?
Why isn't the top line in a source code file labelled line number 0?
i.e. in a source file which was 10 lines long, I would expect line numbers would be 0-9, but they're not! Now grep, awk, sed etc all seem to number from 1, so I'm assuming... |
Are there any major differences when we talk about "socket programming" compared to "network programming"?
Are there some topics that cover "network programming" but not "socket programming"?
|
Usually microoptimization is considered not worth it with the following explanation: it might speed up the program by less that one percent, but noone cares of that minor boost - that's just too little of a change to be noticed.
Furthermore, there might be some event handler that fires one thousand times per second and... |
So I recently came across this question - Make a function that converts a in-level-order binary tree into a doubly linked list. Apparently, it's a common interview question.
This is the strategy I had - Simply do a pre-order traversal of the tree, and instead of returning a node, return a list of nodes, in the order in... |
We will be starting a new project which will involve training all the .net developers in Java (frameworks/ECO system etc). We have a lot of code written in C# and it seems that all of this will be wasted as we have to re-write it all in Java. The problem I see is that the first year or so (probably 2 years) we will hav... |
I'm writing an API for an open source network monitoring system which is licensed under the GPLv2. I also intend to open source this API but would like to license it under the BSD License.
I don't re-use or link to any of the code in this system and I don't use any header files.
I will not be re-distributing any part... |
I have an ASP.NET MVC application, that uses a query service to get data and a command service to send commands. My question is about the command part.
If a request comes in, the command service uses a command dispatcher that will route the command to its designated command handler. This command handler validates the c... |
I wanted to get your opinion on best practices for getting user input while doing something in a controller. I am inside a Action method in my controller and I am processing some data. The data may force me to ask the user for further input, based on that input I will then do something with that data.
What is the bes... |
I have been trying to get my hands dirty with ASP.NET MVC which looks pretty good (I am not certain, but some users say that even StackOverflow and other StackExchange websites made use of it). The tutorial I am following is from asp.net, named MVC Music Store. It's a pretty fast paced tutorial and a good one too. The ... |
I've been following these organizations (institutes, entities, whatever) for near 3 months now, and both of them claim that they're trying to make the Internet a better place. They're creating documents under the name of RFC (for IETF) and Recommendation (for W3C) to guide others.
Yet another organization called WHATW... |
I know that Subversion (what we're using at work) can be configured to require comments on commits, however I'm not in a position of power to simply turn this on. I know that my reason for commenting my commits is because it is useful, if only as a memory-jogger, to quickly understand the reason behind the commit. Ho... |
I'm currently working on a project that uses a Webserver running in Windows CE 6.0. Since this server only supports classic ASP (i.e, no PHP, ASP.NET, etc.)/ I plan to use XML as the database.
Is this the best approach, or there is an easier way to do this, taking in consideration that I'm used to work in C and not hig... |
I'm working on a project where multiple (several hundred perhaps) users will need to run an application remotely. We thought that running a web app would be the best course of action to go. (Note: when I say web app I mean a program where a user can type in a URL that will then allow the user to run the application w... |
We are using Cucumber in our application after we previously used Selenium. Cucumber is far better than Selenium, but it may seem to be complicated since has to write gherkin, step definitions may be page objects.
We are using Celerity with JRuby. The flow is: 'gherkin' calls 'Step definition' calls 'Page objects'. ... |
Its a general title for the question but I have a couple of questions for the Sprint in a SCRUM methodology.
What happens if a HOTFIX comes in the middle of a sprint. e.g - The website crashes or some part of the site that hasnt been worked on for quite some time crashes (like creditcard authorize or webservices etc).... |
Possible Duplicate:
Why are interfaces useful?
In our company we have a service oriented architecture in our asp.net application. We use interfaces for every crap class. Its a huge overhead. The service classes, dataprovider classes etc... they all use interfaces but practically we could also go without those interf... |
It's not entirely uncommon in IT that programmers are added to an existing project somewhere in the middle, or closer to finish.
Unfortunately, I've seen that people quickly get disillusioned and leave the job.
So, is there an actual problem? If there is a problem, is there some research in or are there best practices ... |
I'm on a project right now that is using the scrum methodology with 2 week sprints. Here's what our team looks like:
1 business analyst
1 tester
1 user experience designer
2 developers (1 for the UI and 1 for the back-end processes)
1 project manager
In a single sprint, we'll have 1 product backlog item (PBI) to des... |
I have a relatively simple web application that is written in Python using the Flask microframework. I've really enjoyed Flask's ease of use, however, as the app has grown larger it has started to become unwieldy having all of my actions (and utility functions) in a single file. My views.py is about 700 lines of code a... |
What are the typical challenges that arise when converting a single-tenant app into a multitenant app? Security and data isolation strike me as the most significant. What are some others?
I'm one of the architects for a fairly significant automation effort, and historically it's just been our company using it. We want ... |
So, I've finally gotten myself to a point where I'm comfortable enough with Python (using Pyramid as my framework of choice) to undertake a rather large personal project. As it's a personal project, I have the luxury of taking my time having absolutely no deadlines other than self-imposed ones.
I love learning new fram... |
Does anyone know what the collective term for shaking a device to achieve something or using the accelerometer of a device to do something is? Is it haptic technology?
|
Recently I've finished learning about multithreaded programming on single shared objects, but was curious about how different things would be in order to successfully program on multiple shared objects?
|
I've been tasked to create a mobile application as well as an accompanying website. Both the application and website will interact with the same database. To make things easy, I figure creating an API would be best that way I can separate it out from the mobile application and website.
Would this be the preferable met... |
During development, should developers each have their own copy of the database to work on ? Or should there be a common shared development database ?
The former will give developers more flexibility. For ex., they can run their own regression tests during development and unit testing without worrying about corrupting t... |
In my opinion, the unit test cases itself serve as a documentation for the code. My company wants me to write detailed java doc comments on top of unit test cases. Is it necessary to do so? Do you write comments like that ?
|
I have been watching answers to many questions on this site, and have come to the conclusion that commercial pragmatism does not factor into many software development discussions. As a result, I seriously wonder at the commercial skills within the industry, specifically the ability to deliver projects on time and to a ... |
Today with the modern hardware and memory coming cheap, how much sense does it make to spend effort to analyze algoriths or data structure complexity?
Wouldn't it be better instead, to focus on clean, maintainable code, readable code than on optimizations for complexity?
Note:I not talking about embedded systems or sys... |
We have written close to 3,000 tests -- data has been hard coded, very little reuse of code. This methodology has began to bite us. As the system changes we find ourselves spending more time fixing broken tests. We have unit, integration and functional tests.
What I'm looking for is a definitive way to write manageable... |
I have been asked by my local Association for Computing Machinery chapter to give a lecture on Android development, and while I already have some topics to cover, I was curious if the community of SO had any suggestions of things that would be interesting to hear about.
Thus selected:
OpenGL
Using hardware features (c... |
Do people develop websites from scratch when there are no particular requirements or they just pick up an existing web framework like Drupal, Joomla, WordPress, etc.
The requirements are almost similar in most cases; if personal, it will be a blog or image gallery; if corporate, it will be information pages that can be... |
I was just pondering about php rand() function, and thinking about how I could remake it, and I came up completely stupified.
How do random number generators work?
|
I'm a bit confused with the performance guarantee and complexity of selection sort.
I checked through internet and the complexity of selection sort is O(n^2). This O(n^2) is in terms of time complexity, am i right?
So how about performance guarantee? Is the performance guarantee in my case measured in terms of swappin... |
In the 5/15 minute scrum meeting the 3 questions are asked.
For the last question
"what impediments are getting in your way"
If a dev has problems - the xyz is going to have problems, this is likely going to draw the meeting out past 15 mins and could go into a hour long discussion.
Is it the scrum masters job to help ... |
I've been thinking recently about how and where I keep my code - I work across multiple locations, with at least three different computers and I'm considering how I manage my code across these machines.
I've got a dropbox account, which I use. For non sensitive files this is fine, and I do keep some sensitive files i... |
Browsing through some code I've written, I came across the following construct which got me thinking. At a first glance, it seems clean enough. Yes, in the actual code the getLocation() method has a slightly more specific name which better describes exactly which location it gets.
service.setLocation(this.configuration... |
I'm new to MVC and I'm not using a framework (and I'm not going to).
I'm designing my new web application using MVC.
I have the user input received in Controller. Suppose I have form data and an action to do with it, which can be "insert", "delete" or "update".
Must I have process that action in Controller or in the Mo... |
Is it beneficial for a developer to become a 'scrum master'?
Is this an official certification or just someone who specializes?
What are the steps towards becoming one?
|
re: Applications Architecture, that is, "the science and art of ensuring the suite of applications being used by an organization to create the composite application is scalable, reliable, available and manageable."
When looking at a range of applications in an organisation, I can see various reasons for merging apps to... |
How should I document my designing of the app better so that I avoid programming by coincidence? How can I structure notes so that it is clear how an app works so that when I refer to it a year later I'm not lost for the first 3 days?
|
Long and short is really in the question title. For a language which compiles to an intermediate language like MSIL or Java byte-code, if there's concern about something like reverse engineering or hacking to disable security features, should AOT (ahead of time) compilation be considered rather than just obfuscation? ... |
I'm working on a program where part of it will be working as a chat between different people. I'm trying to figure out the best way to send and receive messages.
A PrintWriter or something similar won't work because the process will stop at the read() method while waiting for a message to be sent to it. I'd like to che... |
Say you are given a mock-up of 25 screens of the visual states of your application. The expectation is that this is enough for us to be confident we can develop and hand it to the original stakeholder or customer as a finished application, and they will be satisfied. Naturally, you're going to end up asking the stakeho... |
I've heard that you shouldn't let search engines index your development server. The reasons given were:
Duplicate content penalties
Customers making purchases from an unsecured domain (if eCommerce)
These issues may seem relatively minor and I'm not sure it would be enough to convince someone to put in the effort to... |
I hear the usage of manifests in various ways but never have had the need—to my knowledge—to use one. What are they and how are they used?
EDIT: I'm curious about manifests in general with any language.
|
In a typical scenario, an object that needs to be persisted in the database will be created in application code without an identifier, and later saved to a table in the database. Some database construct, such as an identity column, will generate a new identifier, typically an integer that's unique for all of the rows ... |
JavaScript libraries such as jQuery, combine 'getters' and 'setters' in the programming interface for example:
$('element').css({'color','blue'});
will set the color or
$('element').css();
will get the css for an element.
Is there a name for such a pattern and is it a good practice to use in applications?
|
I'm adding a click-tracking feature on my website to track click-thrus for my advertisers.
So, on my site, instead of having a direct link, I link to my re-direct page passing the destination url as an argument. This re-direct page then tracks the click thru and then 301 re-directs the user to the correct external url.... |
A quick and dirty definition of User Story:
"As a <role>, I want <goal/desire> so that <benefit>"
In this commonly accepted definition there is little space for defining business rules, constraints or user input.
Trivial example just to illustrate:
"As a <librarian>, I want to <register new books> so that
<students c... |
I want to develop a 3d environment to be used for meetings and other such functions.
Each attendee could log in with a customized avatar and could collaborate and discuss via voice and text chat. I would like to add in multimedia content features as well into the environment.
I need help regarding platform selection pr... |
Basically, I have an application that does searches and requests results from a backend via long polling. It connects to the backend which collects results for 500 ms then sends them back to the client (I'm simplifying things here a bit of course). As we've optimized this, we've noticed a growing divide between users... |
I program in a style that everything it's expensive or I really do hate repeating anything, mostly because I develop for embedded systems. So I get very annoyed when I have to do something that causes repetition.
An example would be that in my current project, I am creating a Layout Manager. I had this huge function th... |
Are there any testing-related methodologies except TDD/BDD? I see a lot of people who practice their own testing approaches (e. g., see Ayende post), but I don't see any formalization for it, no naming for these approaches.
|
I'm curious what is considered the standard today for use as the Collation of MySQL Tables?
I was told that Latin-1 was the best choice when I was beginning with MySQL, but came across this post from 2009.
It states that US-ASCII and LATIN-1 Character Sets are on the way out, and that UTF-8 is on the way in and should ... |
I currently have a distributed application that runs on multiple embedded PCs. The whole application is composed of one master server and several nodes. Each node is an embedded PC that runs Windows 7 Embedded and has a dual core CPU with 2GB of RAM.
The application (by definition) only works if the master is up and ru... |
Let's say there's a successful open source application (written in PHP if it matters), which provides its users with multiple ways to extend it (think about something like Drupal or Wordpress, lots of custom plugins, etc.). Now let's say unfortunately there's no formal definition what constitutes the public API for thi... |
Today we were training TDD and found the following point of misunderstanding.
The task is for the input "1,2" return sum of numbers which is 3. What I have written (in C#) was:
numbers = input.Split(',');
return int.Parse(numbers[0]) + int.Parse(numbers[1]); //task said we have two numbers and input is correct
But oth... |
I'm developing a CRUD application on command line for a non-tech client. What's a simple (for both parties) way for me to demo the application remotely? A middle-ground between SSH (easy for me) and setting it up as a webapp (easy for the client) would be great.
|
I'm developing a website using Joomla and many other 3rd party plugins and also I want to make some custom components so I'm hiring some freelancer developers and few are an online companies they say located in UK or somewhere.
After explaining them about the component's functionality and layouts they are requesting ac... |
I'm not asking where to learn. I've found lots of good resources online, and books etc.
But how the heck do I tackle them. Where is the start of it, the end? When does the regexp processor advance on the text, when does it hold its stand and tries another match? etc.
I feel like trying to figure out hieroglyphs on the ... |
Till now, I have had the experience of developing either a desktop application or a Website. But, with this Hotel reservation system, I am interfacing a problem that needs both.
The application needs to be fulfil the following requirements :
Manager can do the bookings/checkout of the incoming customers at the recept... |
In the CustomerTransactions entity, I have the following field to record what the customer bought:
@ManyToMany
private List<Item> listOfItemsBought;
When I think more about this field, there's a chance it may not work because merchants are allowed to change item's information (e.g. price, discount, etc...). Hence, thi... |
My team is composed of 4 developers; all seasoned and skilled. One of them is a wordy, well intended chap who insists on defining the technical solution to our stories before we put down our estimates with Planning Poker. He refuses to estimate if he doesn't have a rough idea of the agreed technical solution (which sou... |
When one writes an open-source project and uses Google Code or GitHub, and wants to use a library like Lua, how should one do this?
Should the dependency be included in the repository?
Should the dependency be built from within the same build script as the rest of the project, or from a separate build script?
Given t... |
My Android Activity contains multiple buttons that all need an OnClickListener. I've seen lots of different ways of doing this such as::
Implementing the interface in activity class
Creating a separate class that implements the interface
Defining an anonymous inner class for each button.
I've seen many examples of e... |
I'm looking for an open source license that lets people do whatever they want - just like the MIT license - just as long as they attribute the original author, i.e. me.
Does a common license exist for this? If so, what is it?
|
A core part of Domain Driven Design is the consistent use of a ubiquitous language across the system - in conversations, code, database schema, UI, tests, etc.
I'm involved in a project in which there is a well-established domain language already, defined by an international standards organisation.
However, the work we... |
And then to automatically re-indent after that? I've tried copying code from one terminal screen to the other, but the tabulation got all messed up.
I didn't know what to call this functionality, so it was hard for me to find it on google (which generally returned things related to how to set tab size, which wasn't wha... |
I am writing a multiple-filed program right now, and apparently running only 'make' (as one would intuitively think needs to be done in most situations) for some reason causes my program to fail. I guess I can provide more detail of the problem, but the important thing is that it does run when using 'make clean'. So I ... |
I am writing an iPad application. The main view of the application will be a PDF. I have made considerable progress in parsing out the contents of the PDF.
The application will also have at least two "side views". These side views may or may not themselves be driven by PDF files. That is part of what I am trying to... |
Are there are any specific rules and regulation to follow while developing a custom membership provider. Like, implementing a particular Interface or Abstract class. Or a definite model architecture to follow.
If yes, then what are the rules or I am free to design, model and code anything ?
|
I'm curious after reading today about a minor code leakage from a large project to some blogs & forums (to say it short: the guys forgot to anonymize the code before asking for help), all detected and (angrily) complained by the customer who reasonably wanted to protect the IP they paid for.
First of all, I know it's a... |
During TDD training based on medical software case we are implementing the following story: "When user presses Save button, system should add patient, add device and add device data records".
The final implementation will look something like this:
if (_importDialog.Show() == ImportDialogResult.SaveButtonIsPressed)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.