« first day (870 days earlier)      last day (4086 days later) » 

3:00 PM
@Xeo Why the fuck did people assume it was about allowing UB to throw? WTF. Even David got it wrong.
@Xeo A type that meets the NullablePointer requirements.
@Xeo haha :)
 
Xeo
@R.MartinhoFernandes I meant for operator-> in general.
 
I edited my question, after looking at std::shared_ptr
and it seems they have different exception spec for those two operators
 
But yeah, I dropped a downvote on all answers but yours.
@TonyTheLion shared_ptr does not allow custom "pointer-like" types.
I.e., only true pointers.
 
Xeo
@TonyTheLion Edited my answer.
 
@R.MartinhoFernandes oh
 
3:04 PM
(It does not have a compile-time deleter type, so it could not do it anyway)
 
Xeo
I just looked at top user... Skeet. With a single answer. On a C / C++ question. 271 upvotes. :(
 
oh gawd
 
Xeo
Btw, if you're wondering why operator-> can't throw even though it copies the pointer type... well, one of the requirements of NullablePointer is that copy etc don't throw. :)
 
@Xeo IMO it should return pointer&.
 
3:07 PM
> Now, as the user, you can define entirely different semantics for operator* on your pointer type.
I'm not sure how you would do that? Overload that operator for unique_ptr?
 
Xeo
@TonyTheLion No, but unique_ptr::operator* basically forwards to pointer::operator* (for a user-defined pointer type).
 
ah I see
 
Xeo
So you can do whatever in there.
 
ah, and shared_ptr doesn't do that
 
Xeo
Well, it has no customizable pointer. It's always T*.
 
3:09 PM
right
that makes sense actually
interesting
:)
 
Xeo
I ♥ language lawyering.
 
my public repo: visible.
click the author profile: *in*visible.
 
@Xeo seems you're good at it too
 
Xeo
Haha, @JerryCoffin updating questions with
 
oh no
I exist now
5
 
3:11 PM
@Xeo Do you always do rules lawerying when RPGing?
 
Xeo
@DeadMG Welcome to the world! Take your care package consisting of a pack of tissues over there, and go cry in a corner.
 
@Xeo That did remind me that a lot of older questions didn't have the tag that really should...
 
@DeadMG Why did you move to GitHub?
 
@Xeo Wat?
@R.MartinhoFernandes I had a GitHub for a long time.
 
Xeo
@DeadMG A general introduction to the ruthless world. Nevermind it.
 
3:12 PM
besides, my prospective employer uses Git and wants to invite me to his private Git repo, so
 
-1
Q: How can i see what code sent mfc message?

user2132275i'm working with ClistCRTL and where are messages that i don't know what code send them, they related to draw.

 
Xeo
@JerryCoffin I was actually surprised I only answered 6 questions until now...
 
I accidentally a word
@Xeo I love OpenGL lawyering. High 5
 
@Xeo The tag was added pretty recently...
 
Xeo
@R.MartinhoFernandes Not really, since I have no fucking clue what the rules really are. :)
Which reflects pretty much in how good my characters are xD
 
3:14 PM
@BartekBanachewicz Why the downvotes? Seems like a perfectly legitimate question to me.
 
@Xeo That's good actually.
Rules lawyers are a pain in the ass.
 
-2
Q: .resize() Eigen

user1993285When running: C.resize(0,0); MatrixXd C(500,500); I load only Eigen Direcotry. I get this error: Invalid arguments ' Candidates are: void resize(?, ?) void resize(?) void resize(enum Eigen::NoChange_t, ?) void resize(?, enum Eigen::NoChange_ What could be wrong?

stupidity much?
 
Took a looooong time for our resident rules lawyer to understand that I make the fucking rules and I don't like to waste time looking them up and the other players don't like it either.
 
@ThePhD All deferred.
 
user784668
Ahahahahahaha.
 
3:19 PM
@EtiennedeMartel how are you rendering transparent objects?
 
@BartekBanachewicz Depth peeling.
 
user784668
LTO for libstdc++ works.
 
Xeo
@Jerry: Are you just going through @Johannes' questions now? :P
 
user784668
oh hai sane binary sizes
 
@Xeo At the moment, yes.
 
3:23 PM
Is preprocessing shaders and adding custom "builtins" (like "position") considered a sensible practice?
 
user784668
std::cout << ""; without LTO: 635 KB; with LTO: 354 KB.
 
I can't decide if the shaders should be written 100% by the users, or should they write only the actual meaning, and not be concerned about details, like vertex attribute bindings, global uniforms etc.
 
user784668
That's with -O2. With -Os the size goes down even further.
 
user784668
Okay guys, so, uh, anyone with intimate knowledge of GCC build system around?
 
I've never looked inside its underwear
 
user784668
3:28 PM
I only need a way to set separate CFLAGS for the target libgcc.
 
Who's Luigi Saggese?
 
user784668
Because libgcc hates LTO.
 
@Fanael Haha, isn't that autotools?
 
in Room for Luigi Saggese and R. Martinho Fernandes, 17 secs ago, by Luigi Saggese
Do you know some software like Navicat to query and browse database INTERSYSTEM Caché?
WTF
 
Xeo
lol
 
3:29 PM
Has Berlusconi had him yet?
 
Daisy comes into my room to beg me for walkies
 
user784668
@LucDanton Makefiles are hand-written IIRC. But they're certainly not automake.
 
The caché is a bit of memory set aside for things you don't want to remember.
 
@DeadMG Did that an hour ago. I'm Bailey-free now.
 
user784668
Lol the warnings: ideone.com/uEkiXY
 
