« first day (919 days earlier)      last day (4023 days later) » 

9:00 AM
But I'd argue that yes, it is.
Report it so they WONTFIX it.
 
heh.
 
well, it's kinda ok for me, unless update2 fixes it
 
Xeo
@Abyx DWORD is unsigned int, no? So you also have a conversion from char to int there...
 
@Xeo ulong
@Xeo huh?
 
Xeo
Well, same result
 
9:03 AM
multi-character literals are int, not char, really
 
Xeo
wat, really?
I never knew
 
@Abyx huh
 
Yes.
It really behaves like the kind of thing I would put in Hell++.
 
I would love to have an actual implementation of Hell++ ^^
just for the fact alone that we’d then finally have a 100% conforming compiler …
 
personally I'd like to have a different C++ compiler, since Clang is really starting to grate on my nerves
 
9:13 AM
@DeadMG Huh. Any particular reasons? (Not that I’m using clang routinely …)
 
Are you on Windows?
 
@KonradRudolph Their code generation is batshit insane. They generate functions with the wrong signatures, and then just bitcast them to the right ones. They ignore the ABI. etc etc
 
oh, interesting …
 
Xeo
You're just misunderstanding it
 
Xeo
9:16 AM
Didn't we clear up yesterday, that you had wrong expectations of how the ABI is used?
 
@Xeo Is it going through a phase, too?
 
@Xeo Only for some cases.
 
Wait, I think I got that the wrong way around.
 
quite a few of the other cases are plain illegal.
 
bitcasting is no good anyway
 
9:17 AM
Ah, such a nice shower.
 
for example, the AMD x64 ABI specifies that if you have a complex type, then you return it in memory and you take it in memory; else you return and take by primitive value.
so there's no way that Clang should return by value but pass by pointer.
especially since I added an assertion to check and Clang's own ABI class says that this specific class should be taken by value.
 
Hmm, five dead in a shoot out in Seattle.
 
It's sad that I feel like yawn would be an appropriate response to that.
 
I congratulate the United States on the effectiveness of their democracy
I'm pleased that they are getting the result that they appear to want
 
9:24 AM
Seems like Star Wars TOR is still trying to survive.
 
It's nice to see competitors to SpaceX making progress.
 
Yeah, it's nice to see the space industry going more and more private, ie. "3rd party".
 
@Ell It doesn't have custom deleters as of now. I focused on movability rather than destruction, I have to fix that too. Just don't use ThePhd's handle, because it's too generic.
 
too generic?
o_O
 
9:30 AM
which basically means it's a class doing nothing, like zillion of his classes
 
@Rapptz The puppy's Unicode proposal was rejected because it was "too flexible".
 
that's a valid argument.
 
Can be worded better, as it sounds now it's silly.
Just like your "too generic"
i.e. prone to abuse.
 
@BartekBanachewicz Erm, why?
 
"It's so configurable that user has to write it basically"
 
Xeo
9:31 AM
friend std::ostream& operator<<<>(...) oh gawd
 
@Xeo hehe.
Needs a space between << and <>
 
no
between < and <<>
 
@BartekBanachewicz Erm, that would be too feature-poor.
 
What do you know, std::set<std::tuple<int*>> is UB-town.
 
@R.MartinhoFernandes your description of something being too generic was too generic
 
9:32 AM
UB-town, lol
 
Xeo
What about std::set<std::tuple<std::reference_wrapper<int>>>?
Although I guess that has the wrong semantics, doesn't it
 
@LucDanton why's that?
 
@BartekBanachewicz Well, in my view, once you are the one that needs to contort itself to get something done, the class is no longer flexible.
 
@R.MartinhoFernandes but a class that is too flexible is too hard to maintain
 
Interesting initialization statements you have for those for-loops. — WhozCraig 10 mins ago
 
9:35 AM
@LucDanton Tuple's < should be implemented in terms of std::less.
 
@Xeo Should be fine.
 
I included a sample of a perfect hash function including a 157-element reverse-lookup array (using direct indexing) for that (based on 100 randomly selected ticker symbols). I included the instructions on how I used gperf to get this. Hope this helps. — sehe 4 mins ago
 
@DeadMG why doesn't the pointer tuple work?
 
