« first day (127 days earlier)      last day (4804 days later) » 
00:00 - 19:0019:00 - 00:00

sbi
12:10 AM
@DeadMG Stop acting so childish. Use your TB and get yourself access to the boost list. If this is hard, then at most in the same way putting on your clothes yourself is hard: It's just another one of those techniques you will have to learn to be grown up.
FWIW, I found your original comment funny and starred it, but this is silly. They are using a mailing list, there's an NNTP gateway. The technique is simple. Either you want to or you don't want. Decide, but stop complaining.
 
12:38 AM
Greetings!
 
sbi
12:51 AM
@Maxpm Hi!
 
What's everyone up to?
 
sbi
@Maxpm Well, I'm in the process of stopping being up. G'night!
 
@sbi 'Night, then.
 
1:33 AM
0
Q: the little book of semaphores

richi_18007Below is code in which each thread must wait for each other thread to complete the rendezvous part and then wait until everyone has completed the critical section. /* rendezvous code */ mutex.wait() count++; mutex_signal() if(count==n) sem.signal() sem.wait() sem.signal() mutex.wait...

plz help me with this question
it's driving me nuts , i don't get the deadlock in this code
anyone ?
 
 
2 hours later…
3:50 AM
@Everyone who considers themselves somewhat competent in standardese, help make wikipedia a better C++ reference. Make a few corrections and/or additions every day.
 
@PigBen wikipedia could do with less c++ standardese
 
@FredNurk I didn't say to actually put standardese style information in there. But if you are knowledgeable on any particular aspect of the library, then contribute some information in a more friendly style.
 
Learned something from Facebook today, about "Black Swan theory". Huh.
 
about the scientific community at first refusing to believe black swans exist?
 
4:22 AM
@DeadMG Because they're designed for the job and actually work well for it. A browser is pretty much a "one size fits none" solution, attempting to be everything to everybody, but not doing anything really. A decent newreader puts a browser to shame for reading messages like this.
 
@JerryCoffin it's interesting to read opinions on that, e.g. Jeff Atwood on meta; some people want to fit everything under the sun into the "webapp" model
but I wholeheartedly agree with you
Can we stop screwing with how the scrollbar works on webpages? First Twitter, then Gawker/Lifehacker. Locked/Fixed designs are unusable.
 
4:39 AM
hello all! someone knows where can i find some plugin for eclipse that offers visual components??
I mean, for c++ in eclipse
@FredNurk do you know where can i find some plugin for eclipse that offers visual components?? I mean, for c++ in eclipse.
 
I don't use eclipse
 
@FredNurk have some idea of what ide I can use in linux that offers such functionality??
 
why do you think you need an ide?
if you simply want a visual gui designer, pick one of the several that probably exist for the gui toolkit you've chosen
 
 
2 hours later…
6:40 AM
Arguing that the #GPL is restricting your freedom is exactly the same as arguing that the 13th Amendment is restricting your freedom.
2
 
7:02 AM
hi all
 
7:18 AM
@user388338 Hello.
 
for inline function will stack frame be allocated for both arguments and local parameter or just for local parameters..or it ll not be allocated just like in case of macro?
 
that's not so simple
if you have a specific situation you're concerned about, see exactly what your compiler does in that situation
if a function call is inlined (actually inlined), it will never be worse than a macro
if a function marked inline isn't actually inlined, your optimizer probably has a good reason for that, but you can probably use a special compiler-specific keyword/attribute to force it
 
7:36 AM
if a function call is inlined(actually inlined)..then how stack ll be allocated or it ll not?
if you have a specific situation you're concerned about, see exactly what your compiler does in that situatio..... like how can i know what compiler does?
 
have your compiler output asm (which might not tell the full story in the face of LTO, but is often enough) or disassemble the output executable
@user388338 with an inlined call, the compiler can either subsume the nested call's stack space in the outer function's stack (which is what usually happens) or manage the stack as if the function was actually called, without actually jumping to the function
 
with an inlined call, the compiler can either subsume the nested call's stack space in the outer function's stack??then local parameters of inlined function must be available to outer function??
 
only in the sense that all memory is available at all times
object lifetimes still begin and end as required, regardless of whether a function call is inlined or not
 
