instruction stringlengths 34 36.1k |
|---|
I'm a graduate in the electronic & telecommunication field, but working in a software company. I want to continue in this field and going for Masters in it. Can you recommend me some of the best books on software engineering, which cover almost all the topics in software engineering.
I am not looking for books about co... |
We're working on a kind of CMS, a fast, hosted, centralized website builder like Weebly. We also use Scrum development model. But there seems to be some problems here. Our sales manager always come to us, complaining about the design of the application, or UI elements, or stuff like that and hinder development process ... |
While implementing a flash game portal I decided to "component-ize" my views. The repeating elements were a no brainer and the templates for these were placed in elements. I pass through data from the controller to the element via the view using the Html helper.
This is all working fine, and except for a very minor... |
I have recently started working in a team where there is no version control. Most of the team members are not used to any kind of version control. I've been using mercurial privately to track my work. I would like to encourage others to adopt it, and at the very least start to version their code as they develop changes... |
Many of my Java books are 5 - 10 years old. Does it still help to read them, or should I use something within 2 years.
|
For distributed applications, emphasis mine:
Where classic software systems of the past century were mostly based
on Client–server models and Client-centric application development,
both ultimately run on one single computer, be it the client computer
or the server.
I understand what client-server models are, ... |
I am working on an application in C# and I am having some extreme difficulty solving this design issue.
Basically the application allows users to create cook books. A user can click "new book" and the application will create a book with a given name. Now the user is allowed to add "recipes" to that book. The user can s... |
I have two team members who come from backgrounds that differ from what they're currently being asked to do: how can we encourage them to step up, develop their skills, and learn the new ways?
|
When developing software, I often have a centralised 'core' library containing handy code that can be shared and referenced by different projects.
Examples:
a set of functions to manipulate strings
commonly used regular expressions
common deployment code
However some of my colleagues seem to be turning away from this... |
In software engineering, what's the name of a development process like the waterfall model, but with more cycles? Does something like this exist?
In my case, I developed the parts of my application separately and went through all the steps in the waterfall model (requirements, analysis, design, implementation, testing)... |
I'd like to know what experiences others have had telecommuting full time? What software tools and processes helped maintain cohesion and maximized collaboration & productivity?
|
I am working with ASP.NET Application. The application is great and works fine but it a few flaws. To give you an example,
Every control uses an absolute position layout. This makes working with code very difficult in design mode. Absolute position has been used more than 700 times in the code.
There are different men... |
OK, I was pondering this today, and I've come to ask for completely subjective and bias opinions on it. Paradoxically, despite this, I don't think it's flame-war fodder either. I think there is room for perfectly civilized conversation -- It's hardly Vim vs Emacs.
I've used a lot of concurrency abstractions, specifical... |
I go to a university where students are allowed to make their semester schedule based on the information about the subjects they are going to take, that is, the hours that the courses are available, the professors, and the remaining room for other people. Making these schedules by hand was a very difficult/boring task.... |
I always want to try some pair programming especially with the one who is more experienced programmer than I am. But how can it be done? Are there any websites where people can collaborate and find partners or something else?
|
I'm working at a software consultancy that a has a lot of volunteers available for about a month and a half at a time (when we're between projects and learning things) and we'd like to start contributing to open source projects that have a positive social impact. Any idea which projects we can look at?
The constraints... |
I would like to learn about reverse engineering, but I'm little bit confused with many different assemblies. So to say... Let me explain!
Everytime I start reading assembly tutorial it states it is for MC8600 or x86 or some other CPU. I found here explanation why there is so many assemblies. And I found here and here s... |
Possible Duplicate:
In plain English, what is recursion?
What is the best way to explain "Recursion" to 8 years old kid?
I tried with the Fibonacci Series but i failed.
|
what is a NPR syntax, from what i have gathered from internet, i have come to conclusion that NPR is a performance related database. Its based on NPR database
Given that what i have gathered is correct, how do i extract data from this Database, what language\Tools should i be using?
|
I work on a small team, around 10 devs. We have no coding standards at all. There are certain things that have become the norm but some ways of doing things are completely disparate. My big one is indentation. Some use tabs, some use spaces, some use a different number of spaces, which creates a huge problem. I often e... |
My company has grown seriously over the last years. Until a few years ago we could work with 1 agile team and everything went quite smooth. Now we have multiple teams, all working agile and things go less smoothly as we would hoped.
One of the main [psychological] problems is how to organize the working methods in th... |
I am asking in the context of the licenses on code that one sees all over the place. Typically, they say something along the lines of "if you release a product containing this in binary form, it must contain X, Y, and Z."
Does that mean that if I use the code in an app, the app has to have a screen somewhere that cont... |
I already have knowledge about basic algorithms. Now I plan to study more advance algorithms and I decide to go with Introduction to Algorithms.
I'm not sure, do I need to refresh my math's skill before read this book or not? (I forget almost math that I learn in high school and college) If this book need strong math k... |
I'm new to OOP, having been a procedural programmer for many years. I'm learning iOS development in Objective-C and could use some clarity on when and how objects and properties are used.
Say I have a view controller, MyViewController. Within that is a UIView, MyView, with a property, viewProperty.
How do I reference... |
I'm bashing around a few ideas for storing usage data (similar to google analytics) for some Javascript products that we are working on.
Unfortunately as yet we don't quite know 100% what data we want to store and only have a basic idea of the metrics we want to glean from it.
My thinking is that basically we want to s... |
I work on a pretty old application which was converted from DOS and flat files for storing information to Paradox tables using the BDE then to MySQL relational database.
The older devs say that the reason they have no idea how to properly create a table in 3nf is because their code predates relational databases and th... |
I must be missing something.
The cost of employing a programmer in my area is $50 to $100 an hour. A top end machine is only $3,000, so the cost of buying a truly great computer every three years comes to $0.50/hour. ($3000/(150 wks * 40 hours))
Do you need a top-end machine? No, the $3000 here is to represent the mo... |
I am wondering what should an algorithm documentation contain? Can't locate a proper guideline to follow. I have in mind to include
summary of the algorithm
description of the algorithm
flowcharts
pseudo codes
sample input data set(multiple)
output data
unit tests
experiments
The client requests such a documentatio... |
We've all done it, we've labelled some code (often stuff we've inherited) as "legacy"? But it's still used in the production systems - so is it really legacy? And what makes it legacy? Should we shy away from this unwarranted labelling of perfectly functioning code; where the labelling is a pure convinience which allow... |
Possible Duplicate:
TDD vs. Productivity
In most computer science books such as Clean Code we are told to write good Unit Tests in order to increase productivity when updating project or writing new modules (or refactoring). Most of my project are short and take about 2 months or less to develop and often they will ... |
Can someone help me understand the process one would have to go through to set up a website, like a job board, that allows users to deposit money into their account and then use it to buy/sell stuff? Is it possible to use Paypal as Escrow the same way Ebay does?
|
I am creating a set of syntax highlighters for an application. The languages include:
HTML (specifically HTML5)
JavaScript
PHP
CSS (specifically CSS3)
The problem lies in the way the classes need to be organized. Since this is a Qt application, each language has its own class which derives from QSyntaxHighlighter. Ea... |
Is there any way that a Silverlight out-of-browser app can communicate with another app (for example an Objective-C app) installed on a Mac?
Any help or suggestion will be highly appreciated.
|
So far I have been living of standard Android books and mainly blogs for Monodroid, but I'm trying to find a definitive resource about the topic and not having any luck.
Is there a book out there that's the de-facto standard for describing best practices, design methodologies, and other helpful information on Monodroid... |
I'm working with a few other people on projects, and today I ran into a situation I'm sure I'll see often. One of my co-workers and myself had split up some tasks to do on the same project and began working. He finished his tasks, and pushed his changes to our shared repository. I was still working on my changes, but I... |
I was assigned to extend (and eventually maintain) a legacy system (mostly procedural, semi-ball of mud) without MVC. Any tips or suggestions for me going forward? :S
|
How deep should an iOS developer review data structure & algorithm when preparing for iOS job interview position? I know most people would just say there's no harm in reviewing it, but would like to get some insights based on your experience interview what are the percentage of the questions are related to data structu... |
What is the best practice when it comes to writing classes that might have to know about the user interface. Wouldn't a class knowing how to draw itself break some best practices since it depends on what the user interface is (console, GUI, etc)?
In many programming books I've come across the "Shape" example that show... |
We have youtube kind of website where we calculate rating for every video. Based on rating we award cash. Our problem is no same user can rate a video more than once. We thought if we keep track of static IP, we will be able to achieve this but we found there are third party tools that can be used to manipulate the IP ... |
I have seen many times that if you want to look good on resumes you should have some project coded as open source on bit bucket and Git.
I want to do that , even though it may be small but at least i want to starts the steps which can make me a good programmer and it looks good on resume.
I knows these languages like ... |
I was working on neo4j graph database in java. To get the reference node of this db:
GraphDatabaseService graphDb=new EmbeddedGraphDatabase(DB_PATH);
Node Root=graphDb.getReferenceNode()
I always forget to prefix graphDb when calling getReferenceNode(). So what I did :
public Node getRootNode(){
return ... |
I have a difficult client. Every bill is argued and debated over, and each email is parsed with a lawyers eye (because he's a lawyer), looking for a way to avoid paying for something. No amount of generosity on my part is ever reciprocated.
The client currently has 60% of his bills unpaid (these are invoices he signe... |
What is the easiest way to insert copyright notice in lots of PHP files.
It's not possible to do it manually.
|
I have an app which acts like a TCP server and accepts multiple connections. Each connection is made by a distinct device, with a unique ID (the ID is reported by the device in two different messages according to its protocol, but that's less important).
Right now, whenever a connection is established, my app creates a... |
Often I hear PMs (Project Managers) talk about feature and function. And I'm just so puzzled to differentiate them. Sometimes I think of a feature to be equivalent to a user story. Something like "As a user, Bob should be able to see a list of his payments", and they call it a feature. Sometimes it gets as big as a sub... |
I have been designing a database where it is very important to provide users with a good search mechanism. So I was wondering what some of the best practices are for using keywords to search over multiple database tables and return the relevent records?
Some other things I am curious about:
The users location, if they... |
How come open software like OpenOffice.org and supports proprietary formats like Microsoft DOC and MP3? AFAIK, the DOC format is not open and implementing the feature in OO.org required serious amounts of reverse engineering. So why isn't Microsoft (or any such proprietary players) making an issue out of this? In the s... |
I want to know if Objective-C is an interpreted or a compiled language.
|
I'm working on a small webservices project (java, axis2..). There is a lot of existing code, the code is divided into many layers, from the first layer where the request in interpreted to a few layers down to the dao layer. In the dao layer I'm seeing some validation code interspersed in a few places. The project conta... |
There are developers out there that not only write code and solve problems, but aspire to one day be an entrepreneur and run their own company. They may participate in open source projects, go to various networking events/meetups, or even write code to help shape/start their own business outside of work.
And, for examp... |
I've been programming very lightly for a few years, and not making much progress. It's something that definitely interests me, but I just haven't gotten motivated. Then, I think I figured out what's killing me. All the books I've read, all screencasts I've watched, seem to have missed out on one important thing:
How do... |
I'm a tech lead for a small team. One of the major tasks on my plate is communicating with the client. One thing I find particularly difficult is dealing with deadlines because they are mandated by the client and I'm frequently not consulted.
Usually, the interaction follows the following pattern. The client comes up ... |
I'm currently working for small company that has few technically complicated products. I'm the one and only developer for one of them. About a year ago, I got the legacy version of the product and started "supporting" it.
Customer only talks about new feature, business value and others of that kind. The problem is, tho... |
I know Java, C#, C++. I have used Perl, and am picking up Python and Actionscript 3.
This is certainly a path others have trodden, so I am asking how do you keep all these languages straight in your head?
|
In programming what do you call a choice that is not Boolean?
ie. a Boolean condition is a true/false, either-or possibility.
What do you call a condition with one or more possibilities? And, is there any difference if the condition is zero or more versus one or more?
Thanks!
--EDIT--
To add some clarity:
Specifically... |
I have just accepted the second developer into an open source project. I'm not going to say which it is, for obvious reasons (read the rest of this question.)
The project is a C# / .NET projectl
A while ago I contacted JetBrains, authors of ReSharper, dotCover, and TeamCity.
Since I am the leader of the open source pro... |
What I mean is, do people print some kind of line item form? What data does it contain? What are the line items usually? Otherwise, do you just present a written document describing with a paragraph?
Do you show the number of hours or just a lump sum? Perhaps you only show dollars per hour and an estimate of the hours.... |
I have been working on freelance sites for a good 4 or 5 years, bending over backwards to build a decent portfolio and generate great ratings. I take huge pride in my work (web applications).
I'm completely lost because when I think what would happen if I suddenly lost my freelance account it isn't a pretty picture. I ... |
Some mobile applications leverage the fact that smart phones have motion sensitivity to provide a "shake" feature.
For example, I believe Urban Spoon has an app with which you can view a recommendation for a nearby restaurant; if you don't like the recommendation then you can shake your phone and it will immediately co... |
Put this image inside images folder. All JavaScript files should go inside a folder called js. Put templates inside a folder called site-templates and for each template, have three folders called layouts, looks, and pages.
We're all familiar with these file-system structures in which we try to logically and efficientl... |
There was a company developing software product. They had adopted SCRUM as agile method for entire development department incl. programmers, testers and analysts. It had been working grand for them in early months. However later things started to revert, enthusiasm cooled down and slowly people drifted back into their ... |
So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-80... |
I'm starting a new game website. This is a project to help me learn additional technologies. My background is very much Microsoft and Apple technologies / languages / IDEs.
This project I would like to use some Google technologies. The game website will be a simple site; html5 game board; muliplayer; for the sake of... |
I am a newbie in terms of Design Patterns. I just started learning MVC when I am hearing a new buzz, MVVM.
I want to learn the insights of both of these by redesigning an old inventory and invoicing application I developed for a client. I want to write both a Windows based WPF application and a Web based version. I wan... |
I have seen the forum dba.StackExchange, but this question involves Visual Studio as well, therefore I wanted to post this question here.
One of my old application was built on VS-2008 and MySQL back-end. After three years, I don't have any major issues with it and the database performance is also good. I am scaling th... |
Recursion -- as we all know -- is one of those problems -- that wrapping your head around feels like achieving a "milestone" in your programming voyage.
But when it comes to actually using it in real world problems -- knowing the mechanics of recursion is NOT enough -- one must also understand the nature of the proble... |
The scenario is that I've got an expanding set of users, and as time goes by, users will cancel their accounts which we currently mark as 'deleted' (with a flag) in the same table.
If users with the same email address (that's how users log in) wish to create a new account, they can signup again, but a NEW account is cr... |
Which is the best protocol / format for SOA designs using REST. Here are some options but i can't decide...
XML
JSON
YAML
ProtoBuf
... anything else i might have missed
These are my requirements...
should be lightweight and less bandwidth guzzler
should have existing client libs in Python and PHP
should scale VERY W... |
Lets say a team member is on an annual leave. He won't be attending sprint planning but he will be back by mid of iteration/sprint. Lets say he has 50% capacity i.e. as he will be available for later half of the iteration, should we:
have a planning session with him after he is back.
have a planning session with him b... |
I decided to ask this question here instead of on stack overflow because it is rather subjective.
In C#, typically I see generic types with very poor names. Specifically, "T" is commonly used but is not a meaningful name by itself. For example:
class Fruit<T>
{
T fruit;
}
While this is the typical approach, would ... |
When creating a webservice/api that is intended to be used by javascript/flash/mobile clients, what is a good method for making sure that a paying client's credentials are not stolen and reused.
To clarify further, lets say I want to charge $1 for every 10,000 requests against my API. If someone wants to farm my data ... |
I'm running Coldfusion 8 and SQL server 2008.
I've been building serveral forms that insert data into the database from external users, we have a custom built security module built by the guy who I've taken his job.
1) How can we test our HTML forms to ensure that we're protected from SQL injection attacks?
2) How ... |
I understand an "idiom" to be a common operation or pattern that in a particular language is not simplified by core language syntax, such as integer increment:
i = i + 1;
In C++, this idiom is simplified by an operator:
++i;
However, when someone uses the term "idiomatic", I am not sure how to understand it. What mak... |
Recently a friend of mine bought an inventory application from a vendor, who used an statement like "built based on 10000 lines of codes" as a marketing slogan to increase its market share. I've also seen other software claiming to being built with a special language (C#, PHP, Java, etc.), or based on a special technol... |
For about 2 months I've been reading everything I can find for these 3 topics and I'm not yet sure I got it.
Dependency Inversion Principle. Means you should always only rely on interfaces and not on their implementations. If your class depends on any other class, that's bad, because it depends on that second class' d... |
I'm a C++ developer. I know how Windows works on the native level, but I'm not a big expert in C# and .NET. Now I need a C# developer in my team (all my developers are C++). How can I hire a great C# developer if I don't know C# at good level? How to ask questions, how to test whether answers are great or are with sill... |
I am building a web service (PHP+JSON) to sync with my iphone app. The main goals are:
Backup
Provide a web view for printing / sorting, manipulating.
allow a group sync up and down.
I am aware of the logic problems with all of these items, Ie. if one person deletes something, do you persist this change to other user... |
Possible Duplicate:
What is “the Cloud” and how does it relate to development?
First some context: I don't understand what people are asking when they ask "It it on the cloud?" Here is an example. I make a "website" with php that is two pages hosted on a dedicated linux box running apache. One has a form where y... |
I have seen a lot of people (first comment) hating die(); instead of exit;
As the follow-up comments on that post note, die and exit are the same - the attitude appears to be one of perception, with some feeling that one name is more appropriate in certain contexts than others.
But why does it matter? If they do the s... |
We're implementing a new centralized monitoring solution (Zenoss). Incorporating servers, networking, and Java programs is straightforward with SNMP and JMX.
The question, however, is what are the best practices for monitoring and managing custom C++ applications in large, heterogenous (Solaris x86, RHEL Linux, Windows... |
OrientDB looks very attractive from a functionality+license standpoint. I haven't been able to google up much in the way of reports by people who have used it. Can anyone cite particularly notable successes or failures?
|
Let's say I want to start developing a project (for the sake of example, let's use facebook, ultimate-guitar, and all recipes or AutoCAD, outlook, angry birds). All of these apps are successful and vary in the degree of "depth" and complexity.
As a starting developer most of these apps and especially the web apps seem ... |
We keep repeating "you have to pull first" (this is git and github by the way). Then you code a little, then get your tests to pass, then commit, then pull and push again. We give tutorial links, try firm / hard. The latest changes broke 2 dozen tests. We document everything. What other things can we do to help folk... |
I'm trying to convince my co-workers about the merits of developing on local environments, but so far have had little luck in my quest. Outside of myself, the other developers with my company develop on seperate folders on the same server as our development server, using the same DB/DB Server/Web Server for all folders... |
Is there any advantige using delegates instead of methods? For example:
public void LoginAuthenticate(object sender, AuthenticateEventArgs e)
{
if (Membership.ValidateUser(lgUserLogin.UserName, lgUserLogin.Password))
{
Func<string, string> getDestinationPage = (userLogin) => { //definition };
e.Authe... |
Here is a logical statement:
term1 AND (term2 OR term3) OR term4
What is an effective way of storing this information in a data structure?
For example, should I use a graph, with a property on each edge defining the operator to the next term? (This suggestion doesn't make sense IMO, but it's a data structure that migh... |
Suppose the middle tier servers are replicated 3 way and the backend database (MySQL, PostgreSQL, etc...) is replicated 3 way. A user request ends up creating some user data in the middle tier servers and I would like to commit this to the backend database in a way resilient to failures.
A candidate attempt solution, f... |
I'm considering using a Java stored procedure as a very small shim to allow UDP communication from a PL/SQL package. Oracle does not provide a UTL_UDP to match its UTL_TCP. There is a 3rd party XUTL_UDP that uses Java, but it's closed source (meaning I can't see how it's implemented, not that I don't want to use closed... |
I'm a web developer interested in learning network. I work on Windows platform. Many of my friends and colleagures believe that to learn netwrok, I should become familiar with Linux platform. Should I? I mean, can't I learn network and it's concepts thoroughly on Windows Server platform?
|
First I would like to say that I'm not developer, but I love to code whenever I can. I mainly use Perl which is the language I use when doing System Administration.
For different reasons (that I'm not sure of) I recently have been told to learn Java by my manager, so I'm starting to do so.
I was thinking that I should ... |
Recently in an interview, one of the questions was 'Why do we use MVC?’
I just answered that it is much closer to how, many of the real world systems are! Explained the benefits it has when it comes to Maintainability, Scalability etc. But they were not convinced and finally told me that MVC is used mainly as it 'enabl... |
Code Complete (2nd ed.) says:
"If you pass a parameter to a routine, use it. If you aren't using it, remove the parameters from the routine interface."
However, in the past I sometime had to do that. Consider the following example:
Assume that we have an abstract base class called Food, containing a pure virtual functi... |
Imagine a situation where several people are sent to an interview and only one has to pass. His knowledge is enough for the project. However, the customer asked for the several candidates so he can choose the best one. And the other people from your company are already engaged in other projects and should not get the j... |
On my team, we carry out code reviews (without the use of external tools). The reviewer produces a list of items which the developer should address or consider and then essentially leave them to it (after discussing with them the relevant points) without follow up on their subsequent changes. Occasional spot checks s... |
I work on a huge project (more like a tangled up combination of dozens of mini projects that can't be easily separated due to poor dependency management, but that's a different discussion) in Java using eclipse. We've already turned off a number of warnings from compiler settings and the project still has over 10,000 w... |
I am trying to find a way to make the projects I work on more transparent to the business size, even though backend programming is not quite visible all the time. So in order to this I want to try ATDD and building acceptance tests with Cucumber. Is there a friendly way to show these tests to the business - I still thi... |
All I have seen on SQL injection attacks seems to suggest that parametrized queries, particularly ones in stored procedures, are the only way to protect against such attacks. While I was working (back in the Dark Ages) stored procedures were viewed as poor practice, mainly because they were seen as less maintainable; l... |
This isn't a programming question per se - more about application management. I work for what started out as quite a small company, which has grown rather quickly and become very succesful in a relatively small period of time. Nearly all trade happens online, and our IT team is very small relative to the amount of mone... |
I may potentially have some work to implement new features to a client's existing web application. (I didn't write the original app).
I've never made an app that wasn't written from scratch, and I'm worried about integrating the new features without disrupting the service for too long (or at all).
I don't think the cli... |
Possible Duplicate:
What should a developer know before building a public web site?
Are there any books or resources on html/css/js and web design best practices?
There are plenty books which just learn the basics - syntax and other stuff which is not quite difficult, but I can't find use cases, real examples, how p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.