@KonradRudolph @Mysticial ^ (/cc @Rapptz, if that was you, it's not a measurement per se, but it solidifies the 'assumption' that things could be highly effecient)
 
@BartekBanachewicz I think that it should be correct, personally.
 
9:37 AM
@thecoshman It depends. And in any case, that is a reason to put sometihng in the standard library, not the other way around: you don't want the users to be the ones having to maintain that functionality.
 
@BartekBanachewicz That was not the status of my proposal.
 
I guess I'll want to fix my thingies to use std::less for pointer types. When did I last do that?
 
the whole std::less for pointers thing is dumb.
they should just fix the operator<.
 
Hi!
dynamic arrays! wtf! I thought @DeadMG said they were out?
 
OOooh, btw, @Xeo, I think the situation with tuple's op> is a great example of why concepts lite suxorz.
 
9:40 AM
@LightnessRacesinOrbit no, he said they were in. <dynarray> was supposed to go out
 
@LightnessRacesinOrbit That wasn't the final vote :(
 
@LightnessRacesinOrbit Which specific invocation of dynamic arrays do you refer to?
we had both std::dynarray and T[n].
 
@R.MartinhoFernandes not really, StL is for things that are common used. It would be very silly to put functions to monitor nuclear power stations in there.
 
dynarray got kicked but T[n] went through.
 
variable templates!
 
9:41 AM
@thecoshman Would you stay on topic of things that are flexible?
 
Xeo
@DeadMG dynarray got through too, no?
 
(Hint: classes/functions that are flexible are more commonly used; there is a reason)
 
I hope GCC eschews int x[n] entirely, i.e. taking away the VLA extension
 
@DeadMG Both got through, according to the post on isocpp.org.
 
9:42 AM
From the report:
> In addition to stack-based runtime-sized arrays, we now also have a dynarray<T> container in the standard library. The two features are similar, but with a few key differences: Both permit efficient allocation on the stack or on the heap, at the discretion of the implementation, but dynarray<T> can additionally be used as a non-stack variable and in those cases will use the heap, it is inspectable with decltype, and it supports zero-sized arrays.
whut
so.. it's a vector...?
 
It's truly baffling.
 
@LightnessRacesinOrbit Some people will swear that it isn't.
 
@R.MartinhoFernandes And they're right. It's a retarded vector.
2
 
@R.MartinhoFernandes ... would that require I put effort into reading what the subject here actually is?
 
Xeo
@LightnessRacesinOrbit It can decide not to be!
 
9:44 AM
@thecoshman Point is, functions to monitor nuclear power stations are not flexible; they have a very narrow application. So your example is irrelevant.
int x[n] is disgusting.
 
@R.MartinhoFernandes agreed
 
Xeo
C++ seems to get more borken :(
 
It's a variable! And its type is NO FUCK OFF CANNOT GET ITS TYPE. And its siz-- FUCK OFF NO GETTING ITS SIZE.
4
 
but 'flexible' is not the only reason to add something to the StL, it also needs to be a common problem. No point adding a very flexible class if only Frank Nubody will every have a use for it
 
@thecoshman No point in doing a lot of other stuff. None of them justify rejecting something for being "too flexible".
 
9:48 AM
bloating standard with overflexible classes, huh?
 
Flexibility is not a bad thing when you add stuff to the standard library (look at std::vector, std::unique_ptr, std::shared_ptr for examples).
Oh gosh you used the word "bloat".
 
I guess I've lost all credibility now
 
hehe.
it's 5:49 AM and I'm still up.
 
@R.MartinhoFernandes perhaps they do not mean too flexible, rather too complex. Too many options, ways of using etc. Perhaps multiple simpler classes are better.
 
Meh. My point was that if you want to do X, write a class that does X. Classes that do XYZ when you only need X are like factories of factories.
 
9:50 AM
@thecoshman What kind of argument is that?
 
'bloat' is less bad than inconsistent bolt-on features. 'bloat' could be ignored. Bolt-on features are in the way.
 
@Xeo so can vector!
 
Oh, the other abomination!
 
so many abominations around
 
@Rapptz would you like it the STL only had a 'thing' class, that did everything? it would supremely flexible, but not that practicle.
 
9:53 AM
 
@Rapptz simple classes are simple. Simple to develop, simple to maintain, simple to use, simple to explain, simple
 
:8989063 Well, more “addition”. The “correction” was in regards to your assertion that “ hashtable is in principle the fastest way”
but yeah, I see why you wouldn’t like that
 
@thecoshman No, simple classes are not simple to use and to explain. Simple classes are good at solving one trivial problem and at leaving you with an unholy mess when you need to solve a slightly less trivial one (see boost::iterator_range).
 
@R.MartinhoFernandes what @thecoshman pointed out is that you can create a solution from more than one simple class
 
@thecoshman You reject that not for being "too flexible", but for being a god object and having a horrid interface and unholy semantics.
 
9:56 AM
It's like a manager. It manages. It's flexible.
It's perfectly suitable for any problem.
And that's the problem.
 
No, it's not.
 
@BartekBanachewicz If it is perfectly suitable for any problem, it's suitable for your problem, hence you have no problem
 
Xeo
Hmm... function aliasing in AS3: public function get foo() : Function{ return stuff.foo; }
 
@R.MartinhoFernandes yes, but there is a middle ground. There is a point where you need to stop adding features to a class. Granted, feature is not the same as flexible.
 
Would you stop using examples that have artificially tacked-on faults to show your point?
 
9:58 AM
why on earth your point should be more pronounced here?
I'm lost. Are we discussing Puppy's proposal or classes in general?
because if the latter, I think that our arguments make sense.
 
@BartekBanachewicz A "manager" is bad not because it's flexible (it isn't!), but because it ends up as a god object.
 
ok, let's take sorting data. Obviously we would have to pass it some form of callback for comparing, but in terms of working out how to swap. I would rather have specific class that sort in a specific way, rather then one class to which I pass a 'sort this way' paramater.
 
@thecoshman The callback is added flexibility!
@thecoshman And in what way is your undesirable alternative more flexible?
 
@R.MartinhoFernandes indeed
 
Hmm, could you guys help me out and close this question as a duplicate, then answer the original one?
0
Q: Migrate Inline assembly code to C++

user2118116I am working on a cpp project. The project need to be migrated to 64 bit. It contains some Inline assembly code which cannot compile on x64. This is the Function which contain the assembly code: void ExternalFunctionCall::callFunction(ArgType resultType, void* resultBuffer) { #if defined(_NT_) ...

Looks like an interesting problem …
 
10:00 AM
@R.MartinhoFernandes compare writing a.sort(comparator) to a.sort() every time.
 
Adding a layer of gunk does not make it more flexible. Makes it more gunky.
@BartekBanachewicz Having both is more flexibility.
Contraining you to only one option is less.
 
Point being, people will give you only the former and say "it's flexible! You can sort anyway you want to!"
if both are present, it's OK
 
@BartekBanachewicz So what? It's not too flexible, it's not flexible enough.
 
however, if the class is very small, sometimes even the documentation burden can be too much
you have 2 sort functions to test and document instead of one
 
Xeo
I expect sort() to be this->sort(some_comp)
 
10:04 AM
The fact that Standard library is standard doesn't justify adding everything one might ever need to it, IMHO.
If someone needs extreme unicode, he will get ogonek or ICU anyway
the same for anything in std, really
 
@R.MartinhoFernandes Damn, that must have been Saturday afternoon.
 
SBO structures, tries, ropes, mathematics
 
Somebody who makes not one, but two spelling mistakes in my name loses my interest immediately.
 
@thecoshman "practicle"
 
@LightnessRacesinOrbit Basically, it's a vector but the implementation might "compiler magic" it into a run-time array.
 
Xeo
10:05 AM
@LightnessRacesinOrbit It's a practical particle!
 
"Ooh, Prac! That tickles!"
 
@DeadMG So you cannot sizeof that either, correct?
 
@KonradRudolph Did some French guy call you Conard?
 
Xeo
@KonradRudolph ya
 
@DeadMG sounds pointless. surely users of such things want to guarantee no dynamic allocation (somehow)
 
10:06 AM
ah. 6 more votes for Electorate badge
 
Xeo
No sizeof, no decltype, no nothing
 
@KonradRudolph Anyways, I misremembered, I thought I mentioned that only in a comment. Perhaps I should have used more emphasis on 'The same thing goes for binary search in a sorted container.' - but I tend to over use `markdown` a bit as it is :|
 
@R.MartinhoFernandes No, only my sister does that
 
@KonradRudolph No, that's just a normal class. A legal implementation might always allocate on the heap. You can sizeof and decltype it, but the sizeof does not include the dynamic section.
 
@LightnessRacesinOrbit ?
 
10:07 AM
@LightnessRacesinOrbit Which is exactly what I said in Committee.
 
@KonradRudolph Thanks for the subtle edit, by the way
 
@sehe clever use of links! :)
 
Xeo
@DeadMG Ah, were we on dynarray?
 
@Xeo Yes. At least, that's what I was discussing. Dunno about anyone else.
 
10:08 AM
@LightnessRacesinOrbit I like you guys. ;-)
 
