Topics - Ruffnekk [ switch to compact view ]

Pages: [1] 2 3 4 5 6next
1
LaunchBar Commander / Feature Request: Sorting Nodes
« on: September 15, 2009, 02:19 AM »
Hi Mouser,

I've been using this application for ages and I really miss a feature to sort a list of nodes alphabetically. Maybe you can include this in your next release?

Thanks!

2
Living Room / Super Mario AI Competition
« on: September 11, 2009, 01:27 AM »
Hi all,

I want to let you know about a unique competition for Java programmers. It involves writing an AI controller to play randomly generated Super Mario Bros. levels. You will get a basic package of Java classes that you can use to test and play the game and write your controller around. You can enter the competition for free and win up to $500 if you can beat the other AI agents!

More information about this competition can be found at http://julian.togelius.com/mariocompetition2009/. I'm not affiliated with the organisation of the competition in any way.

It might be nice to set up a DC team and see what we can come up with...

3
Argus / v1.1 released
« on: April 26, 2007, 01:14 PM »
Please visit the Argus Panoptes website to download the new 1.1 version, which includes support for drag-n-drop operations.

You can now drag and drop one or more files and folders onto the included files list to add these automatically to your search scope. If you drop a folder, the currently selected Filter Template will be used to determine the files to include.

4
Developer's Corner / Interesting String Manipulation Problem
« on: April 13, 2007, 01:37 AM »
A friend of mine asked me to code a little tool that can take any string of morse code and output all possible translations of it. At first glance this seemed easy enough, but it turns out to be rather tricky and I'm kind of stuck.

To clarify the problem, I will give an example. I use dots (.) and dashes (-) for morse code.

D   O   N  A  T I  O   N
-.. --- -. .- - .. --- -.


Now, to parse this and get the word 'DONATION' is easy, but what if the spaces were left out?

-..----..--..----.

Taking into account that a morse code 'character' can consist of 1 to 7 dots or dashes (letters, digits and punctuation) the problem arises.

What I need is an (recursive) algorithm that can split the string without spaces into all possible groups of substrings, with a maximum length of 7 chars per substring. It will start at some point, for example 1 1 1 1 1 1 1 1... and iterate through all possible combinations. In the example given, the first morse code character can be - (T) or -. (N) or -.. (D) or -..- (X).

I realize the number of possibilities will grow very large, but that's not the issue.

EDIT: Please realize that the relative positions of the morse code characters do not change.

So does anybody have an idea? Any ideas are welcome, and sample code is appreciated in any language.

5
Argus / Argus Panoptes Release & Download Information
« on: April 02, 2007, 12:20 PM »
A new release version of Argus is coming very soon!

All of the details will be available in the coming DC newsletter :)

Untill then you can try the beta release, which can be found here.

Pages: [1] 2 3 4 5 6next
Go to full version