« first day (882 days earlier)      last day (4072 days later) » 

12:00 AM
Hm... ok, so I was following this tuturial - sfml-dev.org/tutorials/2.0/start-vc.php - everything seemed exactly as said... but I got errors.
 
what is ur specialty?
 
Nothing, yet. Just trying to make Pong :D
 
is playing Heart of the Swarm
 
if your just going for the basics, allegro and sdl are better.
 
Ah. Why so?
 
Ell
12:01 AM
They Aren't
They are old and c style and bad imho
Sfml is good
 
user142019
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK
 
Ell
Whassup?
 
I guess i am old fashioned....
 
From what I have seen, SDL is c-based, and allegro is... wel, not as simple as SFML I would say, not entirely sure.
 
user142019
Fuck you LLVM y u build against libstdc++ and not libc++ you worthless piece of junk.
 
12:02 AM
I guess u should ignore me..
 
I will take any help I can get.
In my programming ventures thus far, linking libraries is a headache... yet to do it without help.
 
user142019
Hurray I can build LLVM again.
 
wha t is that?
 
Xeo
Okay @DeadMG, you're now officially set as the one who presents my paper, if R Smith can't / won't do it. :P
 
@Pawnguy7 LLVM?
 
12:14 AM
@StackedCrooked yes
 
It's a compiler infrastructure on which Clang is built. Clang is a C++ compiler.
 
Ah.
 
user142019
Can LLVM even be built with libc++?
 
Clang generates intermediate code which can be interpreted by LLVM or compiled to machine code.
 
Hmm.. I've just got in. The Zoidberg seems to have a frustrating little problem...
 
user142019
12:19 AM
Undefined symbols for architecture x86_64:
  "std::string::find_last_not_of(char, unsigned long) const", referenced from:
      llvm::SMDiagnostic::print(char const*, llvm::raw_ostream&, bool) const in libLLVMSupport.a(SourceMgr.o)
  "std::string::copy(char*, unsigned long, unsigned long) const", referenced from:
      llvm::sys::Path::makeUnique(bool, std::string*) in libLLVMSupport.a(Path.o)
 
user142019
What the fuck. How is this possible.
 
user142019
Linkers are really the worst programs ever. They always fail for no apparent reason and they make you want to kill yourself.
 
I know the feeling, @Zoidberg
Poll: what is the simplest text-based game?
 
@Zoidberg That, I can sympathize with. Linkers are the pits.
@Pawnguy7 ADVENT?
 
@MartinJames I did not find that using google. It appears it might be either... hangman, twenty questions or something of the sort.
 
12:22 AM
@Pawnguy7 That's not simple, it's trivial.
 
@MartinJames Well, I am tried of the linker, tired of making libraries not work, and of giving up projects. Finishing anything would be good right now.
what is advent about?
 
Colossal Cave Adventure (also known as ADVENT, Colossal Cave, or Adventure) gave its name to the computer adventure game genre. It was originally designed by Will Crowther, a programmer and caving enthusiast who based the layout on part of the Mammoth Cave system in Kentucky. The Colossal Cave subnetwork has many entrances, one of which is known as Bedquilt. Crowther reproduced portions of the real cave so faithfully that cavers who have played the game can easily navigate through familiar sections in the Bedquilt region on their first visit. History Will Crowther was a programmer at...
 
user142019
How do I check which version of libc++ I have?
 
Keep going south until you reach the grate. Pick up the key first.
 
TIL that the "pun" in "type punning" and "pun jokes" is the same pun. (It refers to something having multiple meanings.)
 
12:26 AM
@MartinJames Is the map in adventure games square? Never quite figured out how those work.
 
Anyone played the new Starcraft?
 
Playing it now
 
Is it good?
 
i like it a lot
 
@Pawnguy7 Very rarely. It is certainly not in ADVENT.
 
12:27 AM
-4
Q: 2 bits can store 4 different values?