@KonradRudolph pfft
 
@KonradRudolph nice try
 
huh... a per-object variable called 'ThreadLocal'
sure, why not make things more confusing
 
10:10 AM
I certainly got plinked
 
Hm, I didn’t imanidiot
 
@R.MartinhoFernandes wanker
 
Xeo
Didn't we already know that works, robot?
 
@KonradRudolph Your name isn't in it.
 
Ah wait, I’m not mentioned :D
 
10:11 AM
@Xeo I was checking for multiple plinks.
 
Xeo
heh
 
@KonradRudolph weren't mentioned
 
I'm the hungries
 
Me too. Lunch in an hour though :/
 
@R.MartinhoFernandes i didn't get the plink because the @ got urlencoded
 
10:13 AM
@R.MartinhoFernandes haha dick
 
WTF MS Word, trying to correct my use of passive voice. Prejudiced, much?
 
Use vim!
 
@KonradRudolph WTF MS Word, being used by you. WTF much?
2
 
@LightnessRacesinOrbit Not by choice
 
10:14 AM
@LightnessRacesinOrbit Dat pun/irony!
 
@KonradRudolph I'm sure your contract includes the option to quit.
 
hm. The bar shows 602 votes, but no badge :/
 
@sehe inorite!
that did work out quite well
 
