« first day (849 days earlier)      last day (4099 days later) » 

11:00 AM
so....
 
Wait, there's no bug, actually.
 
@R.MartinhoFernandes Oh, I think it's been in for a few months I think. Some showstopper bugs prevented compiling my stuff though. I'm not super in the loop but I expect to be two months top, considering the timetable of the last release.
 
@thecoshman No.
 
Argh, fuck explicit loops. I do not want to think about iteration patterns.
 
@DeadMG so... what does your compiler compile?
 
11:00 AM
@thecoshman Nah, mostly because I remember you and sehe describing something about how it would never work and I was simply blaming Clang for not implementing the features I wanted.
@thecoshman Mostly Main() { cpp("<iostream>").std.cout << "Hello, World"; } right now and some variants thereof.
 
Xeo
@R.MartinhoFernandes lol, what did you fuck up?
 
@Xeo Nothing. But it made me waste time thinking whether they were correct.
 
Xeo
heh
 
@DeadMG oh wow, at least you have Hello World sorted out.
 
While if I had this iteration pattern captured in a library I would not have to.
 
11:02 AM
@DeadMG well sure, of course I was skeptical that you could single handed define an entire language worth using. Not you personally, just you as a generic individual, if you follow.
 
@R.MartinhoFernandes "while" - what marvelous choice of words there
 
@TonyTheLion lol, yeah, by piggybacking on C++.
 
@R.MartinhoFernandes lol
 
@DeadMG well...I guess we can accept that as a valid compiler... you're not just swapping it out for C++ and passing it to GCC are you?
 
Xeo
So basically all Wide does is letting you write C++ in a weird form.
2
 
11:03 AM
@R.MartinhoFernandes C++ interop is one of my key defining features.
 
@DeadMG Should be Main() { c++("<iostream>").std.cout << "Hello, World"; }
 
@Xeo Hardly, it's just an important place to start.
 
Another interesting find, GCC choked on a situation where I had typename = EnableIf<foo>, was fine with EnableIf<foo>....
 
@LucDanton Amazing!
 
@thecoshman No.
 
11:04 AM
In other news, yay. I made quietpc.co.uk accept my money. With considerable effort.
Let's hope that silent powerhouse does my bidding more promptly :)
 
the sooner I can finish interoperating with C++, the sooner I can bootstrap and be done with it except calls into C++ libraries.
 
@R.MartinhoFernandes I'm pretty sure it fucked up pack expansions somewhere else though (hard to tell, it complains about std::enable_if<int::value, whatever> which I obviously don't instantiate).
 
@sehe what you need a silent PC for?
 
@LucDanton As in... pack expansion?
 
@R.MartinhoFernandes Isn't that what I wrote?
 
11:05 AM
@TonyTheLion What do you need a noisy PC for?
 
@sehe No, it's a non-type template parameter pack. Think template<int... I>.
 
@R.MartinhoFernandes I'm guessing if you did '#define . :: then we've found his cheat :P
 
@LucDanton That's... devious
 
@DeadMG he's getting annoying with is ++ rather then pp
 
11:06 AM
@DeadMG No, it's s/cpp/c++/ (very no-magic)
 
oh, I see
well, I probably could alter the analyzer to support that
 
oh great
 
@LucDanton Ah. A 'subtletly' I missed. can you tell I'm not doing C++ in my day job...
> If we use a default argument, we need a value. A variadic pack doesn’t need one, so it is a better option. That leaves us with the following implementation and usage
@TonyTheLion And thanks for congratulating me on my purchase :0
 
as if Java wasn't bad enough, 'Any' has reared it's ugly typeles face
 
@R.MartinhoFernandes the magicness doesn't matter there
 
11:07 AM
this code base just get's worse and worse
 
Yeah, I wasn't thinking straight.
 
Xeo
lol
 
the unfortunate thing is
 
