« first day (1938 days earlier)      last day (3012 days later) » 

2:00 AM
after reading rules. it is not the good room for asking question about c++ but for talking :P so, my non-question c++: what is the best room to asking question about c++ :P
 
you read the rules?
Congratulations!
 
what is your question
 
one sec, I need to check something to figure out the answer to your question
 
@Jean-philippeEmond That depends. If you question is honestly interesting, this is a great place to discuss it. If it's boring, you should probably ask on Stack Overflow.
 
well, recently there's been an effort to filter C++ questions into the C++ room
 
2:02 AM
canadian alert
 
@JerryCoffin, It is a boring question. Not a question to develop or make comments about it ^^
 
just ask the question I'm sure it's not that bad
 
inb4 why i++ + ++i give 3
 
If you leave Rise of the Tomb Raider minimized in the background for around 6 hours the enemy AI starts to misbehave https://t.co/47Ta0k2Z1i
huh...
 
nice twitter
 
2:07 AM
@Rapptz: its about a misconfiguration into the Visual Studio and 2 project into a solution. I don't know why, if I add reference my second project into the first, I don't have the intellisense of my "project2.h" and I have an error. ^^ Thats a boring question for expert ^^
 
nsfw
@Jean-philippeEmond probably missing include path
or something
 
yeah I don't use VS
ask local Visual Studio Expert Hubert.
 
@HubertApplebaum Is That it's Obvious That I 'm a Canadian ? ^^
 
yes ^^
^^^^^^^^^^^^^^^^^^
 
TIL about existence of soak testing
 
2:09 AM
have I mentioned before how boost::indirect_iterator is sweet music to my eyes
 
what does it do
> indirect_iterator adapts an iterator by applying an extra dereference inside of operator*(). For example, this iterator adaptor makes it possible to view a container of pointers (e.g. list<foo*>) as if it were a container of the pointed-to type (e.g. list<foo>). indirect_iterator depends on two auxiliary traits, pointee and indirect_reference, to provide support for underlying iterators whose value_type is not an iterator.
 
dereference the underlying iterator
 
boring
 
music, eyes, lol
 
alert /!\ borgleader got the joke
 
2:11 AM
this looks like a limited subset of a transform iterator
which would be pretty sexy
if C++ was a nicer language
 
anyway it's nice for example to apply transforms to cuntainers of unique_ptr etc
 
@HubertApplebaum, why I need to include Path if I add reference in the project. The first one is an executable but the second is a dll. I need to include even if it is in the same solution? .. Rho...
 
@HubertApplebaum glad to know you had me in such low esteem
 
lol I'm kidding
@Jean-philippeEmond Yes I think so
I guess I could try
 
I think I'm close to finishing this
I can taste it
@LucDanton thoughts on renaming recipe to schema?
 
2:14 AM
go for it
 
100% less calories
what about blueprint
 
tl;
 
100% more eiffel 65
 
hold my s//gs I'm going in
 
@Rapptz recipe? now i understand why you can taste it
 
2:15 AM
if you were using a real IDE you could have easily refactored the code
 
Searching 336 files for "_recipe" (case sensitive)
12 matches across 2 files
 
grep is a real IDE
 
grep is all I need for my refactoring needs.
@Borgleader yesterday when I read canonical_recipe I got hungry so I made a sandwich
 
was it a canonical sandwich as the name suggests
 
yes
the canonical grilled cheese sandwich
 
2:17 AM
hmm I can feel the diabetes
 
@HubertApplebaum it had canonicalized steak in it
 
do you guys know the croque monsieur
 
never heard of it
 
Ell
The croque monsieur?
 
@Borgleader wew full ep
 
2:18 AM
it's probably the next best thing right after fusion engines
 
@Rapptz tl;dw; its about can you tenderize a steak with explosives
 
Ell
That lives on drury lane?
 
and i think they try shooting one out of a canon
 
it's just grilled bread with cheese and ham BUT GOD
IS IT DELICIOUS
 
>ham
into the bin it goes
 
2:19 AM
@HubertApplebaum croquemonsieur :û)
 
Ell
I'm so stressed
 
@Rapptz yes sorry not hallal
 