Just pointing it out to hoi polloi :)
(barf)
 
@sehe I fear they still haven't got it
 
10:14 AM
Don't fear. Nuclear war will solve everything.
 
else MOAR STARS, BITCHES
So I saw Olympus Has Fallen last night.
 
That's a grammatical hazard.
Only saved by subtle italicization. Well, and title-case :/
Ok. afk - driving into the office.
Talk about hazards.
 
Your office is at street level?
 
har har har
 
C makes me swear
2
A: Difference of pointer, array, fix-size array in function parameters

Konrad RudolphAll these variants are the same. C just lets you use alternative spellings but even the last variant explicitly annotated with an array size decays to a normal pointer. That is, even with the last implementation you could call the function with an array of any size: func("test"); // Works. func...

func("let's try something longer"); // Not a single f*ck given.
 
Xeo
10:19 AM
// Not a single func was given.
 
exactly, that’s what I wanted to say
 
Xeo
No
 
I'm sorry that your terminal doesn't support animations
 
Xeo
It's annoying
 
Interesting, f("hi"); is ambiguous if I have overloads for f taking char const* and char const (&)[3].
 
10:25 AM
Array-to-pointer decay is messy.
 
13 year old girls, do you even lift? http://www.youtube.com/watch?v=bxAc97K2I5M
 
> error C2043: illegal break
Fuck you MSVC, I will take a break whenever I feel like it.
Reader monad <3; C++ :'(
 
Xeo
haha
 
What Stack Overflow really needs is a markup for overlays over code so that we can get rid of the ugly ASCII art to annotate code snippets
 
is there a way to specify the programming language to markup? For example set the programming language to C++?
 
Xeo
10:30 AM
@KonradRudolph ?
 
Yes. I keep forgetting it so I go back to one answer I used it and check back.
Sec.
 
Xeo
@Mikhail <!-- language: cpp-lang -->
 
Hm, is Electorate badge instant?
 
Xeo
Right before the code
 
