« first day (862 days earlier)      last day (4085 days later) » 

Xeo
1:00 AM
And the next season is starting soon.
 
Ell
I want ecchi & embarrassment
 
Xeo
And there are anime in there I just have to watch.
Like Railgun S
 
@Ell There's plenty of both.
 
Has anyone ever watched vandread
 
user142019
You?
 
1:01 AM
@Xeo Never heard of that one.
 
@Cicada I saw like.... Season 1ish of it?
 
Xeo
@StackedCrooked Second season of Toaru Kagaku no Railgun?
 
I never finished it.
 
user142019
I want ?? operator in C++.
 
@cicada I watched van helsing and judge dread
 
1:01 AM
Anyway, I'm too busy digging through the Lounge history to keep an active discussion with anyone right now.
 
@Xeo Never heard of it :D
 
@Cicada It's the one with the SHips and Pirates and that single male pilot or w/e ?
 
Xeo
Lol, watcha fishing up?
 
user142019
> Would you mind if I killed you?
 
Xeo
@StackedCrooked Spin-off of Toaru Majutsu no Index?
 
1:02 AM
@R.MartinhoFernandes just take the note about me wanting your blog to contain a post about how FP changed your C++ life...
 
user142019
FUCK
 
user142019
Well, you can't really mind since you'll be DEAD.
 
@Xeo I saw one episode of that.
 
Dem edits.
 
user142019
I'm so consufed.
 
Xeo
1:02 AM
@StackedCrooked Woah.
 
user142019
I saw an episode of Pokémon. :|
 
I have a classmate who's very into Index.
 
@Xeo An old nugget of information I want to remember but can't. I know it is somewhere in the transcript, and know an approximate time, but that's all. And chat search sucks.
 
Xeo
@StackedCrooked I'm very into the light novels.
It's awesome.
 
Do you need a default constructor in order to work with std::vector?
 
Xeo
1:03 AM
no
 
Oh, goodie.
 
Xeo
Unless you use operations that require one.
Like resize(N).
 
@NoSenseEtAl I'll keep that in mind.
 
Xeo
@R.MartinhoFernandes Care to share if you find it? :P
 
@Xeo That's one operation someone's dick really would require.
 
1:04 AM
@R.MartinhoFernandes tnx but remember, make it epic or FP priests gonna be upset :D
 
@Xeo Yet another thing to add to my todo list :D
 
Btw, there is now some recent motion to reconsider encoding pIqaD (Klingon script) in the Unicode space.
 
Great, I have a nice constrained operator but I also need a fallback to that constraint. So either I write a trait or I somehow have to write a fallback operator.
 
@R.MartinhoFernandes O.o Star Trek Klingon? In Unicode!?
 
@Cicada what about shrink to fit :P
 
Ell
1:08 AM
If people use Klingon then I guess its just
 
Today is a good day to die, also edit unicode spec
 
If I have operator@(T, U); and operator@(U, T);, how would you say the two are related?
 
they have @ in them
 
Xeo
@LucDanton symmetrical?
 
Works for me.
 
Xeo
1:10 AM
@LucDanton Are you doing the friend variant?
 
Yes.
 
btw for lovely ComSci ppl here
shouldnt complexity be nlogn
 
Xeo
Then you could add another overload with (...), guess?
Although I remember bad interaction of ... with UDTs.
 
Operators have fixed parameter lists. I don't think I can do that.
 
Xeo
any, then.
 
1:12 AM
@Borgleader Yes. It was proposed in 1997, but rejected because it showed almost no use in actual communication (most users of the language used the latin script for it). Apparently the situation has changed since then and the real use criteria may be met now.
 
@Xeo Wait what?
 
@R.MartinhoFernandes ah 1997 when 2 ST shows were on the air...
 
Xeo
@LucDanton struct any{ template<class... Ts> any(Ts&&...){} };
I hope that doesn't conflict with any conversions, though.
 
I do need the parameters to accept things.
 
Xeo
operator@(any, any)?
 
1:14 AM
Yeah I need those. For actual values. To compute with.
 
regarding my is_permutation question... sorry i was wrong, since it cant modify the arguments it cant be fast
 
Xeo
@LucDanton I don't follow.
 
I've slept like 5 hours and I feel better than yesterday morning :/
 
