language-independent

How to be good in Data Structures and Analysis?

I want to be good in Data Structures and Analysis esp. in Java. I often find myself very weak. What should I do to be good in it? Any good mental exercises? ...

How can I start shaping myself up again on programming?

When you spend a long time without programming, and you start to code again, you can forget a lot of things and the programming stay slow... When you pratice some sport, it's easy get again the form: training in the desired sport. But in programming, what your method to regain the speed and memory to code after long time without job? I...

Different ways to implement 'dirty'-flag functionality

Almost every programmer did it once in his life: setting some flag if a variable's value changed. There's always lots of properties and you want to keep track if something changed in any property in a specific property or in some set of properties I'm interested in different ways to implement the "dirty-flag" functionality for the a...

Basic syntax for an animation loop?

I know that jQuery, for example, can do animation of sorts. I also know that at the very core of the animation, there must me some sort of loop doing the animation. What is an example of such a loop? A complete answer should ideally answer the following questions: What is a basic syntax for an effective animation recursion that can ...

Genie animation Javascript?

Is there a jQuery plugin or javascript library that supports a "genie" animation effect like the apple Mac OS X dock? Bonus: Actionscript library? C/C++? .NET? Objective C? ...

Equivalence of boolean expressions

Hello, I have a problem that consist in comparing boolean expressions ( OR is +, AND is * ). To be more precise here is an example: I have the following expression: "A+B+C" and I want to compare it with "B+A+C". Comparing it like string is not a solution - it will tell me that the expressions don't match which is of course false. Any i...

Get note data from MIDI file

Is there a way to get the note data from a MIDI file? That is, I want to break down the MIDI file into its constituent parts so they are in the form of a unique word (or any other data type). What I want to do in the end is take in a MIDI file and find patterns in the notes. Get in each note, find it's frequency (of being played) and n...

Which tournament managment software for web-based tournaments?

This is possibly borderline for stackoverflow, as it's not a direct programming question. But, I am looking for a suitable software as a starting point from which to continue programming my desired customizations, so I hope it's close enough. Here are the requirements, for which I am looking for in a web-based tournament management soft...

Generate all possible strings from a list of token

Hi I have a list of tokens, like: hel lo bye and i want to generate all the possible combinations of such strings, like: hello lohel helbye byehel lobye byelo Language is not important, any advice? I found http://stackoverflow.com/questions/3846123/generating-permutations-using-bash, but this makes permutation on a single line...