« first day (1039 days earlier)      last day (3894 days later) » 

12:01 AM
logs can grow pretty fast if you do excessive logging in your code
 
No, really?
 
@Telkitty猫咪咪 I have a user-configurable time imit on log files. The default is to delete them after three months.
 
@DeadMG more like a mock object, then
 
once I hogged the server after I left a test debugging program run on it for a couple of days which produced some 50-80GB worth of log (that's some 5 years ago when the memories were limited)
 
Every time the app starts, or at midnight, the log folder is checked and old shit deleted.
 
12:05 AM
@sehe Yeah.
 
sad thing is that the only thing I changed was to set the debugging on
 
@MartinJames happy debugging if you have a piece of code that always fails at 11:59 =)
 
Lol: guess what makes this happen:
 
@nightcracker S'OK - still have three months of failure logs ;)
 
I don't think I ever saw the 'no net rep changes' place holder before
 
12:09 AM
@sehe I get like every 3 days or more
 
ah, fuck.
virtual inheritance?
ah, wait, never mind, I don't need that.
 
@DeadMG What? Wide has no inheritance?
You need to tape down Daisy's ears when you say that :)
 
Ell
The redhead on mythbusters is hot
 
@ScottW lol, why?
 
@MartinJames No, I'm re-architecting my code generator to permit a mock interface.
 
12:13 AM
@DeadMG ...ahh.. OK, I'm ratted and didn't read all your thread.
 
@ScottW are you talking RL or programming?
@ScottW to screw with your head :P
 
@ScottW Meh - you expect us to believe that? You haven't tested it correctly.
 
Evening by the way
 
@ScottW I guess this is a bad time to tell you that Mysticial's name has two 'i's in it.
 
@Insilico Yours has three of them
 
