instruction stringlengths 34 19.9k |
|---|
I have an application running with admin rights, which in order to work, need add a port and register himself to the exceptions list of the Windows Firewall. the question is, is considered a bad practice do this without inform to the final user? or must be done asking to the final user about this ?
Thanks in advance... |
I need to reconcile these 2 facts:
I don't feel comfortable working on Linux;
I need to develop software for Linux.
Some background: I have a 10+ years of programming experience on Windows (almost exclusively C/C++, but some .NET as well), I was a user of FreeBSD at home for about 3 years or so (then had to go back t... |
I'm a big fan of 1tbs when it comes to c-like languages. Now that php got decent lambdas and closures, though, I'm not sure the style I'm using for them (fundamentally made up, has something to do with the jquery source code) is the most readable/standard option. What do you think? Somebody has some nice examples of 1t... |
This is not a debate on usage of Google being good or bad for programmers.
Kindly refrain from doing so in your answers.
Most people (a vast majority of who use the Internet) use Google these days. What I am talking about is this, 20 Tips for More Efficient Google Searches.
Question: How important do you think this is... |
Leaving aside anything you could do outside of work like OSS or self study, do you think job hopping is a good way of continuously learning new skills.
In this context, my definition of job hopping is every 2-3 years, move companies, possibly even domains.
By changing to the right jobs you could in theory learn a new l... |
A colleague of mine was under the impression that our software department was highly advanced, as we used both a build server with continuous integration, and version control software. This did not match my point of view, as I only know of one company I which made serious software and didn't have either. However, my ex... |
What's the first (oldest) language that had the 'Unless' conditional/loop built into itself?
Where an example could be
unless (myVar) == if (!myVar)
until (myVar) == while (!myVar)
|
I've a question about the Delegate Pattern :
If I want to delegate the parsing of a xml file, for instance, that I want to be converted into a Key-value Dictionary. Let's take this classical example...
What's the best practice about the creation of that Dictionary Object?
Is it the "main" object that creates it and ... |
The following is more of a statement than a question - it describes something that may be a pattern. The question is: is this a known pattern? Or, if it's not, should it be?
I've had a situation where I had to iterate over two dissimilar multi-layer data structures and copy information from one to the other. Depending ... |
There has been some questions about not programming on your spare time, but they all concern when you're at work. What about when you're studying? Do you also need to learn on your spare time when you're already learning during the daytime (at uni)?
|
In the below Sequence diagram, when the user have entered the Username and Password, I have to do the authentication. Now you can see two details valid details and invalid detail in the diagram , which i will return when the user password match and miss-match respectively.
Now My big question is which one i have to d... |
People in the UK will probably better understand what a sort code is and how sort code & account numbers are used for transfers etc, but the question is relevant to anyone I'm sure.
Just to clarify:
Giving someone your sortcode and account number allows them to transfer money to your bank... AFAIK there is no way to dr... |
I have an IoC container (If you want a specific one to look at, it's very similar to Unity) and I'm working on how I want to integrate it into my application. My overall goal for this exercise is to transform this horrendous code I wrote into something much more testable.
I can create the IoC container and register ty... |
I need to write documentation for several projects I worked on. I was wondering what, according to your experience, makes documentation useful and complete. What part should I include, how deep should I go in my explanation, etc?
My target audience is developers. The purpose of the documentation is to make it easy to u... |
I'm currently working on a couple projects in Flash ActionScript, and I've been building up a small library of classes. I've been using a naming convention similar to:
foo.events.Bar and foo.controls.Baz, but I've noticed that many people have released their libraries in the com and org package/namespace (i.e. com.foo.... |
My guess is I have to, and if I do, I'll buy them while the company license is under review.
|
How do you deal with a team member who is senior to you and always jumps on other people's projects and completes them over night or over the weekend? She seems to work 80 hour weeks whether there is an emergency or not and it is somewhat difficult to predict which part of your todo list she is going to strike next. ... |
While starting work on a brand new ASP.net MVC application we've learned that we should have all of our available data pushed to make it easy to create a full view. While learning this we've started using a concept of a ViewModel, or a complex object full of properties from other basic data transfer objects.
Now our p... |
I'm on a TDD project, so I try to stick as much as possible to the good pratices involved with that kind of development. One of them is avoiding as much as possible static and global.
I'm facing this problem:
I've an object "article" that can have "options" (additionnal "micro-articles") linked to it.
I can't figure ou... |
My understanding of permissive licenses (MIT, BSD) is that they allow a user to re-license the software, provided that they attribute moderate portions to the original author. Is there a reason why anybody would dual-license with something like MIT and GPL, if the MIT license would allow any person to take the code and... |
I am wondering if it is possible to copyright a piece of software under 2 separate entities, allowing both entities full right do whatever they want with the software while not allowing one of the entities to be able to revoke privileges to the other?
Basically I am working on a team, and not getting paid so it is not ... |
I noticed that as of PHP5, interfaces have been added to the language. However, since PHP is so loosely typed, it seems that most of the benefits of using interfaces is lost. Why is this included in the language?
|
When can you offer innovation, without being off-task?
I can't understand how creative innovation fits in Agile and other methodologies.
People just want what they asked for, right? Say you're following an efficient methodology like Agile/SCRUM. When can you offer innovation, without being off-task?
Say you're making a... |
I'm thinking about how one would go about designing a descriptive concurrency model for an OOP language that helps simplify concurrency scenarios for programmers (no easy task, concurrency is hard).
I've read a bunch about software transactional memory, the actor model, immutability etc etc but they don't exactly seem... |
What are your common gripes about junior developers that join your team or whom you have to work with? Obviously they are inexperienced so you can't expect them to know everything, but what skills are often inexplicably missing -- and how, specifically, can we help them build up these missing skills?
I don't mean inter... |
I would like to hear what kind of design decisions you took and how did they backfire. Because of a bad design decision, I ended up having to support that bad decision forever (I also had a part in it). This made me realize that one single design mistake can haunt you forever. I want to learn from the more experienced ... |
I've searched high and low for a good answer to this question, and as far as I can gather it's just a combination of standard organization tools (keeping a routine, good folder structure, extensive documentation) and making sure you think about each step before you move on.
I'm planning on starting a new web applicatio... |
This is always a puzzle to me- and I realise that it is not strictly an issue in programming or software development, but it seems to be a reasonable common one in our field.
For example, if I were to set an expiry datetime as 2011-04-08 00:00:00 - and given my current local time is 10:45 on the 8th already - have I al... |
Many people are talking about somethings like accelerator, opcode, etc to speed up a website's performance. To be honest I do not know how to make any PHP website perform well and when do I need to use such things and what if I use them will that cost me a lot? I generally like websites to perform well with excellent a... |
Appreciate your help with my questions
What are conceptual requirements? How do they compare with stakeholder, business and functional requirements?
what CASE tools can be used to capture conceptual requirements and scope?
|
I am developing an iphone app and working through some sample code I saw, which uses libz.dylib. I did some research and found nothing enlightening, other than libz.dylib could be used for zip files, but other frameworks are prefered...
I'm dealing with a pdf sample, so why use libz.dylib? In general, what are dylib? A... |
In bidding a complex project for a client, I wanted a way to determine their reliance upon software. They have many people doing manual entry and Excel spreadsheets power many pieces as well as legacy code and some off the shlef solutions that do not interact in any way.
Its one thing to say "You need software to run y... |
I'm experimenting with a naming convention I've devised and am seeking opinion. It involves the use of an "As" infix, and at this point I am envisioning it in the context of JavaScript, C# and C++ coding to assist with clarity of data format/contract when dealing with conversions or multiple representations of the same... |
I am looking for a good release notes template. Possibly in a plain text or HTML form. What do you guy use?
EDIT:
I forgot to mention that these notes will be used internally in our company for other developers using our libraries.
I am interested in what you believe a release note should and should not contain. E.g. ... |
I wasn't sure if this was more suited to here or StackOverflow. I've always resisted doing web development because the technology stack just seemed a mess. It seems the web has become quite popular so I'm actually going to embrace web development, at least for a little project I'm thinking about.
I'm a Microsoft develo... |
I am wondering what is the default graphics engine used in Photoshop?
It's great tool. And I don't know how they make it?
I mean, if I want to create a simple tool like it, I will use MFC/GDI+.
So, what is core to make Photoshop being great tools?
|
I have an interview coming up for a company operating in the financial markets. Other than generic skills like OOD, refactoring, testing and so on, what are the core areas that a financial software developer specifically needs?
I can think of some obvious ones like rounding modes, differences between floating point da... |
While it's almost impossible to apply for a freelance job without a sufficient portfolio/work experience, I see selling my scripts as a solution. Problem is, so far I've seen only one forum, where such trade is going on - DigitalPoint. Are there any more +/- trusted places to offer your scripts for sale?
|
I found a small bug in the microsoft mvc3 remote validation, concerning the clientside javascript implemented in jquerys unobtrusive javascript.
The problem/bug can be fixed by adding a few lines to jquery.validate.unobtrusive.js which is bundled in the microsoft mvc3 installation.
I can't seem to find a bug repository... |
So I'm sitting down to a nice bowl of c# spaghetti, and need to add something or remove something... but I have challenges everywhere from functions passing arguments that doesn't make sense, someone who doesn't understand data structures abusing strings, redundant variables, some comments are red-hearings, internation... |
I've always found XML somewhat cumbersome to process. I'm not talking about implementing an XML parser: I'm talking about using an existing stream-based parser, like a SAX parser, which processes the XML node by node.
Yes, it's really easy to learn the various APIs for these parsers, but whenever I look at code that p... |
I have 24 months experience develping .NET C# client/server apps in my profession as Soft developer.
Now starting in a new company I have a probation time of 6 months. My new employeer wants to give me 6 month of time to get the MCPD Web Developer 4. If I understood the Microsoft website correctly I have to pass FOUR e... |
I'm considering a project to migrate part of our WCF-based SOA over to a service bus model (probably nServiceBus) and using some basic pub-sub to achieve Command-Query Separation.
I'm not new to SOA, or even to service bus models, but I confess that until recently my concept of "separation" was limited to run-of-the-mi... |
I work in a small company as a solo developer. I'm the only developer at the company in fact. I have several (relatively) large projects I've written and maintain regularly, and none of them have tests to support them. As I begin new projects I often wonder if I should try a TDD approach. It sounds like a good idea... |
In a typical software development environment, project closures mark the end of a project.
Project records are completed and archived,
resources released,
issues and lessons are documented, and
a formal dinner/party held for celebration.
Last step is optional, though is very motivating for participants. :-)
Cont... |
What is the minimum software list that one should be looking at for learning C#, ASP.NET, WinForms.
I do have a system which has Windows 2003 installed in it.
I am looking at something like WAMP for C#.NET development. Do we have a listing? Something along the following lines
Visual Studio 2010 Express Edition
IIS
M... |
Notice how view counts of youtube videos are always laggy? For example, a video has like 1000 comments and still has 500 hits, and will have 10000 hits hours after.
Youtube isn't alone in this. Most message boards are implemented that way and view counts are updated like every 10 minutes or so.
Does anyone know the rea... |
In your experience, what is a useful rule of thumb for how many lines of code are too many for one class in Java?
To be clear, I know that number of lines is not even close to the real standard to use for what should be in a particular class and what shouldn't. Classes should be designed according to proper OOP philos... |
I'm sure I am not alone in this issue so I wanted to see what others do to handle this problem.
Whenever I have to reinstall my IDE, one of the first things I do is go out and look for addons. It starts out just grabbing whatever I plan on primarily doing but ends up with getting anything that looks interesting or may ... |
I had a job interview today for a Job position as developer on an important site. They asked tonnes of programming language related questions, which I managed to answer without problems, but then they started asking question about how TCP/IP requests were made once I made a request on my PC to a web server. I did recei... |
I've heard of TDD as an organizational development paradigm, where all developers are asked to let testing drive development, and I've also heard of organizations who don't embrace TDD so long as unit test coverage reaches close to 90 percent for the application. One thing I never hear is why an organization would set ... |
Why has Python been backed by google and become so rapidly popular and Lua has not?
Do you know why Lua has stayed in background?
|
I was recently thinking about the large variety of lisp languages, specifically the fact that while they all have similar syntax, and could all in theory be implemented from the same small set of primitive functions, the way in which one typically uses each lisp can vary widely compared to all the others. I realized th... |
Programming isn't alien to me. I first starting doing markup (HTML, now please don't laugh at me) when I was 12 and a little bit of BASIC when I was 13 (I knew much about Flowcharts, Pseudocodes at this point), but then I was admonished into Biology in high school and hence missed out on "real" programming knowledge of... |
I'm building a fairly complex interpreted program in Python. I've been working on most of this code for other purposes for a few months, and therefore don't want my client to be able to simply copy and try to sell it, as I think it's worth a fair amount.
The problem is that I need the script to run on a server that my ... |
I have created my own forum on ASP.NET MVC 3 and Razor. It's a decent forum with, say, version 1 functionality. I plan to work on other features as well after my release of this version.
1) What site apart from Codeplex can I post my application on as open source?
2) What are the guidelines I need to follow before pos... |
I've always wondered how to apply agile methods really are in large complex embedded system software (100+ engineers). Firmware development has some unique characteristics that make it difficult to do agile (ie. Hardware is not available until late in the dev cycle; Once product is released, can't easily update firmwa... |
I like languages that give me the ability to extend the syntax of the language. At the same time, all the languages that I know will let me extend the syntax have relatively heavy type systems. Are there lighter-weight languages that allow the same sort of syntax extensibility? Or does flexible syntax require that you ... |
I need your opinions and suggestions about storing documents in a DMS system. I think the DMS should save its own copies of the documents, not their original path on the disk. So, the DMS should have its own space to write on.
But what about the way they're stored? Do they have their own extension different from the or... |
Well .. I am new to web development and I want to know what does toolkit independent framework mean?
|
My current organization has stated clearly that I should not work on any freelancing projects in the fields where the company offers their service. I agreed to that and joined the organization. At the time of joining, I also mentioned that I am a member of an NGO for last two years, not as a programmer but giving my so... |
There are still groups of programmers who support old microprocessors, e.g., Z80, 6510, 68000, etc. What can we learn from old assembly languages at a time when functional programming is becoming fashionable?
EDIT
I imagine that there would be more to learn for embedded systems. However, assembler styles apply to a mor... |
As a rule of thumb, generalisation is used only in specific circumstances. For example, when we can say that X is literally a subclass of Y. So, we can happily say that a Horse is a subclass of Mammal. I have always been lead to believe that we should use generalisation and inheritence here. If we do not have this stri... |
Imagine that an unfaithful (or maybe careless) employee at Microsoft managed to sneak in three lines of GPL code into a the core of a distribution of Windows. Wouldn't this mean that Microsoft would need to publish all their source code under GPL as well? Or could they just rewrite the three lines once they are notifie... |
IMHO binding a variable to another variable or an expression is a very common scenario in mathematics. In fact, in the beginning, many students think the assignment operator(=) is some kind of binding. But in most of the languages, binding is not supported as a native feature. In some languages like C#, binding is sup... |
Where I work we practice scrum-driven agile with 3-week iterations. Yes, it'd be nice if the iterations were shorter, but changing that isn't an option at the moment.
At the end of the iteration, I usually find that the last day goes very slowly. The actual work has already been completed and accepted. There are a coup... |
It looks like K&R "C Programming Language (2nd Edition)" covers ANSI C, but another book that I'm starting (Stephen G. Kochan "Programming in C") says that it uses C99.
I'm coming from a C#/JavaScript/Python/PHP/Java background and looking to round out my skills.
I'm currently using GCC, but I'm curious about Clang.... |
Does anyone know the testing activities carried out in an Object-Oriented development project that uses an incremental approach to development and delivery?
|
What is it about great APIs that makes them great? I think that adhering to the "do one thing and do it well" mantra is a good sign and being is a good mapping to the problem domain is important, but what do great APIs have in common?
|
What language should I seek to learn if I would like to develop for Windows? Not command-line stuff (obviously, I guess) but with Windows Forms and such? I've used C before (when working with Rockbox), but that's it. Up until now, I've used Autoit (for basic, simple stuff), but I'm looking for something that has more f... |
Many programmers, upon first encountering Python, are immediately put off by the significance of whitespace. I've heard a variety of reasons that this is inconvenient, but I've never heard a complaint from a Python programmer.
Of course, I haven't met a lot of Python programmers, as I have spent my career in the Java w... |
Possible Duplicate:
Is there a canonical book on mathematics for programmers?
I need your recommendation for math books related to computer science in these areas:
Boolean Algebra (Boolean logic,
gates, state machines, etc.)
Discrete Mathematics
Probability & Basic Statistics
Please take note that i am self-lear... |
We've 4 embedded firmware at hand. Two of them are released, are in maintenance phase. Other two are going to be released. The released product uses OKI 411 micro, where as yet to be released products are on OKI 431 micro.
So far we've been compiling the code using OKI's CCU8 3.08 compiler. It supports both 411 and 431... |
I'm trying to work something out which isn't quite covered in any of the other "contractor vs employee" threads. In a nutshell: Is there a natural (possibly even hard-wired and inborn) tendency for people to be meant for one or the other?
A bit of background: I suffered a serious burnout over the past couple of years ... |
I wanted to get your thoughts.
I see build systems like scons, make, jam, ants, autotools.
Why do they exist? are they something like cross platform 'project files'? Do they address another need? to me .NET has almost a standard project file (xbuild on mono can build some of my projects created by msvc)
I seen makefile... |
One meme about Rails is that Rails can't Scale. Is it known how this meme started? Was there a particular blog post that argued this is the case?
|
I think most programmers prefer to work solo on projects, even when it's not feasible. I prefer to work alone, even outside of programming projects. When working with other developers, I typically find that
I don't like their formatting or conventions (such as variable or method names)
I don't have a good understandin... |
Possible Duplicate:
How do you deal with changing requirements?
This question must have been asked a thousand times but there seems to be little progress in this area:
I have asked the customer what he would like the system to do, to little avail!
I have asked the customer about the system that the software is supp... |
I have this existing code where they have a class and an initialization method in that class. It is expected that once the object of the class is created, they need to call initialize on it.
Reason why the initialize method exist
The object gets created early to have a global scope and then the initialize method gets ... |
I am considering open sourcing some software, but when I read the answers on this questions, it seems like the penalty of ignoring a GPL license is rather small, compared to the costs of the suing party to document that the other party has included GPL code in their proprietary code and the costs of suing.
Therefore, I... |
If you were putting some work of yours online (say, a research project still in development or something alike) and it had to be made available to the public, but you wished that if someone uses it, he has to acknowledge the original author (i.e. you don't want anyone pushing your research as their own) what would be a... |
I work in a company that runs on a model of using one developer as tech lead (me), with an onshore co-ordinator/developer who co-ordinates the offshore team, and on the offshore team there's an off-shore co-ordinator. It sounds bizarre but it basically works.
The rest of the developers are offshore. I happen to be on... |
Whether an object physically exists or not, we can choose to model it in different ways. We could arbitarily use generalisation or composition in many cases. However, the GoF principle of "favour composition over generalisation [sic]" guides us to use composition. So, when we model, for example, a line then we create a... |
I find that when I am trying to learn something high level I end up worrying about problems that are out of scope like how is this thing implemented etc.
For example, when I am learning Python's Twisted, I end up thinking how can Python define things in such a manner and stuff which leads me to worry mostly about inte... |
I'd say that we're developing software in a world where the front-end of an application is probably the most important. The increasing ability for a user to access and interact with software almost instantly in the cloud is making the first few minutes of user interaction crucial in determining whether the application ... |
Are there any applications that can help me design a user interface in conceptual way?
|
I hope it is appropriate to ask this question here. I was going to ask at stackflow.
A very general question. There are loads of ecommerce web based applications about, such as prostores, eshop, exactabacus.com etc. It appears a lot of them already have atemplate ready (with few options). I am just wondering if there ... |
For the sake of simplicity, my question is focused specifically on Wordpress instead of focusing on all Content Management Systems including Joomla, Drupal, Concrete5, or you-name-it.
Wordpress is becoming ever more popular. You can extend it's feature set with widely available plugins or you can simply design your own... |
I'm thinking about using the basic mechanics behind the D20 system royalty-free, however, I'm unsure if the OGL allows that. Any thoughts appreciated. And if I can't use the D20 system royalty-free, then any suggestions on other well tested systems appreciated as well.
|
I got some projects at home, and I want to get them done already.
I was wondering, is it common to use project management for this?
Even though it would only be for me, do you use some kind of project management
for personal projects?
|
I’ve been working on something outside of my day job and they have asked me if they can use it.
It is a closed source project, but I don’t mind giving them the source code; but I definitely want to retain the intellectual property and any improvements they make.
Is there a prewritten licence I could use for this?
Has ... |
Is there any data on which paradigms allow for code which is easier/cheaper to maintain? Certainly, independantly of the chosen paradigm, good design is cheaper to maintain than bad, but there should probably be major differences coming only from the paradigm choice.
Unstructured programming, for instance, generates ve... |
Are the words "wrapper" and "shim" more or less synonymous, or is there a distinction, perhaps connotative?
|
Stack-oriented programming is a pretty non-widely used paradigm (well, PostScript gets used under the hood a bit here and there). This in mind, what problems are stack-oriented languages good at? What would they do better than [paradigm] does? Also, for what problems are they a bad choice?
Is stack-oriented programming... |
I need lots of training in SQL coding in MS SQL server
The following part that is needed to be improved is:
script
T SQL
Procedure
Function
Problem:
Where can I get material to improve my ability in SQL coding? Is there any website for downloading a database with different task/assignment and solution?
Where shoul... |
So you're fixing bugs, then you encountered one that could affect other modules of the software product. Your data is not enough to support your claim about the effects of the fix and you were asked to create an impact analysis document.
Is there a defined process on how to
do this?
What are the key information needed... |
I am going to develop iPhone application for clients, for fixed project cost. After that I will help maintain the application by charging a service/support fee.
Questions:
What should I put into the contract? Any samples I can use for reference?
Do developers normally give their source code to the client? And what... |
In my team, everyone would like to do everything, including backend, frontend, middle layer. I told them that we should divide the work according to roles and area of expertise.
What are the pros and cons of dividing the work vertically (each user story is done by the same person from the back end to the front end) ver... |
A few days ago, StackExchange member Anto inquired about valid uses for bit-wise operators. I stated that shifting was faster than multiplying and dividing integers by powers of two. StackExchange member Daemin countered by stating that right-shifting presented problems with negative numbers.
At that point, I had nev... |
A 'friend' of mine asked me to write a complete CRUD system with AJAX for him for free. What should I do? Technically, its bread and butter for me. However, I am wondering if I should get paid for it. I mean it's a commercial project.
On the other hand, I was thinking that I do not care if he pays me. Do what ever you... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.