relax Ell
it's just a sandwich
 
replace with turkey mebbe
or hallal ham idk
 
Ell
Lol hallal ham
 
2:20 AM
alert /!\ ell got the joke
 
Ell
Hallal + ham = hallam = haram
 
> Lieu d’origine Drapeau de la France France
 
he's taking it to the next level
 
next time I go to indonesia I'll make sure to order pork at the restaurant
why hello there what do you mean you have no pork
isn't it what kebabs are made of???
 
Ell
I agreed to live with some people in a house without getting to see the house
I am so very anxious
1 shower and 1 toilet between 5
It does not seem enough
 
2:22 AM
shower 2 at a time
 
what are the odds that more than 3 have diarrhea simultaneously
 
problem solved
 
monte carlo to the rescue
@Ell not enough
 
Ell
Don't tell me that mayn
Why do I have to think ahead
Why can't someone have planned this for me
 
@HubertApplebaum use the crapper 3 at a time
 
2:23 AM
experts recommend 1 toilet for every 3 persons
 
Ell
I need a responsible adult.
 
@Ell Right here for you.
 
@HubertApplebaum That doesn't work too well on airplanes.
 
I know, and let me tell you in chinese airlines it's horror
 
@HubertApplebaum ~35%
nice
I'm a tard
 
user406009
2:25 AM
@HubertApplebaum It depends. Does everyone order takeout together?
 
Ell
I'm having an existential crisis rn
 
> JavaScript 51.8%
my cancer
 
user406009
@HubertApplebaum It's OK. Rapptz is here for you.
 
> PHP 0.1%
I need endoscopy rn
 
user406009
He can bin all the JS for you.
 
2:34 AM
@HubertApplebaum you are right! Added my include path and its works. you are a beast! :P thanks!
*for your help :P
 
hubert saves the day once again
 
^^
I go to sleep but I comeback soon :P
thanks Again @HubertApplebaum! :P
 
you're welcome
 
Hi! I've been programming for a while, but am looking to learn C++. I saw the books link on the tag info page, but does anyone have recommendations for digital resources (tutorials, MOOCs) to get me started? I've just started learncpp.com, but alternatives are welcome.
 
@Dsafds stop spamming
someone bin the spammer pls
 
2:44 AM
2 messages moved to bin
 
@HubertApplebaum Damn, beat me to it.
We should actually flag it.
 
> 14 year old Coder
 
it's nobble
 
flag one of the ones in the bin
 
2:45 AM
if you flag I'll pass it
 
there I did it
 
I'll flag the other one as well.
 
I'll downvote the githu- oh.
 
user4639281
Am I marking these flags as valid or what?
 
yes you are
 
2:47 AM
Yes, they're all valid.
 
> This user has been automatically suspended for posting inappropriate content and cannot chat for 7 days.
good job everyone time to go home
 
I'm tempted to go and flag the ones he dumped in the other rooms as well.
Oh ahaha
 
user4639281
Flagged posts are gone, going home.
 
> Are loops really faster than recursion?
 
So, whats new in C++ world? We can now do,` std::map.insert_or_assign`.
Do we have tuples yet?
 
Foo
2:51 AM
hello anyone here used sqlite3 C/C++ interface?
 
@Mikhail What?
You mean language-based tuples?
 
sure
 
Then no
 
