rebo

- friends
142 link karma
23,626 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Three-Year Club

    Verified Email

The world's 'lowest car' by merrpipin technology

[–]rebo 0 points1 point ago

in the UK.

Diablo 3 itemization is not broken by anakhizerin gaming

[–]rebo -2 points-1 points ago

Pseudo Old code

item.generate_item_attributes()

Pseudo New Code

valid = false

while(!valid){
    item.generate_item_attributes()
    if ( !item.attributes.include( "LEVEL REQUIREMENT >60") && !item.attributes.include( "EXP BONUS")){
   valid=true
    }
}

The world's 'lowest car' by merrpipin technology

[–]rebo 0 points1 point ago

Those number plates are illegal.

Diablo 3 itemization is not broken by anakhizerin gaming

[–]rebo -2 points-1 points ago

Oh come now its pretty obvious this is a simple fix.

Should there be a world ranking of SC2 Pros. In the same way as in Golf or Tennis? by reboin starcraft

[–]rebo[S] -5 points-4 points ago

You're not very good at this are you?

Should there be a world ranking of SC2 Pros. In the same way as in Golf or Tennis? by reboin starcraft

[–]rebo[S] -2 points-1 points ago

I agree there is a lot of challenges to make it happen. But all the different competitions should realise that it would greatly expand the reach of the eSport if they could agree on a format to calculate the rankings.

The problem with chess rankings is that to be frank saying a player is a 3400 point grand master doesn't make a great deal of sense other than he "is a good player". It only makes sense in the Chess clique.

Should there be a world ranking of SC2 Pros. In the same way as in Golf or Tennis? by reboin starcraft

[–]rebo[S] -7 points-6 points ago

To someone who doesn't know anything about pro SC2, saying GSL Code S means nothing. Saying 3rd in the World Rankings, makes a lot of sense.

If eSports is going to grow it needs to be as accessible as possible to a casual audience.

Should there be a world ranking of SC2 Pros. In the same way as in Golf or Tennis? by reboin starcraft

[–]rebo[S] -3 points-2 points ago

I was talking about Tennis and Golf.

In those sports a world ranking is important because it gives casual spectators an idea about how good a player is. These are the very people you want to attract if the Pro scene is going to grow.

Federer might have freak loses in his next two tournaments, that doesnt mean he is a terrible player just that his ranking will have dipped slightly. SC2 is very similar in that great players can lose to a not so good player in a Bo3.

For a casual observer it is very difficult to see what SC2 players are the best currently.

MKP just lost to AcE, does that mean AcE is considered better, or what? Was it a freak win, or was it a battle amoungst equals.

If instead we see, MKP World ranking No. 3 just lost to AcE world ranking No 11. then it puts the game in context and there is more interest accordingly.

Tennis uses the ranking system to great effect because the higher rank you are the more exposure you get in the media and the sponsors that go along with that.

Right now if a Mainstream media was going to interview a SC2 player what can they say other than, well this is Idra and he plays SC2. They would be loath to say what competitions he has won because their viewers have no idea what tournaments are important in SC2. If instead they say he is world No. 32, and the highest rank non-korean or whatever, then people will get it.

A fake anti-virus scammer calls a security researcher...this ensues by enfyrneauxin technology

[–]rebo 4 points5 points ago

If they are still asking for the money then yes its just another tactic. Same as the 419 scammers.

How to make a site really freaking fast by sidcool1234in programming

[–]rebo -1 points0 points ago

simply compiled PHP

lol

A fake anti-virus scammer calls a security researcher...this ensues by enfyrneauxin technology

[–]rebo 1 point2 points ago

It wasn't supposed to be funny, it was supposed to document the behaviour.

A fake anti-virus scammer calls a security researcher...this ensues by enfyrneauxin technology

[–]rebo 69 points70 points ago

It's just another tactic.

Thailand jet ski scam caught on tape by cheapdrinksin videos

[–]rebo 4 points5 points ago