Ell
Ahh my battery is dying
 
Inna is really a slut
 
1:16 AM
Who's Inna
 
A slut
 
@Xeo I'm doing external operators. Like how random-access iterators are addable to size_type. In the case that a type only ever provide Inner @= Outer then I assume operator@ is meant to be commutative, and thus Outer @ Inner is implemented in terms of Inner @ Outer. Otherwise, delegate to Outer @= Inner. Those two overloads have to live together, hijinks ensue.
 
Hm.
@CatPlusPlus ISN'T IT WONDERFUL?!
All Work No Sleep Makes Jack a ZzZzZzzZzzzz~
 
1:19 AM
Hi @Cicada
 
@CatPlusPlus I know that feel.
 
I might junk ShaderParameterProxy and just have a std::vector<ShaderParameter*> inside ShaderParameter to allow for endless nesting of values.
 
Why do you need to nest values
 
@CatPlusPlus Hi there!
@CatPlusPlus Because spring is here!
 
Xeo
1:21 AM
@LucDanton Oh, I see.
 
@CatPlusPlus A Shader can host multiple ShaderPasses, right?
 
Birds nesting stuff.
 
@Cicada In the shade.
 
BTW @ThePhD did you write all those Event0, 1, 2 manually
 
@CatPlusPlus Fuck no, man.
Copy pasta regular expression the shit out of everything.
 
1:22 AM
Heh
Boost.PP or external codegen would be better
You know cog?
 
I still don't have great mastery of Boost.PP, even though sehe's tried to show me once or twice. ;~;
What's cog ?
 
!!!!
YOU HAD THAT IN SPRINGBOK
I was wondering what that was
Holy shit, that's titties useful for things like Callback, Event, and CallbackEvent
I have no idea how to work it though and I've never written a lick of Python in my life.
 
Springbok is a mix of mint & baileys
It tastes awesome
 
Callback sounds like std::function/std::bind TBH
 
Xeo
1:25 AM
0
A: constexpr, arrays and initialization

XeoIndices trick, yay~ template < typename T , size_t Size > struct array { T buf[Size]; // non-static data members can't be constexpr constexpr size_t size() const { return Size; } }; namespace detail{ template< typename T, size_t N, size_t... Is> constexpr array<...

 
> that's titties useful
meh
 
Xeo
Indices trick, yay~
 
@CatPlusPlus It is, but unlike std::function it's uniquely comparable to another Callback generated from either a function pointer or a function member pointer.
 
ServiceProvider status: still scary
Right, those tokenless connections of yours
I still say just use tokens (or better, existing signal/slot implementation :v:)
 
1:26 AM
It's basically for when you know you don't need lambdas, and so can save space / speed by using the Function Signature as the token.
 
Tokens are better...
 
@R.MartinhoFernandes They are, which is why the regular Event class uses Tokens.
 
Integer tokens are free
 
Xeo
@ThePhD Erm. You know there are multiple functions with the same signature?
 
Wait what.
 
user142019
1:27 AM
#define CLAW_GEN_CLONE(T) virtual T* clone() const { return new T(*this); } I'm so evil.
 
@Xeo This searches for answers by user who clicks the link you badlet
 
Roflmao
 
Xeo
@CatPlusPlus lawl
 
@Xeo I meant to say it searches by the function's UNique Pointer.
 
1:28 AM
lol
 
@Xeo BOOST_PP_SEQUENCE ftw
 
Xeo
fixed
 
I've tested it over and over again; functions with the same signature do not overlap.
 
Xeo
@StackedCrooked No idea how that works.
Always used BOOST_PP_ENUM(_PARMS).
 
9
A: Representing big numbers in source code for readability?

Cat Plus PlusWith Boost.PP: #define NUM(...) \ NUM_SEQ(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__)) #define NUM_SEQ(seq) \ BOOST_PP_SEQ_FOLD_LEFT(NUM_FOLD, BOOST_PP_SEQ_HEAD(seq), BOOST_PP_SEQ_TAIL(seq)) #define NUM_FOLD(_, acc, x) \ BOOST_PP_CAT(acc, x) Usage: NUM(123, 456, 789) // Expands to 123...

Trivial example of Boost.PP
 
1:29 AM
Sequence allows passing a variable number of arguments using (A)(B)(C) syntax.
 
I had entire blinged out enum library, but it sucks
 
I remember that.
 
@StackedCrooked New PP has utilities for variadic macros
 
@R.MartinhoFernandes btw since you are Haskell expert here... how is code organized in Haskell, since you dont have OO afaik.
 
IN either case, there's a reason why Callback and CallbackEvent are separate from just Event. Event uses std::function like a good boy and std::list, with std::list::iterator as the tokens.
 
1:30 AM
I, too, need OO to organise my code
(We have modules)
 
Damn loud mouth in the street, thought the so was having some sort of bad dream
 
Event was named Event because usually you'd type Event as the default and not CallbackEvent, the very verbosity of CallbackEvent suggests that its a special use-case dealio.
 
SO is a bad dream
 
@thecoshman Ira?
 
Full of bad questions
 
1:31 AM
In either case @CatPlusPlus How do I go about integrating Cog into stuff?
 
> I try to run a Procedural Planet generation but the PixelShader doesnt work he should.
 
Just write cog blocks and run it on the sources
It doesn't even have to be integrated in the build, you only rerun when the block changes
 
I just got a sad life badge : Visited the site each day for 30 consecutive days.
 
Ah, okay.
 
real name is more tehnical term
 
1:33 AM
Gonna get me some cog~
 
@NoSenseEtAl Nothing sad about that.
 
@FredOverflow Interesting.
 
user142019
new B I'm such a newbie.
 
I was gonna make Cog a pre-build event but eh, you're right. No need to run it except in special cases.
 
1:33 AM
@StackedCrooked Im neglecting my Starcraft time to chat with C++ ppl about not C++ :P
 
@Cicada youtube.com/watch?v=yrcEUO7TC28 Here's one that works.
 
Furrovine repo takes forever to clone because of those silly binary things in history
:argh:
 
Xeo
Drop the history :)
 
