Recent content by Robbert

  1. R

    Need hardware recommendations for a videogame controller/software project.

    Interesting! It seems to support USB as peripheral, which is handy since my laptop only has USB. How would it work in practice? You just solder the PIC on the relevant circuit board and program it to do your bidding, with no extra hardware required? Or would you still need to use the transistor...
  2. R

    Need hardware recommendations for a videogame controller/software project.

    Hi, I'm really stupid when it comes to hardware and the terminology used. I'll try to explain my project as good as I can. In short, I want to create a video game bot that can play certain parts (or entire songs) of rhythm games for me. No, not for cheating. :P Just for fun and learning. I...
  3. R

    Start a Career in Computer Software: 24 Yr. Old's Guide

    Anyone with a functioning set of brains and who can think logically and mathematically can learn to program. It's got less to do with your ability with computers and more with having affinity for being able of thinking in certain patterns. Besides, with most modern frameworks and languages, a...
  4. R

    C# Creating GUI launch application in C#

    As for creating GUIs, have a look into WPF. WPF is supported throughout .NET 3.5 and up (and maybe even earlier, I don't know). XAML is an XML extension which allows you to form the GUI in an XML-ish language. Those two technologies make it really easy to build fancy GUIs with little effort...
  5. R

    Can someone simplified this boolean

    I always prefer to use Karnaugh maps with these sort of problems since I'm more visual, so give that a try. Otherwise, zgozvrm has posted a useful start. I'd continue using De Morgan's law.
  6. R

    Sorting Strings with int Sort: Explained + Tips

    Good! Did you get it working with strings, now?
  7. R

    Sorting Strings with int Sort: Explained + Tips

    If you don't get the algorithm, draw it out on paper. That usually does it. Here is a drawn out version which explains it pretty well if you follow what I posted. It seems like it just printed some byte values, but I can't discern much more without some more details.
  8. R

    Comp Sci How to navigate the Wumpus Map?

    The correct method for finding an item in Python: if needle in haystack { do something } else { do something else } In your code: if i in close_rooms: At least, I take it that i in def movement is a local variable. My Python ain't good. Shouldn't you also say 'print...
  9. R

    How Can I Start a Professional Website for Under $5 a Month?

    Setting up your own web server isn't too hard, thankfully. There are numerous articles that explain in detail how set up Apache for your own personal use, but all boil down to the same few steps. Of course, the best documentation will always be the Apache server documentation itself. In...
  10. R

    Sorting Strings with int Sort: Explained + Tips

    SelectionSort is a sorting technique which runs in O(n²) time, meaning that it's inefficient for large lists. That aside, it works like this: 1. Find the lowest value in the unsorted list 2. Place it at the end of the sorted list 3. Repeat for remainder of the unsorted list Your outer...
  11. R

    Recursion code for generating Gray Code in C

    First, a few pointers about recursion: - Find the base case - Implement that first - Define when you should go in recursion - If the recursive call succeeds once, it will always succeed As you may know, recursion is, essentially, solving a huge problem by solving the smaller parts of the...
  12. R

    How often do relationships work this way?

    I skipped four through six in almost all of the relations I was in, including the one I'm currently in. I skip some of the later steps, too. In general, I don't believe in such behavioural models.
  13. R

    Transitive Relations on Finite Sets of Size n

    There's no direct formula to calculate that, as far as I know. See http://algo.inria.fr/csolve/posets.pdf for some details.
  14. R

    To which complexity class does this optimization problem belong?

    Yes, basically. Thing is, the amount of Star Power gathered is dependent on the number of beats, but only if there are sustained notes and if these have been manipulated by the tremolo arm. The amount received from phrases is always at least 25% of the total amount of Star Power you can...
  15. R

    To which complexity class does this optimization problem belong?

    I'll try to be as abstract as possible, but where needed, I'll give some concrete examples. If you have any questions, please ask. Note, I'm doing this for my hobby, not for any sort of homework. I've only followed an introductory course on computational complexity, so I'll let that be my...
Back
Top