« first day (852 days earlier)      last day (4088 days later) » 

Xeo
10:00 AM
@Zoidberg A codebase. Including header dependencies, which is what deps lists for me.
 
user142019
Oh cool.
 
user142019
So you’ll have to parse C++? :)
 
user142019
Or at least, preprocess.
 
Xeo
Aye, preprocess.
 
user142019
#include MY_MACRO, #if etc. :P
 
Xeo
10:01 AM
I actually have a half-working version of deps
@Zoidberg Except it can't do exactly those things. :)
 
Xeo
I was wondering if I could use Boost.Wave, it even has a list_includes example, but it only recognizes C++98 + some extensions (variadic macros, etc)
 
Write deps in Haskell.
Writing a monadic parser is a great way to demistify monads.
 
Xeo
Hmhm
Although I'll not write a full preprocessor.
 
user142019
No, you use an existing preprocessing library. :P
 
Xeo
10:03 AM
@Zoidberg Does that thing choke on C++-only tokens? (::, ->*, etc)
 
user142019
It supports plain text.
 
user142019
It’s just a plain C preprocessor.
 
@Zoidberg That does not seem useful for his use case.
 
user142019
Oh. :P
 
How can you extract the list of #includes from it?
 
Xeo
10:05 AM
@R.MartinhoFernandes If it has hooks like Boost.Wave...
 
It's just a blackbox PP, file in -> file out, and that won't work.
 
user142019
It’s open-source!
 
user142019
Looks like @CatPlusPlus.
 
Ooh, I can emplace in my optional to get around the assignment semantics of std::pair<T&, U>.
 
user142019
10:09 AM
template<class T>
using fucked_up_optional = boost::variant<boost::none_t, T>; // :D
 
Why fucked up?
 
user142019
The way you need to access the object. ;_;
 
user142019
Unless you write utility functions! ^^
 
user142019
Aaaand strong typing.
 
-1
A: Access array element by a[0] Or 0[a], what is the practical usage?

user2064700(0+a) This mean the at a time value increment and (a+0) this means after again come then the value is increase

let the downvoting begin!
 
user142019
Yoda? Is that you? — Zoidberg 39 secs ago
 
user142019
@StackedCrooked Because it’s wrong.
 
Xeo
@StackedCrooked Same as always, non-deducible context.
 
@R.MartinhoFernandes But Outter and Outer are not ambiguous.
 
10:14 AM
@StackedCrooked Dammit.
 
@R.MartinhoFernandes // now what, bitches??
 
> This works with class types, but doesn't work with simple types, like int, because int can't be used as a template argument for declval.
Anyone knows where this misconception might come from? In any case I suggested a replacement implementation if some implementation got it wrong (how?).
 
Wut
No freaking idea.
The Well of Pure Ignorance.
 
user142019
@LucDanton bad implementation some time somewhere, maybe?
 
10:16 AM
@Zoidberg You have to go out of your way to make it bad.
Hell++-style out of your way.
 
@R.MartinhoFernandes I see.
 
Xeo
And even Hell++ isn't allowed to go that far out of its way.
@StackedCrooked template<class T> void foo(typename Outer<T>::Inner) Reminds you of something? :)
 
user142019
In Hell++ implementation I’d only accept QR codes as input files.
 
user142019
To annoy people so they have to use a separate tool to transform the code into a QR code.
 
user142019
Also 33-bit char.
 
user142019
10:23 AM
And of course optimizing UB to weird destructive system calls.
 
user142019
Such as stime. :D
 
user142019
Every primitive data type 128 bits lol.
 
user142019
Waste-o'-space.
 
Xeo
I never said to modify boost::optional. Just wrap it. Also, if you're constructible from nullptr, the comparision against that comes easily through implicit conversions - you only need to be comparable to yourself. Anyways, it's a very simple wrapper that can then adapt anything to the semantics of NullablePointer. — Xeo 52 secs ago
^ @R.MartinhoFernandes Still want your opinion here.
 
