Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

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 - Valid_Dark

Pages: 1 ... 72 73 [74] 75 76 ... 89
1096
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 06, 2012, 02:01:59 am »
whats the difference between visual c++ and regular c++? anything?
I've never used visual studio.

1097
Apparently I fly to frankfurt via mumbai from kolkata, then I hop into a time machine, go back a day or two, and fly to SF from there.

ahhhh I get it now,
...wait,.. you have a time machine?!?!?
lucky

1098
http://gamasutra.com/blogs/MikeLanglois/20120204/9275/The_Kids_Are_All_Right.php
An article on children and video games, and how video games are probably not that bad for children.

very good article, I enjoyed it very much, thank you for posting it.

1099
I had origionally booked a flight, it went like so:

Kolkata->Frankfurt
Frankfurt->San Francisco
San Francisco->Denver
Denver->Washington
Washington->Frankfurt
Frankfurt->Kolkata.

Now, as far as I can figure, it goes like so:
Frankfurt->San Francisco
Kolkata->Mumbai
Mumbai->Frankfurt
San Francisco->Denver
Denver->Washington
Washington->Frankfurt
Frankfurt->Mumbai
Mumbai->Kolkata

Look carefully at the first three.

first list the destination of each trip is the starting point of the next,
in the second list thats not the case twice.. and you're also starting from somewhere else?

1100
When I was in college in 08 I met a girl that had never seen a star wars movie.  It came up in conversation because I was writing a paper on hon solo, and she didn't know who he was. That's much worse than not knowing die hard

1101
General Discussion / Re: Things that made you go "WTF?" today o_O
« on: February 05, 2012, 02:36:55 am »
People shouldn't be able to publish such smut without some sort of disclaimer. The sad thing is some people will read this and think it's all true.  Well if you're ignorant enough to believe any of it, I guess believing in it is enough punishment on its own.
I'm sad not because they are stupid, I'm sad because they are missing out on real life.

1102
Other Games / Re: Co-op RPG games
« on: February 05, 2012, 12:42:13 am »
While it's really more of a beat-em-up ala Gauntlet Legends, Castle Crashers is a great game for couch co-op, and has a lot of RPG flavor and some nominal character statistics (enough that your characters will end up being good at different things). Not as entertaining in single player, in part because friends are awesome, and also because you don't get NPC helpers and the difficulty later gets to the point where it's hard to progress without co-op players.

also I love Dan Paladin's artwork
he's a newgrounds artist that did all of the art for castle crashers,

1103
General Discussion / Re: Things that made you sad today thread.
« on: February 04, 2012, 11:51:30 pm »
So, I told everyone I was going to be in cali this week, because I was supposed to, but my ride had a last minute ordeal in london she had to take care of, so now she's off in england and I won't get to go to london until next week.
This would be all fine and dandy, except Egoraptor invited me to a premier sony party in california.
(ego raptor is the creator of the awesome flash series for those that don't know of him)
http://www.youtube.com/watch?v=rHG-JO8gIGk
it's going to be a party put on by sony, for the premier of the 3rd season of their show (I didn't even know they had a show)
and it will have the new PSP vitos there that they will be giving out, even though they don't come out until the 22nd.