12:19 AM
I have only one. I feel inadequate:(
 
WHAT?! YOU'RE IN A ROW WITH MANY-I-D CHATTERS
 
@ScottW You have two 't's in a row.
 
Chatii.
 
I think we have pretty different meanings for interesting :P
 
@ScottW We also knew you were playing with Fortran earlier today
 
12:26 AM
hmm.
boy, it's really not as simple as mocking the code generator.
 
10 hours ago, by Tony The Lion
room topic changed to Lounge<Fortran>: MOAR FORTRAN! [c++] [c++11] [c++-faq] [no-questions]
 
I am interested in sleep. Beer and a jalfrezi pepped-up with birds-eye chillis has done for me. Expecting asspocalypse tomorrow morning.
 
@ScottW mind the ggggs - you will deplete them
 
Codegen mocks you.
I've put 30 hours into Fable 3.
No wonder my controller died.
Well, stock batteries.
I played it.
 
room topic changed to Lounge<Dragon>: Here be dragons! [c++] [c++11] [c++-faq] [no-doubt] [no-questions]
 
12:28 AM
Somehow it didn't compel me to finish it.
 
Ell
can cheques go out of date?
 
@CatPlusPlus You done or still going?
 
@CatPlusPlus It kinda does. For example, you need an LLVM context if you want to figure out what the size of an integer is. Which you would need, if you did something like std.array(int8, type->size), which is legal Wide.
 
@Ell Why, are you from the past?
 
@ScottW using a string bow?
 
12:29 AM
@Ell Like paper checks used in financial transactions?
 
@Ell they are out of date
 
@Borgleader Done.
I think I've spent the last 10 hours or so just screwing around waiting for money to come in.
Ultimately the whole second part is pretty meh.
I'm gonna replay Fable 1, though.
 
Ell
Gah can't fit books in bag
And yeah money cheques
 
@CatPlusPlus Yeah that was my experience as well. It also felt rushed (the way the jumps keep getting bigger and bigger near the end)
 
It's literally a checklist of good/evil and it only affects the dialogue at the end.
And you can't skip past some of the more talkative bits either.
I'm just running around the stupid ledger and waiting for the guy to SHUT UP ALREADY
 
12:34 AM
@CatPlusPlus So, it's an adult game, then?
 
Ell
You're not supposed to skip the talkative bits :3
Fable 3 is very storyish
 
@sehe I actually tried learning fortran
 
Most of the dialogue at the end is just boring.
And not even relevant, because it's just explaining that one butan is good and the other butan is evil.
Sometimes there's also neutral butan.
 
I got to Level 101 in "You Can't Do Binary Under Pressure"! toys.usvsth3m.com/binary
 
12:37 AM
I can't do binary at all.
 
Ell
I hope my money doesn't go out of date :(
 
Don't use cheques?
Like, seriously.
Are you planning on travelling to 1940?
 
Ell
Well if I get sent money via cheque I'm hardly going to refuse it
 
@sehe wow
wait 101 decimal or binary ?
 
Hello, Dragons!
 
12:44 AM
@A.H. :/
 
I don't even know how cheques work.
All I know is that they can bounce. (I know that from the movies.)
 
@StackedCrooked sign your name on a bunch and send them to your friends
 
@Ell Then get the money from it, and into a bank account or something?
Also holy shit Fable starts in 1024x768 in 16:9 mode.
My eyes. My screen.
 
@A.H. me first!
 
Ell
@catplusplus thats what I need to do, I got it in the post earlier but wont have time to go to the bank tomorrow
And Im leaving and won't be back for a while. I guess it will still be valid
I couldn't imagine them just going out of date
 
12:56 AM
This question appears to be off-topic because it is about tin foil blankets. — Borgleader 8 secs ago
3
/cc @Mysticial ^ (/cc @sehe it's our friend PYTON TERMINAL)
 
@Borgleader But can it be done in python?
 
is there such a thing as marking a block as no-warnings for gcc?
 
huh.. he changed the other account's name from PYTHON TERMINAL to ALLAH ACKBAR and made a new account called PYTHON TERMINAL
no clue why he would do that -.-;
 
I wanted to post this: "If you got imagination then it is not 'empty void space' ... that or eye sight. I hope you getting well soon!" But the question was locked :(
 
If multiple accounts from the same IP get banned, does SE do an IP ban?
 
1:04 AM
never tried it ... asking it on meta?
 
yeah i might as well do a meta search
 
if I dynamic_cast null, I get null back, right?
 
if it can't be casted to the type, then you will get null back
 
@DeadMG you mean like this?
 
you mean, a trivial test case does not mean at all that it is guaranteed by Standard?
 
1:11 AM
I am asking if this is what you meant
 
yes
 
@A.H. Yes.
#pragma GCC diagnostics
 
sorry.
 
anyway cppreference says yes
 
1:13 AM
>2) If the value of expression is the null pointer value, the result is the null pointer value of type new_type
@CatPlusPlus thanks
 
welp
only took me about an hour, and now my code generator is an interface.
 
that wasnt so bad
 
yuppers, could be worse.
 
why this room called dragon?
 
Ell
1:20 AM
Gosh there are pages and pages of erotica on Google play store for some reason
I'm not even on that section
 
-8
Q: Python : How to permanently stop tooth pain, having to eat foods, etc?

PYTHON TERMINALI used python as well as bash codes to determine that no matter how much money i have.. it's not gonna work out.

tin foil blanket dude is back (flagged it)
 
gyro_bias(mean.gyro_bias + error.template segment<3>(0))
what's mean of the parameter in bracket
 
Ell
I've run out of money :(
What the hell are you talking about?
 
gryo_bias is object of vector3d
@Ell to me?
 
Ell
Yeah
What library?
 
1:33 AM
 
what is error.template segment<3>(0)?
 
Ell
Why do you think I know?
I've never used eigen before
 
my question have no relation with eigen
 
I just know that
 
Ell
1:44 AM
Idk, I'm sleeping now
Night :)
 
@Borgleader wow
 
Yeah he's a pretty persistent troll
 
wonder how he's not already banned by now
I am not banned because this site craves elite trolls, we entertain people for free :p
 
2:00 AM
@Ell night
 
@Telkitty猫咪咪 oh he probably is now.
 
> so much a pain in the a[censored][censored] that people have
lol @ censored
 
Dammit, can't sleep.
Right.
Bankrupt?
 
Ooh, the tranquility ... if not for the ass
 
That's a sweet ass boat.
What was the album you linked me this morning?
 
2:09 AM
Scott you are hitting on StackCrooked behind @TonyTheLion's back I see ...
 
I liked the second track.
That was Funky Squaredance apparently.
I kinda like Vampire Weekend's latest album.
 
Anybody want to take a crack at a file extensions issue?
 
@StackedCrooked Hey, since you're around, does Coliru have any sort of API? cppreference would love to replace LWS as the "run this example" link...
 
@StackedCrooked Want to stop by en.cppreference.com/w/Template_talk:example and mention what you think about that idea?
 
2:17 AM
POST to /compile with JSON string: {"cmd": "g++ main.cpp", "src": "// C++ program" }
 
wait, LWS still exists?
I'd totally forgotten about that shit
 
yeah
I used to want to edit cppreference a lot
unfortunately they don't make it clear where their templates are located
Just like C++ code.. everything's templated there.
 
@Rapptz when you click Edit, below the edit area is every template used in the page with its own Edit link
 
@Cubbi yeah I know that part.
but browsing the actual templates is a bit of a bother
if you know what I mean
 
2:22 AM
@Rapptz I know. I've been editing it for 3 years and I'm still getting lost in some of those templates.
 
lol
18
Q: What C++0x feature will have the most impact?

dicroceWhat will day to day C++ development be like in a few years? What C++0x features will change C++ development the most? In what order should I concentrate learning these new features?

> old SO
 
@Cubbi My goal was initially to just add examples, because I know how useful those are to people.
 
hi
 
2:31 AM
Hi.
 
C++1y has std::rbegin(), right?
 
yes
 
Okay, couldn't remember if it was only the c versions.
 
first time on the chat :) reading this loungecpp.wikidot.com/owners%3Anewbie-hints
 