:-(
 
But library tuples have been there since forever
@Foo I've used the C one a while ago
 
2:52 AM
@Foo I've used the Qt bindings
 
Foo
I was wondering does the connection to the DB automatically close after it returns from a function?
 
what ._.
of course not
 
Foo
Say if I initialise the DB in init_db(string path, sqlite3 *db)
within init_db I return without calling sqlite3_close(db)
 
then it won't close
no magic
 
Foo
but it seems like when it returns from init_db() I needed to call sqlite_open() again
 
2:57 AM
then you are doing something wrong
 
Foo
mmm, I have *db as a global when I pass it into init_db(), that's fine right?
 
user406009
@Mikhail Isn't that the behavior for a lot of the current std::map functions already?
 
@Foo two-stage init is never alright.
 
Foo
I only init in init_db (opens connection, creates tables) and returns db by ref
I din't call close in init_db so the db should still be open..
 
pretend it’s a file that you’re opening, then reading from/writing to, then closing once done
and if you’ve never done that before now’s a good time to learn
 
Foo
3:05 AM
I have @Luc
but it is just abit wierd
that it seemed like it closed without my telling it to close
*me
 
@Stacked coliru is down this is unacceptable
 
and status.coliru.stacked-crooked.com doesn’t even respond
 
what about status.status.coliru.stacked-crooked.com
 
> Learn Enough Git to Be Dangerous
git stab
 
I don't get why this does't work
 
3:20 AM
I'll have to use wankbox instead
 
muh sscceeeeeeeeeeeee works
 
what's the shortest syntax for the swallow thing
 
afaik it's "undefined method `pid' for nil:NilClass"
 
use wankbox
 
url
 
3:25 AM
do you mean alias<char[]> { {}, (pack, void(), '\0')... }?
 
dank fam
 
@LucDanton that
 
that's still two lines of code
(need one to define alias<T>)
which is already how it is regularly lol
 
regularly what
 
3:28 AM
the lazy way
 
there is no other way, this is the best way
 
using whatever = char[]; whatever{....};
 
same difference
 
ik
I'm poking fun at "shortest syntax"
pls
 
@Rapptz but it doesn’t work
 
3:30 AM
what doesn't work
 
[[unused]] auto _ = { 0, (thing(args), 0)... };
 
the alleged fun
 
but I am having a great time
 
I used alias<char[]> for chat brevity&clarity, cus alias_to_char_array { … } isn’t any better to explain
 
3:32 AM
alias<char*> ?
 
completely different thing
 
Almost always superior?
 
3:53 AM
almost always always
 
Excellent, if it gets 4" longer it'll be an acceptable length once I cut the end off.
I have made good progress today
 
stop baiting
it's unbearable
 
for you, I'll stop.
but only because I'm awful at it
 
just share with us how you enjoy being wrapped up in it, and how warm it makes you feel
 
4:08 AM
@HubertApplebaum So I posted like you asked.
 
Nyaa is down. NOOO!
 
@LucDanton it is deliciously soft and warm, and I'm pretty sure the ridges I've knit into it might help with packing warm air close to the body, but I'm sending this one to my brother so I'm not going to be able to wrap myself in it. :\
 
the great niebler gods failed me
 
@Rapptz RIP you.
 
I'll have to make do with my present scarf, which is still soft and warm, but has stretched since I made it, to 80-something inches long.
 
4:14 AM
I miss ADL.
 
Why do you miss it?
 
it played nice with my SFINAE
 
I miss const. const was nice.
 
are you using auto/decltype(auto)
(it’s a long shot)
 
no
 
user406009
4:18 AM
Could someone fill me in on what everyone means by "nieblerilization"? I know he advocated for ranges, but is there something I missed?
 
user406009
Did he advocate another way to do SFINAE or something?
 
Uh
I was doing something important, I swear.
 
never heard of it
 
I'm in a rabbit hole I do not enjoy being in
 
oh look more knitting I could be doing
I wonder if I can finish the knitting part tonight
 
4:20 AM
@jaggedSpire Yes, yes...
Let the threads surround you.
Let their fluff take away your evil urges.
 
but I already am fluff
my hair hasn't laid down all day
 
Nov 5 '15 at 18:22, by Luc Danton
Does Eric Niebler advocating using functors instead of functions to prevent unwanted ADL ring a bell? if not
it’s about ADL, not SFINAE
 
user406009
@LucDanton Thanks for the info.
 
Perl before SFINAE
I really like when after unhibernating WiFi doesn't work and I can't even get a list of networks
 
ah man this takes me back to the laptop I have in 2016
 
4:39 AM
lol
@CatPlusPlus but I'm already purling half the time and I don't know what a SFINAE stitch is
 
4:56 AM
is there a place I can test for VS2013
 
hell
 
Any blood lab
 
you mean a preprocessor or what
 
No, the disease
 
lol
 
4:57 AM
lol
 

« first day (1938 days earlier)      last day (3012 days later) »