Search found 178 matches
- Fri Feb 28, 2014 9:50 am
- Forum: Off-Topic
- Topic: Coders which don't know a for loop...
- Replies: -1
- Views: 2524
Re: Coders which don't know a for loop...
I recognize this problem, it was one of the first programming tasks we had back in uni (not to fix code, but to make that star triangle/"christmas tree" from scratch in Java). Very difficult to believe people with degrees can't solve it... It is a classic interview question. This is becau...
- Thu Feb 27, 2014 10:59 am
- Forum: Off-Topic
- Topic: Coders which don't know a for loop...
- Replies: -1
- Views: 2524
Re: Coders which don't know a for loop...
I recognize this problem, it was one of the first programming tasks we had back in uni (not to fix code, but to make that star triangle/"christmas tree" from scratch in Java).
Very difficult to believe people with degrees can't solve it...
Very difficult to believe people with degrees can't solve it...
- Thu Feb 27, 2014 9:47 am
- Forum: Advanced Help and Support
- Topic: [SOLVED] Slow Server?
- Replies: -1
- Views: 1832
Re: Slow Server?
Are you using Apache? Have you tried adding more child processes?
- Thu Feb 27, 2014 9:34 am
- Forum: Off-Topic
- Topic: Coders which don't know a for loop...
- Replies: -1
- Views: 2524
Re: Coders which don't know a for loop...
You've made me curious, can we see the code?
- Tue Feb 25, 2014 9:27 am
- Forum: Advanced Help and Support
- Topic: Grid based movement
- Replies: -1
- Views: 2167
Re: Grid based movement
A* is an extension of Dijkstra's algorithm. Basically, Dijkstra is the same as A* except it doesn't have the heuristic part.
- Tue Feb 25, 2014 7:28 am
- Forum: Advanced Help and Support
- Topic: Grid based movement
- Replies: -1
- Views: 2167
Re: Grid based movement
A* is of course weird here because you don't need the heuristic part for anything in this case, but this could totally be done by modifying Dijkstra's algorithm. You'd iterate through the neighbouring nodes while keeping track of the step count so you can stop searching at max steps. After running t...
Re: StarMade
Been playing 7 Days to Die, too. A bit rough around the edges but still a lot of fun. Pretty hyped for alpha 7.
- Thu Feb 06, 2014 8:21 am
- Forum: Beginner Help and Support
- Topic: How do we keep refreshing a certain part of the page with JQ
- Replies: -1
- Views: 910
Re: How do we keep refreshing a certain part of the page wit
Why not update the gold when the player buys stuff? Your example doesn't really require polling for anything. I already did this. I even put the update query on top of everything, but for some reason in PHP it just can't :? (although in some part I found it working without I even know why lol) Of c...
- Thu Feb 06, 2014 6:42 am
- Forum: Beginner Help and Support
- Topic: How do we keep refreshing a certain part of the page with JQ
- Replies: -1
- Views: 910
Re: How do we keep refreshing a certain part of the page wit
Why not update the gold when the player buys stuff? Your example doesn't really require polling for anything.
- Mon Feb 03, 2014 6:58 am
- Forum: Beginner Help and Support
- Topic: Not sure where my error is coming from
- Replies: -1
- Views: 1374
Re: Not sure where my error is coming from
At the end, $gap is a string, not an array. That's why you're getting one letter at a time.
Check your blocking function, that's where you're overwriting $gap.
Check your blocking function, that's where you're overwriting $gap.