instruction stringlengths 34 36.1k |
|---|
I am working on a web site. The client has drawn it in Microsoft Publisher, and I am using this drawing as a working graphical design. The problem is that there are a lot of places on the web site where a text block's margin differs in few pixels, or an image is few pixels far from where it is in the drawing. I wonder ... |
I'm looking to get into smartphone development, but there a quite a few options out there for platforms right now. (iOS/Android/WebOS/Bada/Symbian/MeeGo/WindowsMobile/JavaME)
I'd like to have development hardware to test my code and the overall functionality of the devices.
What is the best way to obtain and/or borrow... |
For version control comments what do other users do/recommend - past or present tense?
I.e.
Changed x to be y.
or
Changing x to be y.
|
Some Background:
Our company is growing very quickly - in 3 years we've tripled in size and there are no signs of stopping any time soon. Our marketing department has expanded and our IT requirements have as well. When I first arrived everything was managed in Dreamweaver and Excel spreadsheets and we've worked hard to... |
In general, maintainability index relies on many factors. For example, in Visual Studio, it rely on cyclomatic complexity, depth of inheritance, class coupling and lines of code; those four values must be as low as possible.
At the same time, I've never seen, neither in code metrics tools, nor in books, the comparison ... |
I tried searching here (and SO) without much luck. I also stared at the yellow box to the right and think this question is relatively on topic and can be answered.
A co-worker asked me if I had any suggestions for how to find a tutor for his son. In this specific case, it was for Eclipse and Java, but it got me thinki... |
I was just thinking about how recaptcha is getting harder when I thought about another posible solution. Images won't last forever so we will need something else some day - like human logic or emotion. Google and others are trying grouping images by category (find the image that doesn't belong) but that requires a larg... |
I'm in a statistic course at Uni currently. We have to present reports on the findings along with the code we used. I'm wondering what is the best way to present this code in the reports. A separate page with a reference to the report or inline. Or something else?
Thanks
|
We have recently moved to a scrum process and are working on tasks and user stories inside of sprints. We would like to do code reviews frequently to make them less daunting. We are thinking that doing them on a user story level but are unsure how to branch our code to account for this.
We are using VS and TFS 2010 and... |
Do you know of any xUnit framework that allows to run tests in parallel, to make use of multiple cores in today's machine?
If none (or so few) of them does it, maybe there is a reason... Is it that tests are usually so quick that people simply don't feel the need to paralellize them?
Is there something deeper that pre... |
I have a philosophical question about the MVP pattern: I have a component that checks whether a user has access to a certain privilege. This privilege turns on or off certain UI features. For instance, suppose you have a UI grid, and for each row that gets bound, I do a security check to see if certain features in th... |
There might be a situation where one of my clients won't pay for the web site that I've made. So I am wondering if it is possible to sell a web site? It is an internet shop, so there is no content that comes with it, but the source code is fully available, and it has a decent design. I've seen people trying to sell web... |
I work on an app that does a lot of network communication. I know that IPv4 addresses are being exhausted. At the same time, none of our customers are asking for IPv6 yet. We are examining which new features to add to the next release, so I ask: is IPv6 support a "must have" or a "nice to have" feature at this point?
|
Are there any projects/products out there that use an open source license that basically says "free for small companies" and "cost money for larger companies" in addition to "make modifications available"? (And are there any standard licenses with such a wording?)
If I were to release a project under such a license, wo... |
My manager asked for a list of technical blogs he should follow to stay current on technology. His problem is he keeps hearing terms that he hasn't heard of (i.e. NoSql, sharding, agure, sevice bus, etc.) and he would prefer to at least have a fighting chance of knowing something about them without having to be reacti... |
Everything I've been reading and researching up to this point describes how Agile/Scrum works great with teams of about 4 to 6 members, maybe even more.
In my current shop, we have about 8 developers or so, but given the nature of the volume of projects and the number of departments we support, we never have more than ... |
Is it kind of tacky or poor practice when programmers use an unusual amount of libraries/frameworks to accomplish certain tasks? I'm working with someone on a relatively simple programming project involving geolocation queries. The guy seems like an amateur to me. For the server software, this guy used Python, Django, ... |
I was wondering if it would be possible to install a git service for use by a small team. Would it be possible to install on a private network/locally or would it be more practical to install over a web network (e.g. a website domain).
Thanks and please point my in the right direction,
~Daniel
|
I am a student in college, and I notice that a lot of companies look for people who have experience with Javascript. Does this include Javascript's libraries, like JQuery? Or, are they looking for Javascript people only? It probably depends on the company, but what is the general advice for a student wanting to do some... |
In C, you cannot have the function definition/implementation inside the header file. However, in C++ you can have a full method implementation inside the header file. Why is the behaviour different?
|
I find that I'm having a great deal of trouble staying alert 8 hours per day. I've heard of people who've negotiated work contracts of just 4 hours/day, arguing that they won't be able to do much more in eight hours.
I am often overwhelmed with drowsiness, boredom, distraction. Some days, I seem to blaze through eight ... |
Today I was asked if I want to do Game development or Application Development.
I never thought to that I will ever do Games for a living. I will try it for a couple of weeks maybe but what are your thoughts on this topic?
P.S. the apps or games will be for mobile devices.
|
A couple of weeks ago I got a new job as a studentworker for a webagency. The job is 15-20 hours of week. Even though I am new in the company, I feel right at home and I enjoy working with my co-workers.
To start of with, I was assigned to work on an internal tool in the company, in order to learn their systems and the... |
First a bit of background. I'm coding a lookup from Age -> Rate. There are 7 age brackets so the lookup table is 3 columns (From|To|Rate) with 7 rows. The values rarely change - they are legislated rates (first and third columns) that have stayed the same for 3 years. I figured that the easiest way to store this table ... |
In job interviews I am frequently asked if I know the company, explain why do I think I would be the best choice for this company, etc and I have never liked this kinds of questions.
Using your experiences in job interviewing, what do you think it would happen if I ask the interviewer to explain me why he think the com... |
I am a high school student due to graduate in one month. After which I want to take a gap year to give myself completely to computer programming. I would appreciate your ideas for things to do in this one year, so as to gain maximum from this gap year.
|
We all know the venerable Model-View-Controller pattern used to design interaction [mostly] with human users. It is the de-facto standard in OOP environment.
What are some other architectural patterns of interaction worth mentioning? Non-OOP (functional, logical, etc) approaches welcome, too.
|
We're all aware that magic numbers (hard-coded values) can wreak havoc in your program, especially when it's time to modify a section of code that has no comments, but where do you draw the line?
For instance, if you have a function that calculates the number of seconds between two days, do you replace
seconds = num_... |
I simply cannot figure this out. Almost all monitors have an aspect ratio where width is much bigger than the height and yet almost all websites are designed exactly for the other way round? I am not really a web developer and am just experimenting stuff at the moment but this madness baffles me!!!
Edit: The point is n... |
I have heard that there are soft wares for converting an existing J2ME app to Android? But I was doing a manual conversion till now. Am I doing a silly job/is it possible to do convert any J2ME application?
|
I own a small software development company that developes Web software to other small and medium companies in Chile. The business process is very complex and it is hard to stablish where to put the efforts to make our company better, more efficient, and give better solutions.
I'm also a TI master's degree student and i... |
I've implemented a rudimentary ORM layer based on DataMapper (I don't want to use a full blown ORM like Propel/Doctrine - for anything beyond simple fetch/save ops I prefer to access the data directly layer using a SQL abstraction layer).
Following the DataMapper pattern, I've endeavoured to keep all persistence opera... |
There are several web frameworks for Haskell like Happstack, Snap, and Yesod, and probably a few more.
In what aspects do they differ from each other? For example:
features (e.g. server only, or also client
scripting, easy support for different kinds of database)
maturity (e.g. stability, documentation quality)
scalab... |
I would like to get into computer security in my career. What are the best ways to learn how to program securely?
It seems to me that, besides textbooks and taking classes in the subject, perhaps learning how to "hack" would be one of the best ways to learn. My reason for thinking this is the thought that the best way ... |
So I was reading from a previous thread about App vs Game Development:
If it was for you to chose Game Development vs Application Development, which will you chose?
Which brought me to this site: EA: The Human Story
A lot of it talked about developers working something like 85 hours a week, and not getting paid overtim... |
I want to know what would you recommend to read for Scrum and XP. I've got Scrum and xp from the Trenches, but I would like to see around some more references that are worthwhile.
|
I have been using open source projects for a while and been developing upon the open source applications and every so often I come across the words 'Nightly Build' and I have always been curious as to what it actually means. Does it literally mean the projects are done purely as side projects (usually at night after ev... |
An app I work on is being developed with a modified version of scrum. If you are not familiar with scrum, it's just an alternative approach to a more traditional watefall model, where a series of features are worked on for a set amount of time known as a sprint. The app is written in C# and makes use of WPF. We use ... |
Hello fellow programmers,
I was discussing a project the other day with a colleague of mine and I was curious to see what others had to say or if such a thing already existed.
Background
There are many programming languages.
There are many IDE's and source editors that highlight and edit source code. Following perfect... |
When building a simple web app with database delete functionality, you normally would take the following steps:
User initiates a GET request using a delete link
User confirms the deletion
Upon confirmation, browser initiates a POST request to the server to perform the deletion
What are the reasons for this convention... |
I'm interested in learning how to create a compiler for a dynamically typed language. Most compiler books, college courses and articles/tutorials I've come across are specifically for statically typed languages. I've thought of a few ways to do it, but I'd like to know how it's usually done. I know type inferencing is ... |
So I've gotten past the technical interviews for a company, and now I'm having an interview with my potential host for an internship during the summer.
What are some tips for interviews like these? I know they're not really technical, but I'm not sure what exactly they are meant to gauge. Any tips on what to say, how t... |
Background:
During a conference an analyst pointed out in a tweet that developers hate scrum.
Myself and another person responded that this was not the case, and started discussing different scenarios on why developers would dislike scrum.
One of the scenarios where that lazy developers are not able to hide in a scru... |
I've just started following with interest the soap opera involving Oracle's acquisition of Java and the detriment of goodwill it seems to have generated in the open source community. Specifically, I'm now trying to get my head around the implications of Oracle's decision to refuse Apache an open source license for Har... |
I'm wondering whether or not I've done the right thing as a contractor. Basically I'm in to my 3rd month, and my current client messed up the payment in the first month, and I just found out that they are again late in paying me for my 2nd month.
It wouldn't be so bad if I wasn't in a bit of a financial situation due t... |
Possible Duplicate:
What is the difference between all-static-methods and applying a singleton pattern?
In C# Static methods has long served a purpose allowing us to call them without instantiating classes. Only in later year have we became more aware of the problems of using static methods and classes.
They can... |
Aside from using IDEs such as MonoDevelop, what combination of tools do you use in Mono development to give you the same productivity boost that one would normally gain by using R# in VS2010?
EDIT: I'm trying to kick the R# habit and switch to Mono development in Linux, but it's hard to kick the habit of using VS2010 +... |
Are you a member of a trade union? Why? Why not? If you are, and don't mind mentioning it, which one?
Do you know of any programmers who were helped by being in a union, or would have been helped by being in a union? Do you know of any programmers who were hindered or would have been hindered by being in a union?
|
Our company just installed TFS for us to start using for project development processes and source control. They want us to start using it to manage our projects as well. We have a small team, no current bug or task tracking software, and 2 developers of the 3 have experience with any actual methodologies.
What book... |
I thought that Visual Studio 2010 SP1 would include support for using SQL Server Compact Edition 4 inside the designer, but it seems not.
Was I wrong, or has I managed to botch up my installation somehow?
I installed SQL Server CE 4 from the download page, not through the web installer.
If Visual Studio 2010 SP1 does n... |
Among the 11 proven practices for more effective, efficient peer code review, diff annotation seems to be the one particularly well suited to tool assistance. The article is written by the architect of SmartBear's CodeCollaborator, so he of course recommends using that. Does anyone know of any alternatives? I can't th... |
How easy (or difficult) is it to have a Continent/Country/City drop down menu?
Where one select from Drop Down Menus (for example):
1 - Europe
2 - UK
3 - London
and then writes the Province/Area (for example: Essex).
Realistically, how long should it take an experienced web developer to write the code of the above, as ... |
Do you send out a "request for comment" when establishing a new company guideline or standard?
Companies need to establish consistent guidelines on things like development process, version control, release procedures, etc. Is it worth the effort to solicit feedback prior to publishing the final guidelines? What do you ... |
Which method is considered to be best practice for setting storage for applications: XML or Registry? What are the benefits/downsides of using either of these?
|
I have done some hobby application development, but now I'm interested in checking out systems programming (mainly operating systems, Linux kernel etc.). I know low-level languages like C, and I know minimal amounts of x86 Assembly (should I improve on it?).
What resources/books/websites/projects etc. do you recommend ... |
Well first and foremost, I would like to give my brief description: I was an aviation student but I didn't pursue that path because I lost my interest. Now I'm an I.T. student and currently stopped schooling because of confusion. I don't know which path I should choose: could it be programming or networking? Someone to... |
In my application,I have a feature like this:
The user wants to add a new address to the database. Before adding the address, he needs to perform a search(using input parameters like country,city,street etc) and when the list comes up, he will manually check if the address he wants to add is present or not. If present,... |
I came across a thread entitled How To Stop A Developer From Stealing Your Business Idea and i can't help but raise a brow. The issue talks about a developer being able to pass on the idea to another and benefit from it.
As a developer, what is the best way to assure your client that you will not steal his ideas? Are t... |
I've applied for a junior development role, or rather been found by a recruiter looking for a developer. In order to get to a telephone interview stage I've been asked to sit one of those online coding assessments.
This wasn't quite what I expected. I consider myself a fairly good developer for my age and experience, b... |
As the original JavaMe team will leave to do other items.
The JavaMe project will be taken over by some guys knowing nothing about JavaMe.
Transition period: One month
About this JavaMe project:
about 35000 lines of code (more than 180 java file, SourceCode is 8.5KB in total)
using the Polish, Proguard
document: T... |
I am trying to design a database schema for a web app which has 3 subdomains: a) internal employees b) clients c) contractors. The users will be able to communicate with each other to some degree, and there may be some resources that overlap between them. My primary question is if I should split up the roles into sep... |
Just wondering how everyone keeps up with it. I mainly work with ASP.NET and Windows form, but I'm stuck using 3.0 for business reasons. So most of my self education is on my own time (weekends, which I like to do game programming, so I only have 3-5 hours a week to learn something new)
How do you keep up with the nev... |
My work used to be a smaller team. We had less than 13 devs for a while. We are now growing rapidly, and are over 20 with plans to be over 30 in a few months.
Our process for QA'ing and releasing each build is no longer working. We currently have everyone develop the new code, and stick it onto a staging environment. A... |
I am interested in how each individual smart phone is allowed to handle data transfers within a third-party app. I am interested in designing apps that allow customers to update, transfer, download, etc. data from their smart phone to their personal computer and vice-versa. (Ranging from just text, to XML, to a Relatio... |
Email Alerts, Blog /Forum updates, discussion subscriptions general programming/technology update emails that we often subscribe to.Do you actually read them ? or go direct to the source when you find time.
Often we might the mail of programmers filled with loads of unread subscription mail from technology they previo... |
I want to use SVG Edit for a project. This software is distributed under the Apache 2 license.
I've seen that:
all copies, modified or unmodified,
are accompanied by a copy of the
licence
all modifications are clearly marked
as being the work of the modifier
all notices of copyright, trademark
and patent rights are re... |
I read from somewhere that when using C++ it is recommended not to use pointers. Why is pointers such a bad idea when you are using C++. For C programmers that are used to using pointers, what is the better alternative and approach in C++?
|
I have Visio 2010 and want to learn how to use it to document software. Does anyone have examples of what Visio does well?
Are there any things that Visio can do, but there are better tools for the job?
What are your experiences?
|
I have a few programmers under me, they are all doing very great and very smart obviously. Thank you very much.
But the problem is that each and every one of them is responsible for one core area, which no one else on the team have foggiest idea on what it is. This means that if anyone of them is taken out, my company ... |
When is it okay to ship a product with a known bug?
|
I am in need of an estimation technique to verify if the source code delivered is appropriate.
for example, if the vendor has developed an application and is surrendering the source code, me as a consultant to the client, need to verify if the source code delivered is genuine and appropriate. Question is how to verify ... |
I work on the software side of a company that provides custom hardware with software running on top of it. Often times the hardware is not engineered well. In those cases, I am often asked first to troubleshoot the problem - of course the symptom is always "your software crashed" or something along those lines.
Just ... |
At my current job we have Low, Medium, High priority bugs.
Low priority bugs are small errors that don't stop shipping or cause real trouble for any user.
Medium priority bugs cause some internal users trouble but have known workarounds.
High priority bugs are problems that our customers will see, can corrupt data, o... |
I've been reading a lot about tracing and logging, trying to find some golden rule for best practices in the matter, but there isn't any. People say that good programmers produce good tracing, but put it that way and it has to come from experience.
I've also read similar questions in here and through the internet and t... |
A young co-worker who was studying OO has asked me why every object is passed by reference, which is the opposite of primitive types or structs. It is a common characteristic of languages such as Java and C#.
I couldn't find a good answer for him.
What are the motivations for this design decision?
Were developers of th... |
We have many great tools which helps a lot when programming, such as good programmers text editors, IDEs, debuggers, version control systems etc. Some of the tools are more or less "must have" tools for getting the job done (e.g. compilers).
There are still always tools which do help a lot, but still don't get so much ... |
Which is better: many class definitions in same file or every class definition in separate file?
Examples:
1) Many classes in same file. Say, myManyClasses.cs:
namespace myPack
{
class myClass1()
{
}
class myClass2()
{
}
class myClass3()
{
}
.
.
.
}
2) Every class in separate file:
... |
Have a client thinking about estimating the cost of porting a project from language A to language B. What's the best way to put together an request for proposal to do this?
|
After six months of development on a project, our stakeholders have had a "gut check" and have decided that the path that we've been walking (a custom designed application framework and data access layer) is holding us (the developers) back from quickly developing the features they would like to see. After several days... |
I know what recursion is (when a patten reoccurs within itself, typically a function that calls itself on one of its lines, after a breakout conditional... right?), and I can understand recursive functions if I study them closely. My problem is, when I see new examples, I'm always initially confused. If I see a loop, o... |
I want to learn (and master) TDD. What are the best:
books
websites
videos
list of exercises
personal words of wisdom
for learning, appreciating, and using TDD?
|
Without boring you all with details, my last two contract assignments were cut short; I was given 3 days notice on one, and 4 weeks notice on the other. Neither of these were due to performance – they both basically came down budget issues.
On my second contract, I got the feeling that I may not have been a great plac... |
Would it be acceptable for some very generic utilities or classes to be added in the System namespace?
I'm thinking of really basic stuff like a generic EventArgs (EventArgs<T>),
Use case: would be shared in a company's core library (so that it can be recompiled in a new project as-is, without changing the namespace);... |
Just today morning I have read news that twitter has issued a warning to developers not to make any new third party client, the official announcement can be read here.
As a programmer, how do you see this move of twitter? Does it seems that they want to standardize the behavior of third party client or they don't want ... |
I'm planning on using scripting for automated UI testing. Main application is written in c#, and I want it to be scriptable, so I can do everything end-user can do, but programmatically.
I'll avoid opinion-based questions like "What do you think of software that provides an interface for scripting, like VBA macros in E... |
There has been numerous posts about developers that prefer a dark color scheme in their IDE. Most of the themes at studiostyl.es are dark themes.
Back when I had a single monitor, I did enjoy using a dark theme since it was easier on the eyes. But now that I utilize multiple monitors, I find dark themes actually hurt ... |
I've always been interested in wondering how software companies happen. I find it extremely difficult once you're tied down with car, house, life etc. Funding is always the biggest concern.
To make this a bit more specific, I see two types. Those offering a product/service or those offering a consultancy company.
One t... |
(Inspired by similar question on Haskel)
There are several web frameworks for Erlang like Nitrogen, Chicago Boss, and Zotonic, and a few more.
In what aspects do they differ from each other? For example:
features (e.g. server only, or also client scripting, easy support for different kinds of database)
maturity (e.g.... |
At the company I work for we need a CMS.
We have two choices, first one, work with an existing CMS ( Drupal, Joomla, whatever ) or develop our own.
I know for sure that developing our own is the right approach. We need all the flexibility we can get, and developing our own is the best way to accomplish this.
But I need... |
Let's say you have created a programming language, maybe because there was a problem which was unfeasible to try to solve using existing languages, what would you do to market it (and so on) in order to make it gain attention in the software engineering (or academic etc. depending on the purpose of the language) indust... |
I have recently been more concerned about the way I write my code. After reading a few books on design patterns (and overzealous implementation of them, I'm sure) I have shifted my thinking greatly toward encapsulating that which change. I tend to notice that I write less interfaces and more method-oriented code, where... |
Basically, I have a very good knowledge of plain old SQL coming from Classic ASP programming.
Over the past couple of months, I have been learning C# and today was my first full day at MVC 3 (Razor) which I am loving!
I need to get back in to Databases and I know that writing SqlCommand everywhere is obviously outdated... |
I am a software developer, and have been asked to define a bonus structure for myself by recommending the metrics that will determine my bonus. I think, once I have defined this bonus structure, there is a decent chance that it will end up applying it to other members of my department. So, for personal and professional... |
My background is mainly strongly typed languages (java, c++, c#). Having recently gotten back to a bit of javascript, I found it a bit annoying that if I misspell something by accident (for example I'll type 'myvar' instead of 'myVar') my entire script crashes. The browser itself most of the time doesn't even tell me I... |
I'm mostly a developer and have been offered a job as webmaster. It's likely that I'll be asked to make some cosmetic changes to a website every now and then.
Has anyone made this transition? If so, how did things go? Also, are there any good online sources to get up to speed on how things are done today?
|
I'm looking at entering the Infobright Coding Competition. They ask for public machine-generated data. I don't want to create my own. Anyone know where some exists? Here's what I'm looking at: http://www.infobright.org/contest/2011q1.
|
Possible Duplicate:
Why do we need private variables?
I know that it's best practice to stay safe, and that we should always prevent others from directly accessing a class' properties. I hear this all the time from university professors, and I also see this all the time in a lot of source code released on the App Hu... |
I am using egrep to search our codebase, but at around 300MB of source code that starts to get a little slow. How do you search your codebase?
|
I've started looking into Design Patterns recently, and one thing I'm coding would suit the Strategy pattern perfectly, except for one small difference.
Essentially, some (but not all) of my algorithms, need an extra parameter or two passed to them.
So I'll either need to
pass them an extra parameter when I invoke the... |
I'm working on a piece of software that'll be released as a dll under LGPL. The software interfaces with hardware from a small company that has provided me with the needed libraries and some code to use them correctly (not only headers but its all in a separate file). As far as i know, the same code is used in their pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.