sorry....i am not getting it..
 
8:08 AM
Hey guys, anyone here mind helping me with a really obscure problem related to ADL and friend injection? I would ask in SO but it's too localized
 
don't ask to ask, just ask
 
I don't know if it's against the rules or anything, since I see the first one saying "post to SO first"
 
we have rules here? :)
that is generally good advice for most questions, but not all
 
I'm building an optimized vector library using SSE2
and because there are many types of vectors (float, double, int, uint) I used a template to generate the swizzle part of it
something with that messes up with ADL and auto-conversion
because it's hard to explain,
see the old version (master branch) against the new_swizzle branch
in the old version, I "hard coded" the swizzling code for every class, which was a pain to update and maintain, so I moved all that logic to a swizzle generator
however, the compiler fails to autoconvert the swizzled type (which has an operator to convert back to the original type)
that issue is not present in master branch, so that shows the compiler has the ability to implicitly convert it regardless of what operator combo it uses
 
8:28 AM
that's too large of a test case for me, this late; sorry
 
I know, which is why I didn't post it in SO
I can't minimize it
 
in general I avoid implicit conversions like the plague
 
in this case they're a must
since the swizzled result is "just as good" as the original vector, so I need to seamlessly convert between them
 
why are you using reserved identifiers?
this almost looks like a good example of when code generation (e.g. from a python script) will be easier to write and maintain than templates, but I'm just skimming
 
8:46 AM
reserved identifiers?
you mean starting with underscore?
 
any use of adjacent underscores and leading underscore for macros or at global scope are the two I remember seeing
leading underscore isn't universally reserved
 
9:03 AM
that doesn't make the code not compile, does it
 
aiming a shotgun between my feet might not him them today, but would you suggest I stand to the side or keep doing the same tomorrow and the next day?
 
I am well aware of my use of underscores
 
the whole point of reserved identifiers is so the implementation can use names guaranteed not to break your code; why would you want to give up that guarantee?
3
 
thing is, when someone asks for help about X and instead gets criticism about Y is not very helpful
 
it was just a simple question, and it was not malicious
if you don't want constructive criticism, much less be able to handle unconstructive criticism, the internet isn't the place to ask questions
 
9:10 AM
I understand you are being helpful, but that isn't a big issue for me - changing those defines is a matter of seconds
 
well, spending a few seconds to correct understood, small errors is always time well-spent :)
 
true, but that doesn't make them have immediate attention
I just don't understand why ADL picks up the conversion on master but not on new_swizzle branch
 
I couldn't even find the location of error while skimming; I'd be happy to look again at a smaller test case
 
sadly a smaller test cases would yield comments such as "you're doing it wrong" and "why are you even doing it?"
 
can't say I won't give that POV, but I'll still try to figure out the technical reason it fails and you can ignore the rest :)
 
9:25 AM
there are too many to list
it'll yield into an almost infinite "why" loop
 
is printf/varargs intrinsic to the problem?
 
with errors
no, printf is there to force the compiler to use the variable (not to optimize it out)
assuming no SSA is used, c + c; is enough to trigger the error
 
your desired op+ isn't included in the viable function list because neither argument is a custom
 
what do you mean neither argument is custom
 
the lhs and rhs both have type converted
for an operator overload to be considered, one of the parameter types of the overload must match one of the argument types of the operands
 
9:31 AM
I knew you'd say that, which is why I'm showing you my own working code (master branch) where that sort of behavior is occurring
every compiler I tried (ICC, MSVC, GCC, clang) exhibits such behavior on master branch - it will convert BOTH operands and use the op of the converted clas
somehow I doubt all those compilers are bugged in this regard, espeically when they all error on the example I gave you
that means that somehow that is a way to get that behavior
 
I don't see how, according to §13.3 and §3.4.2
context-dependent behavior is a serious problem in C++ though, e.g. std::rel_ops has a similar problem
given your working and failing cases, though, you should be able to continually narrow down the differences until you find the key
 
how would you solve that issue then?
I want them to be auto-converted, as much as you hate it
 