3:31 PM
@BartekBanachewicz Depends on what you're trying to do.
 
@Fanael 'Finished building target: die.exe'
 
@R.MartinhoFernandes Who?
 
@EtiennedeMartel uh, I am designing my engine
 
@BartekBanachewicz What's that engine's purpose?
 
3:32 PM
My boss expands WTF to "Welcome To Finland".
 
FTL boss fight is bullshit :<
 
@EtiennedeMartel Right now mostly games
 
@R.MartinhoFernandes 'The class is being generated through macro's during preprocessing'
 
@CatPlusPlus I never beat it.
 
user784668
@MartinJames You don't want to know.
 
3:33 PM
@MartinJames Wait what. I didn't even notice that. I'm so glad I didn't even read the body.
 
Disabled enemy's drone control? WOOP DOESN'T MATTER HERE'S 10 DRONES FOR YOU
 
No SAN lost.
 
@BartekBanachewicz And who's gonna write the shaders?
 
@R.MartinhoFernandes That sounds doubeius.
 
@BartekBanachewicz Check prior art?
 
3:34 PM
(Or, rather, who are the users?)
 
@EtiennedeMartel umm... game developers?
@R.MartinhoFernandes wwwhhawawat?
 
@BartekBanachewicz There are other similar things out there, no?
What do they do?
 
Most engines use declarative wrappers over shaders
 
@R.MartinhoFernandes what cat said ^
 
The only time I've seen shader generation was when multiple platforms have to be targetted.
 
3:36 PM
It isn't exactly generation
 
@CatPlusPlus Mostly for cross platform compatibility.
 
I am thinking about uniforms and vertex attribs mostly
 
Also WOOP HERE'S MILLION MISSILES BECAUSE HAHA WE KNOW YOU HAVEN'T REPAIRED BECAUSE REPAIR STATIONS WERE GENERATED 10 JUMPS FROM HERE
 
Want a use case?
 
Well, I don't really care about the answer. I was just mentioning that looking that up might help make a decision.
 
3:36 PM
Fuck this boss fight forever
I'm going back to DF
 
@CatPlusPlus More fake difficulty! Go!
 
I'm playing Adventurer now, UI isn't that bad
 
user784668
Is there a SE site where questions about making GCC build system do weird things are on topic?
 
Cat whining about difficult boss in a game that calls itself a roguelike...
@CatPlusPlus I love combat in Adventurer.
 
3:38 PM
There's roguelike and there's bullet-hell with no dodging ability which is just bullshit
 
Well, I love combat in Fortress mode too, but in Adventurer I get to control it.
@CatPlusPlus Sounds just like NetHack's bosses.
 
@Fanael SO is supposed to be okay for question around tools, and GCC certainly is such. It's not unheard of for zealots to try and vote-close still.
 
I want a game that is as in depth as DF, but with a less terrible UI.
(I say that, but SimCity comes out tomorrow, so fuck it)
 
@EtiennedeMartel I think you should reserve that term for other hurdles.
 
Targetted attacks are awesome. Things are super fun when you have a command for "I want to slash that big guys left ring finger off", and "grab that guy by the neck and bite his left eye off".
 
user784668
3:40 PM
TBH, I think that GCC mailing lists will be better than SO.
 
Also I probably won't be able to play SimCity on launch day because their IT will have underestimated the amount of players, so their servers will fold under the pressure, thus preventing everyone from playing because of their always online bullshit.
 
@EtiennedeMartel Namely things that try to deceptively pass themselves as difficulty.
@EtiennedeMartel lol
 
@LucDanton That feeling when you lose not because you played badly but because the designers hate you? That's fake difficulty.
 
@EtiennedeMartel I think that difficulty is quite real.
 
Exactly. I don't get that from DF. Esp. not the UI.
 
3:43 PM
Okey, I think I know what I will do
 
I will start with a limited number of data primitives, and then will try to specify the connections between them
 
Jesus, I'm sleepy again. Work affects my melatonin levels, I'm sure of it.
 
in Room for Luigi Saggese and R. Martinho Fernandes, 16 mins ago, by Luigi Saggese
I have see that you are a top user on this tag
WAAAAAAAAAAAAAAAAAAAAT
 
@R.MartinhoFernandes What what, in the butt.
 
3:52 PM
# ifdef _STLP_TRIVIAL_DESTRUCTOR_BUG
ouch
 
@Xeo Hey, some of the things could be type traits, and some of the other could be expression traits.
 
Xeo
Wait, what are "expression traits" now?
 
Properties of an expression. As opposed to properties of a type.
 
Xeo
Ah, value category. Why don't you just say so. :P
 
Say what?
 
Xeo
3:55 PM
Or what other properties are you thinking of?
 
They're traits, so type.
 
Xeo
Oh, right.
 
you know what, I'm going home to convert all my code from tabs to spaces
 
std::is_copy_assignable<T> is a type query. Its semantics are in terms of std::is_assignable<T, T const&>, which is an expression query. So I'd argue there's some already existing practice. It's a fine line though.
 
3:58 PM
@R.MartinhoFernandes is there a better reason to go home? :)
 
Not being intersectional because you don’t want to fuck up is like denying fire exists because you don’t want to get burned.
Disclaimer: I have no fucking idea what "intersectional" means.
 
@EtiennedeMartel Dammit, now my question is wasted.
 
@EtiennedeMartel I have neither, so it lacks sense a bit
 
@EtiennedeMartel To clash with something at a point?
Confrontation?
 

« first day (870 days earlier)      last day (4086 days later) »