Justin LiangIn learncpp I noticed that it says that 2 bits can store 4 different values and they give an example in the table. I am somewhat confused by what they mean. My original interpretation was that 2 bits can only store 2 values (ie. just 0 and 1 since the definition of a binary digit is 0 or 1). ...

 
Are you playing the campaign or bn?
 
^^ That escalated quickly...
 
@Mysticial lol
 
-1
A: Force a static constant inside a function to be evaluated at starting time?

didierc If you want to hide the constant, the only way I see is to put that static constant "as is" outside the function, but with the function in a different translation unit, and only export the function. If the constant is defined at top level, it will be initialized before main is run, which is wh...

 
@MartinJames Any idea of how maps work? Are they sort of connected nodes?
 
12:28 AM
@Pawnguy7 Usually, yes.
 
@Pawnguy7 It's a drawing of a piece of land.
 
@MartinJames That makes more sense. Although, how does one determine a node is x direction of another, or what is near or far?
 
@Pawnguy7 Square? No. I don't remember if the Crowther and Woods version included it, but a fair number were basically impossible in the real word (e.g., go one way through a passage, you get from A to B. Try to go back the same direction you can from, you end up at some C that's somewhere in the opposite direction entirely.
 
user142019
Hurray I asked another bad question.
 
@StackedCrooked I don't think that was that ubiquitous with the sentence following... a bit, though.
 
12:30 AM
@StackedCrooked Campaign
 
@JerryCoffin Sorry, you lost me
 
Hey everyone
 
@Borgleader Cool, I played the first SC2 campaign and like it a lot.
I should probably get it.
 
are "globals" variables in a single-file source frowned upon?
 