Dunno.
I am not too fond of jumping through all those hoops just to reuse unique_ptr.
 
Xeo
10:28 AM
Pff, one hoop.
 
oh look, a puppy!
so when am I going to see you Mr. Puppy?
 
user142019
I have food.
 
InDesign's gone bananas.
 
@Xeo But what a burning hoop it is.
 
Xeo
@sehe Pff
 
10:35 AM
Pff :)
 
#stackoverflow PSA: Please do not flag stack traces in chat for the purpose of asking a moderator to help you debug them. That is all.
lolwut
 
Xeo
lawl?
 
user142019
Few hours back they flagged a picture of a dog. :|
 
That's a new low. "moderator" =~= "helpdesk operator" ? !
They needed help debugging their Puppy
 
Today is Valentine's day, and I have a two-hour long date at 3pm. With my dentist :-(
 
user142019
10:38 AM
Sounds fun.
 
@FredOverflow Will you be going under, nudge nudge, wink wink?
 
Anesthesia should make it bearable.
 
user142019
New teeth for Valentine’s day!
 
Say no more!
 
user142019
Brush your teeth better. :#
 
10:38 AM
@Robot Did you manage to get your life feed of essential facts related to air up and running?
I think you need to make it a priority We are risking mass extinction here.
 
user142019
Fuck.
 
user142019
I suck at eating.
 
Okay
 
user142019
I accidentally tomato juice.
 
@sehe No. Too many things went wrong and I just gave up. Mailinator did not load for some reason, and see top-starred thing on starboard.
 
10:39 AM
@Zoidberg But you excell at it!
@R.MartinhoFernandes I'm staying tuned :)
 
user142019
Vandaag weer roosloos. \o/
 
@sehe There was this guy who deleted all .EXE files on his computers because he didn't use Excel and wanted to save precious hard drive space.
 
Is that supposed to make sense in some twisted way?
 
user142019
lol
 
user142019
I should do that too.
 
10:41 AM
He thought EXE meant EXCEL. And reading "Excell" reminded me of that, nothing more to it :)
 
I did something similar
when I was five years old
 
user142019
"Auto" is Dutch for "Car" so my father once deleted C:\autoexec.bat in Windows 98 because he thought it was a race game. ;_;
7
 
user142019
Microsoft was genius, so instead of having Windows recreate the empty file, Windows wouldn’t boot anymore.
 
It kinda is a race game if you consider it a race against programs eating all your precious RAM. Ah, the good old days of fine-tuning CONFIG.SYS and AUTOEXEC.BAT
 
user142019
10:43 AM
Lazy installation owns.
 
Xeo
Yay, we're getting Pizza here.
 
user142019
I'm having a baguette right now.
 
A friend of mine used to rename explorer.exe to eplorer.exe on his friend's computers. Nobody noticed the difference in the file names and was completely baffled by the error message :)
 
user142019
 
user142019
ಠ_ಠ
 
10:45 AM
erm
 
user142019
> Merkin.
 
the fuck is wrong with some people?
 
user142019
@TonyTheLion Indeed. Beyonce is horrible.
 
you're terrible.
stop calling everything terrible, that's @Cat's job. :)
 
Xeo
Hmm... 4 votes on my pointer answer till Guru badge
 
user142019
10:47 AM
Linky?
 
Xeo
36
A: Which kind of pointer do I use when?

XeoShared ownership: The shared_ptr and weak_ptr the standard adopted are pretty much the same as their Boost counterparts. Use them when you need to share a resource and don't know which one will be the last to be alive. Use weak_ptr to observe the shared resource without influencing its lifetime, ...

 
This man dodges bullets better then Neo!
 
> Determining a style’s type
Oh great, docs have broken encoding.
 
@Xeo upvoted :)
 
Xeo
Woot.
 