well, I'm just trying to explain the technical side of how it works or fails at this point, to solve the issue I'd need to understand the problem, and then we get into "why are you doing this in the first place?" :)
I didn't say hate, but I do purposefully avoid exactly this class of problem by avoiding implicit conversions
 
I don't know why it succeeds, it can be 2 things - template or that swizzle helper is the direct child of the vector
I'm trying to write the other case as a minified version
before you go into "oh but your other side is not the same class" argument, please note that int result = c.increase<6>() + c.increase<0>(); will work as well!
 
9:47 AM
one of those operands, the rhs "c", is the type of the op+, so the op+ is found and added to the viable function list
incr is a nested class of custom, so custom is included in the associated classes for c.increase<6>() + c.increase<0>()
 
read what I just said
 
what you said is subtly different from what I pointed out
in the earlier case, codepad.org/RenMstMC, converted was not a nested class of custom
 
@FredNurk I knew you would say that, so I added the extra comment
I didn't know inclusion effects visibility of operators?
can you explain more?
 
I didn't say "the other side is not the same class", I said because one of the operands is of custom type, op+ is included in the viable list
 
int f() { int x, y; g(x,y);//code} Assuming a typical C++ implementation that has registers and a stack, the registers and parameters get written to the stack just before the call to g()?? what kind of register they r talking about and what does it contain???
 
9:50 AM
how does that not occur in my very first example?
 
§3.4.2p2: If T is a class type (including unions), its associated classes are: the class itself; the class of which it is a member, if any; …
 
both are of custom type
 
which is the very first example? codepad.org/RenMstMC?
 
yes
 
@user388338 learn assembly, at least the basics of it; that's the only way this will make sense
 
9:51 AM
in that example, both operands are of a custom type
 
@LiraNuna no, both operands have type "converted"
 
which are custom types
 
the implicit conversion is not automagically done any time you touch the object, it must be involved in overload resolution
 
fred..help me with the above statements..what actually register contain for g()?
 
no, "custom" is not the same type as "converted", even with the conversion
 
9:53 AM
@Fred, I don't understand that statement
 
converted c; c + c; // implicit conversions are not considered when selecting op+ overloads to resolve this
 
then what about my second example? they HAD been considered
 
i was trying to grasp the concept of inline fn...if this statement drag me to learn assembly it ll take so much time..
 
custom::incr c; c + c; // implicit conversions are still not considered, but custom is considered because it is an "associated class" of incr and that finds the op+, then the implicit conversions allow the op+ to be called
@user388338: yes, understanding takes time
 
@user388338 imagine inline functions type safe version of C macros
they get baked into the code at compile time
 
9:56 AM
@user388338 and you don't have to understand how functions work under the hood in order to use functions
 
reducing the overhead of creating a stack frame
@FredNurk, so the associated class is the magic?
 
lira..... if a function is inlined by compiler like say inline fn() { int a} where a ll be store
 
yes, as near as I can tell
don't take this as gospel, I'm only about 85% sure as I don't look at these details very often
 
@FredNurk: is there a way to make converted an external template and still make it an inline type?
 
§3.4.2 looks like the key, and I can't use it to find fault with my explanation so far
what do you mean by "external template" and "inline type"?
 
9:59 AM
@user388338: the function will not exist
@FredNurk: a hybrid approach of first example and second
 
defined externally to custom yet also a nested class of custom?
 
yeah
my apologies for not using correct terms
 
template<...> struct converted {}; struct custom { struct converted : ::converted<...> {}; }; // might work
a typedef explicitly (in the standard) does not work
 
yeah, as I guessed
 
you have to use custom::converted rather than converted<...>, of course
 
10:01 AM
oh of course
I dont' mind about names
so I can just re-alias
 
the nested-type-inheriting-from-external-type makes ctors a huge pain (fixed in 0x), but I don't know if that affects you
especially since the types aren't completely arbitrary
 
yeah I already got effected by it
especially with templates.
@FredNurk missing code I think?
 
that should be the essential bits
 
struct converted : ::converted<...> {};
?
3 : :: ?
is that second pair global scope
 
the error it gives now is why I asked whether printf/varargs was actually relevant
it does resolve the c + c as you want, now
 
10:10 AM
I wonder how templates will screw this up
 
well, hopefully I've helped, but I'll be afk for a few :)
 