I would never ever leave my passport with a third party. May make an exception for 'some' hotels but certainly not a guy on the street.

Best ad for a boxing gym ever, you piece of shit. by coolmandan03in videos

[–]rebo -1 points0 points ago

You completely misread what he was saying. He is having a joke with his clients and they appreciate it.

Best ad for a boxing gym ever, you piece of shit. by coolmandan03in videos

[–]rebo 13 points14 points ago

Yes, humor goes a long way. Everyone is gonna suck when they start boxing.

Multithreading Problems In Game Design by blackhole12in programming

[–]rebo 0 points1 point ago

This is the most controllable solution.

Multithreading Problems In Game Design by blackhole12in programming

[–]rebo 0 points1 point ago

You say there is no need to wait for sync, but I am presuming that the physics engine is updating shared mutable data that the graphics engine can poll.

What happens if the graphics engine polls whilst the physics engine is updating the shared mutable data structures. Would it not read an invalid state?

You need to very careful about that. Locking can help but then you run in to all the issues with mutexes, deadlocks and whatnot.

Multithreading Problems In Game Design by blackhole12in programming

[–]rebo 0 points1 point ago

You are missing my point, single threaded, a general game loop is something like:

  1. Game Logic & Handling Player Input
  2. AI
  3. Collision / Hit Testing / Physics
  4. Update Screen. (either directly draw, or update the 3D engine's render pipeline)

Of course that is very simplified but generally that is the sequence of events.

What the OP tried to do is pull out the physics calculations and then poll the physics thread each frame to see if its calculations have been completed. This introduces that wierd latency lag and syncing issues between the physics game state and the rest of the game state.

I..e he tried to do this:

 Thread 1                                                 Thread 2
1. Game Logic & Handling Player Input         Physics Calculated
2. AI
3. Poll Physics Thread ------------------------>
4. Update Screen.  

What I am saying is that surely a simpler approach, although far from optimal for many reasons would be this:

   Main Thread                          Thread 2
1. Game Logic                          Physics Calculated
2. AI
          -------- Blocking Sync -------                   
4. Update Screen.  

Then he doesnt need to bother with polling or latency issues. Worst case scenario is that Its just as slow as the single theaded version with a small overhead for spawning the additional thread.

This of course is completely not optimal, because in best case scenario the physics thead would complete and be idle far more quickly than the duration of the frame and you end up not utilising the full capability CPU.

Also this design has all the disadantages and issues associated wtih multi threaded processes, including lock contention deadlocks, shared mutable state etc.

This is why I prefer using a threadpool and queueing work items (i.e. parallising individiual functions/calculations) , passing data via messages as opposed to mutating shared state.

Microsoft pulling free development tools for Windows 8 desktop apps, only lets you ride the Metro for free by linucsin programming

[–]rebo 37 points38 points ago

It's an opensource .NET compatible (i.e. Microsoft) set of tools including a C# compiler that can run on a variety of platforms including Windows Linux and OS X.

My roommate is a scientologist. He left this packet full of "donation" rates. check out the price of clear... by ScienKnologyin WTF

[–]rebo 0 points1 point ago

Perhaps, but I'm a wealthy imbecile, much more so than you. How's that low paying job workin' out for ya? Remember to vote for hope and change in 2012!!! lol

An imbecile and a douchebag, keep going son.

Multithreading Problems In Game Design by blackhole12in programming

[–]rebo 5 points6 points ago

In your first example, why couldnt you block until the physics frame was calculated. This would conceptually be no different than working in sequence.

I..e. PHYSICS then AI then RENDER all on main thread.

would be no slower than

PHYSICS & AI threaded then BLOCKING SYNC then RENDER on main thread..

I'm not saying parallelising components isn't better, it almost certainly is is but I dont see why you had to skip a frame for the physics.

Personally I like the idea of a ThreadPool and Queue, individual work items can be farmed off to it and it scales to however many cores are available.

view more: next