« first day (493 days earlier)      last day (4457 days later) » 

11:01 PM
@sehe Fantastic song. :)
 
@EtiennedeMartel Sounds sterile.
 
@RMartinhoFernandes Sounds tough.
 
oh hai
 
Hell-Oh.
 
lol @ tagline
 
11:03 PM
@EtiennedeMartel Heavy. My physio therapist recommends surgery
 
what's been going on in here?
 
@sehe When you're manly enough, it's not heavy.
 
@TonyTheLion can't read?
 
tl;dr
there's sane people that code PHP?
 
@EtiennedeMartel Actually, heavyness is objectively measured these days. But, indeed on the moon, it won't wear you out quite as quickly.
@TonyTheLion you came to the wrong conclusion
 
11:05 PM
oh, so only nutters code in PHP
 
@TonyTheLion only nutters code in PHP FTFY
 
lol
so we're all nutters?
I'm listening to Dimmu Borgir
not bad bit of grindcore/metal
 
@TonyTheLion evidence to the contrary will be accepted with great ethusiasm
 
hahah
no, I've been coding in C and assembler lately, this can only be done by one whom hasn't got all them screws in the right place anymore
lol
 
Robots can't be insane, right?
 
11:08 PM
no, you can just have bad instructions
or corrupted data
 
@RMartinhoFernandes Only if you're programmed by an insane person... oh wait.
 
@TonyTheLion interference
 
lol
I should go to bed
 
@sehe I'm Faradayed.
 
been tired all damn day
 
11:09 PM
@RMartinhoFernandes Our caged robot
 
What's a "poult"?
 
Oh, young chicken.
 
Xeo
Yay, time to compile clang again...
 
11:13 PM
"Yay"?
 
If you have firefox: syntensity.com/static/box2d.html
 
Don't tell me you enjoy the compilation per se.
 
Xeo
I forgot the dadada
 
The what?
 
the dadada...
 
Xeo
11:16 PM
@EtiennedeMartel I see you didn't watch GoingNative?
 
or he forgot that sentance
 
This guy is doing crazy stuff: he compiles C++ code into a javascript library. that he uses directly in the browser. That is awesome stuff. See Emscripten
 
@Xeo Well, I did. But I don't know what the fuck you're talking about.
@sehe Oh. My. Fuck.
 
The explanation of the port of Box2D to js using LLVM: box2d.js
 
Xeo
@sehe Compiling C++ to JavaScript? That guy should feel dirty. Very dirty.
 
11:17 PM
@Xeo No. He feels powerful. Very powerful.
The best part is: it is easy to use from javascript: github.com/kripken/box2d.js/blob/master/webgl_demo/…
 
JavaScript is probably, of all the ugly languages out there, the most powerful.
 
@EtiennedeMartel Strongly disagree. Obviously C++ takes the biscuit there
 
@sehe Hm, I do not consider C++ and JavaScript to be in the same league when it comes to ugliness.
 
@Xeo I've used it myself about a half year ago. It had issues with linking to libstdc++ back then, but that should be easier these days. Should give it another go.
 
@EtiennedeMartel I think he meant powerful
 
11:20 PM
@EtiennedeMartel Indeed. C++ is clearly uglier :)
In defense of both languages: it depends largely on the subset used.
 
Just as I feared, I have no memory of how to use the DF interface D:
 
Xeo
What interface?
 
It also depends on the def. of 'ugly' (if you mean: ugly typing system then java is the clear winner). If you mean ugly syntax, C++ could be the winner
 
@Xeo Exactly.
@LucDanton I didn't either, but seemingly my fingers still do.
 
@Xeo Oh you guys were controlling it through the chat? That explains the episode of utter incomprehensible crap earlier.
 
11:22 PM
@sehe No. We were just talking.
 
@RMartinhoFernandes out of your ***es -- FTFY too
 
Xeo
@sehe I seriously have no friggin idea what you're talking about.
 
Speaking of incomprehensible crap, I need names of "famous computer people" for my new dorfs. What should I call a butcher?
 
@RMartinhoFernandes DeadMG
 