if anyone in cali want's to go in my stead I can maybe get 1 person in.
(i don't know how vigorously they'll be checking the guestlist, you could say you're me)
egoraptor will be there if you want to meet him, as well as current / past cast members of sony's show.
it's in santa monica

1104
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 11:40:20 pm »
I know :(
as I said before the compiler I use can't compile c++ yet either.
hopefully sometime this year most of the compilers will be up to date.

1105
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 08:02:16 pm »
I picked a language and assumed it was taught at a college somewhere, so I don't really know if it's offered, but I do know colleges offer story telling class, (my brother took it)

1106
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 07:16:50 pm »
i don't know what a race condition is,
but solving concurrent reading/writing to my knowledge should be as easy as making sure only 1 thread has access to certain variables at a time.
I know it's much more complex then i'm making it out to be,
dumb analogy time
I imagine it like a series of gears, and i'm saying just make sure no 2 cog teeth are occupying the same physical space a the same time.  because then it won't run,  sounds easy, but in order to do so the whole system has to be carefully designed and each cog made to specific specifications so it will all mesh nicely.

Quote
Universities have entire classes on parallel...

yes, but universites also have entire classes on intro to java, or entire classes on storytelling,
Just because it's something thats offered in a class at a university, or has an entire class at a university devoted to it, doesn't mean you need to take that class to understand it.

1107
Life Advice / Re: Recommendations for new pc :D
« on: February 04, 2012, 06:03:39 pm »
*drools*

I really need to upgrade my computer, but have no monies

1108
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 05:26:05 pm »
ya, thats what I meant >.<
a semantic error/logic error on my part.

I thought you were trying to say waiting for all of the threads to finish wouldn't be as fast as doing them one by one because you'd have to wait for them all to finish.

1109
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 05:04:02 pm »
I've recently been looking through the changes brought about by c++11, and honestly if DF was made in c++ it really shouldn't be too hard to implement multithreading support, now that it is supported by the standard library, and appears to be much much easier that the old way of doing it.
Basically
step 1: include <thread> header
step 2: change how functions are called so they are assigned to a thread
step 3: join thread with main
Yeah, except that wouldn't help anything. "thread::join" makes the main thread wait for the current thread, so there's no speed increase anywhere, AFAICS.
And secondly, putting the joins at the end might render stuff like "HHHHeeeelllloooo,,,,    WWWWoooorrrrlllldddd!!!!", or "Hello, World!Hello, World!Hello, World!Hello, World!", or any weird permutation in between, depending on the implementation of your print-function (I'm guessing the c++11 cout is ok, but you can't just put any function in a thread).

either
Quote
"HHHHeeeelllloooo,,,,    WWWWoooorrrrlllldddd!!!!", or "Hello, World!Hello, World!Hello, World!Hello, World!"

would really be perfectly what I was going for.

Quote
"thread::join" makes the main thread wait for the current thread, so there's no speed increase anywhere
then that solves the synchronization problem that was supposedly the difficult part in implementing strings in java.
multiple threads running at a time but making main wait for them all to finish would be much faster than 1 thread doing it all one at a time. do you even know what multithreading is? honestly


Quote
The problem was never that Toady didn't have multi-threading support available to him, but that implementing it would require a re-write of most of the code to function properly.

this version of threads wasn't around when toady started making DF, the version that was around was a massive headache
the only re writing this would require is re writing how functions are called.
(scan code, find function, add a few words before it, BAM)
I think the reason you said that is because thats what everyone says when multithreading is ever brought up, and no one actually thinks about it, they just regurgitate what they heard others say.

1110
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 04, 2012, 03:09:05 pm »
I've recently been looking through the changes brought about by c++11, and honestly if DF was made in c++ it really shouldn't be too hard to implement multithreading support, now that it is supported by the standard library, and appears to be much much easier that the old way of doing it.
Basically
step 1: include <thread> header
step 2: change how functions are called so they are assigned to a thread
step 3: join thread with main

anything that is written as a series of functions should be easily converted to multi threaded support.

example of a program that prints hello world from 4 different threads.
Spoiler (click to show/hide)
can someone with experience with c++11 tell me I'm wrong or agree with me?
Dont just say multithreading is harder than that if you don't know what your talking about.

most compilers aren't able to work with c++11 yet, which is kind of lame.
including the one I'm working with, and I really don't want to change my ide,
perhaps when I get around to actually using some of the new c++11 features either the compiler I'm using will be upgraded, or I can swap out the compiler but still use my ide.



Pages: 1 ... 72 73 [74] 75 76 ... 89