And in yet other news: Spirit V3 will be C++11 only and move-enabled:
> No, X3 will be C++11 only. Pure. No workarounds.
> Keep in mind though that X3 is, by its nature, X-perimental. A lot of things can happen from X3 to final. I am not closing the door on C++03 support, although I am heavily inclined to move on without 03. V2 will not be going away anytime soon anyway.
 
if you did something like object.cpp("arg"), it would still load a C++ header.
 
Xeo
11:10 AM
@sehe Woa
 
I didn't implement name lookup and just special cased that form.
 
@DeadMG can't be that hard to m/^cpp/
 
@sehe Do you know where Proto is these days? I'm not up to date.
 
@Xeo I had to ask
 
or something to that effect
 
11:11 AM
@DeadMG Fucking cheater.
 
wait...
 
heh
 
I.e. should I assume a corresponding C++11-only Proto?
 
Xeo
lawl
lazy puppy
 
what? it's the earliest prototype imaginable.
 
11:11 AM
so all you did was 'if magic string is found, output binary for hell world'?
 
That's what Hell++ does.
 
it's hardly even a prototype!
 
@thecoshman No.
 
@LucDanton Well, not really, it's in Boost :) And I guess Joel is actively working with it because of his work with Spirit "X3" - allthough I believe he also worked on Coroutine. I'm not too sure whether proto needs to change. Haven't heard of E.Niebler in a while
 
His implementation is more like Hello++.
 