that looks like the good direction
thanks, I'm still testing it on real code which is why I didn't reply yet :D
 
what the hell are you trying to do with printf like that anyway?
varargs dont cast classes to anything at all.
 
exactly.
which is why it makes it a perfect "try your best to resolve this" test case
 
so its UB or IB
GCC actually generated an invalid opcode to prevent the printf working
msvc just pushes the class
 
10:14 AM
I didn't want it to work, I wanted it to compile
printf was perfect for it to try a compile time type resolution
 
whats wrong with
c+c;
 
compiler optimizes it out and clang for example doesn't even TRY to resolve the op
 
@LiraNuna or sizeof, printf("", sizeof(c + c))
 
same with GCC 4.5 I believe, strong SSA code elimination
 
really? How can it optimize it out without first determining if there are no side effects.
and the only way to determine that is to try and compile it
 
10:16 AM
don't ask me, clang just doesn't care
 
you must resolve the c + c to get the result type, to get the size
not trying to resolve the op would be a bug because it misses required diagnostics
 
sizeof sounds good too
 
I was going to say typeid(c + c).name() at first
 
as long as it forces the compiler to resolve it without explicitly forcing result type (int x = c + c; would've been unoptimal)
*wouldn't
 
return type doesn't participate in overload resolution anyway, except for SFINAE, but I think I understand
 
10:28 AM
I wanted to give the compiler minimal hints
 
 
2 hours later…
12:10 PM
hello to all. Quick question that has got niggling the back of my mind. Fairly sure I am write, but if I want a classes function to be inline, I do have to write it in the header file don't I rather the the source file? Any one know the logic behind this?
 
exit
 
@DarkKnight erm?
 
@thecoshman i intended to type it elsewhere.
 
Xeo
:364797 The cleanest way would be directly in the class declaration.
class foo{
public:
    inline void myfunc(){
    }
}
and the other way would indeed be
class foo{
public:
    inline void myfunc();
}

void foo::myfunc(){
}
@thecoshman stupid markdown... okay, here's the link i was looking for: parashift.com/c++-faq-lite/inline-functions.html
 
Yer, so inlines have to be defined actually in the header file, but what is the logic behind this? The general convention is that the header file shows what the class contains and how the class actually works entirely in the source/cpp file. Why are inline functions so special, and I do understand how they work, just not why they are declared in the header file
im heading to SO for this one...
 
12:26 PM
@Xeo except remove inline; and move it down in the second example
@thecoshman the general convention is nothing of the sort; that's an analogy people have later tried to use for explaining convention
@thecoshman inline functions go in headers because C++ inherited C's model of translation units
it is no more and no less complicated than that
 
sbi
@Xeo Member functions defined (rather then declared) directly in the class definition are implicitly inlined, so your inline is redundant.
@thecoshman The reason is that the compiler has to actually see the definition in order to be able to drop it in in place of the call. Remember that C and C++ use a very simplistic compilation model, where the compiler always only sees one translation unit at a time. (This fails for export, which is the main reason only one vendor actually implemented it.)
 
12:59 PM
Is inline really badly taught? Based on SO evidence it seems to be a very poorly understood language feature.
 
@CharlesBailey I don't think it's taught 'badly', just not taught.
 
oh hai
 
@thecoshman Where do people learn C++ these days, then?
I was self-taught but that was a big mistake. It took years to undo.
 
1:17 PM
judging both from the courses I did take and what I've seen from others (even though the latter is probably exaggerated), self-teaching myself C++ was a very good decision
 
good morning
 
@Charles: I taught myself and I'm fairly sure that in the opinion of the majority of the room, I write at least acceptable C++
 
@ThomasEdleson I think Tesla was the much brighter mind :)
s/was the/had the/
 
eh? I wasn't comparing myself to tesla
 
@DeadMG Do you think you would have learned more easily or faster from a competent teacher, though?
 
1:21 PM
no, not really
I figure that it's taken me a year to get here, and that's really not much time at all in the scheme of things
 
the problem is identifying a competent teacher beforehand; which is especially hard for C++
 