1:34 AM
I thought I removed all the binary dependencies.
In fact I nuked half the repo. ._.
 
Xeo
@ThePhD > in history
 
@Borgleader what is this
 
@FredOverflow TIL about Turrican
 
Art repo is 100MB lighter than code repo
 
@StackedCrooked Awesome game series.
 
1:35 AM
lolol
 
;~; I cleaaned iiit
Only pull the heeaddd.
 
It's 2:35. I shouldn't be laughing out loud.
 
It's ok.
 
I'll tell you how much stripping garbage from history saves in a sec
 
@Cicada AFAIK procedural planet generation. infinity-universe.com/Infinity/…
 
1:36 AM
When it finally clones~
 
;~;
 
That "game" has been in development forever.
 
Xeo
@FredOverflow Was it that vertical scrolling shooter with the spaceship?
 
@Xeo Turrican scrolls freely in all directions. But there were a couple of levels in Turrican 2 with a spaceship.
 
Xeo
Oh, then maybe I'm confusing it with something else.
 
1:37 AM
@MooingDuck It's the combining character class. It has no meaning whatsoever. It is only used to establish a canonical order for combining marks for normalization.
 
Btw how do you 'strip' garbage from the history?
 
@Xeo Raptor?
 
Xeo
@FredOverflow Yep, definitly confused it with something else.
 
¬_¬ can't people just shut the hell up gone midnight
 
@Borgleader is that company french by any chance
 
1:38 AM
It's Sunday
Midnight is around 16
 
@CatPlusPlus not out side my house it isn't
 
Yell at them to get off your lawn
 
@Xeo I stalked your SO profile ( just to make circada jealous ofc) and I wanted to ask you if it is public knowledge on which games do you work on. Never cared about graphics, but other parts of game dev I think are cool
 
Xeo
@FredOverflow That style, but still another game.
 
1:39 AM
I think I can apply for their jobs offer!
Strong C++ background NO
Excellent math/physics skills ABSOLUTELY NO
Ability to work within a large, pre-existing codebase CAN DO
Low level optimization skills for both the CPU and GPU I'LL ASK MYSTICIAL
Can work independently without supervision as a part of a team GUESS YES
Experience writing shaders in glsl/hlsl SORT OF
Excellent written and oral communication skills CHECK
 
@Xeo Sure. I'm digging for the origins of ogonek.
 
@Cicada No idea.
 