10:58 AM
@Zoidberg No freaking way!
@FredOverflow UMB! FILENO! EMM386! VGA etc. And MODE CO80, MODE CON: RATE=32 bla bla etc. (quoting from memory ... no doubt some are wrong)
 
user142019
@sehe Yes freaking way!
 
@thecoshman But he doesn't have the CGI/SFX department to help. Impressive
@Zoidberg Why would they arrest the sold daughter?
@Zoidberg BRUHAHAHAHA
@R.MartinhoFernandes What's broken? Diacritics work? â - check. Local currency symbols work? ` €` - check. Misc latin1 characters: - check. Everything works!
 
lol
 
Xeo
lawl
 
user142019
I need an empty DVD or a USB drive to install Windows, but I have none. :<
 
11:10 AM
go to shop -> buy one -> profit
isn't life simple?
 
@TonyTheLion Profit goes to the shop, btw.
 
that too
 
Aw, boost::iterator_category apparently needs to check convertible<reference, value_type> when computing iterator_category. As it so happens the value type is a const qualified move-only type :|
 
user142019
Make DVDs yourself.
 
Xeo
@LucDanton Ew
 
user142019
11:18 AM
Halt is one funny song.
 
The test it ends up doing doesn't look like it can SFINAE. Not sure what's up with that.
> static ::boost::type_traits::yes_type BOOST_TT_DECL _m_check(To);
I find the lack of the template keyword disturbing.
 
user142019
What's max length of a string that's usually subject to SSO? sizeof(char*)?
 
Xeo
Using just res = std::move(buf); compiles fine for me in VS2010 and VS2012 and Clang trunk (with libc++ trunk). GCC 4.7.2 chokes on it, though. — Xeo 7 secs ago
For once, VS > GCC
 
user142019
Or sizeof(char*) + sizeof(std::size_t) + sizeof(std::size_t)?
 
Xeo
Luc, can you test the code with GCC 4.8?
 
11:26 AM
@Xeo usually for the wrong reasons :
 
user142019
Though that would imply .size() is not O(1) always.
 
@Xeo Compiles fine. Is it supposed to do something else?
 
Xeo
@LucDanton With the res = std::move(buf):?
@Zoidberg Depends on the implementation, but using the size member to store extra characters would violate O(1) size() requirements, so I don't think you could do that.
 
@LucDanton That's BOOST_TT_DECL.
some versions of VS will barf if you put in the template keyword there.
so it should be there if you don't have one of those versions
 
@Xeo Oh okay. Yes also that.
 
Xeo
11:30 AM
So they fixed it. Can you leave a comment about that or should I do?
 
@DeadMG Are you saying that static yes_type template _m_check(To); is a valid declaration?
 
Xeo
@DeadMG You're thinking of BOOST_NESTED_TEMPLATE.
 
@Xeo Don't know what the question is, go for it.
 
Xeo
Oooh, I just noticed LWS has GCC 4.8 too
 
We need a canonical Q&A for questions like those, i.e. people attempting SFINAE with a non-deduced parameter. I don't know of one.
 
user142019
11:34 AM
Stack Exchange Chat makes for a great RSS reader. :P
 
21 hours ago, by R. Martinho Fernandes
Breaking news: kid found under rock.
 
Xeo
Shaddup.
 
user142019
Moving messages is broken.
 
user142019
I can't move multiple messages at once. :|
 
Xeo
You suck?
 
11:37 AM
Apparently
 
Man, looking at the implementation of TypeTraits and its bug tracker, I have to say that this doesn't like a fun library to maintain. It's herding a pack of compilers.
 
Anyone ever played around with named pipes on windows?
 
user142019
I select all messages and it moves only one.
 
@jalf Do bag pipes count?
 
@sehe only if you can play them while unicycling
 
11:38 AM
Hey, that last paragraph looks familiar. Or even related. Also this is why I obsess over names, now I feel bad that is_related 'got out' -- it could be better.
 
