instruction stringlengths 34 36.1k |
|---|
There are many vcs available. Which of them are typically used in JavaEE world?
|
I use MS Visio for most of my design/architecting work when I need to be able to save the diagram somewhere and edit it later. I'm not the biggest fan of Visio, but it gets the job done (and it's free at work).
I was wondering if there were any good alternatives to the fairly expensive Visio software, maybe something e... |
I'm trying to understand the transition people make with their apps in the App Engine SDK and how/why/what they move to the Google Plugin for Eclipse. It seems you can create a web application using the App Engine SDK, or you can do the same with Eclipse. Why offer both? How do people transition App Engine into Ecli... |
In computer science, what are the differences in meaning between interface and layer?
For example, an interface between A and B must belong to either A or B or both, while a layer between A and B must be a third thing that is neither part of A or of B?
|
I have just graduated from college and have about 2 months time before I start working at the company. I have experience in C, C++, Java and a bit of Android (developed an app last summer, stopped working on that later). I just want to learn something new while improving on my basic C , C++ and Java skills.
I really n... |
I'm doing some early-stage research towards architecting a new software application. Concurrency and multithreading will likely play a significant part, so I've been reading up on the various topics.
The producer-consumer model, at least how it is expressed in Java, has some surface similarities but appears to be deepl... |
Microsoft showed off a demo of Windows 8, including a new platform that allows developers to use HTML5 and JavaScript.
Is this new platform the main way to develop for Windows 8? Is Microsoft phasing out the .NET platform in favor of the HTML 5 stack? What does Windows 8 mean for .NET developers?
|
I have a new site/app going live next week (or somewhere close). I know there will be a relatively small (15,000?) very dedicated group of people on Facebook who will be very likely to be interested in the site, so I know I need Facebook integration of some kind.
I won't be doing Facebook logins or pulling/posting to ... |
I want to make excellent estimations about, how much effort is required for a particular task.
The constraint is, that I have already solved the problem and written down steps required to solve it. Also I have the description of what kind of problems it solves, compiled example program, it's source code with comments,... |
This is almost embarrassing ask...I have a degree in Computer Science (and a second one in progress). I've worked as a full-time .NET Developer for nearly five years. I generally seem competent at what I do.
But I Don't Know How Computers Work!
Please, bare with me for a second. A quick Google of 'How a Computer Wor... |
What are the best python programming patterns and practices you are using every day?
I don't mean only design patterns (there are lot of OO design patterns that can be used in python), I mean pure coding patterns and practices like:
the best way to organize modules
the best way for data parsing (performance wise)
usa... |
Sometimes when I'm working with a class (usually one that represents a database model), I'll have about 15 different properties on it, usually of different types. These are properties that need to be accessed by the users, as well, so each property will typically need some function like
T getPropertyName();
setPropert... |
Possible Duplicate:
How often do you use Formal UML?
I'm currently following a study UML called UML Fundamentals.
While studying, I wondered if companies even bother creating system documentation in UML because the companies I've visited as an intern didn't seem to bother with a class diagram. They just went straig... |
I've been studying Zend Framework's MVC for a few weeks, and am having a really, really difficult time with it. I'm new to OOP, but I understand OOP in PHP without too much difficulty; I understand how to use some of the packages in Zend's library, etc. I understand interfaces, abstract classes, composition, etc. etc. ... |
We're a small software company, developing projects for manufacturing facilities about analysis, traceability, reporting etc. We're using Access for front end, SQL Server for back end. We've quite big customers too and our company is growing. So far it is working fine but I wonder should we move to more influential tec... |
A friend of mine told me that .NET Framework is memory hungry and he gave me an example that if I make an application (in .NET web forms) which will take 20 mb of your RAM, it will be actually wasting 1.5 MB
This means that it will leak 15 mb for 200 MB application which is way too much.
Is it true? Can anyone provide ... |
I have found a GPL library (no dual license), which does exactly what I need. Unfortunately, the GPL license on the library is incompatible with the license of a different library I use. I have therefore decided to rewrite the GPL library, so the license can be changed.
My question is: How extensive do the changes nee... |
Currently, there is a discussion in the PHP-Internals mailing list regarding the implementation of a short syntax for arrays and objects, mainly [1, 2, ...] for standard arrays, ['one'=>1, 'two'=> 2, ...] for associative arrays, and {'one'=>1, 'two'=> 2, ...} for objects and there is one general disagreement that bothe... |
Just as many people believe tenaciously in small functions, some people believe lambdas should only contain small code fragments.
An often overlooked advantage of lambdas however, is using them you can encapsulate behavior which you would otherwise have to make available to the entire class.
Isn't it is a true advantag... |
I have been asked to develop a client-server application (requires database) for a company.
I am very handy with java so would like to go with it. Its up to me how I develop the application. It may be an JSP web application or Java Swing GUI based application.
I have following queries/doubts.
So if I go on to develop a... |
Reading a few "Why a DVCS is better" answers to several question on Programmers.SE they all seem to say that in general, DVCS is better since you don't have a commit race in large projects, IE commit, out of date so update, commit, out of date again, commit, still out of date, etc.
DVCS limit this with the concept of t... |
I will not bother you with details of my discussion so I will present it in the form of a short instance.
A java guy has been following articles and publications of a famous programmer (a kind of Martin Fowler of my country). He says that he is sharing some secrets which other famous programmers don't share.
I never be... |
I have a plan to start a small business soon. It is going to be a type of freelancing to build websites and applications using ASP.NET. I want to focus on one thing Web forms or MVC. However, I have no idea if that has any importance to the client. I mean do the clients know about MVC or web forms? Do they prefer one o... |
I'm about to begin a big PHP project with a friend. It's my first time using PHP and I've been wondering wether I should try developing on Linux since it's so popular.
I've had some past experience with Linux and the choice of an editor won't be hard since I know vim (though I've looked at VS.PHP and it's putting me b... |
I have had many occasions recently where I have needed to maintain complex stored procedures and functions. These were broken already, usually in fairly subtle ways - there were very few occasions where you would call the SP with valid parameters and it just plain didn't work.
My solution was to evolve a framwork that ... |
Are there new API's in Windows Phone 7 (Mango) which need new phone hardware? Gyroscope stuff?
BTW, is AppHub the only Microsoft's official forum for WP7? Registration page is asking for 'Publisher name', website and payment? I just want to ask questions in the forum.
|
I heard that we have to build with the highhest warning level.
Is it true? why?
And how to change default .NET warning level?
|
In the past months I've asked for people here on SE and on other sites offer me some constructive criticism regarding my code. There's one thing that kept popping out almost every time and I still don't agree with that recommendation; :P I'd like to discuss it here and maybe things will become clearer to me.
It's regar... |
Having finally begun seriously trying to learn some basic patterns (very late in the career, but that's a different story), I'm trying to get my head around the differences between the Factory Pattern and Abstract Factory.
What are the key differences between these two patterns?
I understand that the Factory Method cre... |
I am considering utilizing Python for creating an application. The purpose of this application is solely to interact with the Windows API. My question, therefore, is: Is PyWin32 mature and complete enough to be relied upon, or would I be better off doing this in C++? The reasons why I wanted to use Python are:
Easier ... |
I am an individual developer working, largely, on web-projects (W/LAMP) and, at times, on C/C++ (non-GUI) projects of about average scale.
I often struggle with structuring my source-code tree. In fact, usually, I don't complete a project without dumping the entire tree and rearranging the pieces three-four times which... |
What is the proper or standard way to layout a class. If a class where to have attributes, methods, private attributes, private methods, class property (methods), and class methods. I am done 99% of my coding procedurely and beyond working with ORM haven't focused to much on OOP. I am changing that in a current project... |
Some companies selling software or libraries simply put their licensing model on their web page and be done with it. (Many also contain a disclaimer that there are volume discounts and special arrangements possible.)
Other companies (most notably those placing themselves in the "enterprise" market) don't disclose their... |
As with most things, I'm sure this concept has been tried before - I just haven't come across editors that use what I've termed 'Virtual Formatting'. The principle is that there's a floating left-margin that simulates the effect of the padding space/tab characters that are conventionally inserted by the developer or th... |
I am thinking of releasing libraries and frameworks which I have written in Java to other developers.
I've spent a lot of time researching what open source licenses are available, and the differences between them, however some advice from real people specifically on this matter would be nice.
Basically, I want somethin... |
It seems like a lot of my clients get roped into buying less-than-adequate enterprise software then dumping it on us (as consultants) to implement. I've seen some of these slick vendor demos where they show off a heavily customized demo app and pass it off as an off-the-shelf solution that does exactly what you need wh... |
I'm in the beginning phases of creating a QA system and I want to make sure that the design decisions that I'm making now make sense and won't bite me in the butt later on. If you have even the slightest nit-picky thing or whatever, please post, I'd appreciate hearing any feedback about this (I'm quite new to it all).... |
After graduating from college I was hired as a junior programmer a little over a year ago. I quickly noticed that I was degrees of magnitude faster than all the other programmers; this seems to be because I simply don't waste time "in general". The majority of other people however seem to enjoy staring at the ceiling, ... |
We currently use JIRA to track our development work. My management wants to format and categorize everything as "User Stories," including non-software development related tasks. For example:
"As a test manager, can I perform testing of the application using only automated tests and no manual testing so that I can test ... |
I have the following situation. I have a factory method that returns a matrix. This matrix can be calculated at two levels of accuracy: level1 and level2. In order to calculate the matrix, I need to pass a bunch of information to the factory method, and this information is nicely packed in another object Info. Info is ... |
Why is jQuery released under MIT and not LGPL?
What are the benefits of using MIT compared to LGPL for a framework?
|
For example, I'm changing color pallettes throughout a site i'm coding and would love it if i could reference that color somehow instead of replacing the hex value for every item. I know the following doesn't work but i'd like something similar.
color1 = red;
color2 = blue;
color3 = green;
h1 {
color: color1;
backgrou... |
Let's say I have a class called Country and two subclasses called AI and Player. The Country class has a number of virtual methods to allow player-specific or AI-specific behavior.
I want to make it possible for the player to switch countries during a game. To this end, I am refactoring the inheritance relation to comp... |
This answer[link] to another question here talks about OpenID and data espionage. I quote:
[Data espionage] Why let them gather
the detailed statistics from many
consumer site and help them build
personal profiles of people? Who knows
what they'll do with it? Sell it, use
it to adjust their marketing tactic... |
There are some names, where if you find yourself reaching for those names, you know you've already messed something up.
For example:
XxxManager
This is bad because a class should describe what the class does. If the most specific word you can come up with for what the class does is "manage," then the class is too big.
... |
What are the symptoms in a code base that indicate that an event-listener approach is required?
It seems to me that when there are classes that need to be called by multiple, not defined at design-time set of other classes, you need some sort of signaling framework, but I would like to hear what other situations are t... |
Do you think that power failure is a scenario to implement?
At what time that scenario should be taken into consideration? If power failure will cause some data loss so do you care about it ? if(IsImportant(data)) ... else .. ?
What do you think If our application doesn't work anymore even power failure scenario shoul... |
We accept leads from lead providers. We only allow certain providers to post leads to us during certain days/times. Currently, we have 3 schedules, but we might add 1 or n more in the future:
Sunday @ 8AM - Friday @ 3PM -- all hours in between.
Monday - Friday from 8AM - 5 PM.
24 hours a day, every day.
In addition, ... |
I am trying to choose the right license for a project that I would like to release as open-source later this year but I am unsure as to what the most appropriate license would be. I was originally thinking of the GPLv2 license, but I don't think that it is what I am after.
I have been working on this project for over a... |
I just ran across an answer to another question that references the Halting Problem. He starts with this snippet:
def halts( code_block ):
# Some magical code
def whistler():
while halts(whistler):
sys.whistle( 1 )
and then explains how the routine halts cannot be defined correctly because it essent... |
In OOP, static scope means the scope is linked to the class, and instance scope is linked to a specific instance of the class.
Some languages support static locals, which allow a value to be retained from one call of a function to another, however still in static scope.
As you might conclude from some other posts by me... |
I'm planning on making a website that will have mainly articles and videos. I'm going to post the videos on YouTube and use the YouTube API on my site. What I am wondering, is if I can make a page like this without using any server-side technology, or if I would need server-side programming(PHP, MySQL, etc...) would it... |
With software products taking whole teams of people to develop, how much can one programmer accomplish on his/her own? In other words, could a single person write Photoshop, MS word, etc...? And if they couldn't, would web development be an area where one programmer could do a lot?
|
My team leader has this terrible habit of mucking with the database schema, and making changes that would cause severe breakage on the code base (without really consulting me on how the changes would affect the code base).
Normally, I would just live with it, but we have a deadline in 2 weeks and this has been happeni... |
Let's assume that my client (C) has a corporate website, created by an agency (A). A created a pretty simple, yet well designed website which uses plain HTML and no backend to edit any of the data. C has to issue (and of course pay) A every time they want any changes to their website which has become pretty expensive.
... |
I was going through some tutorials on TortoiseHg. Despite having a rich GUI, the first examples are given using command line options.
Does the ideal usage involve command line or it was started that way so one has idea of what is happening under the hood and GUI internally uses this command anyway.
|
There are numbers 1 to N present in a list, and an additional number that has been included by mistake. So, in total there are N+1 numbers. Assume that the largest integer that the language can handle is N.
What is the fastest algorithm to find the repeat digit?
Note: This is not a homework problem.
|
If we decide to use a piece of open sourced software that is currently released under a license that allows inclusion in an internal closed source system, what protection are we offered if the owners of the open source software decide to change the license? Typically I'm thinking of where the new license does not allo... |
I have been working on asp.net applications for 6 years but almost all of it has been extending and maintaining existing applications. I now have the need to develop a new application and I am scratching my head :(
There is a lot of material on Software Design principles and patterns but not much content on organisati... |
Possible Duplicates:
Prototyping vs. Clean Code at the early stages
Frankly, do you prefer Cowboy coding?
After working in a number of companies, I am starting to realize that my commitment to writing high quality, well tested software, does not necessarily lead to career advancement, especially when managers with n... |
I've started my company in UK. Used to work as a freelancer, therefore legal issues didn't use to be a big headache.
Now, I'd like to see an example of the document a company would sign with a client when starting to build them a website. This should include a project quote, project overview, agreed upon things, deadli... |
I recently saw a comment here, that the signs of a bad hire is when he says "I worked with this and that", but then doesn't elaborate when asked.
And the question is why?
Hypothetical scenario: Say you work for company X that develops rockets for space trips, then you walk to an interview for position Z in company Y. I... |
This is not really a question on how to develop all three, I know various cross platform ways and so on. But I more want to know from developer standpoint how hard it is to basically develop iOS, Android and web apps?
I am currently in my first job as a mobile/web developer. I have already developed my first iPhone/iP... |
Possible Duplicate:
Programming Puzzles
Looking for ways to help me improve my C# coding skills. I thought it would be handy if there was a site that asked you to write a new method every day to perform a task (maybe even one for beginners, intermediate & advanced developers). Seeing comments as to how everyone pu... |
After building mainly Java desktop apps and some small GWT services, I'm trying to learn how to build Web Services in Java but I feel overwhelmed by the sheer amount of buzzwords, terms, specifications and technologies. Besides, I'm not able to find a comprehensive, yet correct source to learn.
Is this normal when star... |
I read that there exists three main types of databases
* Transactional (Client-Server database// OLTP database)
* Decision support system (DSS) (Data warehouse database // Data mart // Reporting database)
* Hybrid
What is the type of database considered for a social network, like Facebook or Twitter?
I guess the categ... |
Is there any difference between naming a class "Handler", "Manager" or "Controller"? IE: PurchaseManager, PurchaseHandler, PurchaseController.
Do these suffices convey the same meaning or is there a clear difference between them?
If there isn't a language-agnostic answer, consider Java as the language.
|
Let's say you need to implement a new programming language and BCL designed specifically for operating in the cloud (it won't be used on client machines ever). It should be optimized for cloud computing; easy to learn, fast, efficient, powerful, modern.
What it would look like? What would be it's major differences from... |
I am in the process of making a webpage in the pyramid framework (python) and I am going to make it opensource so that people can add to it, take from it, learn from it, etc.
But I don't want them to just take the code and not accredit my friends and I for writing the code they are using. I was wondering how to go abou... |
When do you draw the line between relational tables, and fields holding multiple values of a particular type. Let me illustrate in an example below where a PokeMaster can be associated to multiple pokemon of unknown number.
TablePokeMasters
PokeMasterId
PokeMasterName
TablePokeMastersToPokemon <- Side questi... |
After going through many SO questions and answers on "Architects" , I am now basically confused with the various terms and their roles. Could any one please explain the terms clearly and their roles
A) Technical Architect
B) Solution Architect
C) Domain Architect
D) Enterprise Architect
E) Project Architect
F) Sy... |
I'd like to use the VLC's DLL in one of my programs.
VLC is under the GPL license.
Do I have to redistribute all the sources under GPL or can I redistribute only the modified sources of VLC under these terms while redistributing the rest of my program in the license I want?
Thank you,
Sébastien
Edit: And what if I only... |
According to this question and it's replies
What is the purpose of the "non-endorsement clause" in the New BSD license?
it seems smarter to pick the BSD license over the MIT, to prevent people using your name in an unwanted way.
If that is the case, why do people still pick the MIT license over BSD license?
|
A company that I work with has asked me to do candidate phone screenings to make sure they aren't completely embarrassed when sending over someone to a potential client.
It turns out that a fair number of people were being placed for a C++ developer role. I don't spend much time in C++, but I have done a few trivial an... |
I work at a large company, and we are stuck with a crappy home-baked bug tracking tool, which does too many things half-decently, but it search functionality is next-to-impossible to use (has about 80 fields that one has to / can fill out) and the search needs to be precise. We have many duplicate bugs filed that are n... |
I'm a newbie programmer and I've been reading Michael Hartl's Ruby on Rails 3 Tutorial. I'm enjoying the book very much. It's easy to follow and doesn't assume I know much.
I'd also like to learn to code iOS apps (both iPhone and iPad) and would appreciate any recommendations on books or courses that could help me to ... |
I'm in the process of writing a mail server stack and it's a fairly critical design decision as to whether a unique message can appear in more than one message box. Simple cases are easy to make a decision on (e.g. a message obviously cannot exist in the "Inbox" and the "Trash" mailbox) but a more subtle situation like... |
Assume that in my free time I have developed library X before signing a contract or being employed by company A.
I then sign a contract with company A and begin working. It becomes apparent that library X will be incredibly useful and save the company lots of time and money.
What is the industry standard practice in th... |
It is one thing to log something that happened in code, a process, or procedure. It is another thing to log something that didn't happen. For example, if your ETL system is supposed to receive a file every hour for import, and a file did not arrive at the usual appointed time, then it would be good to log "what didn'... |
When working with a resource-based site (such as an MVC application or REST service), we have two main options when a client tries to GET a resource that they don't have access to:
403, which says that the client is unauthorized; or
404, which says that the resource does not exist (or couldn't be located).
Common wis... |
Should properties in C# have side effects beside notifying of a change in it's states?
I have seen properties used in several different ways. From properties that will load the value the first time they are accessed to properties that have massive side effects like causing a redirect to a different page.
|
Most of you already know that the output of ASP.NET web forms is quite ugly when you compare it to the output of ASP.NET MVC.
My question is what could the problems of that ASP.NET web forms' output cause to the end users? Is it the slow of browsing and the load time?, but do you think that could be a problem in today... |
At work I come across a lot of Japanese text files in Shift-JIS and other encodings. It causes many mojibake (unreadable character) problems for all computer users. Unicode was intended to solve this sort of problem by defining a single character set for all languages, and the UTF-8 serialization is recommended for use... |
I'm looking for suggestions on whether we should build or are there readymade applications that do the following:
Allow admins to build a structured
workflow of support Q & A, similar to
Windows Troubleshooting i.e. when you
try one tip, you then get the next
one.
Allow end-users to search and follow
the Q & A
We hav... |
I am currently working in an Agile + SCRUM based project. I work on a lower level module. This leads to a peculiar problem. The work I do cannot be directly associated with a user story many times. Since I cannot relate a user story directly to my work I often face the problem that my requirements are unclear. Also I t... |
I am completely clueless about the inner workings of an operating system, but I can more or less guess the approximate behaviour of many functions. One thing that I am not able to figure out, though, is multitasking.
In theory, the operating system manages time, according the CPU for small intervals to the various prog... |
I've heard of Silverlight 5 from Microsoft. But what about WPF?
Is Microsoft planning to discontinue WPF or will there be a new version?
We just switched from winforms to WPF and now another transition is going to be tough.
Please point me with any links with information on the next version of WPF.
Thank you.
|
There are so many programmers out there who are also an expert at Query writing and Database design.
Should this be a core requirement to be an expert programmer or software engineer?
Though there are lots of similarities in the way queries and codes are developed, my personal opinion is, Queries seem to have a differ... |
A suggestion from Bob Martin's "Clean code" has me scratching my head..
"If once function calls another, they should be vertically close and the caller should be above the callee"
So far, I've been more or less sticking close to the .Net guidelines, which group class members by type (properties, ctors, functions) and v... |
Suppose you want to develop an application, in midst of development you find out that one similar application already exists, highly recognized and used. It's a cross platform application but it's unknown whether this application is open source or not.
However you decide to reverse engineer it without taking care of i... |
Is it too much to ask for when I ask the IT department to give my development team an environment where we can use whatever software that we can download without having to have security check those tools?
Of course, the software can be checked by security before deploying to Test, and the development environment can be... |
My company has been licensing a commercial application to fulfill our need for the past few years. The programmers (myself included) have been modifying (with permission) the software to better suit our needs. Now we're talking about replacing the licensed software with an in-house solution we create ourselves. We w... |
I'm writing a paper about the C# (and Go) type system with focus on the dynamic aspect.
Does anybody have suggestions for papers/literature?
The things I found don't go much into detail. I would like to add some paragraphs on how it's implemented, comparisons with other languages, speed, memory allocation etc.
|
i've been facing a common situation at work that has happened quite often when handling objects.
The situation goes like this:
You have to realted classes A and B, class A has an instances of class B. Now, imagine that we want to call methodB of class B, but we only have access to an intance of class A. What's the best... |
I am creating a service to be exposed on the internet.
One of those things you would normally say "Web 2.0", but that I want to expose as a SOAP webservice, with desktop clients.
I know that it may sound a little bit outdated, but despite the apparent "uncool" factor, is there any real reason why this approach shouldn'... |
I am currently working on a project where we use a framework that combines code generation and ORM together with UML to develop software. Methods are added to UML classes and are generated into partial classes where "stuff happens". For example, an UML class "Content" could have the method DeleteFromFileSystem(void). W... |
I want to add logging to an application I'm currently working on. I've added logging before, that's not an issue here.
But from a design perspective in an object-oriented language, what are the best practices for logging that follow OOP and patterns?
Note: I'm currently doing this in C#, so examples in C# are obviously... |
I am trying to start learning the J2EE part of Java. But I don't know where to start. I am familier with Core Java and mainly, I want to learn JPA and basics of Hibernate and Spring Framework. The main reason for this is I am working on a project which is using all these things. And most of the code is being developed ... |
On one project we are looking at where to implement workflows.
Does anyone have experience with both FileNet and WPS (or know of any studies), that could say anything about the amount of effort required to create a workflow in the 2 products?
|
I just came across this while searching on Google for HTML/CSS tutorials.
Does anyone recommend this software for building websites?
Or should I just stick to learning pencil and paper hand coding instead?
I just want to put my focus in the right area.
Heres the link: http://msdn.microsoft.com/en-us/beginner/bb964635.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.