Can anyone advise me on a design problem? It is C, not C++ but the C room seems... void...
 
@CatPlusPlus the hobbled along the streets rambling all the way
 
@Cicada I think you could pretty well fake the C++.
 
1:40 AM
C++ design is almost, but not quite, entirely unlike C design.
 
Xeo
@R.MartinhoFernandes Ooh, that rings some bells.
 
@d0rmLife sure! ask me ask me ask me
 
@Cicada Ability to work within a large, pre-existing codebase CAN DO ... please apply tom my company so I can quit
 
Nobody is able to work within a large, pre-existing codebase
Some are just good at pretending
 
@d0rmLife That's what C gets for returning void* with malloc: segfaults and the whole room dies.
 
1:41 AM
But seriously taking a maintenance job
Still cloning :v:
 
._.
 
Xeo
@CatPlusPlus lol
How big is that thing?
 
Teach me how to clean the repo properly.
 
Should I provide left_dividable<Inner, Outer> like Boost.Operators does? An alternative is that the user could use dividable<Inner, Outer> and declare some_tag_type operator/=(Inner, Outer); and that would make Inner / Outer ill-formed.
 
@Cicada I need to create a LONG singly linked list. However, all the resources I have read about linked lists use explicit declarations. It is absurd to consider hard-coding ~1000 declarations, so I need an alternative approach to making a linked list of this length. I am not sure how to do it that doesn't simply dress a multidimensional array in linked list clothing...
 
1:42 AM
102.9MB
Working dir is probably 5
 
(explicit declarations for each node)
 
Xeo
@CatPlusPlus :O
 
@d0rmLife explicit declaration of the value of each node?
 
@d0rmLife What
 
Templates?
 
1:43 AM
What what
 
Xeo
@LucDanton void operator/=(Inner, Outer) = delete;?
 
@Cicada no, the actual node/memory allocation.
 
First of all you don't implement linked lists
 
@d0rmLife Make it a template
 
1:43 AM
@d0rmLife easy as pie then
 
TITS
 
hint: for loop
 
And what
 
Xeo
That should activate SFINAE on your operator/.
 
std::vector requires a default constructor. ;~;
 
1:44 AM
AKA struct node* node = NULL / node = malloc(sizeof(struct node)) / node->next = NULL / etc
 
also i have no idea what everyone is talking about
 
Xeo
@ThePhD You're just doing it wrong.
 
@d0rmLife std::list
 
@d0rmLife lol'd
 
:c But I'm not
 
1:44 AM
Yes, I get the need for looping, but how to name each node...?
 
@d0rmLife make a function that takes a node and allocates the chained node
 
user142019
> Oops! master is already up-to-date with master. Try a different branch?
 
@Xeo I'm not sure if it's intended but right now that triggers the has_symmetric_operator trait to report 'nope'. From that on it is assumed that Outer / Inner should have the semantics of Inner / Outer.
 
user142019
No shit Sherlock.
 
It's erroring on this line, which is a declaration in a class definition:
 
user142019
1:44 AM
Thank you for being so helpful, GitHub.
 
Don't. Implement. Linked. Lists.
 
std::vector<ShaderParameterProxy> proxies;
 
