instruction stringlengths 34 36.1k |
|---|
I am a an engineering student and I want to learn more about systems programming . I wanted to know the various open source projects that I have as options to learn from about the same. The Linux Kernel Project is very stable and has a very large code base.I wanted to know about projects that would not take much time t... |
Is it a good idea if I put the books I read on my resume, or at least those related to software development?
|
IBM got me confused (again).
For many years IBM have been pushing for Portlet Containers with the JSR 168 and later the JSR 286 Specification.
2008-2009, IBM the Lotus division introduced the iWidget Specification. Based on my reading, it is a more dynamic and lightweight version of the Portlets, close to Google Gadget... |
I currently work in a professional capacity as a software engineer working with the Android OS. We work at integrating our platform as a native daemon among other facets of the project. I primarily work in Java developing the SDK and Android applications, but get to help with the platform in C/C++.
Anywho, I have a gr... |
To me, Visual Basic seems clumsy, ugly, error-prone, and difficult to read. I'll let others explain why. While VB.net has clearly been a huge leap forward for the language in terms of features, I still don't understand why anyone would choose to code in VB over, say, C#.
However, I still see (what seems to be) the vas... |
If so how, and what value would this rating have in understanding the code?
For example, I would guess that programs using genetic or neutral algorithms would be less predictable than one calculating the sum of pi.
|
For example, the Objective-C convention is to prefix the symbols with two or three capital letters which are abbreviations of the project: NSString, CABasicAnimation, MGTwitterEngine… In C, many projects also do this (OpenGL and nginx for example).
Is this also considered namespacing or am I missing something?
|
I am facing the following dilemma at the moment. I am using code from a scientific paper in a commercial project. So basically I copied and pasted the code from the paper's pdf into my code editor and use it in my own code. The code in the paper does not have any copy restrictions or license(like the GPL) so I thought... |
Does your company have architectural principles that are written and agreed upon? How did they come about? How do you manage ownership and acceptance of these principles? Are they helping you or hinder you?
|
I find working in isolation, on a piece of code that won't be seen by anyone else for weeks, draining. I'm looking for ideas to try to keep myself productive and motivated.
What do you do to remain motivated and productive, when given a long term programming task, and working on your own (for example, from home, withou... |
We have a lot of services, some that demand some security, some that don't.
We want an easy way of telling, in code, if a service will be secure or not.
What would be the better way: Annotation or inheritance?
public class SomeServiceImplementation : BaseSecureService, ISomeService
or
[SecureService]
public class Som... |
Let me explain my need:
I'm having a networked environment with 3 computers connected to a server which will be running full-time. The server also runs a FTP server. I would like to create an environment where 3 developers will be able to work on the same project.
For example, if I'm creating a CRM app, I would like t... |
A friend told me that writing comments inside methods is not good. He said that we should have comments only for the method definitions(javadocs) but not inside the method body. It seems he read in a book that having comments inside the code means there is a problem in the code. I don't quite understand his reasoning. ... |
Do they feel frustrated, disappointed, or even don't admit at all?
|
A long time ago I programmed a lot in ADA, and it was normal to name arguments when invoking a function - SomeObject.DoSomething(SomeParameterName => someValue);
Now that C# supports named arguments, I'm thinking about reverting to this habit in situations where it might not be obvious what an argument means.
You might... |
I am developing some external modules for an application.
These modules are BPL files and if present in the application folder the application loads them and uses whatever is available inside.
How can I prevent the sharing of these modules by my clients?
I need them to be authorized to use the modules (module by modul... |
I'm writing a small research paper which involves software development methodologiess. I was looking into all the available methodology's and I was wondering, from all methodologies, are there any that have provided the foundations for the others?
For an example, looking at the following methodologies:
Agile, Prototyp... |
I am developing python library for database inspection. When is good time to announce/release it? Obvious answer is that when it's ready to be used. But I would like to get some feedback on the API, on what would be useful and act accordingly to release early rule. Any advice on what I should consider before releasing?... |
I don't like ms diff that integrated into Visual Studio 2008 TFS Edition. Is it possible to change this file comparer to external one (Beyond Compare, for example)?
|
My development team just grew by 100% (from 1 developer to 2). My new cohort want to invest in bug tracking software. Is there benefits to such software for such a small team?
|
I am wondering: how feasible it would be to start developing a social networking website entirely based on silverlight;
This has been fairly discussed over the years in favor of HTML. Has something changed with silverlight improvements over the years?
What about:
* Performance
-- active users
-- technology used, MV... |
In technical interviews which interviews experienced programmers , the interviewers ask a lot of knowledge based questions . [eg. Like how to configure this and that in the xml] . These questions have exactly one answer and it is very likely that a good programmer may not know the answer to it (and hence get rejected) ... |
This is slightly different to most questions (trying to avoid duplicates)
When would you consider not using a framework (i'm talking PHP here for websites) when does one choose pure html/css/jquery over a PHP framework
It seems to me that a framework can be a bit bloated in some cases and overkill for certain circumsta... |
Recently stumbled upon this paper (PDF) talking about ACLs, or Architectural Composition Languages. They're a fusion of two earlier lines of research: Architectural Definition Languages (such as UML) and Object Composition Languages (such as XAML, WWF, or scripting languages).
The goal of an ACL is to have a high-level... |
C and most likely many other languages provide a struct keyword for creating structures (or something in a similar fashion). These are (at least in C), from a simplified point of view like classes, but without polymorphism, inheritance, methods, and so on.
Think of an object-oriented (or multi paradigm) language with C... |
I'm hoping to get some tips and advice on how to educate the rest of the company on how to submit proper bug reports. Currently we get tickets like:
When I click this link I get a 404.
(They include the page that 404s and
not the page that caused it)
Sometimes the right column flows into
the button column. (no screen... |
I think that I conceptually understand C# delegates, however, I am struggling to find a real world example where they would be useful. Can you provide some answers detailing how C# delegates were used in real applications and what problems they enabled you to get around.
|
I've worked mostly with interface building tools such as xCode's Interface Builder and Visual Studio's environment to place forms and position them on screens. But I'm finding that with my latest project, placing controls on the form through a graphical interface is not going to work. This more has to do with the num... |
I have a MVC2 project, my question is: should I migrate to MVC3? Why?
I'd like the opinion of some who already migrated, or at least used MVC3 and MVC2.
Already read http://weblogs.asp.net/scottgu/archive/2011/01/13/announcing-release-of-asp-net-mvc-3-iis-express-sql-ce-4-web-farm-framework-orchard-webmatrix.aspx
and I... |
C# allows the use of #region/#endregion keywords to make areas of code collapsible in the editor. Whenever I do this though I do it to hide large chunks of code that could probably be refactored into other classes or methods. For example I have seen methods that contain 500 lines of code with 3 or 4 regions just to mak... |
Is it advisable to create multiple classes within a .cs file or should each .cs file have an individual class?
For example:
public class Items
{
public class Animal
{
}
public class Person
{
}
public class Object
{
}
}
Dodging the fact for a minute that this is a poor example of g... |
I've done some programming in a more-or-less functional style, but I've never really studied pure functional programming.
What is the bare minimum needed to implement a functional language?
As far as I can tell, you need:
The ability to define a function
The ability to call a function
parameter substitution
Some kind ... |
Possible Duplicate:
Should I keep investing into data structures and algorithms?
I'm a CS student. I want to become a really great programmer, what do I need to do to be come a great programmer? Other then writing lots of code, I've heard that studying algorithms and theory (logic!) is help. What do you recommend to... |
I'm a 25 year old data consultant who is considering returning to school to get a second bachelors degree in computer science or engineering. My interest is data science and machine learning. I use programming as a means to an end, and use languages like Python, R, C, Java, and Hadoop to find meaning in large data sets... |
The site I work on is almost entirely in Javascript, it just goes back (via Ajax) to the server for authentication, database access, things like that. My boss would like me to add blogging, forum, and commenting capabilities. I don't want to implement it from scratch and I certainly don't want to integrate some HTML-... |
I've just released my application to the public, and I'm working on an updated version, but I really think I should keep track of ALL the code changes. In case some functionality suddenly starts failing, with a history of all the changes I made it would be a lot easier to figure out where I messed it up, in case the pr... |
Does anyone out there have any experience porting a large Powerbuilder client/server application to a Java application (or another language)? By large I mean something on the order of 2 million lines of code and literally hundreds of database tables. How did you do it? How long did it take and how much did it cost? Wha... |
In Java world, there are some scenarios where I see developers used to load the class rather than instantiation. What is the difference between instantiating and loading a class?
|
Esoteric languages are intriguing and can make you go 'Hmmm...', but what can we really learn from them? Is there a benefit to spending more than 5 minutes trying to write an application in an esoteric language? Have you tried one, and if so, what did you learn?
|
I mean did you ever reluctantly adopt a less than ideal solution because management told you that "customer is always right"?
I'll go with mine first. A few years back, me and my team developed a website of quizzes. Users create quizzes, answer them, rate/tag/vote/share etc.
If a quiz had more than 10 questions in it, ... |
In my application, I have a listing of information that is deducted from a query that combines information from several entities. In itself, a very common situation.
Now, the corresponding repository method should return a list that contains items of an appropriate type. Clearly, choosing an entity is not appropriate b... |
After doing a bit of programming, I've become quite curious on language design itself. I'm still a novice (I've been doing it for about a year), so the majority of my code pertains to only two fields (GUI design in Python and basic algorithms in C/C++). I have become intrigued with how the actual languages themselves a... |
I am looking for more information on a gradual release process - that is when you release new version of a software only to certain set of end users, mostly geographically limited (or limited by a reach of particular server).
Google seems to be blind to this term - that indicates that's not how it's called. What's the ... |
Do you use both Client-side and Server-side validation techniques side by side when validating input from a user, e.g. via a contact form?
If so, is it really necessary? Are you over engineering?
|
I have a Maven project consists of around 100 modules. I have reason to decompose the project to so many modules, and I don't think I should merge them in order to speed up the build process.
I have read a lot of projects by other people, e.g., the Maven project itself, and Apache Archiva, and Hudson project, they all ... |
In an embedded device, during the initializing of memory locations, is there any convention that are being practiced.
I mean, say setting every byte to zero or 0xFF or any other value.
|
I've often seen such comments be used:
function foo() {
...
} // foo
while (...) {
...
} // while
if (...) {
...
} // if
and sometimes even as far as
if (condition) {
...
} // if (condition)
I've never understood this practice and thus never applied it. If your code is so long that you need to know what... |
Every time I've finished a project, there is always something that I've learned (otherwise I don't find it very motivating). But I can't remember everything, and much later I may stumble across the same problem that I encountered in a previous project but no longer how I solved it (or at least what attempts I made).
So... |
Project Managers/Technical Leads sometimes tend to be over enthusiastic when it comes to software.
But during code reviews if instead of functionality of the code the only complain one hears is about formatting/spacing and similar trivial things, when there are far better things to discuss (Among other things I have no... |
Possible Duplicate:
Would you allow your programmers to use Messenger and social networks like Facebook?
A manager may believe that using IM clients in the office is not acceptable, but many programmers use them for legitimate purposes, for example in order to easily contact one another.
Do you think the IM chat pro... |
If I am localizing a piece of software that uses an external API, how should I handle error messages that originate in this API? I do not control the API, I only consume it. The error responses are not very structured: some contain error codes, some contain verbose details in the text, others almost nothing. Some error... |
So, before I came to my current place of employment, the windows OutputDebugString function was completely unheard of, everyone was adding debug messages to string lists and saving them to file or doing showmessage popups (not very useful for debugging drawing issues). Now everybody (all 6 of us) is like "What can I s... |
Developers, managers, or customers? I was recently involved in a situation where I felt like the customers were arbitrarily demanding for more developers on a team which already had too many developers. They were scared the project was going to be late (and it probably will be). Personally, I was scared we were going t... |
I am planning to be traveling through eurasia and asia (russia, china, korea, japan, south east asia...) for a while and, although there are plenty of marvelous things to see and to do, I must keep on working :(.
I am a python developer, dedicated mainly to web projects. I use django, sqlite3, browsers, and ocassionaly... |
Interested in peoples opinions of Cuda vs openCL following NVidia's Cuda4 release.
I had originally gone with openCL since cross platform, open standards are a good thing(tm).
I assumed NVidia would fall into line as they had done with openGL.
But having talked to some NVidia people, they (naturaly) claim that they wil... |
I have recompiled a plugin (making changes before they are accepted upstream) for the gstreamer media framework. I did not recompile the whole library -- just a plugin.
If I want proprietary python code to use this plugin -- am I running afoul of the LGPL license? My code never directly links to the modified plugin.
... |
From different comparisons among C++ templates and C#/Java generics like this one-
https://stackoverflow.com/questions/31693/what-are-the-differences-between-generics-in-c-and-java-and-templates-in-c/31929#31929
I got a perception that, C++ templates are implemented by some kind of preprocessing(plain text replacement ... |
Idea
I had this idea for a language feature that I think would be useful, does anyone know of a language that implements something like this?
The idea is that besides inheritance a class can also use something called "imprinting" (for lack of better term). A class can imprint one or several (non-abstract) classes.
When... |
Certainly it is a productivity killer when a developer is constantly interrupted by other workers, bosses, etc - but it is even worse when the developer is constantly interrupted by his or her own tools and equipment.
For example, if a developer must wait 10 minutes for each build he makes - so that he can iteratively ... |
I have read most of the major threads on WPF vs. WinForms and I find myself stuck in the unfortunate ambivalence you can fall into when deciding between the tried and true previous tech (Winforms), and it's successor (WPF).
I am a veteran Delphi programmer of many years that is finally making the jump to C#. My fellow... |
Does anyone know anything about slidedeck's business model (see link below)? These guys are a javascript component that they sell online. As the tech savvy know - It's very difficult to sell javascript online, because it's pretty much like selling source code.
But check out: http://www.slidedeck.com/pricing-b/
These gu... |
I'm just starting to learn C#. Coming from a background in Java, C++ and Objective-C, I find C#'s Pascal-casing its method-names rather unique, and a tad difficult to get used to at first. What is the reasoning and philosophy behind this?
I'm guessing it is because of C# properties. Unlike in Objective-C, where method ... |
And why is it often talked about?
Like I know what OO programming is obviously... but people always say "Oh OO reuse is the biggest programming myth ever".
What exactly does this mean?
|
Is there any existing in-use, or even just conceptual attempts at creating a markup or programmatic expressions for designing the layouts of websites other than HTML/CSS?
If there are others out there and they do not appear to be in heavy use. Why is this?
|
I spotted a bug today in a web application that I develop and maintain for a client. I let the client know that I had spotted a problem and after a short time I fixed it and reported back the full details to them.
In cases like these do you always tell your client? Even though it would be possible to fix the problem an... |
I'm looking for your best "quick answer" technical interview questions. We are a 100% Microsoft shop and do the majority of our development on the ASP.NET web stack in C# and have a custom SOA framework also written in C#. We use a combination of Web Forms, MVC, Web Services, WCF, Entity Framework, SQL Server, TSQL, jQ... |
Swing is an integral part of the Java API. It is also the most popular GUI framework for Java. I still wonder, should every Java programmer still know, or at least be pretty familiar with, Swing (possibly excluding web developers)? There are alternatives (e.g. SWT), but they are not very widely used (compared to Swing)... |
I've recently been in an argument with a colleague about technical questions in interviews. As a graduate, I went round lots of companies and noticed they used the same questions. An example is "Can you write a function that determines if a number is prime or not?", 4 years later, I find that particular question is qui... |
I'm a PHP programmer, and until now I have not needed to learn algorithms...
Now I'm start learning Python (a real programming language), because I need to use matplotlib. Does it make sense to start by reading a Python algorithm book and then learn matplotlib and numpy or should I jump to matplotlib and numpy?
Best Re... |
I'd like to get into web development using C++ as the "scripting language" on the server-side. My server infrastructure is *nix based, so doing web development in C++ on Azure is not applicable and C++/CLI ASP.NET is also not applicable.
Separate from legacy CGI applications, can web development be done using C++ ?
|
My team does a lot of internal tooling and infrastructure work - you can think of us as a small scale version of the teams Facebook, Etsy, Netflix, etc. who build all the infrastructure for scaling their services up to thousands/tens of thousands of servers and supporting millions of users.
Lately, we've been running f... |
I use OOP programming with inheritance, but I've not yet used interfaces.I want to learn how to use design patterns, but I'm finding them very difficult to learn. Is there is any way to learn design patterns easily?
I searched quite a bit, but I was not able to find useful information.
|
I have a Business layer (BL) and a Data layer (DL). I have an object o with a child objects collection of Type C. I would like to provide a semantics like the following o.Children.Add("info"). In the BL I would like to have a static CLASS that all of business layer classes uses to get a reference to the current dat... |
As long as the code in the base library is as loosely coupled as splitting it up into separate libraries, what's the problem? In general, having a lot of assemblies composing a .NET solution is painful.
Plus, when code in one solution needs to be shared, it can just be added to the common library, rather than deciding ... |
During my 5 years in IT as a software developer, I've noticed that developers have a strong distaste towards doing any documentation. The act of taking screenshots and creating documentation seems to be a painful and time consuming experience. In one company I worked for, we had a technical documentation team with two ... |
I've found, what I personally believe to be a bad habit that a lot of developers seem to have adopted. Code in various places in the applications I have seen are commented out (lots of it) and checked into the mainline. Now, I don't have a problem with people doing this with their own branches, but is it a good idea to... |
This is actually a question I should've asked a while ago(as in, I don't even work at this job) but I thought it to be an interesting question nonetheless.
Our team was basically just 1 developer(me!). The manager also developed sometimes, but was mostly just business. He thought we should have some sort of bug tracke... |
I'm a hobbyist programmer (with no formal education) looking to start doing small freelance jobs. One of the things that hobbyist programmers can get away with that those with a "real" job can't is lack of documentation. After all, you wrote it so you know how it works.
I feel a little silly asking because it seems lik... |
I work on a team that has been flat organizationally since it's creation several months ago. My manager is non-technical and this means that our whole team is responsible for decision-making.
My manager is beginning to realize that there are several benefits to having a lead developer, both for his sake (a single poin... |
Today, One of my colleague and I have a debate about "Should we put the specification documents in source control system such as SVN?". In my opinion, It should be. Everything relate to developing project should be controled carefully with source control system. Is it a wrong concept in software development process?
|
Obviously something as simple as int i = 0; or for (int i = 0; i < 10; i++) can't be copyrighted, but an entire function could be. Where is the line between copyrightable and uncopyrightable?
|
One of the most intriguing items in the recently released Visual Studio 2010 Feature Pack 2 is the ability to create and edit UI tests in Silverlight.
Here is an example of a coded UI test.
I haven't had much time to use it yet, but for people who have, I am curious as to what your thoughts are. Is this something yo... |
As a freelancer working on both paid and personal projects, I'm always splitting my time between a huge number of small and large projects/tasks/fine details. I've developed a small custom-coded solution to organizing my time and tasks.
What is the best solution to organizing and managing your projects, tasks and to-d... |
There is a developer, let's call him John (currently on probationary period) in company(pretty small company approx. 10 persons, 3 developers, one of them works long in this company know business process around and can be consider as Team leader) who didn't want to use any IDE at all(he is using some text editor).
Ap... |
We are trying to figure out the best practice for working with very large DBs in Java.
What we do is a kind of BI (business Intelligence), i.e analyzing very large DBs, and using them to create intermediate DBs that represent intelligent knowledge of the DBs.
We are currently using JDBC, and just preforming queries usi... |
I paid for a web site for my motel business, then due to my landlord actions I was placed in a position to file for bankrupcy. I asked my IT manager and web developer to close down the web site for the business.
He has since then sold my web site to the new owners. I took all the photos myself and I am in at least 4 o... |
I have an app that works with a list of objects so has one central keyed list.
The main window has a tree containing these object with some information, which is easy enough to populate as a one off event after loading.
Now, the complicated part, any part of the application can add, remove, and more importantly change ... |
I was wondering if anyone had the same need and why (if possible).
My problem is: I can't create a model in EF using two tables from different DBs without some weird workarounds. For my scope that is very much necessary.
Did any of you ever needed to do this?
What did you do? And, like me, do you think MS should add ... |
I start a job this summer doing work in ASP.NET 4 (C#). I plan on working with some legacy code as well as MVC.
I want to get a running start. I have good understanding of HTML/CSS/Javascript, and pretty good understanding of C# itself, Design principles, Design Patterns, and understand masterpages, basic MVC2, and cod... |
This statement suggests that statically typed languages are not ideal for web sites:
I’ll contrast that with building a
website. When rendering web pages,
often you have very many components
interacting on a web page. You have
buttons over here and little widgets
over there and there are dozens of
them on ... |
This question made me think that there was a better question to ask.
What did you learn in school that you didn't care about at the time, but turned out to be useful or you had to relearn in the workplace because you had it in school, but didn't retain the information and you needed it? (I mean for software related job... |
When building an API for a customer, the public javadoc has to contain just what you want to show the customer. Which is a shame, as it the javadoc is also, in some ways, the obvious target for some kinds of internal design documentation. One might imagine a custom doclet or some other trickery to allow the two types o... |
Imagine you have implemented the creation of a nice path-based star shape in Lisp. Then you discover Processing and you re-implement the whole code, because Processing/Java/Java2D is different. Then you want to tinker with libcinder, so you port your code to C++/Cairo.
You are (re)writing a lot of boiler plate code, wh... |
I have a small project (3000 lines in Python) that I wrote myself; it has no known bugs and has some decent parts, but is largely a mess because of my lack of time. Unfortunately, I have to be the one who continues writing and maintaining the code.
Is it a good idea to hire a highly experienced developer, explain to th... |
Coding is only one aspect to professional programming. My job requires me to code, but it also requires me to do other things for extended periods – sometimes days or weeks go by when I'm not just coding.
I fear letting hard-won programming skills atrophy while I sit in meetings, draw architecture diagrams and annotate... |
I spend a lot of time working in javascript of late. I have not found a way that seems to work well for testing javascript. This in the past hasn't been a problem for me since most of the websites I worked on had very little javascript in them. I now have a new website that makes extensive use of jQuery I would like ... |
I write software that involves the use of measured quantities, many input by the user, most displayed, that are fed into calculation models to simulate various physical thing-a-majigs.
We have created a data type that allows us to associate a numeric value with a unit, we call these "quantities" (big duh). Quantities ... |
I'm developing a software to program a device.
I have some commands like Reset, Read_Version, Read_memory, Write_memory, Erase_memory.
Reset and Read_Version are fixed. They don't need parameters.
Read_memory and Erase_memory need the same parameters that are Length and Address.
Write_memory needs Lenght, Address and D... |
I'm about to write the company guidelines about what must never appear in logs (trace of an application). In fact, some developers try to include as many information as possible in trace, making it risky to store those logs, and extremely dangerous to submit them, especially when the customer doesn't know this informat... |
I have a little program that I wrote for a local group to handle a somewhat complicated scheduling issue for scheduling multiple meetings in multiple locations that change weekly according to certain criteria. It's a niche need, but I wouldn't be surprised if there are other groups that could use software like this. ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.