Search:

Type: Posts; User: Lesshardtofind

Page 1 of 18 1 2 3 4

Search: Search took 0.01 seconds.

  1. Particularly I have been using JavaScript, Ruby,...

    Particularly I have been using JavaScript, Ruby, Sass, ect for so long I wanted to come back to where I learned to program and brush up on some c++. I find it hard to program something pointlessly...
  2. Thanks again for your information. I tried using...

    Thanks again for your information. I tried using the fork and exec commands and ran into some issues that require prompts. So far I have had to settle for letting the user go through these prompts....
  3. Thanks for the response and suggestions on how to...

    Thanks for the response and suggestions on how to analyze it. I was surprised because my assumption was that each execution would be done asynchronously rather than synchronously waiting for the...
  4. Expected Behavior? : Terminal stops a looped program sequence.

    Hey I was just messing around with g++ on mac to make programs that would execute other terminal commands. I ran into a situation that I don't quite understand and was curious of this is expected...
  5. Replies
    7
    Views
    1,426

    Well since the size is 9 and i can end up being 7...

    Well since the size is 9 and i can end up being 7 by the end of the loop and you randomly generate a number between 0-7 and then add to it. Well worst case scenario you just tried to access the 14th...
  6. Replies
    7
    Views
    1,426

    I'd say you left out a few important pieces of...

    I'd say you left out a few important pieces of code.



    int currentRow[size] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
    int obeysSudokuRules;

    if (row == size)
    return 1;
  7. Replies
    7
    Views
    1,426

    I will preface this with it has been a while...

    I will preface this with it has been a while since I've programmed C++ so I may make a few mistakes, but I have programmed two sudoku generators one in C++ and one in JavaScript. Hopefully anything I...
  8. Replies
    136
    Views
    8,851

    I'm guessing you still use some sort of version...

    I'm guessing you still use some sort of version control.



    Very interesting. Wish I could see the code. I agree with the paying sentiment. I usually get all my shims and libraries from github,...
  9. Replies
    136
    Views
    8,851

    Me too Anything. I've spent alot of time...

    Me too



    Anything. I've spent alot of time doing single player interactive games/apps, but I still haven't gotten around to putting multiplier connections into it. I've made apps that run html...
  10. Replies
    136
    Views
    8,851

    I agree 100%. The things that made JavaScript...

    I agree 100%. The things that made JavaScript weird to me when I started learning it are what I love about the langauge now.



    When you get something going using them share it with me. I'm...
  11. Replies
    136
    Views
    8,851

    You aren't wrong at all this is a tough spot in...

    You aren't wrong at all this is a tough spot in JavaScript it gets real racey in those parts (pardon the pun xD). I still get confused by it, but it usually comes down to everything behaving exactly...
  12. Replies
    136
    Views
    8,851

    Its just a tool. When you learn how to use it...

    Its just a tool. When you learn how to use it then you will find it helpful, but when you don't expect its results it can be frustrating.

    The same thing happens in the DOM though imagine your...
  13. Replies
    136
    Views
    8,851

    We are just finalizing the last components and...

    We are just finalizing the last components and going through QA on a site that cost nearly a quarter of a million dollars and required us to support back to IE8. We will be working on another very...
  14. Replies
    136
    Views
    8,851

    Thats intense I got about 3 1/2 to go to get...

    Thats intense I got about 3 1/2 to go to get there lol.
  15. Replies
    136
    Views
    8,851

    Comparatively to a year ago I will definitely...

    Comparatively to a year ago I will definitely submit to your point. I do spend quite a bit less time worrying about it. But we get the occasional client that requires IE8 and it becomes a pain.
    ...
  16. Replies
    136
    Views
    8,851

    I like that code. You nest really hard in the...

    I like that code. You nest really hard in the return but its efficient.

    I haven't gotten into sockets enough yet. I've been stuck doing a ton of ajax event based stuff at work and been working...
  17. Replies
    136
    Views
    8,851

    And makes testing a hell of alot easier. I'd...

    And makes testing a hell of alot easier. I'd prefer it to assertion tests in the dom with phantom.js.



    Fat arrow is used for binding of the parent object calling the function. It is important...
  18. Replies
    136
    Views
    8,851

    if (String(tableData[i].name).contains(phrase)) ...

    if (String(tableData[i].name).contains(phrase))


    JavaScript `string.contains()` what is this which craft? lol

    Maybe a:


    if (String(tableData[i].name).indexOf(phrase) > -1)
  19. Replies
    55
    Views
    2,268

    Congratulations xD

    Congratulations xD
  20. Replies
    55
    Views
    2,268

    average = average - highest + lowest; Think...

    average = average - highest + lowest;


    Think about that for a second. C++ handles the operator order of addition and subtraction from left to right so you aren't getting the value you think you...
  21. Replies
    55
    Views
    2,268

    Your if statement is all mangled now. You are...

    Your if statement is all mangled now. You are saying if value isn't highest or lowest then calculate the average. So if your last value input is the highest or lowest you won't even average.

    At...
  22. I read through that Serial communication for the...

    I read through that Serial communication for the arduino before. It is useful for communication control via the console that runs from your PC. Receiving the data and opening the relays is the easy...
  23. 1. Yes I planned on just using one of my old...

    1. Yes I planned on just using one of my old laptops to run the simulator on.

    2. The Uno doesn't, but I'm sure I can buy an extension for it.

    I was hoping for a cheap solution rather than a...
  24. What is needed to output voltage signals from PC

    Hi,

    I am working on a project with my dad to turn a 7/8 replica spitfire into a flight simulator program on a hydraulic platform. I bought an arduino uno and have panned out the basics of...
  25. Replies
    1
    Views
    726

    Well the problem is void functions don't return...

    Well the problem is void functions don't return anything. So when you use it to calculate a number the data inside the function will be deleted after the function runs. Well not necessarily...
Results 1 to 25 of 436
Page 1 of 18 1 2 3 4