user142019
Software y u no just work. :(
 
12:34 AM
yes
 
@Pawnguy7 You're in A. You go (say) East, and end up in B. From B, you go West, expecting to get back to A -- but end up at C instead. In other cases, you try to get back, you simply can't go that way at all.
 
@Pawnguy7 Globals are a no no.
 
Xeo
> OK, I've accepted it for the mailing; it will be N3617. But I want to be sure you know that there's no guarantee that it will be considered in Bristol. If you were going to be there, it would certainly be considered, as a courtesy to you. But the Evolution group will have more than 30 other papers to consider at this meeting; take it from me, that's a ton. Something may have to give.
Kekeke /cc @DeadMG @LucDanton @R.Martinho
 
Guis
does a make_bind exist?
 
@Pawnguy7 Just make sure to put them in an anonymous namespace.
 
Xeo
12:35 AM
@ThePhD What would that do?
 
user142019
@Pawnguy7 depends what you want to do with them.
 
Uh. For like, general applications of std::bind for functions / std::function.
 
user142019
What do you think you need the global for?
 
To get rid of all the templatey stuff.
 
Whoah, over 30 papers is a lot of work.
 
12:35 AM
Deducation and shit.
 
@JerryCoffin Is this an explanation of how directions are handled, or something else? Also, I would expect to get back, so I wonder why that design.
The global was a std::string array of words for hangman
 
user142019
 
user142019
Google must have subscribed to all of Stack Overflow's RSS feeds.
 
@Pawnguy7 If it's a constant then it's no problem.
 
user142019
Google y u find my own question.
 
12:37 AM
@StackedCrooked Ah, I forgot, it is. I think I will do that, then.
 
does anyone know how to use a library that only consists of a .h file and .cpp file ? O.o
 
Yes. Build it.
 
"O.o"
 
how does one do that on windows ?
 
Using your compiler.
 
12:38 AM
I found my own question once. I was googling, and I found a SO question - usually quite helpful - and it sounded EXACTLY like my problem. The irony...
 
maybe extern "C" it even.
 
ahh gawd, im using VS :P
 
Xeo
@LucDanton Indeed is.
 
If it is a very tiny library, you can just put it next to your own source files and just include it in the application..
 
A new SO question will be found on Google in a matter of minutes.
 
12:39 AM
it is a really tiny library yes
 
a .h and .cpp file? I would just say add them to your project... I don't know how to do that.
 
What's the name of that decked out C++ distro?
(some of you guys showed it to me a while back)
 
boost ?
 
@MarcusStuhr C++ distro?
 
Nah it includes boost though
 
12:39 AM
MinGW?
Clang?
 
some custom build
 
Clang?
 
Nu....pro... or something like that?
 
Nuwen ?
 
@MarcusStuhr NudePro?
 
12:40 AM
Haha I think it was Nuwen
 
nuwen.net's MinGW build.
 
STL's Nuwen?
 
Otherwise known as STL.
 
Ah it was this, yeah nuwen.net/gcc.html
 
He includes boost, and other such things.
 
12:40 AM
thanks
 
His distro violently exploded for me, though.
 
Why's that?
 
Scrolling down on nuwen.net gives the impression that the browser is zooming out.
 
So isntead I used a rubenvb and got boost myself.
And, fuck if I know. I'm sure it was just Windows 8 throwing a hissy fit at me putting things in Program Files at the time.
 
Got a new laptop, so I'm reinstalling everything etc
 
12:41 AM
@Pawnguy7 It's pointing to the fact that the map wasn't even close to a square, or a grid, or (in some cases) anything you could accurately model in 3 dimensions at all.
 
@MarcusStuhr He has some very interesting thoughts on that webpage
 
Oh, wow.
My nose jsut started violently bleeding.
 
man i fucking hate library's....
 
What the hell.
 
its just giving me tons of errors :L
 
12:43 AM
@ThePhD Winter and low humidity. Here in Colorado (borderline desert) it's almost a weekly occurrence.
 
If it's only a 2-file library, just put it import the two files into your project and compile them alongside.
If there are errors in the code though, that's a different story
 
how does one use this library: serialib.free.fr/html/index.html when it only consists of a header file and source file ?
 
user142019
You build the source file and link against the compiler output.
 
user142019
And you include the header file.
 
user142019
12:47 AM
Harlem Shake is the worst viral video ever.
 
user142019
Even Friday was better.
 
Ah I do enjoy online easter eggs
 
Linux build/install: 'You are in a maze of twisty, little packages, all alike'.
 
@Xeo It's been posted before.
 
how does one compile a library when ur using visual studio ? like i don't have any external compilers
 
12:55 AM
it comes with one
try build -> build solution
 
yea but that does ont build the library
 
What does it do?
 
i get a LNK2019 error
 
Could you paste it here?
 
Bjarne's C++11 FAQ is really nice.
 
12:56 AM
on his site?
 
@Paze Link!=compile.
 
@DomagojPandĹža Yeah but coop doubly so
 
Error 4 error LNK2019: unresolved external symbol "public: char __thiscall serialib::WriteChar(char)" (?WriteChar@serialib@@QAEDD@Z) referenced in function _wmain c:\Users\Paze\documents\visual studio 2012\Projects\HeartbeatMonitor\HeartbeatMonitor\HeartbeatMonitor.obj
 
Xeo
> This paper does not propose adding language support for D-style scope statements. Instead, it proposes a new function std::unwinding_exception that returns true iff we are executing a destructor of a stack-based object that is being called to perform stack unwinding.
 
12:57 AM
5 of thoose
 
Especially that their netcode is really framerate-sensitive
And things like to literally spaz out
 
@CatPlusPlus wat
Glad I never noticed.
 
Do you call Writechar in your files somewhere?
 
uhmm yea
 
and this is a method from said library?
 
12:58 AM
if(Serial.Open(port.c_str(), 9600)) {
printf("Serial communication established on COM%s\nSending ICMP heartbeat request to server on %s", port, address);
while(true) {
Serial.WriteChar(1);
Sleep(1000);
}
yes it is :P
 
@LucDanton Apparently when framerate of the players differ significantly there can be major desyncs
 
If you do build - > compile, does it gives youerrors?
 
I don't know if it's related to what we were seeing but w/e still hilarious
 
nope, it works fine then
 
That while(true) loop looks a bit boring.
 
12:59 AM
but still not executing
 
I recorded 5GB of video before my FPS started dropping below 30 so I had to turn the recording off
 

« first day (882 days earlier)      last day (4072 days later) »