and the truth is, there are some things where you just have to fuck it up before you can see how fucked up it is
and, of course, you have to have a competent teacher who has enough time and attention, etc
 
@DeadMG You are very talented, then. I would say it took me three or four years to learn it and another three or four years before I realised I needed to learn it again.
 
@ThomasEdleson well I was comparing ur nick to Tesla
 
well, I am extremely talented :P
but more importantly, as a lazy student, I can spend a lot of my time on it
if I was taught, the hours per week would be a lot less
 
1:24 PM
Nikola Tesla to Thomas Edleson? don't see the connection :)
 
@DeadMG what are u studying?
 
CompSci
 
@ThomasEdleson well I think Tesla a good intuitive understanding about Physics, since they didn't have the math formalism we have nowadays. Edison probably didn't understand that much, but was a smart business man on the other hand..
 
Folded Hands -- The First Conference on Conserving Manna (for wizards only)
 
1:43 PM
@Nils Edleson != Edison, though according to some members of my family there's a historical connexion
 
@ThomasEdleson lol just saw it now, font is quite small
 
it's okay, people misspell it all the time :( (even Google)
 
@ThomasEdleson Sry for the confusion.. but even google says: "Did you mean: Thomas Edison ?"
 
As I recall Edison and Tesla had some contest about transferring electricity with only one wire, or best without any wire at all. All Tesla managed was a big explosion in Siberia. At that point Edison, always the businessman, considered insurance claims and withdrew from the competition.
 
sbi
2:00 PM
@Nils Re "Did you mean?": google.com/#q=recursion
 
heh yeah I know that one..
Is there something to embed doxygen into Eclipse and VS? So that the documentation shows up if you autocomplete something (similar to the javadoc support in Eclipse)
 
2:25 PM
Scoping question if I have a try{..} catch() {} block I should be able to access all the objects in the catch part which were defined in the try part, right?
 
@Nils No, they will all have gone out of scope by the time the catch block is entered.
And cleaned up properly. That is the point of try/catch.
 
sbi
@Nils I don't think so.
 
when exactly do they go out of scope?
If program_.build(devices); fails you want the catch block to dump additional information about why it failed.
So what I did was checking if the build failed: if(err.what() == CL_BUILD_ERROR) and if so I would have to access program.getBuildInfo<CL_PROGRAM_BUILD_LOG>(devices[0])
So what's the way to do that properly?
 
Xeo
2:47 PM
@sbi it may be redundant, but for me atleast it looks cleaner
@Nils Well, there's always Visual Assist X and the "show comments from surrounding code" option
 
sbi
@Xeo In the same way some people consider a=a+1 "cleaner" than ++a.
 
hrmm I'm on Linux
 
hello. do you guys use Qt Creator??
or some Qt software??
 
no
 
@DeadMG what ide for linux do you guys recommend??
 
2:55 PM
I don't recommend any IDE for Linux, as I don't use any
a Windows man myself
 
@cyberroger I use Eclipse on Linux
So again to the try{} catch{} issue.. The objects in the try{..} block are out of scope once you reach catch(..){..} so the only way is to declare objects which are needed in the catch block before the try{..} block?
 
yes, and it's unfortunate
 
@FredNurk: I'm probably just being slow, again but what do you mean by unfortunate?
I think it would be error prone to have the scope of objects in a try block extend to the matching catch blocks. In the catch block how would you know which objects in the try block had been successfully constructed and which hadn't?
 
3:11 PM
exactly
in the catch, you can't know which variables are OK
 
I didn't mean that exact case, more that try blocks impose a scope at all
access unconstructed objects would just be UB, as it is elsewhere in the language – and the programmer's responsibility
 
this is different
normally, you can't access an unconstructed object, unless you're subverting the type system
but with try/catch where try doesn't have a scope, here you're begging for errors
 
Just for correctness: I have
cl::Context context = null;
before the catch block then inside the catch block
context = cl::Context(CL_DEVICE_TYPE_GPU, properties);
Now how many times gets a constructor called here? I hope only once, in the second line..
 
Xeo
2, the first is initializing with null
 
@DeadMG there's probably 3-5 unique cases where you don't have to explicitly subvert the type system
 
3:15 PM
show me
 