@jalf I can only play them when I'm unicycling
@jalf Yes, by the way. But that has seriously been too long ago. I've happily forgotten most of Win32 API since then. Woot
SE Chat doesn't think the other messages are _moving_ enough.
ONE MORE TIME WITH FEELING
 
user142019
@sehe still won't work.
 
Xeo
@LucDanton Haha
 
user142019
I mean relocation. :P
 
user142019
As in, bin.
 
11:40 AM
I thought that only owners could bin messages
 
user142019
POST chat.stackoverflow.com/admin/movePosts/24510 returns an empty response.
 
user142019
@DeadMG Not in this room, silly. :P
 
user142019
I can delete everything but the first nine messages. They'll just stay there.
 
user142019
Maybe some stupid regex fail that expects at least two digits for the message number.
 
Xeo
@Zoidberg Use 09 :D
 
user142019
11:45 AM
That might work.
 
Xeo
And then it only moves 1~
Because octal fucks you over.
 
@sehe We have one which seems to spuriously report ERROR_PIPE_BUSY about 10% of the times when we try to read from it. And.... there's no reason why it should be busy
 
user142019
@Xeo Oh it uses absolute IDs.
 
user142019
> 7721297,7721312,7721319,7721335,7721342,7721352,7721386,7721425,7721442,7721561
 
user142019
sqlinject('TRUNCATE TABLE Messages');
 
Xeo
11:48 AM
Pizza is here~
 
user142019
Yum.
 
@jalf could it be that this is simply returned in blocking IO mode when there is nothing to read or when the receiving buffer is full? (inb4: you checked)
 
This bug is taking longer than usual to fix, and I feel like the more time I spend on it, the less productive I become (i.e. I take more time finding new angles of attack, mind starting to wander off etc.). What do you guys usually do in this situation?
 
Borderlands 2.
 
@LucDanton talk it over with a coworker and/or take a break and/or leave it until tomorrow and sleep on it
 
11:56 AM
I tend to pick the 'leave until tomorrow' option when those situations arise at the end of the day. I'm not sure about starting to work on something else altogether though.
 
@Xeo "— Conversions between different types of unique_ptr<T[], D> or to or from the non-array forms of unique_ptr produce an ill-formed program."
Compiler extension'd!
 
Xeo
I think it's a defect report somewhere, though.
 
No doubt. Seems pretty dumb.
I'll look for it, I'll leave a comment on Nicol's answer.
 
@TonyTheLion That sounds fake. There are no miles in continental Europe.
 
Ell
12:03 PM
My friend can unicycle
 
@R.MartinhoFernandes thank you for that.
I think you're getting back at me for trolling you together with the ape over the weekend, right?
 
@Xeo Active issue 2118.
@Xeo Aw, not you've made him delete :(
 
You've given me my lunchtime hack. And a good reason to finally bother with qi::symbols some more. Spirit's ternary Trie implementation looks pretty useful! — sehe 6 secs ago
@TonyTheLion Erm. Remove key from contact?
Fortunately, I don't own a Renault anymore
 
Xeo
@LucDanton Got a link handy?
 
Xeo
12:08 PM
thx
 
Nice submitter.
 
Good find!
 
Xeo
Stupid interweb here
 
What. You guys have a different one?
 
Xeo
12:11 PM
@LucDanton It's linked in the question.
I added the DR to my answer, btw, and made clear that the res = move(buf) is an extension.
 
@Xeo Wait what, is the question stupid then or what?
 
Xeo
@LucDanton Not really.
 
Ah I see. He wants a workaround but the first attempt at the workaround is the bug itself?
Ah well. The joys of multiple differing implementations and their extensions.
 
user142019
Cool, Opera moves to WebKit.
 
user142019
Now Firefox and IE.
 
12:18 PM
> pointer types which are convertible to pointer.
what does that even mean?
 
Xeo
pointer is the nested typedef
 
Some layout information was lost.
 
@LucDanton I'm sorry for your loss. :(
 
