instruction stringlengths 34 19.9k |
|---|
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.
|
Is there a software development process out there newer than agile?
I mean, waterfall, then agile, then what?
|
At the stage of a project right before you actually start putting code in the editor how do you organize the project and your "tasks". Ticketing systems are great but I can't seem to find a way to make them worthwhile on a project until after launch. When tracking bugs and gathering enhancement ideas for later versions... |
I'm writing a class that will handle thread synchronisation.
It would have a begin method which would increment a counter and an end method that would de-increment a counter. It'll have another method which will block while the counter is not zero, then perform an action while holding the lock.
Its a bit like the oppos... |
Many times when I get tired of development and my mind doesn't really help me any more (at home), I simply do something entertaining and my mind gets free for more hours of work with higher problem-solving capacity.
However, when I recommended this technique to my manager as a technique to increase developers producti... |
In a month, I have to hand in a Java project. I have to make an e-shop program which has two types of users (admin and normal users). The admin can add/delete/restock stuff in the shop while the normal user can watch products and buy them. In order to buy a product the customer has to make an account in that e-shop. I'... |
I often receive some potential client who wants me to make his web site. Some of them end up as real clients and give the project. Some others (the most) have no idea about prices and times.
For those, if they are close to me, I can hear what they want, tell them it is going to be about X money and Y time and it can go... |
I am a Junior at workplace and I have been to a number of our retrospectives over the last year. I have been asked to facilitate a retrospective of my own.
So far, we have done "hats (red, green, white etc)", "mad, sad, glad", "imagining going forward to end of next sprint, and discussing how it might have gone".
I wou... |
I make a fair amount of small mistakes when I code (things such as getting an angle bracket to the wrong direction). It adds a fair amount of time to my coding because I have to debug several times and iron out the dinks. Have you got any advice on how to stop these mistakes creeping in?
|
I have a warehouse management app that I have written that handles batching of orders for batch picking, scanning of items for packing and accuracy. Part of this app is a Dash or control panel that the different managers in the warehouse work out of. It shows who's picking, packing, who's available, how many orders are... |
Someone is interested in learning to program. What language paradigm should I recomend him - imperative or declarative? And what programming language should he start with?
I think that declarative because it is closer to math. And I would say that Prolog might be the best start because it is based on logic and programs... |
Possible Duplicate:
TDD negative experience
I would like to read about negative experience related to developing in the TDD style. Looks like it is very difficult to find this kind of article since Google is filled by positive views. Are there any good articles that reflect the negatives of TDD?
|
Rhetoric teaches us that the answer is probably yes. However I feel that we would no longer relate to the vast majority of Agile success stories.
I think that my upper management read the benefits column of an Agile process but forgot to read about the requirements or how successful Agile businesses got there.
|
The licenses I know, including open source and the less restrictive ones like BSD, make it mandatory to:
Retain the copyright notice, and/or:
Indicate that the precise part of source code was written by the original author.
Let's say I want to share source code I've written and I want to grant all rights, including t... |
I am developing the UI for a .NET MVC application that will require international localization of all content in the near future. I am very familiar with .NET in general but have never had a project that required such a significant focus on international accessibility.
The projected is initially being done in Engli... |
I am trying to understand which data format is better on embedded device communicating with Server over REST API. XML or JSON?. Is JSON parsing faster than XML parsing in Java / C and C++? I understand for web client JSON is way to go since java script has inbuilt support for JSON but not sure about embedded device(Ja... |
I've been reading a bit about software licenses, and I'm having trouble getting my head around the idea of what happens when one wants to change the license. I've read a couple of questions here on the topic and it clarifies things some, but there are still a couple of areas that are unclear to me.
One example: Suppo... |
It roughly three weeks I will be taking a Parallel programming class that is taught using C for the assignments. I have a fairly strong interest in the subject at present and my C skills aren't terrible but I feel like I need to brush up on C as the last class I had that actively required programming in it was 8 months... |
I began teaching a friend programming just recently (we're using Python), and when we began discussing variable creation and the assignment operator, she asked why the value on the right is assigned to the name on the left, and not vice-versa.
I had not thought about it too much before, because it seemed natural to me,... |
I'm looking for best practices when creating a plugin for gRaphael. I'm looking for something like jquery where in its documentation you have the best practices of how to write a plugin. So far I haven't found nothing so I'm starting to imagine that it just comes down to best practices with javascript and not with a pa... |
Our current method of creating a product release is to tag all of our component repositories with the next appropriate version and then modify a master build script with these new version numbers for each component. The master build script will then be run and it will perform a SCM checkout of each component, then mod... |
This happens in Javascript, for example, that division by zero is not handled by the language itself.
Is there's a valid reason for this?
I see this as a very basic exception that a language should be able to handle (they even handle 0/0 as NaN NaN).
or take the square root of a negative number or use arithmetic
op... |
I have been working on the JVM for years and I have very rarely experienced a JVM crash ... that is until approx 6 months ago.
Since that I have experienced approximately 5 JVM crashes resulting from 2 JVM defects. The solution from Oracle was always the same ... upgrade.
Each upgrade is always to and from a point r... |
1/22/12 update in case you were puzzled as to why I haven't accepted an answer: Pretty much all of the answers make the obvious point that working for him would have been silly, but none of them seemed to answer the question.
tl;dr: Some guy I just met says he wants me to join his company. Before he shows me what they ... |
Let's say your team is working on 10 features/fixes for a sprint. At the end of the sprint, there are one or two things that the product owner does not accept. But, they would really like the other 8 or 9 to be released.
How do you handle this? Using subversion, what would be the best methodology to manage a sprint w... |
From "Demystifying Java"..
For many of us, the terms information and data are synonymous. However, information and data are distinctly different in programming. Data is the smallest amount of meaningful information.
Can someone please give me an example that could help me out, and perhaps relate to a 14 year old? I ... |
I just saw a video about what the publishers call the "next major step after the invention of 3D". According to the person speaking in it, they use a huge amount of atoms grouped into clouds instead of polygons, to reach a level of unlimited detail.
They tried their best to make the video understandable for persons wit... |
I've been thinking recently about being an end-user who wishes to download one of my own projects and use it on a perfectly average machine. Having an equal background in Unix as well as Windows, I know that package management on Unix makes it FAR easier for the programmer to make it easy for the end-user. If a package... |
I cannot understand what the following means "ISAPI applications can be written using any language which allows the export of standard C functions, for instance C, C++, Delphi."
What is "allowing export of C/C++/Delphi functions" ?
P.S. I am very very new.
|
At the place I currently work they do some thing I consider strange in the way they work with the MySQL datadir. The directory in which the files that actually store the data are kept.
$ grep datadir /etc/mysql/my.cnf
datadir = /var/lib/mysql
Where all the .frm .myd .myi files are found.
When moving data around on... |
What is a negative side of your TDD experience? Do you find baby steps (the simplest fix to make test green) annoying and useless? Do you find no-value tests (when test has sense initially but in final implementation checks the same logic as other test) maintanence critical? etc.
The questions above are about things wh... |
Can anyone recommend a good guide to VB.Net for someone having experience/comfortable with C?
I can find Python/Java/Lua for C programmers had have used them earlier, but am unable to find anything for C programmers moving to VB.Net
(I'll be moving from using C/C++ with gcc/g++ to VB.Net on VS 2010)
|
Our division is a small offshore development-only unit (not more than 25 members) but we develop many projects. Our main focus is development. Developers are grouped under Project Leaders, and they in turn report to a Project Manager.
I'm stuck with the most lamest Project Leader. Our team has 4 developers under this ... |
Sometimes you have many entities which have common parts, but also should be addressed uniquely in UI. For example, in a CMS, you have many content types (like news, images, articles, pages, etc.) which have title, URL, SEO settings, etc. in common, but which also have specific fields. For example, image have a path fi... |
I was taught in university to write comments for our programs. As I write comments, I feel like I have a better organization and understand the programs better.
However, I am in a company where most of the code I encounter doesn't have comments. Why would a programmer not write comments? Are there are any objective rea... |
Imagine if your development team were asked to develop a system. The system should only response to some particular user groups such as "Group A", "Group B" or "Boss" who are the actually users of the system.
If you receive a phone call from the user saying that the system crash upon some particular situation/parameter... |
The debate: Should all development, including refactoring work, be accompanied by a tracking issue? (in our case, Jira)
The common ground: Our primary goal is quality. A working product, every release, is more important than anything else. Our codebase is old and automated tests are lacking; we are working on this but ... |
I have been given the task to rejuvenate an existing Human Resources application from Access into ASP.NET. This is a strictly internal application, and I have no problems developing it within our standard ASP.NET environment. It does however pose it's own problems, both technically and ethically.
The HR app will be res... |
I'm reading about LISP.
I understand how prefix notation works at a certain level, but I was wondering if there are any tricks to making it intuitive.
|
I would like to make for example imperative programs as output of Prolog (shaders of graphic card) and also event-driven programs (game logic) ... also I would like to learn how to metaprogram in Prolog in general.
I believe there might be some insights or advices how to do it; I don't want to jump into it not prepared... |
OK, so, background:
I have a little "server" app/module that is written in C++. This is kindof a tunnel application that provides a standardized API via TCP/IP[a] and on the other hand talks to the "real" server via TCP/IP[a] via it's own interface.
It doesn't even officially support multiple clients, but due to the i... |
I've recently started digging into Atom syndication feeds and are planning to migrate some web services we're running into an more standardized model using Atom Syndication and the Atom Publishing Protocol.
The content of most of the syndication feeds are not created by a concrete user though, but rather auto-generated... |
I come to you as a newbie programmer who's been working on his own project (which is progressing nicely). My co-founder has also been learning how to program and has reached a point where he could probably start fixing some things and making some things happen.
He asked a very good question, which was "how will this wo... |
I'm a QA guy and designer and i'm coming to development. How do most developers architect programs? With design I build up with a vague idea of what I have in mind and adapt my design to keep in moving forward and looking good. With coding, I'm trying the same methodology. I'm constantly testing and debugging my code a... |
I want to start a bit of freelancing in web development using ASP.NET MVC3 and PHP and I already have some people who are interested in hiring me, but I still can't figure out how much to charge for projects since I have never done it.
For example how much would this site cost? Would it cost more if the author built it... |
I'm interviewing for a position at an internet startup. The position relates to doing data mining on their very large database of user information. As part of the (long-distance) interview procedure which involves examining a subset of their database, they requested that I submit the code I used for analysis.
My main c... |
Have you always been fundamentally correct in the software designs you proposed? When you give out some design that was fundamentally wrong, you tend to lose the respect of your fellow team members. No matter what you do after that you end up being crosschecked for everything thing you propose after that incident. This... |
The proponents of functional programming languages assert that functional programming makes it easier to reason about code. Those in favor of statically typed languages say that their compilers catch enough errors to make up for the additional complexity of type systems. But everything I read on these topics is based o... |
We are investing heavily in Java, but after recent experiences and reading Joonas' response on that question:
Had you used those flags in Java 6, you could have experienced not
only crashes, but incorrect execution of loops, that is,
miscalculations, because of a minor upgrade from 6u19 to 6u20
(approximately... |
Possible Duplicate:
How do you interview someone with more experience than you?
Next week i'll be interviewing some contractors for a 6-month senior Dev position on a project. I'm an OK programmer myself, but nothing special, and at the moment i'm struggling to think of what questions to ask them, or what coding cha... |
While I understand what the final keyword is used for in the context of classes and methods as well as the intent of its use for in regards to variables; however, the project I just started working on seems to have an excessive number of them and I'm curious as to the logic behind it.
The following snippet of code is j... |
I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.
In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.
The question is, does anyone use octals for anyth... |
Because of a change in technologies, we are doing a major version change in our in-house enterprise software. I am going to be doing the usual of interviews, observations and brainstorming sessions.
What general (and fun!) questions do you recommend/use in a first pass to elicit the discovery or remembrance of new func... |
What methods (in programming/web dev terms) were used to take payments online before such things as Paypal, Google Checkout and various gateways and API's.
How were such transactions carried out?
|
I am wondering if I should rely on Visual Studio in adding HTML and CSS elments by using the viusal toolbars or should I write them by myself? Is it considered bad practice if I relied on Visual Studio to do that?
|
So I have a client that is running multiple versions of multiple browsers. I currently support IE7, IE8, IE9, Firefox4/5, Safari 5 and Chrome. The site works in all the named browsers.
IE has a feature called 'compatibility mode', the current bane of my existence. The problem is that in compatibility mode, form butt... |
I'm a software dev team leader (I recently took control of a new team), and ultimately responsible for maintaining high productivity, good quality and organized priorities.
I have 6 senior developers in my team, but things feel like a mess here. The situation is that I have to deal with JIRA requests from about 10 diff... |
I think the short answer to this question is probably "yes", but I thought I'd ask anyway!
We are in the process of taking a number of existing similar-but-different applications and, as part of what is for us possibly the largest development project ever, attempting to replace them and any subsequent similar-but-diffe... |
I'm developing a game with a component-based architecture. I want to store entity descriptions in a SQLite database for compactness and convenience. Obviously the backend code is (and the database schema will be) under version control. Since important behaviour is in the database, and because multiple people will be wo... |
Suppose someone writes some code, and publishes it as open source under the GPL. Later they decide to close source their application and put it for sale. Is that in violation of the GPL? All code in the closed source app was written by the said author. Since he "owns" the code, I would think he can choose to re-license... |
It is clearer how to interview someone experienced in Java / C++ or other languages closer to C#. In these cases the language and specific technologies are less important; what matters are the OOP principles.
But how to do it with someone that comes from Progress to .NET and also, me as an interviewer, not knowing Prog... |
Dividing a problem to smaller ones until the individual problems can be solved independently and then combining them to answer the original question is known as the divide and conquer algorithm design technique. [See: Introduction to Algorithms by CLR]
Recently, this approach to solve computational problems especially ... |
I understand the concept of CSS. But on many projects I've found that I tend to lose myself and end up with a millions CSS files for a millions different pages!
I realise that the point of CSS is that it cascades. Otherwise it would just be a style sheet!
I would just like people to shed some light on how they use CSS ... |
When I was assigned a program, I usually build them block by block. For example, I was required to write a program which enable FTP transfer of files, which also allow queueing of transfer and a multi-thread transfer instead of single thread transfer. What I would do is:
1) Try to make the program able to transfer 1 fi... |
In a new winform app that I am still preparing, I got the idea that I could by sponsored or have some kind of logos of companies that want to place they logos there.
The application is for sports training and completion management, carrier management, etc.
As any one seen something like this?
How can it be done?
How c... |
I am computer engineering student. I've been thinking about
how I can handle a big project. What should be my first step to reach my goal in a more efficient and effective way?
When I come up with a project, I don't know how I should start working on it. Many times, I just ignore it. However, I don't want to ignore my ... |
Given the following scenario:
There is a public website (with about 50-100 visitors a day)
Visitors register for the services offered by the company who owns the website
Visitors tend to give wrong information regarding address and phone number that slows down the process of their registration, therefore their transac... |
I look for a tool or a "best practice" whose focus is on managing how the current staff of programmers can get assigned and re-assigned to different projects depending on changing priorities. Progress on projects should be tracked, too. Our department is not faced with a single, overly complex project (for which I'd kn... |
I use .Net and C#.
I have the following code in some module:
DateTime validFrom = Convert.ToDateTime(validFromTxt.Text);
This makes (in my opinion) the implicit assumptions
that there is text in validFromTxt.Text
that it is possible to convert this into type DateTime.
My question is, may the module make these implic... |
I would like to ask you as experts about PHP, ASP.NET/C#, Python or any other server side language.
How do they span multiple servers? When I see a big website and look how many dedicated servers it uses, at least it uses 10 servers. I sit and think how the langauge that was used in building this site span these server... |
In short I am searching for an alternative to Java applets for making some interactive parts like minigames etc. on my website
Facts:
I´m developing an e-learning website for children.
This site has following main functions:
practice part where children can do grammar test and receive points for good answers.
tamagot... |
In Java, C# and many other strongly-typed, statically checked languages, we are used to write code like this:
public void m1() { ... }
protected void m2() { ... }
private void m2() { ... }
void m2() { ... }
Some dynamically checked languages don't provide keywords to express the level of "privateness" of a given class... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.