I've dug through a few posts on meta
 
Xeo
10:30 AM
@BartekBanachewicz Do you need it right now?
 
and couldn't find anything besides noobs that can't math
 
user1182183
I knew [this day](http://mistrzowie.org/uimages/services/mistrzowie/i18n/pl_PL//201304/1366449323_by_Tivx.jpg) would come:

"(Again another...) inquiry for permission
You declined the permission to accept cookies, to remember your choice of not allowing storing cookies on your machine, we have to store a cookie on your machine to remember this choice.
Do you allow to store cookies?"
 
@Xeo Oh yes I need it
 
user1182183
-.-'
 
jk, was just curious.
I'm going for launch.
 
user1182183
10:31 AM
@BartekBanachewicz lunch?
 
user1182183
I'm hungry
 
user1182183
:p
 
3,2,1 eat
 
user1182183
I'm at school
 
They don't let you eat at school?
 
user1182183
10:32 AM
not in the , what they call, "lesson"
 
Fuck you Visual Studio. WTF.
I am going to need a bigger screen to debug that.
 
Xeo
what
How the fuck do you guys break VS all the time?!
 
user1357851
Messages containing the following character sequence tend to get starred more often:"uck"
 
@R.MartinhoFernandes There's no + to expand it on the left?
 
@DeadMG Outside the screen.
 
10:34 AM
oh, lol
 
(Luckily the screen to the right is larger and the ginormous thingy fits)
3
 
user1182183
@Xeo those guys don't break VS, VS breaks them.
 
> Ninety-seven per cent of pupils will be black or Asian. It depends what type of Asian. If they're Chinese they'll rise to the top. If they're Indian they'll rise to the top. If they're Pakistani they won't.
gotta love some people
 
Meh, can't figure out why it decides to put the [+] outside on the left when it has almost 4000 pixels available to the right. I thought it was because I had some VS windows on the right screen, but no. It's just random.
 
Xeo
10:38 AM
@KonradRudolph Ah
@KonradRudolph Gogo, Meta :P
 
@Telkitty Lucky luck, luck, (also, give robot a star for 'luckily').
 
Ironically, I keep try to spell the abbreviation 'anr' as 'and'
 
Some guy made up some weird symbols to replace stuff in tourist's foreign language phrasebooks and wants them encoded in Unicode. forum.high-logic.com/download/… Some of them remind me of DongML.
 
I FUCKING HATE CONFLUENCE!
 
@thecoshman what
@sbi 77,110 here. SO CLOSE!
 
10:48 AM
@LightnessRacesinOrbit it's some shitty rich mans wiki system. Yet another wank stain way for companies to waste money
 
I feel like I never really write new posts any more, but get a steady stream of passive rep.
@thecoshman I see
 
@LightnessRacesinOrbit I'll make sure I'll ruin it for you. Blame @Xeo.
 
@R.MartinhoFernandes Okay
 
Xeo
lol
Robot is mad that I gave him the reps. I seriously don't get him.
 
user1357851
He is not mad, he pretended that he was
 
10:52 AM
@LightnessRacesinOrbit I hope for your sanity you never do
 
@thecoshman I enjoy sight
 
@LightnessRacesinOrbit not after you've seen confluence
 
@thecoshman okay
 
@Xeo Are you working out together? 3x12 reps? You didn't make it, and gave him the rest? :)
 
10:54 AM
Ha, figure it out.
 
Xeo
lol
 
@Lightness Re your edit: thanks, I had the same thought but was too lazy
 
VS uses the size of the main display to choose the size of the debug popup thingies, instead of using the size of the current display. Then it aligns the popup to the right or center of the current display instead of the left where the [+] is...
 
Oh cool. I got a new mug.
 
@KonradRudolph That's what Haskell said.
 
10:55 AM
We're apparently getting rid of nonreusable ones.
 
@KonradRudolph I figured :)
 
ITT Robot using Visual Studio
 
huh, I'm being really nice today. what the fuck's wrong with me?
 
@LightnessRacesinOrbit the hair
 
@BartekBanachewicz could be
 
10:59 AM
ahaha look at that sweet 2
 

« first day (919 days earlier)      last day (4023 days later) »