avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 16, 2021, 12:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Ruffnekk [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 12next
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.

Excellent!!  ;D I was waiting for this every day  :Thmbsup:

General Software Discussion / Re: What fonts do I actually need?
« on: April 06, 2007, 01:42 AM »
I dislike Comic Sans and specifically its utter abuse so much that my sister-in-law gave a me "Ban Comic Sans" mug for my birthday last year  :Thmbsup:

Living Room / Re: nintendo wii
« on: April 06, 2007, 01:39 AM »
Hey I'm getting a Wii as soon as they start stocking them again :P Is it what you expected from it? I already have an Xbox 360 and a PS3 for serious gaming :) (Yeah yeah I'm a console freak!)

Find And Run Robot / Re: not freeware !!!
« on: April 05, 2007, 12:16 AM »
yes, if the software is of quality, then the users will be able to look beyond the hair-pulling discussions on the definition of freeware and actually look forward to enjoy using the software.. in the case of ASAP utilities, i think this program is of professional quality and has helped me a lot of times.. kudos to the developers.. :)

Indeed! Maybe a mini-review of ASAP will bring it to the attention of more people, because I can't imagine using Excel without it anymore.

P.S. btw, Ruffnekk nice image you have there.. do you take orders for customisation? :)

Do you mean the signature image or my avatar? The avatar is not my own creation, the signature images were made using the online tool at and animated with the online tool at

Find And Run Robot / Re: not freeware !!!
« on: April 04, 2007, 02:03 AM »
I also use ASAP utilities and I don't mind at all about the upgrades :) I even find it convenient at times!

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.

Microsoft now has the upcoming Visual Studio Codename "Orcas" available for download as a Virtual PC Image. This enables you to download and install it without risking damage to your currently installed software. You will need Virtual PC 2004 SP1 or Virtual PC 2007 (Windows Vista). The download is quite large, around 6 GB, but for those who can't wait to see C# 3.0 in a safe environment it may be worth it ;)

You can download it from here: Microsoft Download Page

The download page also has a full feature list, installation instructions and specifications.

General Software Discussion / Re: Strange Windows wallpaper trick
« on: March 22, 2007, 02:31 PM »
Maybe that's it, I have XP Pro SP1 on my laptop and XP Pro SP2 on my other one...

CThorpe: Do you have SP1 or SP2?

General Software Discussion / Re: Strange Windows wallpaper trick
« on: March 22, 2007, 02:10 PM »
Weird, it doesn't work on my laptop with the exact same images I made for my workstation... but I don't see any difference in display settings... it must be something with the graphics driver perhaps?

General Software Discussion / Re: Strange Windows wallpaper trick
« on: March 22, 2007, 11:11 AM »
Excellent find :)

I think we should start a 10 x 10 bitmap competition to see who can make the most beautiful :P

Mini-Reviews by Members / Re: SpellCatcher Plus. Best in Breed
« on: March 19, 2007, 02:18 AM »
Nice review, but please remove the various default template texts from the header  :up:

Find And Run Robot / Re: not freeware !!!
« on: March 19, 2007, 02:15 AM »
I must say I can see why edyshor thinks our software is not pure freeware, but on the other hand classifying it as anything else isn't an option either. Technically it isn't donationware, because that would *require* a user to donate, right? The problem is that many software listing sites have a couple of categories to choose from, and usually none of them are 'freeware after registration'. In that perspective, freeware is the logical choice to classify our software. It's free, it will always be free and there's no scheme to get money from users. The amount of effort we put in coding our software can not even be compared to the minimal amount of effort needed to get a free license key. On top of that, registering with DC has additional benefits and the license key you get works on all supported software.

Yes I guess you can wait for that before I do anything ;) It has moved down quite a few steps on my to-do list now :P

On Giveaway of the Day they now have Zoner Photo Studio 9 for free. It might be worth checking out! At the time of this post, the offer to get it for free still lasts around 20 hours... so hurry ;)

