The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
3answers
160 views

Finding the name of a video game with a picture of its cover (Python/Java) [on hold]

For the past few days, I've been trying to figure out how to take an image of a video game cover (like this one) and get the name of the game from it. Initially I attempted to use Google's Search by ...
0
votes
0answers
20 views

Compare data in a unknown size input file [migrated]

I'm writing a time sheet calculator program to go with a time clock program I wrote. I've got the inputs coded into arrays, but I'm a bit rusty and can't figure the best way to compare the data. The ...
0
votes
2answers
116 views

How to choose between different open-source libraries? [closed]

Recently, I found multiple GitHub repositories that would allow me to perform the same task. (In my case, assess the readability of text strings.) It made me wonder, what are the best practices for ...
1
vote
0answers
27 views

Difference between MPL 2.0 and LGPL 2.1 (+static linking exception)? [duplicate]

Is there a difference between MPL 2.0 and LGPL 2.1 (+static linking exception)? If yes, what is it? As long as i understand the only difference between them is you can't use trademarks of ...
2
votes
6answers
717 views

Why is PHP's method of comparing different types bad?

I'm working on designing a new programming language and trying to decide how I will do variable comparisons. Along with many different types of languages, I've used PHP for years and personally had ...
2
votes
4answers
337 views

Shallow or deep equal, which one is idiomatic in Java?

I have a domain model in which I use a few aggregation relations, i.e. an object of class A contains zero or more objects of class B. I use Java for the implementation and I represent such an ...
3
votes
3answers
467 views

Which is the better: a <= b or a < b+1 [closed]

For loops are usually inclusice, exclusive, meaning that you start at the bottom, and stops when you reach, but don't to the top. In Python: for i in range(0,a): print(i) would print 0 through ...
5
votes
3answers
184 views

Importance of diffing and merging for design specifications documentation

The context of this question is choosing tools for writing design specifications for software projects. These documents will be written and maintained by architects and developers, I'm not talking ...
13
votes
2answers
457 views

Trying to understand the 2N lnN compares for quicksort

I was going through the analysis of quicksort in Sedgewick's Algorithms book. He creates the following recurrence relation for number of compares in quicksort while sorting an array of N distinct ...
-1
votes
1answer
110 views

Special feautures of each of these languages that make them special [closed]

I interested about C++, C#, Java, Python, Ruby and Perl. All this languages are very popular and I believe that each one have something that make people to choose them. What is that special thing that ...
2
votes
5answers
237 views

Best practice to sort then reverse, or write “backwards” comparator?

I wrote a comparator for a custom class of mine and when I ran my code I realised the output of my list of these objects was in the reverse order as to what I wanted. It was "ascending" as opposed to ...
3
votes
2answers
589 views

Tricky compareTo, inheritance, easy to extend - Java

Let's say we have 4 classes A, B, C, D where: A is a superclass of both B and C and C is a superclass of D. I suppose, in a diagram, it should look like this: A / \ B C \ D ...
12
votes
1answer
804 views

Scala as a language for Generic Programming

In the paper “An Extended Comparative Study of Language Support for Generic Programming” by Garcia et al. an interesting comparison of programming languages features for generic programming is given: ...
5
votes
2answers
350 views

Are Scrum and XP comparable things or are they used for different things

Are Scrum and XP comparable things or are they used for different things? what is the main features of each of them? how do they overlap? I've been reading about both XP and Scrum over the past weeks ...
0
votes
1answer
890 views

Rails vs. Drupal [closed]

I was querying indeed.com/salary to investigate general market trends. When comparing ruby on rails with drupal, you would observe a substantial difference between these two. I'm not sure if the data ...
0
votes
3answers
182 views

I need some help creating a non-binary tree (or some other data structure that will better solve my problem)

I have about ten lists of numbers and some strings. Each list has about <= 30K lines. Each line on a list has a distinct number. I need to build an efficient way of finding all the lines in each ...
5
votes
5answers
546 views

How representative is Ohloh? [closed]