11:12 AM
no, I just said "This magic parse tree means load a C++ header".
I still had to get clang to call ADL and shit like that :(
 
@LucDanton Oh, that's cool. Since Unicode 6.3 comes out on Q3 and I want to have ogonek 1.0 by then, I can release it with 4.8 as my main target.
 
@sehe Well I don't think it needs to change any more than Spirit does. But I would like it to!
 
@LucDanton Not necessarily. The move-enabledness concerns the transformations, rather than the expression trees. However, I do know that auto is going to be fully supported on the new Spirit parser expressions, so that means some work has gone into Proto
 
I suspect that's already the case for the latter.
Mmmh, can't say I'm as enthused if the front-end doesn't change then.
 
room topic changed to Lounge<C++>: The puppy is a copydog. [c++] [c++11] [c++-faq] [no-helpdesk]
 
11:17 AM
@LucDanton yeah. It'll come. I think it is pretty hughe if libraries are dropping c++03 support. However experimental or niche
 
Meanwhile, in the kingdom of optional...
 
Every guard is asleep...
 
Resources are being spent to ensure std::optional sucks.
 
The castle awaits the advent...
 
@LucDanton Have you followed the threads too?
 
11:18 AM
Of a white night on a charming horse...
 
No, too muck suckage.
 
I'm awesome
 
in Trash Can is Awesome Can, Feb 4 at 23:12, by user1690130
why am i invited? everybody hates me from C++
lol
 
Xeo
@LucDanton In what way?
 
11:26 AM
user image
2
banana's can have wheels
 
Xeo
So, Robot reinvented bananas?
 
Last drop for me was when the guys decided that auto i = get_value_or(opt, 42); was a valid use case but get_value_or(opt, r) = 3; wasn't worth supporting. Why bother being generic?
 
Xeo
@LucDanton Wtf.
What exactly would be difficult in supporting the latter?
 
You don't understand. He doesn't want to support it for the sake of not supporting it.
 
Xeo
o_o
 
11:29 AM
At that time optional<T&> was really second class.
 
I remember lots of complaining about optional<T&>
didnt follow it too closely though
 
$ grep 'todo' -RIi include/ src/ | grep construc -i
Who needs issue trackers!
 
Xeo
lawl
 
@TonyTheLion want
 
Xeo
11:32 AM
The interweb here is slow today. :(
 
the interweb here is slow every day
 
> tree check: expected class 'type', have 'exceptional' (error_mark) in strip_typedefs, at cp/tree.c:1243
 
@LucDanton Haha, I get tens of results if I grep for TODO in ogonek. Things like src/ucd/v1name.g.inl:{ U'\x184F', false, "MONGOLIAN LETTER TODO MA" }, :)
 
lol
 
Don't good issue trackers parse source code for TODO's and like post them up for you to see?
 
11:34 AM
@Xeo Also dying here. Plus login issues.
 
I'm also dying, but nothing to do with computer stuff
 
Just in case you were wondering @Xeo @Luc.
 
@R.MartinhoFernandes I don't get it :(
 
@TonyTheLion SO is down.
 
11:36 AM
@R.MartinhoFernandes maybe a good thing?
 
Productivity could increase!
Oh wait, the chat is working. D:
 
@DeadMG faster then screens
 
Oh boy.
 
they called it "SO" because it's "SO" unreliable
 
Is this supposed to compile?
 
11:42 AM
I think so, but Coliru runs 4.7.
 
main.cpp: In constructor 'bar::bar(int&&)':
main.cpp|9 col 16 error| no matching function for call to 'foo::foo(int&)'
      using foo::foo;
                 ^
main.cpp|9 col 16| note: candidates are:
main.cpp|4 col 5| note: foo::foo(int&&) <near match>
      foo(int&& ref): ref(std::move(ref)) {}
 
Xeo
@LucDanton Should
 
andddd it's broken again.
I don't care what the retards on meta say about "expected downtime when new changes are rolled-out" ... this is getting silly!
 
I suppose that's the end of my foray into the wonderful world of inheriting constructors for this week then.
 
feel free to acknowledge my presence at any time
 
11:44 AM
hey lightness :3
 
@EdwardA Hi! How are you today?
 
@LucDanton How does the ref member work?
 
@LightnessRacesinOrbit Between using the community as unwilling beta testers and repeated downtime, SO feels very amateurish lately.
 
@R.MartinhoFernandes My thoughts exactly
 
@LightnessRacesinOrbit Great! Waiting impatiently for stackoverflow.com to come back to life, how about you?
 
11:45 AM
@AndreiTita It's a reference that will only ever bind to rvalues. (ref-to-const can do that, as well as binding to lvalues -- think int const& ref = 42;)
So, as a member it works like an lvalue reference member.
 
I got enough bytes through to see that I have eight notifications, but nothing else I can do. I wanted to do my morning Overflowing before heading off to do other things. Now my workflow is all screwy..
 
@AndreiTita Like any other reference member? (i.e. it becomes dangling pretty much immediately in the example, but that is not relevant)
 
@Xeo Look at the starboard
 
Xeo
11:53 AM
Guess what I linked
 
The same thing
look at the starboard and realilse that you didn't need to :P
 
Xeo
The message itself
Guess where I found it.
 
Yeah, you edited it.
 
Xeo
No, check the message history
 
The message history is broken, because SO is very amateurish lately.
 
Xeo
11:54 AM
I just edited because it was too big.
Lawl
I'll just close this as "user sucks".
 
I edited my penis because it was too big. It's still above average.
:P
 
Your mom too.
 
SO is back up btw
 
SO was down? meh
 
11:57 AM
it works! and, yay, another Yearling badge
@TonyTheLion we heard
 
The Prophecy of the Popes, attributed to Saint Malachy, is a list of 112 short phrases in Latin. They purport to describe each of the Roman Catholic popes (along with a few anti-popes), beginning with Pope Celestine II (elected in 1143) and concluding with the successor of current pope Benedict XVI, a pope described in the prophecy as "Peter the Roman", whose pontificate will end in the destruction of the city of Rome. Provenance The prophecy was first published in 1595 by Arnold de Wyon, a Benedictine historian, as part of his book Lignum Vitæ. Wyon attributed the list to Saint Malach...
relevent
(apparently)
 
@thecoshman does that really belong in lounge c++ though?
 
@EdwardA everything belongs in this lounge
 
it doesn't look crazy to me not sure how you see it — Ara Ekmekjian 11 hours ago
 
Xeo
YIL $ hg bundle
 
@LightnessRacesinOrbit Tabs.
Markdown doesn't interact properly with tabs for indentation.
 
Though that is true, the source is messed up already here.
Meanwhile, I found out where while (stream.good()) is coming from, and there are no surprises here
@LightnessRacesinOrbit I checked the C++ resource website. cplusplus.com/doc/tutorial/files Here, it uses this. I thought this was to make sure the file was not corrupt? Is there something else I should be doing? — MikeTheTike 11 hours ago
We need to do something about that site.
 
Xeo
@LightnessRacesinOrbit Ah, that's where the upvote came from
Gotta love that question
 
Unfortunately, the SO mods don't like questions about cplusplus.com either on SO or MSO, and routinely delete them. So we have no place to notate this.
 
Xeo
@LightnessRacesinOrbit it's on Programmers.SE, IIRC
Or not
 
12:05 PM
@LightnessRacesinOrbit While I am staunchly in favour of using op bool, good() only differs from op bool if eofbit is set but failbit is not set. I have no idea how that can happen.
!eof() is the really broken one.
 
They should just have .Readable() and .Writable() properties.
 
Xeo
@R.MartinhoFernandes It's still the wrong place to check.
 
@ThePhD Worthless.
 
Why is that worthless? D:
 
So, is there any way I can make DX11 get along with MinGW? g++ (Built by MinGW-builds project) 4.8.0 20121225 (experimental) on Win8 to be more specific. The d3d11.h files that are bundled with mingw are complete rubbish and include a couple of DX10 classes instead of 11, and the ones that come with the Win8 SDK got #pragma warning() which don't work with gcc.
 
12:08 PM
@ThePhD Both if(file.readable()) read_from(file) and if(file.writable()) write_to(file) are broken.
 
.. .Wait, they actually have readable() and writable() properties?
 
Xeo
@ThePhD Tells you exactly the same as currently .good() does - "yes, everything was good until you asked, but I have no fucking clue what you're going to get next"
 
@ThePhD Same reason .eof() isn't useful.
@ThePhD No. It was just for example.
 
Ooh.
 
It is a fundamentally broken interface.
 
12:09 PM
So take the CStream approach and return the number of characters read, and have a canonical return for failure (like -1)
 
@ThePhD That exists already. All read or write operations have a "canonical return for failure".
 
I guess we should just use that forever and for the rest out our lives then. :D
 
That "canonical return for failure" is the stream itself.
 
Xeo
Guess why we all advertise while(stream >> var)?!
 
@R.MartinhoFernandes they're both broken. the OP does not use any error checking on getline, or "defered" checking at best.
 
12:11 PM
@R.MartinhoFernandes Wait, wat.
 
@LightnessRacesinOrbit Oh, I see. Yeah, with that pattern anything is broken.
 
Oh, operator bool.
 
@ThePhD Oh come on, do I need to teach you iostreams now?
 
No!
 
Xeo
The important thing is, check after the operation that might fail.
 
12:11 PM
.... Maybesortof IdunnoIonlyoccasionallyusefilebufandFILE*.
 
iostreams cannot predict the future.
 
E.g. what if another program modifies the file in the mean time?
 
Xeo
@R.MartinhoFernandes Make a proposal!
 
#include <futurestream>
 
#include <quantum>
 
Xeo
12:13 PM
import modules;
 
#include #include
 
I have so many game ideas.
But I can only focus on a few. =[
 
I was thinking about starting to write my ideas down
 
... Starting?
You should have done been gotten started already!
 
user1357851
12:19 PM
 
@ThePhD :effort:
 
His Holiness Pope Benedict XVI, you are a pussy.
 
@CatPlusPlus I'll write them down for you. :D
 
Xeo
@sehe lol
 
@sehe Haha.
 
12:20 PM
@sehe lol
 
Hm.
I may have split this model up into too many parts.
Model -> ModelMesh ->ModelMeshPart
MeshParts contain actual geometry to render.
 
Make ModelMeshPartPart with a single vertex
 
ModelMesh just contains multiple - hopefully related - ModelMeshParts
 
Or a triangle containing ModelMeshPartPartPart
 
... And Model just holds multiple ModelMeshes.
@CatPlusPlus You know, the PS VITA SDK actually have a class Primitive which held the triangle data
 
12:24 PM
Also, somebody should bring me to the scrapyard. I came to work late. I'm distracted (in the strong sense) and I forgot to bring my SSD.
 
and the ModelMeshParts on that just held collections of Primitives
 
VS PITA SDK
 
OH
 
I keep most of my repo's in synch pretty regularly (1-2 days) but ... not this one (new repo)...
 
I remember what Model was for now.
It's purpose was to be the overlaying container for the individual ModelMesh and ModelMeshPart's materials.
 
12:25 PM
@ThePhD Come with me. We'll stay in a home for old people
 
So that materials wouldn't have to be duplicated between mesh parts and textures wouldn't have to be reallocated.
@sehe Will you have chocolate raisins?
 
@ThePhD I don't think I'd be able to remember whether they do
 
Then I can't guarantee my cooperation. =[
The one thing that will lure me in - even when I'm old and forgetful - is the sight and smell of chocolate covered raisins.
Thankfully, the White-Van drivers have not figured that out yet.
 
The smell. The smell of it, indeed
 
At present, how I separate my files is kind of like this:
Model.inl <--- Like Model.cpp, but header-style'd
ModelDecl.h <--- Model.h, but only has declarations
Model.h <-- #include "ModelDecl.h" #include "Model.inl"
I think I should introduce double-dot extensions for the declarations, though.
 
12:30 PM
o.O
 
So Model.Decl.h .
 
I think you should stop being silly
 
^ That
 
I have to do it this way. Library is header-only, yo.
And I have to dodge the circular-inclusion bullet.
But yeah, I think .Decl.h would be nicer.
 
ModelDecl.h is superfluous
For a header-only library nobody will include it ever anyway
 
12:34 PM
-7
Q: What is the Output of Below C Code Snippet?

BhaveshWhat is the return value of f(p,p) if the value of p is initialized to 5 before the call? The first parameter is passed by reference, whereas the second parameter is passed by value. int f(int& x, int c) { c = c-1; if (c == 0) return 1; x = x + 1; return f(x,c) * x; }

heehee
 
@ThePhD Yeah. You're inventing it. Nobody has tried this before
 
@CatPlusPlus That's the point. It's just for getting around circular inclusion inside my library.
 
You shouldn't have circular inclusion you badlet
 
After that, nobody else should ever deal with .Decl.h or Decl.h or whatever I decide upon as the nomenclature for this stuff.
@CatPlusPlus I have tooo. ;~;
 
No, you don't
 
12:35 PM
How else will ModelMeshPart, which is contained by Model, be able to reference the Model that contains it?
 
@ACB: It's easy to gain rep in the android tag. — Lightness Races in Orbit 2 mins ago
@Lightness actually, it isn't.
 
No?
The quality of posts in the tag is horrendous
but they all get like 6 upvotes for those shite questions
 
A few months back, someone collected some stats, and concluded that has a low rate of upvotes.
It's on meta somewhere.
 
Xeo
Crap. I blew my nose, and now I'm both dizzy and my right ear is kinda deaf.
 
ratio? what is the denominator?
@Xeo You blew it
 
12:39 PM
If you want easy rep, I wouldn't recommend .
 
Xeo
C++ is much easier for rep
 
C#
 
C# is the easiest.
 
And in passing I'll mention that my impression of the Android community is that it sucks.
6
 
@Xeo Not if you write posts that demonstrate any sort of intelligence.
 
Xeo
12:41 PM
@sehe Blowing my nose again seems to have fixed it.
 
@Xeo Wrap-around effect?
Blow it so bad, it's good?
 
I think his experience was more like, "Blow it so good, it's bad."
 
The perfect blow.
 
@Xeo Not sure about that. You need to make some effort for correctness and preciseness to get upvotes on . Being handwavy doesn't really net you that many upvotes.
 
Xeo
12:43 PM
@R.MartinhoFernandes Or FGITW questions...
 
Maybe sometime in this month, I'll reach 10 answers.
 
@Xeo Many dupes nowadays and you need to race.
 
Fastest Giggle-stick Into The Womb
 
@LightnessRacesinOrbit .... What?
 
But actually, yeah, definitely easier than . The only thing that will net you many upvotes in is answering everything and its dog. Everything else is secondary.
 
12:43 PM
@Xeo If all else fails, try landing the traditional type flowerpot from a medium height
 
@ThePhD Which part was confusing for you?
 
It just doesn't make any sense.
Giggle-stick?
Sounds like a cutesy version of an ancient artifact or something.
 
Hit me with your giggle-stick
 
Like the center of a Hello Kitty adventure.
 
@ThePhD Giggle Google it
You people know narfing
 
12:45 PM
"We need to find the ancient Giggle Stick!"
WHY AM I LOOKING AT SOME MAN WHO'S HALF NAKED BENT OVER
3
FUCK GOOGLE
 
ahaha
thank you.
 
@ThePhD Only you can answer that question.
 
That, detective, is the right question.
 
I had forgotten that google cannot be trusted. ._.
The man's leggings had rainbows. I also saw some people who had strange drugs in their hand.
 
0
Q: Smallest standard compliant object size in C++?

Alok SaveI know the size of an empty class is defined by the standard to be non-zero. It is usually 1 byte on most implementations. But, does the C++ standard specify the minimum possible size of an object? Is it logical to assume that as per standard the size of an empty class object will be atleast 1 b...

wat?
 
12:47 PM
You're hurting your potential to get quick & easy answers by leaving just enough code out to make this a puzzle. Instead of SSCCE. Also "the Skipper stopped working" (Is this some secret code to signal that the bank robbery is underway?). What happens? What does it say? What is your input? — sehe 5 secs ago
 
After that, silly candy. I'm not sure I actually learned what a giggle-stick is.
 
@sehe The polar bear is in the pond.
2
 
is the best
2
 
12:50 PM
the puppy has been kicked
 
(A good thing, from DotNET Kickbacks!)
Sorry I've seen to many blog comments...
 
you are too many blog comments.
 
@DeadMG It's true I'm so fat q_q I'm going to go kill myself
 
But that has little to do with git-svn. Git-svn enables you to work with a Subversion repository transparently (as a non-native remote). If you are going to pass SVN-style diffs outside of git-svn you shouldn't blame git-svn if that doesn't work. It just has nothing to with it — sehe 5 secs ago
Darn...
 
@ThePhD You'll need a strong rope.
 
12:55 PM
Hahaha, you know how humiliating that would be?
To go and try to hang yourself, but you're so fat the rope breaks?
 
user142019
At the moment I'm giving a specific number of fucks which is equal to the identity element of the monoid under addition formed by the set of positive integers.
 
@ThePhD and I saw to your mum
 
0
Q: Relinquish ownership of auto_ptr contained object

SteztricI have a class that constructs an auto_ptr<T> and gets the T object data filled by a utility function. However, I want the T object stored by an object manager that will persist the whole life of the application. The question is - once I have extracted the object that the auto_ptr contains...

garrhhhh
Y U AUTO_PTR?
 
:3c
Some people want to shoot themselves.
There's nothing you can do.
 
They think that it's a water gun, though
 
user142019
12:58 PM
Facebook is slow as fuck.
 
user142019
I blame PHP.
 
I blame FB
 
user1357851
don't use facebook
 
user142019
FBHP
 
Xeo
Damn, I want a place to learn Japanese here. :(
 
user1357851
12:59 PM
I dislike all social networks. I am on them because I have to
 
user1357851
for advertising, i.e.
 
oh, shit, that actually exists
ffs
 
Xeo
@ThePhD And other people are simply stuck in C++03 and try to cope with what they have.
 
STACKEXCHANGE YOU RUINED MY JOKE
 

« first day (849 days earlier)      last day (4099 days later) »