@DeadMG: the two most obvious are switch and goto
 
you get errors for both
error: jumped over initialization of variable
 
@Nils Assuming that cl::Context names a type I see two intances being created. One called context and a temporary used in a later assignment.
@FredNurk Another: Object obj = obj;
 
@CharlesBailey So how can you do it. You need to declare the object outside of the try block, but call the constructor in the try block, because something could go wrong when constructing it.
 
@Nils Why do you need to catch the exception that might be thrown by the constructor?
 
3:18 PM
else, what's the point of an unscoped try?
 
simply, because something might goes wrong and w/o it it's later not easily possible to figure out where what went wrong..
 
@Nils OK, but if the constrution fails, the object doesn't exist. Being able to name it in the catch block is useless.
 
@DeadMG See the example here khronos.org/registry/cl/api/1.1/cl.hpp you need to build an OpenCL program and if that went wrong you need to dump additional information in the catch block which require a reference to program and device
@CharlesBailey that's why it should be set to NULL first, right?
 
@CharlesBailey: What I'd really want is something like try { T obj = blah(); } catch (Something&) {handle_it();} might_throw_but_not_handled_here(obj);
 
@Nils I thought you were using an object, not a pointer?
 
3:22 PM
what, you mean like, an uncatch?
 
@CharlesBailey: without that, you have to include what you don't want to handle in the try-block (so obj is still in scope), then explicitly rethrow it
 
@CharlesBailey yeah well that's basically the point.. can I initialize that with null too?
 
and, for the sake of example, obj isn't default constructable plus movable so you could move it outside
 
@Nils I'm afraid I really don't understand your issue.
 
hrmm well just look at the sample in khronos.org/registry/cl/api/1.1/cl.hpp. Somewhere in the try block you build the OpenCL program. If this fails it just says CL_BUILD_PROGRAM_FAILURE which is not helpful at all of course. So you need to provide additional information in this case, which can be done by calling program.getBuildInfo<CL_PROGRAM_BUILD_LOG>(devices[0]); But this of course needs access to the program and the devices object.
@CharlesBailey so how would you do this?
 
3:31 PM
@Nils That looks like a 4000 line code file? Are you seriously expecting me to review it and improve it in my spare time?
 
@CharlesBailey No I mean just the sample in the first doxygen comment (scroll down about one screen)
 
Fundamentally, though: try { X x; try { x.do_stuff(); } catch(...){ /* can access x here, perhaps throw a richer exception */ } catch (...) { /* can't access x here, it might not have been constructed */ } .
 
@CharlesBailey This one codepad.org/Lq0LaRP4
ok so nesting exceptions would be an option..
 
I don't actually see the problem at hand in that code sample
 
Can I create an object on the stack which is null?
 
3:35 PM
@Nils what is "null"?
 
@Nils If "null" is an appropriate value for that object, then yes.
 
you can use a boost::optional or std::tr1::aligned_storage and then track lifetime yourself
 
@DeadMG Technically there is none, but "build failure" is probably not a helpful message when compiling of the device code fails..
 
@Nils: If the constructor for cl::Program does not throw anything useful, then that is a fault of the constructor
and nothing to do with trying or catching or even exceptions in general
 
@CharlesBailey Pointers can be null. In Java/C# objects are on the heap and references to it can be null, but what about C++ objects on the stack, is there something like null for it?
 
3:37 PM
could use a boost::optional
 
Sry for the dumb questions I was out too long yesterday and my C++ skills are rusty.
 
@Nils Technically, pointers can take a null pointer value. Often people use 0 or NULL. If you have an object with automatic storage duration then it must be initalized when control passes through its point of declaration. If "null" (whatever that is) is a valid value for the object, then perhaps it can be initialized with this.
 
@Nils I already alluded to that and he already answered it :)
@Nils most variables in Java/C#/Python/others are actually pointers, so "null" makes sense, because it means exactly what a null pointer does in c++; but in c++, variables are not all pointers
 
yeah I know, was just wondering about object on the stack
 
where you say "object on the stack", I said "variable"
 
3:48 PM
@FredNurk Data members are also variables, and they don't necessarily live on the stack ;)
 
no, they're data members :)
 
