instruction stringlengths 34 19.9k |
|---|
I know the syntax, rules applied to abstract class and I want know usage of an abstract class
Abstract class can not be instantiated directly but can be extended by other class
What is the advantage of doing so?
How it is different from an Interface?
I know that one class can implement multiple interfaces but can ... |
When did people start writing Readme files?
It seems that pretty much all programs have this file, regardless of the format.
Is there any documented first use of this document?
|
This wiki page tells :
A schrödinbug is a bug that manifests only after someone reading
source code or using the program in an unusual way notices that it
never should have worked in the first place, at which point the
program promptly stops working for everybody until fixed. The Jargon
File adds: "Though... t... |
This is just theoretical question, without context.
In case
somebody hire me (as freelancer (I'm A1))
client (A2) wants to develop CLONE of an existing application from B1 company
after some time I give completed application to my client (A2)
after some time original owners of application (B1) I cloned want to go to ... |
The team over at LMAX have a presentation about how they were able to do 100k TPS at less than 1 ms of latency. They have backed up that presentation with a blog, technical paper (PDF) and the source code itself.
Recently, Martin Fowler published an excellent paper on the LMAX architecture and mentions that they are no... |
Simulated threads are known as "green threads" in programming-language-wonk speak. They are compared to "native threads" as provided by the operating system, but is there an analogous colour for native threads, and what is it?
|
I have a fairly ambitious software development project that I have no time to give. This project is for my personal life and if completed will save me much time and money. I am a software developer by trade but don't have much time to work on this project.
So, I am considering outsourcing or contracting out some of t... |
I work on a team developing a web site with a large number of pages. The QA guy on the team currently runs all of the tests manually. I am thinking of having him create a bunch of Selenium scripts. I don't think he can automate all of the tests, but he could automate many of them.
Because he doesn't have a programming... |
I've just started getting to grips with event driven programming and I'm finding delegates and events to be very useful. Since starting to see the potential I've began using them all the time to solve problems such as updating displays between controls and calling stored procedures following updates etc.
I'm starting t... |
...formerly known as MSIL, simple question, it is widely known that Anders Hejlsberg is the father of C#, but is there a "father of CIL"?
|
I have keen interest in design patterns. I have been reading a lot about them. Specially, from HEAD FIRST. Can I write about design patterns in my resume?
I am a fresher. Going to sit in on-campus placements.
Though I think that would impress the interviewer if i am able to defend his questions but, on the other hand ... |
This is part of a series of questions which focuses on a project called the Abstraction Project, which aims to abstract the concepts used in language design in the form of a framework.
Another page associated to it related to structural typing can be viewed here. The meta-topic associated to an inquiry about the fram... |
When it comes to merging, each control version has it's engine to do it. Conflicts are unavoidable but the question is - which revision control has best AI to avoid conflict.
Is it possible to measure such thing?
More specifically, we are thinking to move to GIT cause it has nice hype and rumour that handles conflict ... |
If you click the cc-wiki link at the bottom of this site, you get a nice plain-english description of what you are and are not allowed to do. The legal stuff is there too, but as someone looking to use a library, I don't want legalese, I want a list of what I can and cannot do.
Does a similar resource exist for softwar... |
I have to write an algorithm to split/sort numbers into three groups to make them equally large.
To be more specific:
I have three groups, let's call them A, B and C. Then I have a lot of numbers. Each number has assigned a group to which it belongs, but the thing is, that one number could belong to one of two or one... |
I'm wondering if anyone can share their thoughts, experience and guidance on how to approach the data access layer for a composable application?
By composable application, I mean an application with the domain layer made up of modules. The goal is to make the application highly extensible by 'plugging in' additional (... |
Real programmers can write assembly code in any language.
(Larry Wall).
As far as I can make out, Mr. Larry Wall is trying to say that to a real programmer any language can have the same functionality as ASM. But I seriously do not understand. How can you write assembly code in high level languages like Perl, Pytho... |
I have heard about programmers coding for two days without sleep and drinking coffee and Red Bull. Also in movies like The Social Network, in a scene they show that Mark Zuckerberg has been programming for 36 hours. Also i read somewhere that in companies like Facebook, Google, foursquare, etc. they can code for more t... |
We're a team of developers working on some PC applications. But we have also witnessed a trend in the market towards writing more and more mobile sites and mobile applications.
Is it time for developers to shift to mobile programming?
|
I have recently been learning D and am starting to get some sort of familiarity with the language. I know what it offers, I don't yet know how to use everything, and I don't know much about D idioms and so on, but I am learning.
I like D. It is a nice language, being, in some sort of ways, a huge update to C, and done ... |
We're a team developing a hosted CMS (something like WordPress.com, but in .NET platform), and we want every site to get updates as we update our software.
Our CMS is not multi-tenant, i.e. each site is an entire copy of a site template and has an individual database, files and folders, and would be deployed across man... |
In C++ and other influenced languages there is a construct called Structure (struct), and another called the class. Both are capable of holding functions and variables. Some differences are:
Class is given memory in the heap and struct is given memory in the stack (remark: this is wrong for C++, but maybe correct in w... |
There is a notion in scrum that emphasizes delivery of workable units at the end of each sprint. Each workable unit also maps directly of indirectly to a user story and when in new sprint PO introduces new PBI (new user stories), this means that practically team can't always go back to previous user stories to do the r... |
I've got a legacy PHP web application wherein almost each and every function makes references to $_POST variables - retrieving their values, AND setting them (or setting new POST variables) as a means to communicate with the calling code or other functions.
eg:
function addevent()
{
...
$add_minutes=$_POST['minutes']; ... |
I am looking for an online, free coding management tool, where I could log my coding process, for example, bugs to be fixed and has been fixed. What are some good recommendation?
|
All characters in ASCII can be encoded using UTF-8 without an increase in storage (both requires a byte of storage).
UTF-8 has the added benefit of character support beyond "ASCII-characters". If that's the case, why will we ever choose ASCII encoding over UTF-8?
Is there a use-case when we will choose ASCII instead of... |
I'm starting to develop a mobile app, and have a first choice name I'd like to use. However the .com domain of the name has already been taken.
Is it actually worth it buying it, or would you tempted to go with CoolNameApp.com or CoolName.net instead?
If you couldn't afford the .com domain name, would you use a differe... |
Looking for recommendations on industry-expert blogs from front-end web developers (emphasising RIA applications; e.g. HTML5, Javascript, AJAX, JQuery, Ext JS).
Trying to sort out the best from the rest. Which blogs are the well respected and worth following?
|
I have an idea for what i believe would be a profitable Apple app store application. I also know that i don't have sufficient knowledge to complete it from start to finish and need help from more experienced iOS developers.
Is there a standard NDA you have used and liked that would allow you to discuss details of the a... |
After almost 4 years of experience, I haven't seen a code where yield keyword is used. Can somebody show me a practical usage (along explanation) of this keyword, and if so, aren't there other ways easier to fullfill what it can do?
|
I have an application and I'm ready to release it into the wild world of the Internet. However, I am a confused of a few things.
Keeping in mind that I am not releasing the source code, must I include a license If I don't want my program copied and claimed someone elses? If yes, then which one?
Also, note that is a no... |
I want to start doing freelance work, but no matter how I look at it, it seems like the best way to get customers and to have work most of the time, you have to already be in the freelancing game.
Most freelancers I've talked to have had the same customers over the years or got new customers because their satisfied cli... |
I have been hired to do functional development for several web site redesigns. The company I work for has a relatively low technical level, and the previous development of the web sites were completed by a graphic designer who is self taught as far as web development is concerned.
My responsibilities have extended bey... |
Situation:
For many years, ACME corp has outsourced Task B to me. Over the years I've learned the ins and outs of Task A (manual labor). Together Task A + Task B = finished ACME corp product.
So now I discovered an opportunity to optimize their Task A process. But to develop a system to help ACME corp to work more effi... |
When I wrote original code, I was using TortoiseSVN to manage versions, but later a new problem evolved. Customers desired customization on few things and now the list of customers is growing. I want to keep version control depending upon customers.
I want to keep a root source code and than add version changes dependi... |
I want to know:
Do you need hardware skills to be a robotic programmer?
|
I'm looking for an application which takes the address of a website, browses that website, and provides reports based on some user-defined criteria about the HTTP requests/responses. For example, this application should report how many images doesn't have Cach-Control response header, or how many items are more than 25... |
I want to develop some PHP applications on my iPad device but there is 2 problems! First , i can not find any local server applications on iPad like Wamp or Lamp, and second my Googling only returns Cloud based IDEs for this!!! any idea?
|
I'm founder of a web-site called Now.in. I wrote all programs by my-self at first. And we are going to run a start-up company. More people will soon get involved. Some know-how/overviews only exist in my mind, it takes time to explain to newcomers. Hence, I would like to write some documents for others to read. Here co... |
I am just starting to learn Ruby, and I want to do something that required a DB but I'm unsure whether MAMP would work or do I need something else?
|
I am using Microsoft's free tool Visual Basic 2010 Express (downloaded from here ) to develop a desktop application with database features using Microsoft access as the database. Connectivity is being done by OleDbConnection.
The software is now complete. I am planning to sell it for money. The software is going to cos... |
When I first started using Hibernate I heard about all the joy of using a DAO layer. Initially it made sense for my problem: I was going to experiment with Hibernate and later experiment with NoSQL and/or XML for experience. It made sense at the time
Before I go any farther I want to say that my current DAO layer isn't... |
I'm a long time Java developer and finally, after majoring, I have time to study it decently in order to take the certification exam... One thing that has always bothered me is String being "final". I do understand it when a read about the security issues and related stuff... But, seriously, does anyone have a true exa... |
I have a class with a variable that is private and the class has a getter and a setter for that variable. Why not make that variable public?
The only case I think you have to use getters and setters is if you need to do some operation besides the set or the get. Example:
void my_class::set_variable(int x){
/* Some o... |
I'm a bit amazed that this hasn't been asked by anyone yet, but at a high level, what should every developer know about working with UNIX-based systems?
My *nix experience is very limited, because I have absolutely no reason to use it over Windows for my own purposes, but I have two interviews coming up where the compa... |
I would like to improve the TOR network, where the exit nodes are a vulnerability to concealing traffic. From my understanding, traffic to .onion sites are not decrypted by exit nodes, so therefore - in theory - a .onion site web proxy could be used to further anonymize traffic.
Yes/no? perhaps you have insight into th... |
Model View View-Model was developed by Microsoft to target UI development platforms which support event-driven programming, specifically Windows Presentation Foundation (WPF) and Silverlight on the .NET platforms using XAML and .NET languages. In the years since, many Javascript frameworks such as Angular, Knockout an... |
I am trying to understand the concept of Application binary interface (ABI).
From The Linux Kernel Primer:
An ABI is a set of conventions that allows a linker to combine
separately compiled modules into one unit without recompilation, such
as calling conventions, machine interface, and operating-system
interface... |
For a C or assembly program that does not require any other library, will linking
be necessary? In other words, will conversion from C to Assembly and/or from Assembly to an object file be enough without being followed by linking?
If linking is still needed, what
will it do, given that there is just one object file w... |
I have a method that looks like this:
def foobar(mock=False, **kwargs):
# ... snipped
foobar actually makes several calls to Amazon S3 and returns a composed result.
In order to make this testable, I introduced the mock parameter to turn off making live network connections. It feels like a code smell for me but te... |
Setup:
We've got a form with default text values present within the text box itself which "goes away" when I click on them and enter a value (not if I dont enter a value). Currently the 'default' value or the user inputted value gets POSTed to the PHP script.
Should I have the javascript code check if the value being s... |
It seems there's a HUGE discrepancy between what I expect someone who's studied programming for a few years at university, and what one actually knows.
I don't feel like I'm asking overcomplicated questions in interviews. Some of my usual questions are :
What's the difference between a reference type and a value type?... |
I often hear that scala has a ability to pass function as a parameter to another function. I would like to know the difference between passing a value as a parameter vs passing function itself as the parameter. How the latter approach brings advantage to the programming. If functions are passed as the parameter
how th... |
Roles in scrum are Product Owner, Scrum Master, and Scrum Team. A user story should also break down into smaller pieces called tasks. A task seems to have four phases, namely, definition, assignment, implementation, and following.
Who should do what in Scrum about tasks? Is it the responsibility of scrum master to upda... |
I'm developing sites based on .NET platform. I usually deploy these sites on my local IIS, so that I can test them and see their functionality before going live. However, each time I restart windows, it seems that sites take a long time to run for the first time.
I know about JIT and I'm also aware of this question, bu... |
I use unsigned ints everywhere, and I'm not sure if I should. This can be from database primary key id columns to counters, etc. If a number should never be negative, then I will always used an unsigned int.
However I notice from other's code that no one else seems to do this. Is there something crucial that I'm ove... |
I am making one website and i want to use mortgage repayment calculator. I have seen many real estate sites using that. I want to know that i copy their javascript calculator code and style my form differently , will that be an legal issue there
|
I have submitted a bug report over a month ago to one of the biggest software companies about one of their flagship development products (I deliberately not include any more details about this bug report, so that the question doesn't turn into a rant). I only received an templated assurance that "we're working on it".
... |
I'm a totally blind programmer who would like to learn .net.
It appears that the Visual Studio express editions are not accessible since the scripts that come with Jaws for Windows, the screen reading software I use, requires the VS object model to make Visual Studio accessible. This is not available in the express edi... |
I've been working in ASP.net for over three years now.
The project I'm working on is designed with a 3-layer presentation/business/data design. The presentation layer is an ASP.net web site. The business and data layer are also in .net, with the data layer working with a SQL server.
Recently, I've had to add several ... |
While threads can speed up execution of code, are they actually needed? Can every piece of code be done using a single thread or is there something that exists that can only be accomplished by using multiple threads?
|
Say you're a software engineer, what does the company actually own of your work? Do they own the source code, the binary, both? What about code you do outside of the workplace? Do they have any claim to that?
I was just wondering from a legal standpoint how that all works.
|
Is there any risk in allowing your team of developers to install whatever Visual Studio Add-ons they want? Is it a good idea to allow them this freedom?
|
I am a Web application developer who also is responsible for project managing some projects, I sometimes have to manage remote developers, who work for me under a contract basis. I feel that sometimes it is really difficult to manage. I am facing some strange situations. For example:
Once a developer didn't respond fo... |
It seems logical to me that one could define a context for static source code analysis that included rules to produce a relative value of complexity. I know it is not like in the physical sense because souce code doesn't have "Energy" but I'm betting there have been efforts, at leat academic, to draw a parallel. Has ... |
What would you do if you were in a situation where the project you are working on is obviously built poorly and will have failures in the future and be a nightmare to maintain...but it is considered a "success" by management because the clients are happy?
Should I just not care? Is it ok that the clients don't even ... |
I presently have the task of baby-sitting a business critical batch ETL system, querying the database of this system every morning for inconsistencies, and rerunning jobs that have failed.
I am not the original designer of the system or of the database, but have made several changes to both, and am reasonably comfortab... |
What is the appropriate method to describe a valid range of a parameter in the documentation of code? Obviously long-form documentation (white papers, API documents, etc) can be more verbose than the actual code but this is really to address issues in the actual code than in the distributed documentation (that every us... |
I have resigned my old employer to start a new job, and I need to prepare a handover [documentation to be taken by some new employee that haven't arrived yet, and would be some weeks from when I go to when they fill the position again].
So what important points should I make sure to cover,
I was making some iOS apps, ... |
What sort of languages would be able to handle writing your own web crawler?
Could PHP handle this? I'm quite good with PHP (following best practices etc).
But I'd like a good reason to learn a new language if I need to.
The idea is to crawl one specific website that has multiple entries, much like an RSS feed, but t... |
A software project that I am working on involves me and another programmer. The project involved an engine backend with an MVC front end. Initially I did alot of the work on the project and so setup some simple design methodologies mainly surrounding abstraction and template strategy.
For quite a while I have been of... |
I'm interested in the experience of software developers who have become programming teachers, -- at a junior college, teaching college or high school.
I'm wondering if anybody has made the switch and if they've stuck with it or if they've gone back to industry -- and why.
I've been thinking for the past 7 years (on and... |
So my Dad bought me 5 books on programming (C++, Java, PHP, Javascript, Android) about a month ago. He's an architect and he knows NOTHING about programming. He bought me them because I told him programming was fun and I wanted to learn it.
As you might know, being a kid (I'm 14) and being told to learn programming ou... |
I've been learning C++ for about a month now, and before I go any further, I'd like to clear up this tedious question I keep on having. I know what a GUI is, but I don't really know how it works, and maybe examples of popular ones?
Although I know command line programming is the bare fundamentals, I think it'd be fun ... |
I am a software engineer with a couple of years of experience. However I feel my problem solving skills need to be improved. To put in crude terms given facts A and fact B I have difficulty in reaching conclusion X ? Some people seem to have the ability to reach conclusion X given facts A and B and and also remembering... |
I just read a chapter in a programming book about Dynamic types. Although they are quite neat I cant think of a single real world example where I would use them. Does anyone here actually use them and for what?
|
Possible Duplicate:
How can I motivate myself to start learning more?
It's always interesting to learn something new - operating system, programming language, framework and so on. But the problem is that people tend to give up when the first problem appears. How to motivate a person(even myself) to continue learning... |
I found some functions that I want to get from WordPress source code and add want to add them into my project which is going to be open source.
Do I simply get the functions that I want and add them to my project with a little comment saying that I got it from WP like:
/**
* Author: WordPress
**/
or is there anythin... |
My company head says that I must write all , i.e. ALL my code within Try-catch statements. Now, I can understand the 'better be safe than sorry' approach here, but isn't it too chicken-hearted to think that there will be an exception when the Labels are created, form's position is set. has there been instances where Ex... |
I am starting a new job in a company with many developers and media people, the layout of the place is open with computers around a skinny oval,
I have worked in small teams and programming embedded C, the jobis for objective C
I'm still in a medium stage, so I know what I don't know (haha), that means I have to google... |
I am trying to re-architect a web application I developed to use the MVC pattern, but I'm not sure if validation should be handled in the model or not. For example, I'm setting up one of my models like this:
class AM_Products extends AM_Object
{
public function save( $new_data = array() )
{
// Save co... |
I am one of two developers for some internal software (written in python) in my company. Software is a server application designed to run on a dedicated Linux box. Currently, we have one box holding our SVN repository and this box is also used for testing. The problem is that I am developing it on my workstation using ... |
Possible Duplicate:
What does it mean to write “good code”?
In a discussion on coding quality, and how you identify it, I came across a discussion on testing people's coding ability by getting them to show how they would swap two values using a piece of code to achieve the objective. Two key solutions were produced:... |
So I've been reading a little about Delphi XE2 and I probably will go to the world tour thing in Chicago coming up later this month and ask this question if no one can answer it here.
What I wonder is how is my Delphi code going to be executed on a Mac? Is something else going to have to run (i.e. virtual machine) in... |
I'm working on a large application written in asp.net web forms. It was developed under asp.net 1.0, and still uses DataGrid, though portions have been updated.
Most of the code resides in either the codebehind, or in controller classes that can't be instantiated outside of a running IIS. (The controller framework we u... |
Whenever I unsubscribe from a mailing list, I see that they say something like 'The change will take effect in 10 days/30 days/etc'. I would assume unsubscribing is just removing my email from some database. What is the idea behind making me wait so many days?
Edit: Since this question is close here as off-topic, I hav... |
I'm working on an application that had basic requirements for authentication in the first version (i.e. think single administrator login), and now I have a requirement to extend this to allow for different users, roles, and permissions.
It has been suggested that I attempt to integrate with an existing product we have ... |
I'm playing around with the .NET BigInteger and basically I'm wondering what number --an estimated answer would be fine-- is the point of deviation of the curve of (the graph of (increase of time required for operations) vs (value of BigInteger))?
or are they designed with no such deviation such that if we plot the in... |
I was thinking today about Paul Graham's book "Hackers and Painters." More specifically, these two paragraphs:
"I was taught in college that one ought to figure out a program
completely on paper before even going near a computer. I found that I
did not program this way. I found that I liked to program sitting in
... |
I'm giving a presentation on a small Timeline Application I made over the past few weeks. How might I make this small application into a much larger speech, about 3 minutes long.
Should I focus on how it was made or should I just focus on why people should use it?
|
I know this is a very basic question. If someone could humor me and tell me how they would handle this, I'd be greatful.
I decided to post this because I am about to install SynchToy to remedy the issue below, and I feel a bit unprofessional using a "Toy" but I can't think of a better way.
Many times I find when I am... |
How, when developing a medium sized project, do you identify, create and maintain error codes?
I for the life of me can't think of a simple and clean method of doing so. Some of my ideas convert class names and method name into an integer string, but that is way to long to display to the user on top of the fact that me... |
I'm in process of selecting some training materials for our team. We mainly focus on C# (Silverlight and ASP.NET) I thought it would be a good idea to get some books (to keep us up to date) but also I ran into some websites that offer webcasts/workshops with annual subscriptions fees.
I much prefer following some vide... |
I like a technology (including programming language) but its platform is closed sourece and many times I meet people who ask me, "why do you use a closed source platform, why not use an open source alternative? If there is something wrong it should be with the closed source not with the open source, (as they say)". Act... |
As a developer with enough experience to evaluate a tool, I may say that PDT is very huge in size and slow in performance for a PHP IDE.
It gets bigger by release and exponentially slower by the size of the projects. Add some extra syntax coloring rules and it literally crawls, code completion works randomly and buildi... |
What's the difference between the two UpdateSubject methods below? I felt using static methods is better if you just want to operate on the entities. In which situations should I go with non-static methods?
public class Subject
{
public int Id {get; set;}
public string Name { get; set; }
public static boo... |
Every once in a while (read: about every day) I come up with a new idea, start a new project in my favorite editor/IDE, start coding and the next day I delete it and start something new. I've been programming for about six years now and in those six years I have only really completed one very small project (a Dashboard... |
my friend has developed a CAD program in C, here it is
http://web2coders.jrcw3.com/
i have convinced him to go open source, but we have some concerns:
if you upload a project to sourceforge or github would you be able to
know who's participating and if his version is good?
if you have many versions being developed by... |
I am in charge of the deployment or implementation work.Due to my company's immaturity product,there is a version upgrade serveral days.
Each time there is a upgrade version,I had to notify the customer they had to replace their old version product.What I do is reconfigure all the configuration files for different cu... |
Is it correct for management to give more importance or reward programmers who have worked on strategic and important application versus someone who has worked on a general application?
Both may have put the same efforts.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.