My colleague recently pointed me to Ohloh, a website providing statistics on FOSS based on versioning repositories. It's quite a fun procrastination tool, e.g. to compare programming languages by ...
0
votes
2answers
435 views

When to use identity comparison instead of equals?

I wonder why would anybody want to use identity comparison for fields in equals, like here (Java syntax): class C { private A a; public boolean equals(Object other) { // standard ...
4
votes
5answers
423 views

What do you call “X <= $foo <= Y” comparison?

While writing a Perl statement like if ( $foo >= X && $foo <= Y ) yet again, I wondered why many programming languages do not support the more comfortable form if ( X <= $foo <= Y ...
7
votes
1answer
2k views

Play or Lift: which one is more explicit? [closed]

I am going to investigate web development with Scala, and the choice is between learning Lift or Play: probably I will not have enough time to try both, at least at first. Now, many comparisons ...
1
vote
2answers
353 views

Efficient way to compare scene-graph trees

I'm designing a scene graph system, where it is required to compare two trees. The trees are populated with individual objects, each with varied number of children; and they have a root. Eg: Parent: ...
3
votes
2answers
176 views

Custom graph comparison?

I'm trying to compare two graphs using hash value ( i.e, at the time of comparison, try to avoid traversing the graph ) Is there a way to make a function such that the hash values compared can also ...
2
votes
1answer
791 views

Is it possible to check that MS word file is hand written or auto generated by using some converter?

I got one project with some requirements. Basically my client provide data entry work. In that he converts image files(scan copy of articles, forms etc) to document file (MS word) by typing ...
8
votes
4answers
804 views

Using PHP's ternary operator with only two arguments

I was recently reviewing some of my code and noticed that in a fit of absent-mindedness, I'd left a structure like the following: $guid = empty($subscription->guid) ? : $subscription->guid; ...
24
votes
10answers
3k views

Is there any reason why most programming languages don't have '!>' (not greater than) and '!<' (not less than) operators?

I wonder if there is any reason - or if it is just an accident of history - that there are no !> and !< operators in most programming languages? a >= b (a greater OR equals b) could be ...
1
vote
2answers
3k views

Java Web Frameworks (JSF vs Wicket) Third-party component suites in Wicket?

A presentation linked in an answer here demonstrated a comparison of several web development frameworks. It was a good comparison but caused me a little worry based on the technology stack that I ...
-1
votes
1answer
737 views

Pros and cons of using Grails compared to pure Groovy

Say, you (by you I mean an abstract guy, any guy in your team) have experience of writing and building java web apps, know about filters, servlet mappings and so on, and so on. Also, let us assume ...
16
votes
5answers
2k views

For what types of applications is Python a bad choice?

I just started learning Python, and I'd like to get some more context on the language. I realize that, in many cases, Python is a slow language relative to C or C++. Thus, Python is probably not the ...
1
vote
2answers
370 views

What advantages would the Twitter streaming API provide?

I'm in the very early stages of writing an application to mine through Twitter data looking for certain types of information. I've been using Twitterizer, which I have found effective in downloading ...
41
votes
10answers
4k views

What are the areas where the .NET platform is still lagging behind the Java platform? [closed]

It's almost always true that older platforms have more third party tools, libraries, projects, and support. When compared to .NET, Java has all these privileges. But time has passed since .NET first ...
6
votes
2answers
384 views

Why don't many code review tools seem to be syntax aware or provide more in-depth analysis of changes?

Why don't many code review tools seem to be syntax aware or provide more in-depth analysis of changes? Is it simply too hard to do? I find this to be a major hole of most programmer's toolkits. From ...
13
votes
3answers
4k views

How is Node.js different from other server-side frameworks?

I've noticed that Node.js has become very popular, and I've seen several instances of people doing small-scale projects in it. I've also looked at pros and cons lists to get an idea of what Node.js ...
5
votes
2answers
1k views

What are the advantages and disadvantages of the various git modes available for emacs?

I just started using git, and because I tend to live in emacs, I want to use one of the emacs integration packages. Looking at this list, I see that there are a lot of packages available, but the ...
1
vote
4answers
4k views

What's the best way to logically compare two XML files?

I want to compare two XML files logically. That means that following text lines should be the same for the comparison tool: 1. <test><hello/><test/> 2. <test> ...
18
votes
3answers
544 views

Are there any empirical studies on the effect of different languages on software quality?

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 ...
7
votes
2answers
390 views

Is Free Pascal just an open source, multi-platform clone of Turbo Pascal & Delphi?

Does Free Pascal introduce any significant language features over Turbo Pascal & then Delphi, or does it just introduce the Turbo Pascal & Delphi flavors of Pascal to more platforms?
0
votes
1answer
2k views

ado .net connected and disconnected classes?

Pros and cons and Usage I have been preparing myself for an interview for the post of software developer in .net platform. For database related issues, I have to to a point about the connected ans ...
6
votes
3answers
406 views

Is there any language specific comparison tool?

I have found most of the comparison tools compares just text. But sometimes it will be better to have a option for comparing files of a specific languages. The comparison can be made better if the two ...
10
votes
6answers
368 views

Is there certain payoffs between working for a company in the IT industry, and working for the IT department of a company in some other industry?

I am a software engineering student and am in the process of making some career choices. I need to understand what the major differences are in the above two scenario. Anyone with experience of both, ...
0
votes
1answer
155 views

Comparing features in a asp.net web application using different database methodologies

I have a webstore which sells components (it is a academic project) which looks like this. I have developed the same web application using following database methodologies: MS Sql Server with Stored ...
3
votes
1answer
1k views

Better to inject IoC container or use a Service Locator pattern? [duplicate]

I have an IoC container (If you want a specific one to look at, it's very similar to Unity) and I'm working on how I want to integrate it into my application. My overall goal for this exercise is to ...
8
votes
7answers
1k views

How do you choose to use a specific programming language?

I was having a small talk between teammates about how you choose a programming language for use in a project which lead me to think that there are many criteria to choose one in the beginning of a ...
8
votes
5answers
2k views

Do Fortran compilers really generate faster code than C compilers?

When I was studying in the university I often heard the idea that Fortran compilers produced faster code than C compilers for an equivalent program. The key reasoning went like this: a Fortran ...
2
votes
3answers
2k views

c++ write own xml parser vs using tinyxml

I am currently in a task to generate an XML file for an srt text file containing timestamps and corresponding text. To generate an exe file which accepts file name input and outputs the relevant XML ...
19
votes
2answers
1k views

Haskell web frameworks survey

There are several web frameworks for Haskell like Happstack, Snap, and Yesod, and probably a few more. In what aspects do they differ from each other? For example: features (e.g. server only, or ...
30
votes
11answers
15k views

Java vs. C# - Productivity perspective [closed]

If you have a number of years experience in working with Java and a number of years experience in working with C# and .NET, I would value your opinion on software development productivity differences ...
2
votes
2answers
326 views

Is Lambda function same as Actor? How can it be explained?

Sometime back I read (from a book) that conceptually Lambda function is similar to Actor. However I am clear on the concept, and will appreciate any insight or explanations for this. If they are ...
30
votes
7answers
14k views

What ASP.NET MVC can do and Ruby on Rails can't? [closed]

ASP.NET MVC and Rails have similar area of use, are built around same architecture, both frameworks are relatively new and open source. So as a Rails programmer I'd like to know, what ASP.NET MVC can ...
3
votes
2answers
230 views

Greater than or identical to?

While browsing my code in a weakly-typed language I was seeing that I've trained myself to use identity (===) where logical. Then I came across a greater (or less) than or equal to (>=), and it ...
10
votes
4answers
2k views

Why Groovy(Java)?

I am looking on a new language to pick up and found out about Groovy. According to the website, the language is 'agile dynamic' language. How is it Agile? How shorter are the syntax compared to ...