Zoner Photo Studio 9 is the new way to manage your photos. Have you ever bought photo software and found it’s missing something? With Zoner Photo Studio 9, this will never happen. With Zoner Photo Studio 9 Professional you get an all-in-one photos program for every step from acquiring photos to readying them to organizing them to sharing them.


Living Room / Re: Yaplet chat on any page
« on: March 16, 2007, 03:41 AM »
Hey I tried it and it looks good  :D Too bad no-one is here now to try it  :P Good potential though!

The whole thing sounds simple enough, but I know its quite a [email protected]#$h to code. Not because it's difficult, but all of the COM interop interfaces etc, bla bla... any ways I put this on my Things-I-Can-Do-When-I-Have-Run-Out-Of-Things-To-Do list, near the top, so some time in the future I might give it a go ;)

C# is not supported yet but I am very keen on supporting it. Is there a free compiler for C#? Otherwise I can use MONO's compiler I hope if there is a port for the Win32 environment. I know there is  port of the run time environment.

Well, the .NET Framework has a namespace for the C# compiler which you can use to compile source code with all the bells and whistles, to file or in memory. Using it you can write your own compiler in C++ (I'd be glad to assist if you have questions, however my C++ isn't as good as C# ;) I've once written a C# compiler from VB though.) :up:

General Software Discussion / Re: Good VNC viewer / alternative?
« on: March 13, 2007, 02:25 PM »
Have you tried pressing CTRL+ALT together instead of AltGR? It produces the same output and it might just work...

General Software Discussion / Re: Good VNC viewer / alternative?
« on: March 13, 2007, 02:13 PM »
Okay I misunderstood the situation ;) You need an alternative that can work with VNC server... Sorry about the OT post :P

General Software Discussion / Re: Good VNC viewer / alternative?
« on: March 13, 2007, 02:00 PM »
At work we use DameWare mini remote. It's a very good alternative. You can download a trial at

We also use RealVNC, but I never had the problem you describe though. I will try that tomorrow to see if I can use AltGr key combo's or not...

I usually tend to ignore instructions, from Microsoft, the government or any other authority, but that aside, and I haven't had any problems installing VS 2005 on my machine with .NET 2.0 already installed. It's really the Beta version of the framework that can lead to problems. Before I installed VS 2005, I already had 1.0, 1.1, 2.0 and 3.0 Beta installed and I havent removed any of those prior to installing. I never have any troubles...

Developer's Corner / Re: Registry Help...
« on: March 12, 2007, 04:29 PM »
The easiest way is to add an entry to the registry under HKEY_CLASSES_ROOT. Just fire regedit and take a look around the defined keys and values there.

Basically you first create a subkey in HKCR that defines the extension. The keyname is a dot followed by the extension you want to associate. Once you created this key, you change the value of (default) to the name of your app or something that describes the file. Under HKCR you create another subkey with that exact same app name or description. Now your extension points to this key. Under this key you create another subkey 'Shell', which has a subkey 'Open', which has a subkey 'Command'. Here you can change (default) value to the command that must be launched when Open is chosen in the context menu or the file is double-clicked.

AFAIK that is already the case when you have a new message...

The only one I can think of now is this one: Instead of showing "You have x messages" in the top window, why not showing "You have x new messages". I think is quite logical, and it doesn't make me go wondering: how many messages did I have last day?

Mini-Reviews by Members / Re: Einstein Puzzle 2.0 by Flowix Games
« on: March 12, 2007, 03:30 AM »
Wow, that game can be tough.  I may be missing something in the logic, but I've run into a couple of occasions that there doesn't seem to be a way to progress other than guessing between two possible choices for a space.

I know! It can be frustrating at times, but I usually just save the game and check back an hour later or so to see if I missed something and usually I did ;) The trick is to combine hints about the same symbol into another hint...

Pages: prev1 [2] 3 4 5 6 7 ... 12next