(The part that I'm not sure is intended or not is SFINAE on a deleted function. Those trigger hard-errors sometimes IME.)
 
@ThePhD Initialize it with something else, then.
 
@CatPlusPlus it is an assignment...
 
1:45 AM
Ever heard of initializer lists?
 
Xeo
@LucDanton Oh.
 
@CatPlusPlus I have a guy in my company that is reimplementing STL... I have urges to kill him and his manager
 
@EtiennedeMartel Why are they playing christmas music in a game about killing werewolves? It's anti-climactic
 
The new skype looks terrible
 
user142019
7 hours ago, by Cat Plus Plus
All shitty "I can't use X because homework or voices in my head forbid me" questions are by definition too localised
 
1:45 AM
@d0rmLife Do what I said
 
@Zoidberg Ah I was looking for that
 
@Borgleader Winter and shit.
 
user142019
Also, we cannot downvote it in chat so please try Stack Overflow instead.
 
Jun 23 '12 at 1:14, by In silico
I think there's a typo in the Unicode standard
haha, this was awesome.
 
@Cicada so basically the classic Push(struct blah** headRef) function... hmm alright I will give it a try.
 
1:46 AM
@d0rmLife This isn't a C++ course right?
 
user142019
Eww double star.
 
@d0rmLife yup. once you get a function that allocates the chained node of a node itll be easy
 
@Borgleader Also, co-written by Bryan Perro. You know, the guy who wrote Amos Daragon (yeah, it appears he's still alive).
 
user142019
Fuck that.
 
1:47 AM
He said it was C
 
@Zoidberg that is why I am asking in chat...?
 
user142019
Fuck **.
 
@Cicada Ah I figured.
 
@Rapptz no, I have already said the C room is ....void...
 
@EtiennedeMartel o.O Oh damn...
 
user142019
1:47 AM
Wait.
 
@ThePhD MSVC is bad
It works fine
 
user142019
May 2 '12 at 18:35, by FredOverflow
@MooingDuck How would I know? This is Lounge<C++>, not LOUNGE_C.
 
@Zoidberg I don't fuck a give
 
user142019
I don't take a fuck, so that's good.
 
@zoidberg clearly I am interrupting much C++ :P
 
1:48 AM
Oh wait, what's ShaderParameterProxy?
 
Goddamnit MSVC. >_<
@CatPlusPlus It's a class that doens't have a default constructor.
 
The only reason it would error out was if ShaderParameterProxy was incomplete type
 
user142019
@CatPlusPlus an object that proxies a shader parameter.
 
@d0rmLife yes and ppl here hate ppl who mix c and c++ :P
 
ShaderParameterProxy? what is it you guis are making
 
1:48 AM
@Cicada thanks for advice, thought using the same name over and over would be a problem.
 
(Or MSVC is bad)
 
It's not incomplete. The whole thing is defined.
 
Then MSVC is bad
 
This begs the question: should I get another beer?
 
user142019
s/Or //
 
1:48 AM
@d0rmLife I don't understand?
 
Still cloning~
 
~
 
@CatPlusPlus FFS, really? x_X
 
@Cicada the push function will allocate under the same name each time
 
Xeo
#include <vector>

int main(){
  struct X{ X(int){} };
  std::vector<X> v;
}
@ThePhD ^ builds in VS2012.
 
1:49 AM
@d0rmLife Please make a simple program that allocates a node dynamically and we'll see :)
 
I must be doing something wrong then.
 
@CatPlusPlus cant you specify diff revision as base, to ease the cloning process
 
*NoSenseEtAl Sorry. Not trying to mix them.
 
Xeo
@ThePhD Also using VS2012?
 
@NoSenseEtAl * sorry not trying to mix them.
 
1:49 AM
@Xeo Yeah
November CTP if that changes much
 
Xeo
Then you're definitly failing.
 
@Cicada Roger that. Thanks... will report back :P
 
@Xeo Too old to be relevant imo.
 
@d0rmLife just joking, relax...
 
@NoSenseEtAl I CANT RELAX I HAVE ASSIGNMENTS
 
1:50 AM
A=2
 
Xeo
@ThePhD Nope, still builds.
@d0rmLife Oh noes~
 
@d0rmLife relax... you are to young to be so stressed...
 
tough life.
 
@NoSenseEtAl he was joking fyi
 
@Cicada ding ding
 
1:51 AM
you people suck at joke detection
 
Xeo
@LucDanton I'd have to recheck, but I think it's still the same, that they should cause SFINAE, since the expression inside decltype becomes ill-formed.
 
xmemory0(601): error C2512: 'Furrovine::Graphics::Shading::ShaderParameterProxy' : no appropriate default constructor available
 
why would anyone star that
 
q_q I hate you xmemory0
 
xmemory0 hates you back
 
1:52 AM
@Cicada to detect something as a joke by definition it should be funny.
 
Xeo
@ThePhD Show all the code where you're using the vector.
 
@NoSenseEtAl well idk i'm just used to sarcasm / irony and his joke seems obvious to me
 
@Xeo Anyway that hardly matters?
 
MS Visual Bugs
 
maybe i'm just ultra good
that's probably the reason
 
Xeo
1:52 AM
@LucDanton ?
 
user142019
Will #pragma once be standard in C++Next?
 
@Cicada Im the part of the Axis of Sarcasm in my company, so please dont offend me
 
no
 
Xeo
No
 
1:53 AM
@Zoidberg Modules.
 
#pragma by definition is not standard
 
user142019
:<
 
@NoSenseEtAl i hope you're offended
 
Xeo
#pragma is inherently implementation defined.
 
user142019
#once :P
 
1:53 AM
If it's a hard-error, I can't detect that. If it's a soft-error, it's as good as detecting 'no overload found, go ahead and assume a commutative operation'.
 
I'm faster
 
lol
soft-error~~
 
Cloned!
 
user142019
@R.MartinhoFernandes Oh right.
 
Xeo
@LucDanton Oh, true.
 
1:54 AM
@CatPlusPlus What? You mean there's two of you now?
 
@Cicada nah, for that I should care
 
This is bad. Real bad.
 
@EtiennedeMartel Yes, tremble
 
OOOH
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK
 
@ThePhD Ugh those deps you left in are still too big
 
1:54 AM
it was my bad sorry guys I'm terrible kill me ;~;
 
@ThePhD How old are you, 14?
 
It'd be better to move them to separate repo
 
@ThePhD tell us why and well consider it
 
Damn, you love drama more than a shounen protagonist.
 
@CatPlusPlus ... They are? The leftover deps shouldn't be bigger than like.. ... 20 MB, I don't think
 
1:55 AM
This chat system is horrible btw
 
@EtiennedeMartel Make that three
 
+ whatever is in history
It grows~
 
I think I'm going to go ahead and add a policy parameter actually.
 
@Mike It's not too bad. Also, who are you?
 
1:56 AM
The rest is whooping 3MB
 
Xeo
lol, my repos are under <1MB currently.
 
It's proportional
 
And you don't change dependencies so there's no reason to version them alongside code
 
i think if too tired to insult :P you all nice ppl, so Ill just leave and tell you that on coursera you have course by the author of ACE library... nice course starting now... hope to "see" you there
 
Xeo
In fact... 151KB
For my game.
 
1:56 AM
Well, um. Okay. I thought that commiting to the head with removed files would remove the old deps. Sorry about that. I even removed zlibstatic, though it does get tedious have .lib and .dll dependencies for Win/x86 and Win/x64
 
@Xeo Oh, so no assets?
 
@Xeo what is your game
 
Your game must look like ass.
 
Xeo
@EtiennedeMartel Console~
 
@NoSenseEtAl see? win
 
1:57 AM
@Cicada what ?
 
18 secs ago, by Etienne de Martel
Your game must look like ass.
 
@NoSenseEtAl nevermind
 
Xeo
@EtiennedeMartel It's all dots and letters, I think it's pretty!
 
I want to see someone making an ASCII renderer that looks really nice. x3
Text & Tiles can be pretty!
 
Xeo
@ThePhD ncurses.
 
1:58 AM
@Xeo Ooh yeah, I forgot about that...
 
Xeo
Which I think I'm gonna actually use for my console UI.
Since it's a fucking hassle to implement properly.
 
@EtiennedeMartel Sorry about yelling allcaps by the way. :c
 
@ThePhD Meh, ASCII.
 
user142019
What kind of game?
 
@ThePhD The yelling isn't problem. Taking shit too seriously is.
 
1:58 AM
@Cicada ah you think your evil insults got me running offline in tears... FYI I cry all the time, world doesnt spin around you
 
@R.MartinhoFernandes Lol, sorry. ~Unicode~ Rendering.
 
(And yes, the irony of my previous statement is not lost on me)
 
Oh man I said exterior all this time but I should have said external. And I did check, too.
 
@NoSenseEtAl how can you be sure
 
e:\code\ploughland>du furrovine
Total size of 2834 files in furrovine: 183.71 MB
e:\code\ploughland>du furrovine-cv
Total size of 1645 files in furrovine-cv: 2.54 MB
 
1:59 AM
Ok, I now have 50 tabs open.
@CatPlusPlus What's cv?
 
By stripping bin and lib from history altogether
Converted
 
@Cicada I cant, it is just Russels teapot kind of thing :P also you arent Jon Skeet
 
it feels weird to see du on a windows cmd
 
It's my own du
 

« first day (862 days earlier)      last day (4085 days later) »