@Xeo Failed to read the backlog again, do you? It started around here (and you weren't there):
2 hours ago, by R. Martinho Fernandes
I'm playing DF.
 
11:26 PM
@MooingDuck That's already taken. The migrants brought a puppy ;)
 
@RMartinhoFernandes Larry W
 
No, wait, I can't name the puppy. :(
 
Xeo
@sehe I very rarely read the backlog when coming back to the chat. Especially after more than half a day of absence
 
This is a list of programmers notable for their contributions to software, either as original author or architect, or for later additions. A *Michael Abrash - Popularized Mode X for DOS. This allows for faster video refresh and square pixels. *Scott Adams - one of earliest developers of CP/M and DOS games *Leonard Adleman - co-creator of RSA algorithm (the A in the name stands for Adleman), coined the term computer virus *Alfred Aho - co-creator of AWK (the A in the name stands for Aho), and main author of famous *JJ Allaire - creator of ColdFusion Application Server, ColdFusion ...
 
@Xeo tsk tsk tsk. points deducted
 
11:29 PM
@RMartinhoFernandes Shigeru Miyamoto
 
@sehe That's fitting. Butchers often go insane from all of the killing they see.
 
@RMartinhoFernandes I still haven't bothered to find out what DF actually stands for.
 
@sehe Dwarf Fortress.
 
Xeo
Dwarf Fortress would be my guess, but...
Oh, I'm right.
 
11:32 PM
 
Awesome, the surgeon has little empathy and does not go out of his own way to help others. Perfect personality.
 
@RMartinhoFernandes @MooingDuck You guys don't agree. Does it come with or without a period?
It is important that I know, since I found (in marriage) out that I don't actually like things that come with a period
 
@sehe You don't like women?
@sehe It's a thing called grammar.
 
@RMartinhoFernandes Again, risk everything for the lame jokes
 
@RMartinhoFernandes Hey I found an actual drawback to using std::tuple as a type-list!
 
11:35 PM
@RMartinhoFernandes Yes, and you got it wrong. Titles don't get a full-stop
 
@RMartinhoFernandes Your utterance was not a complete statement, and thus does not require a period.
 
@LucDanton Can't default initialise at will?
 
@RMartinhoFernandes Wut? No initialization in TMP.
 
Does anyone know where I can get a version of GCC 4.2 for windows (like part of mingw or something)
 
Is it allowed to ask Java question here?
 
11:36 PM
@LucDanton I find it useful for tag dispatching.
 
I looked on the mingw downloads page but the oldest version they have gives you gcc 4.6 or something
 
@SethCarnegie Look at @rubenvb's pages.
 
@RMartinhoFernandes What, with constexpr templates or something?
 
@LucDanton Well, then, what's your drawback?
 
@SethCarnegie Oh. Older.... Just install DevC++ or Cygwin :)
 
@RMartinhoFernandes You get an error when std::tuple is instantiated with incomplete types, e.g. void.
 
template <typename...> struct typelist {}; it is then :)
 
@MooingDuck according to stackoverflow.com/questions/6525245/… clang requires gcc 4.2 headers exactly
 
Have to reinvent tuple_element though, I use that a lot :(
 
@MooingDuck he wanted old. It took me few seconds to correct myself there
@SethCarnegie or libcxx or something like that? Is it the apache thingy or something from llvm/clang - I wouldn't know actually
 
11:39 PM
In that case though I sidestepped the issue by special casing void returns of apply(f, variant). Something I've tried to avoid so far but oh well.
 
@sehe no idea
I'm new to this
 
Xeo
Oh, right, I remember reading @Seth is trying to compile Clang?
 
@Xeo yep, on windows
I can compile it fine
 
Xeo
Heh
 
with both msvc++ and g++
(with mingw)
but it always fails with headers
I need to do this because I'm writing some software that needs to parse C++ and I want to use libclang
 
11:40 PM
Actually I can get static_assert( !std::is_same<std::tuple<void>, void>::value, "" ); to compile. Still, I'm looking at the tuple requirements right now to see if that's reliable.
 
@SethCarnegie Oh I have that all the time. But only in std=c++0x mode. I sort of accepted it for the time being. Don't need to use clang
 
@sehe I need to, because all other compilers are GPL licensed
and by all others, I mean gcc
 
Well, there are only requirements on members, for both std::pair and std::tuple. I guess that works fine-ish then?
 
@SethCarnegie Hmmm. What are you saying there. C++ is portable, and clang is interoperable, but to use it's library, you must compile with clang? That stinks.
 
Xeo
@SethCarnegie Heh, exactly the point Chandler mentioned at GoingNative
 
11:42 PM
@SethCarnegie I almost missed a beat there. Thought MS and Intel had made dramatic decisions
 
Xeo
@sehe Huh? If you can compile clang, you can use the library, because the library is clang AFAIK
 
@sehe What? I mean I have to have some headers that clang can use while it's parsing C++
 
Xeo
In any case, Clang is currently compiling and bringing my CPU to its knees. I'm off for today.
 
@Xeo But if you just want to use libclang, you should be able to link the lib (as binary) using another compiler, not?
 
so if I can't compile something with the clang compiler, I can't parse C++ with libclang
(that's the way I see it)
 
11:44 PM
Ok. Let me rephrase. Why should you compile clang if you want to use a library that is related to it? It's like saying, you must use MSVC to link to msvcrtxxx.dll, or you can't use Roslyn unless you use the MS C# compiler
 
Xeo
Well, what exactly isn't working? Is it not finding the system headers?
 
@Xeo I am using the headers that came with mingw (gcc 4.6.2) and when it tries to use them, I get stuff like whatever is not a member of the std namespace (when it gets to a line using std::whatever)
@sehe If I can't compile something with clang because it rejects the headers, how can libclang work? clang uses libclang
 
@SethCarnegie Oh. You need the headers not for compiling clang. Now I see.
 
@RMartinhoFernandes Unrelated, but I tweaked apply(f, variant) to always return T rather than variant<T>. Does that make sense?
 
@sehe yes, I need the headers for compiling something with clang
 
11:46 PM
@SethCarnegie derp, that point, indeed. Sry
 
Xeo
@SethCarnegie Try -nostdinc and manually point at the system header includes with -I...
 
@Xeo that's what I do (if I don't do that, then it uses the MSVC++ headers, which screw up even more)
 
@SethCarnegie Ah, please, consider phrasing that: 'I need the headers for parsing something with libclang'. Big difference :)
 