@Zoidberg :(
 
@TonyTheLion Nah, I'm just trying to be silly.
I have been thinking too much about serious stuff lately, so I need to wind down.
 
12:27 PM
more fscanf is crashing program misery. Pro tip: Select Isn't Broken
 
@R.MartinhoFernandes oh I see.
 
Ouch. C.
I C.
 
Intensive // Care
 
Whats // operator?
 
// care
 
12:36 PM
Still not getting it.
 
It's a comment.
 
Parsing it as comment still doesn't give meaningful results.
 
oh god
 
@BartekBanachewicz // care -> don't care.
 
That was so... Uh.
I expected more
 
12:39 PM
In lilypond, it delimits two (or more parts) in a block of music that sound simultaneously:
   \new Staff \relative c' << d8 e fis g~ | g4 fis8 e~ e4 // b4. e8~ | e4 d8 c~ c4 >> \addLyrics { I can see clear- c- "#" }
 
Ell
ahh dear technology is failing me yet again
specifically email
 
Wow what is this? Sounds interesting
 
@BartekBanachewicz You know! It's on google :)
 
Pun intended.
 
Ell
lilypond is like latex for music isn't it?
the non wysiwig version of doing stuff :3
 
12:40 PM
@BartekBanachewicz Google frescobaldi too
 
Okey, googling.
 
@Ell The sane way of doing stuff
 
user142019
Hey.
 
An ad for the puppy.
 
Gradients on their page hurt my eyes
 
user142019
12:41 PM
What term would be used for the property that determines whether a reference is strong or weak?
 
@BartekBanachewicz Huh, which one
@Zoidberg type
 
Xeo
@R.MartinhoFernandes Is it intended that you can't see anything?
 
@sehe lilypond.org
 
user142019
@sehe something more specific would be nice, but if there is no such word I'll jsut use Type. :P
 
That might be iPad sRGB display thing.
 
12:43 PM
@BartekBanachewicz Prolly. Looks fine here
 
I am sitting in starbucks, because of todays plot twist i was locked out from both home and work
 
Xeo
lol
 
That wasnt exactly funny for me, tbh
 
Xeo
Reminds me, I nearly locked myself out of my home some days ago.
 
@Xeo You probably cannot see ads if you have AdBlock. Just guessing.
 
12:46 PM
How?
 
Xeo
@BartekBanachewicz Nearly forgot my key. And I don't have any spare one hidden.
 
@R.MartinhoFernandes seems logical
 
Xeo
@R.MartinhoFernandes Ah
 
@sehe frescobaldi looks nice, but I usually edit scores with my keyboard and guitar :)
 
@BartekBanachewicz plot twist twist: you have no home and no work. It was all an illusion :P
 
12:47 PM
Guitar Pro *
@tony yes, i am homeless with an ipad
 
@BartekBanachewicz I don't usually like that. Lack of control. Though I must say it helps to improvise some parts and then work from there, basically drafting via midi
 
@xeo maybe leave one at work then?
 
OMG, why haven't I thought of queuing this way?
 
user142019
@sehe strength!
 
@sehe when im improvising, i usually use reaper and it's quantizer. I don't have a of time for piano ATM :((l
 
12:50 PM
@Zoidberg vis! accusativus: vim!
 
Ouch fuck now i cant edit all these mistakes
 
user142019
@sehe ?
 
@Zoidberg Latin.
 
user142019
I don't speak Latin.
 
But you can star latin!
 
12:51 PM
I have to put something one meta about enabling full chat on ipad.
 
@R.MartinhoFernandes Behold! It passes.
 
Tesla motors is awesome
 
Ell
@BartekBanachewicz you can already do that?
 
And this article is, too. Someone star it.
@ell do what?
 
Ell
12:56 PM
enable full chat on ipad?
 
How? Wow, edit is working
 
Ell
there is a thing in the bottom right which says full site I'm sure
 

« first day (852 days earlier)      last day (4088 days later) »