@FredNurk They have a name. They are variables.
 
4:00 PM
@FredOverflow not according to N3225 §3p6
 
4:15 PM
@FredNurk How did you get that? Only the declaration non-static reference member doesn't introduce a variable.
 
curious thing last night
I ate a triple cheeseburger in a bun and I was no less fine than normal
 
Huy guys, dooing a report on networked games, wanting to talk about how Doom did its networking, but I can't find a good site talking about it. any ideas... other then Google. I assume it is Client server, but I can't just assume it now can I
 
Doom's original network mode gave you left, right and forward views.
It wasn't about mulitplayer, IIRC.
All over IPX. Those were the days.
 
@CharlesBailey what do you mean by that?
@CharlesBailey Thanks for this link, gives some good info in other sections. Good I hate having to reference stuff
 
4:39 PM
@thecoshman Like a primitive VR setup
 
@CharlesBailey no. you have lost me. you still only have one view in networked doom... though you can look through you team mates... the controls are the same. I don't know what you mean by this.
 
@thecoshman Really don't know how to put it any clearer than that or as explained in the link.
 
guys anybody know about the programming for the MeeGo?
 
@CharlesBailey I see... but that link was about how to use to game to play it online. the only thing it talks about in terms of how doom works is that it likes to use IPX. I am looking for info about how doom actually handles network stuff, like client server or p2p. how it handles lag etc.
 
4:54 PM
Have just followed the link again: If you have a network, try setting up a network game with three players. The three terminals should have the parameters:

"doom -devparm -net 3 -left"
"doom -devparm -net 3"
"doom -devparm -net 3 -right"

Then, set up the left and right terminal monitors next to the middle monitor, in a virtual-reality type configuration. When you turn your head, you see the screen turned 90 degrees! This ONLY works with versions 1.0 or 1.1 of DOOM.
 
oh right, I see what your on about now. but this not what I am after.
thanks any way
 
@thecoshman Just grab the source code if you're really interested.
 
@CharlesBailey but surely their is a site out their somewhere the explains weather Doom is done Client server or Peer to Peer. And besides, I can't exactly reference the source code for doom
 
@thecoshman I don't know if there is much information here, but here it is:
 
@thecoshman Why not? Aren't primary sources usually better than secondary sources?
 
5:01 PM
ah, yes! thanks. not the best source but a source non the less. thanks.
@CharlesBailey good point... but I will jsut distracted playing with the code :P
 
5:17 PM
@CharlesBailey Cool unfortunately I didn't have any network equipment when I played Doom first..
@thecoshman What kind of report? Technical?
 
@Nils it's only a uni report thing. I just need to write a section about the general state of online games, with a bit of history. Doesn't get more famous then doom, so figured it would have plenty of stuff about out their... but maybe its too old
 
@FredNurk I don't see your point.
> A variable is introduced by the declaration of a reference other than a non-static data member or of an object. The variable's name denotes the reference or object.
class Foo
{
    int& r;   // not a variable
    int i;    // a variable
};
 
LLL
5:35 PM
hi, i need an help regarding paypal account, can any one help me
 
no
 
LLL
oh.. then were do i get paypal user chat room in stackoverflow
 
6:06 PM
uh
there isn't one
because this site has nothing to do with paypal in any way
 
@LLL are you trying to connect to paypal with C++?
 
Can you do me a favour and vote to reopen this question:
-3
Q: C++ Dynamic vs Stack Objects and How to Use Them

jfm429I've always done allocations dynamically on the heap; I've done a lot of Objective-C programming as well as plain C and since I'm usually dealing with large chunks of memory, heap objects are necessary to prevent a stack overflow. I've recently been told that using dynamically allocated objects ...

and vote to close this one:
0
Q: How to Convert beween Stack and Heap Objects

jfm429I recently asked a question about stack and heap objects after hearing some things about heap objects, and it was closed after several people responded with useless ranting. So I'll ask again and I want a straight answer, not "using heap objects is stupid" and "you obviously need to read a C++ bo...

 
6:57 PM
sorry.. not enough privileges.. ; c
 
00:00 - 19:0019:00 - 00:00

« first day (127 days earlier)      last day (4804 days later) »