@Xeo that's how I'm getting it to use mingw headers at all in the first place
 
@SethCarnegie It's got taste
 
11:47 PM
@LucDanton What T? You mean it requires all the overloads to produce the same return type (modulo conversions)?
 
@sehe I don't think it matters does it? If I can't get clang to compile something, I can't get libclang parsing
 
Xeo
@SethCarnegie Oh, ok.
Example error message?
 
@Xeo I will get one, one second
 
Xeo
(copy-pasted, please)
 
@SethCarnegie that edit saved me a reiteration :)
 
11:49 PM
@sehe yeah, that does make a difference :)
 
@Xeo Translated into mandarin, much nicer
 
@Xeo it might take a minute, I have to find the three directories it needs to not get "can't find file x"
 
Xeo
You know, you might actually just wanna setup a virtualbox. :P
Oh. Clang is done compiling
 
@Xeo that's probably the best idea
 
@Xeo no, I am developing software for Windows :(
 
Xeo
11:50 PM
That was unexpectedly fast oO
 
@Xeo that's a sure sign of failure
 
Xeo
@MooingDuck > llvm[0]: ***** Completed Release+Asserts Build
A mere 30 minutes, ohey
 
@RMartinhoFernandes apply(arg1 + 1, variant<int, long>{ 0 }) will return variant<int, long> but apply(arg1 + 1, variant<short, int> { 0 }) will return int instead of variant<int>.
 
0
A: "Access violation" with COleVariant

Cheers and hth. - AlfWell, fishing for suggestions does not really fit Stack Overflow’s question and answer format, so it would not be unright to vote to close the question. On the other hand, many others may be doing the same Bad Things™, and could benefit from being told about it. So: Don't use C styl...

^ Should I instead have voted to close?
 
Xeo
@CheersandhthAlf lol @ name
 
11:52 PM
@Xeo got it, here you go
 
@LucDanton Ah, so no conversions, you simply collapse variant<A, A> into A. That it?
 
@Xeo command line: $ clang hello.cpp -nostdinc -I"C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++" -I"C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\mingw32" -I"C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\tr1"
@Xeo Errors
In file included from hello.cpp:1:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\iostream:39:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\ostream:39:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\ios:38:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\iosfwd:41:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\bits/postypes.h
:41:
In file included from C:\MinGW\lib\gcc\mingw32\4.6.1\include\c++\cwchar:45:
 
@RMartinhoFernandes Oh yeah, I didn't go ahead and support a repeated element type. Regardless of that though, the point is that apply(arg1 + 1, variant<int> { 0 }) returns int, not variant<int>.
 
@Xeo and hello.cpp is
#include <iostream>

int main() {
	std::cout << "Hello";
}
 
Regarding repetitions, I think collapsing identical return types is more pragmatic. I don't think the lost information would be needed most of the time.
 
Xeo
11:57 PM
Hm, sounds like a mingw headers problem to me, tbh
 
@Xeo that could be, but where do I get some non-crap headers then?
I have no idea
 
Xeo
I assume <cwchar> is just including <wchar.h> and pulling stuff into std?
 
@Xeo you can view it here: pastebin.com/thsyCKCs
 
@SethCarnegie The last time I had a 'missing cwchar header' error with MinGW it was a bad install.
 

« first day (493 days earlier)      last day (4457 days later) »