@usernotfound You're one in a hundred.
 
2:33 AM
@usernotfound Yay!
 
@usernotfound thumbs up
@ScottW ... it is?
 
Sadly, no.
 
u8, u16 and u32 were added but that's 'bout it
 
conversions too (except in GNU)
 
2:36 AM
oh i see
 
Though there's some promising proposal in the proposals list.
 
inb4 they end up in c++17 and delayed to c++21
by which time everyone will have switched to wide
 
Is it me, or is that missing something?
 
@Pawnguy7 It's just you. :P
 
2:41 AM
@Pawnguy7 slowpoke.jpg
 
could you guys brainstorm with me?
my idea is to create some sort of type-safe varargs in a C-like language
my current idea is this: gist.github.com/nightcracker/6276566
 
@Cubbi Added some info to that page.
 
a problem I see with this is when you want to iterate over the variable arguments in reverse order, for example
 
Oh. Undefined behavior?
 
2 mins ago, by Borgleader
@Pawnguy7 slowpoke.jpg
:)
 
2:44 AM
Dammit... its 5am and i cant sleep :-(
 
Sigh. Ah well :D
 
@JohannesSchaub-litb Same problem..
 
@StackedCrooked You broke the first rule of wiki talk pages.
 
> This is a talk page. Remember to sign your posts by typing four tildes (~~~~).
You forgot to sign your post.
:(
 
2:47 AM
I didn't figure out how to do that...
I saw the sign icon.
But it doesn't enter my name.
 
After 10mins of reading I just discovered that this "lounge" is actually about C++!! you should definitely rename your room.....
the hell I'm doing here...
/exit
 
it's a lounge to chat
not really specifically about C++
 
Who the fuck renamed it to this stupid phrase
 
@usernotfound also, s/10 minutes of reading/one glance in the topright tags/
 
room topic changed to Lounge<C++>: Dragons are lame. [c++] [c++11] [c++-faq] [no-doubt] [no-questions]
 
2:48 AM
why having such a generic name for a room DEDICATED to c++?
 
The fuck did I do. Tag wiki editor just submitted by itself!
 
@StackedCrooked I saw the edits, thanks. (and don't worry about breaking wiki rules at cppreference talk pages)
 
It's not dedicated to C++
 
I thought it is about the dragonegg llvm compiler
 
Also Wide.
 
2:49 AM
@Cubbi haha
Your post is signed now!
 
lol
 
Anyone has any ideas for a way to neatly express compile-time type-safe variable args?
 
@nightcracker template<typename... Args> ~
 
2:52 AM
@Rapptz variable arguments with variable types
 
@nightcracker That's what it does.
 
those do have variable arguments with variable types.
 
Variadic templates/arguments/types.
 
oh
link to some docs?
(I'm not very comfortable in C++11 yet)
 
In computer programming, variadic templates are templates that take a variable number of arguments. Variadic templates are supported by the D programming language, and the newest version of C++, formalized in the C++11 standard. C++11 Prior to C++11, templates (classes and functions) can only take a fixed number of arguments that have to be specified when a template is first declared. C++11 allows template definitions to take an arbitrary number of arguments of any type. template class tuple; The above template class tuple will take any number of typenames as its template parameters. ...
it even has a printf example
which you apparently wanted to do
 
2:54 AM
ah that has some serious limitations though
 
like what?
 
what if I want to iterate over the arguments in reverse order?
 
easy
 
@nightcracker You can.
 
how?
 
2:57 AM
Well, I'd store the arguments in a tuple
then with some indices (it's in the chat wiki) make a function to reverse the tuple
 
As I recall, Boost has some handy iteration tools.
 
and.. voila.
 
you need indices and tuples to do that kind of thing.
 
not sure how you'd do that with C vargs
for all I know you probably can't :s
 
2:59 AM
I sometimes use a helper class that recursively inherits the argument types.
 
I'm mostly interested in just creating a neat way to do it (we're not limited by templates or anything here)
 
6
A: How do I reverse a tuple?

Jonathan WakelyWhat you did wrong was here: using type = typename tuple_reverse< std::tuple< typename tuple_reverse<std::tuple<Ts..., T>>::type > >::type; Looking at it from the inside out, you reorder the tuple ...

 

« first day (1039 days earlier)      last day (3894 days later) »