« first day (1017 days earlier)      last day (3923 days later) » 

cpx
12:00 AM
@DeadMG: What did you said earlier that like "I'm teh random interwebs user named cpx". I want to add that in my 'about' section in chat.
 
Intouchable. If you don't discuss specifics, no-one will ever be able to say you're wrong.
 
@DeadMG well so how do you want to replace "for-each-light" then?
 
@BartekBanachewicz You can't replace that. I was more going to cut out all the intermediate textures, and the reading and writing thereof, and hoist more useful stuff out the loop (by running the loop on the GPU).
 
@cpx Pretty sure he plonked you by now. Anyways, chat has a nifty search button. Entering cpx there gave me a nice first hit:
9 hours ago, by DeadMG
I'm going with "That random dude on the Interwebs named "cpx""
 
cpx
Ah, yes.
 
12:05 AM
@DeadMG well, you can specify each light as a compute invocation, but you still need precomputed albedo/normal/(depth|position)/etc textures to calculate
 
"yes"
How appropriate. See you next time on the muppet show.
I'm off to bed, night all
 
cpx
So I added "I'm that random dude on the Interwebs."
 
hmmm
can you actually compose compute shaders?
 
There's only one layer of intermediate textures really. The output then goes to regular framebuffer
@DeadMG compose?
 
hmm
 
cpx
12:06 AM
@sehe night!
 
well, it occurred to me that if you were to actually attempt this, it would involve replacing quite a large amount of the pipeline with compute shaders.
 
Geh heim, Agent! #nsa
^ dat pun
 
more than you would really want to.
 
@DeadMG the only practical difference between compute shaders and fragment shaders is that compute shaders can be executed in a batch as an efficient operation for one fragment, and then their results composed into one.
 
stuff like vertex data interpolation, clipping, etc.
 
12:08 AM
if you are to implement clipping yourself you're already fucked
 
yeah, I expect that's probably done in hardware
 
correct.
 
cpx
@sehe: Can I just say "that random dude on the Interwebs." without the "I'm"?
 
plus, the guys at nVidia and ATi probably know more efficient algorithms for it than I do anyway
 
@DeadMG seriously, if you want to improve on that, voxel-based rendering is the thing.
@DeadMG yeah, and it's NVidia who came up with SVO idea and Epic which used it in practice
 
12:10 AM
I love that feeling when you make a new password and actually remember it.
 
cpx
I think I'll like "Just a random dude on the Interwebs.".
 
that's not really "faster" than what we've talked about, but the results are by far superior
and perhaps if SVOs get some more love and HW support we can stop thinking in triangles at all
 
SVO?
 
Sparse Voxel Octree
 
ah, man
 
12:12 AM
wha?
 
I've heard so much about voxels being bandied about
but TBH, I've also heard that animating them is a complete bitch compared to polygons.
 
@DeadMG "bandied"?
@DeadMG and Epic made it fucking work, though they still say "it's optimized for few dynamic objects currently"
anyway my SVO works kinda fast already purely on CPU :v
 
I'll believe that it works when I run the game on my computer
and not before
hm guys
 
that's not a programming question so why were my messages removed?
 
12:14 AM
@Gizmo Why do I give a flying shit if it's a programming question?
 
@BartekBanachewicz well, they removed the voxel cone tracing, are you sure they kept thew SVO?
 
@BartekBanachewicz That doesn't mean shit to me if that GPU was an experimental GPU from nVidia that's double the speed of Titan.
 
@melak47 when they removed it?
 
@BartekBanachewicz idk, but last I heard it was back to procomputed crap
 
@melak47 when. where.
 
12:15 AM
I was pretty disappointed.
 
Ell
Hi puppy
 
hey Ell
 
@DeadMG single GTX 680
 
Ell
I can't compile wide because I'm a fucktard. For some reason can't vet g++ to go into c++11 mode proper
I've added build-options "std=c++11" or something to the premake.lua
But it complains that ,move isn't a member of std
 
@BartekBanachewicz And also, I watched the video, and it certainly does not reduce my concerns about the staticness of the scene.
 
12:18 AM
@BartekBanachewicz ATM I can only find this comment... xtremesystems.org/forums/…
 
@Ell Should be buildoptions {"std=c++11"}.
 
@DeadMG it's not like I am not concerned with it at all. It's a bitch, I agree. That's why I mentioned possible HW support to ease that
 
Xeo
Meh. I'm one of those people that doesn't care at all about graphics.
So I'm kinda sad to see all effort being directed at that.
 
> [SVOGI] was our prototype GI system that we used for Elemental last year. And our targets, given that we've had announced hardware from Sony, that's where we're going to be using Lightmass as our global illumination solution instead of SVOGI,
 
Ell
Kk I'll try thst
 
12:20 AM
@BartekBanachewicz Right, but all I'm saying is that voxels and raycasting and such have been the future for the last quintillion years, and I'm not going to believe that the problems have actually been solved until I see competitive graphics (actual competitive graphics, not just virtually entirely static scenes) rendered on my machine. A GTX 680 isn't really that far ahead of what I have and it's not unreasonable if you are going to be targetting a few years from now, though
 
@Xeo pff, they are what drives this shit forward, and arguably the most skillful part of game programming
 
Xeo
And I find that sad. Games should not be about graphics, but gameplay.
 
@Xeo that's really an overused phrase
 
Xeo
It's what I think, so eh vOv
 
#gamesweresomuchbetterwhenwehadonlyps1
 
12:21 AM
@Xeo I agree. More to the point, you can render the sweetest graphics in the world, but how much is it gonna cost you to model an unlimited detail character?
 
@Xeo well, lots of games have shitty gameplay, so let us at least enjoy the visuals :p
 
Xeo
@BartekBanachewicz Did I say that? No.
 
higher development costs is already a serious issue for cutting-edge graphics games, let alone future graphics
 
Xeo
@melak47 Why should I enjoy it? Fuck meager gameplay.
 
@Xeo not you specifically, I am just fed up with all that people bragging about "gameplay > graphics"
 
12:22 AM
@BartekBanachewicz Well.... by and large, they were (although I might say that PS2 era was OK also, especially at the start)
 
Xeo
I want to enjoy the game through, well, playing and not watching some kind of interactive movie.
 
@Xeo you don't have to. but if both the graphics and the gameplay suck, I won't enjoy it either. And that's what I care about :p
@BartekBanachewicz :(
 
@DeadMG "your machine" is really a bad benchmark target. :P
@DeadMG there was like 100x less games made in that era
 
@BartekBanachewicz Yeah, I know. It's more of a general sentiment, like, "In the hands of real users"
 
so yeah, by sheer quantity, there's more sucky games nowadays.
 
12:23 AM
@BartekBanachewicz Which is why it's amazing that so many more games made in that era were actually worth playing.
 
Ell
Still complaining about move not being a member of std
 
@BartekBanachewicz I don't rate gaming years by how much shit there is, but how much stuff there is that isn't.
 
Ell
My setup is probably fucked
 
@DeadMG no, it's not amazing at all. Simply more people started to want games. And because most of the people is retarded, games got retarded too
 
Anyone know how to use a DCDC converter to minimize power consumption?
 
12:24 AM
@DeadMG I think that a number of really good games isn't any lower than it was before
 
@Ell Which file? It could just be that on VS, move is declared in some other Standard header, and on your system, it isn't and you'd have to #include <utility>
 
@melak47 fuck it, I'll make SVOs a thing for 2d then :>
 
Xeo
@DeadMG ... you're using std::move without bothering to explicitly include <utility>?
 
@BartekBanachewicz Dude, even Blizzard and Valve stopped putting out decent games.
@Xeo I actually found quite a few places where I had used stuff like std::vector and std::string without including the header. I thought I had them all, though.
 
@BartekBanachewicz hold on there, after thinking about it some more...does it even make sense in 2D? I mean..how do you represent both walls and floor in 2D, and have light bounce between them? don't you at least need some...2.5D deal? :S
 
Xeo
12:25 AM
@DeadMG Modules would really be something, eh? :P
 
lol
 
@melak47 that's my special secret stuff
 
haha! I have acquired meta-info about your secret sauce stuff!
 
Xeo
Crap, already 2:30 am
 
@DeadMG I never really enjoyed Valve games, but I agree that HotS was fucking terrrible
 
Ell
12:27 AM
Optional.h in range utility
 
@Xeo Middle of the day.
 
Xeo
Not if you plan to get up at 8am
 
I've been up for 8 hours.
 
Ell
HotS was blizzard?
 
of course
 
12:28 AM
@BartekBanachewicz I was also really thinking about D3.
 
Xeo
@Ell ... StarCraft?
 
it's the expansion for starcraft
 
Xeo
@DeadMG D3 was kinda fun, for some playthroughs atleast.
Anyways, having assessed the time, I'm off to bed. G'night.
 
Ell
@xeo yah, I didn't know who made StarCraft
 
and Valve
 
Ell
12:29 AM
Night @xeo :)
 
not only did they utterly fuck up Left 4 Dead by selling us an expansion pack as a sequel
 
@Ell ...
 
@DeadMG yeah, that was fucking terrible
 
but they haven't shipped a really new game for years
no new Half-Life
 
12:29 AM
@DeadMG I've never really liked Valve games
 
and frankly, Portal 2 was fun but I didn't think it qualified as a full game in it's own right.
 
@DeadMG but maybe half life 3 is coming for reals, this time, some time?
 
but L4D was good.
@DeadMG it did, it was not P1 after all
anyway if Epic is stopping SVO progress just because of PS4 suckage, that's... suckage.
6 mins ago, by Bartek Banachewicz
@melak47 fuck it, I'll make SVOs a thing for 2d then :>
and now time to sleep
goodnight folks
 
night
 
@BartekBanachewicz night
 
Ell
12:34 AM
I'm sleepy too. I wonder why I can't compile wide. I'll try tomorrow
Night all
 
night
everyone is leaving ;_;
 
cpx
After I just finished Half Life 2 last week.. I found out there are 3 more episodes to play. I just thought it was over.
 
I just found not one but two grasshoppers in my room
The fuck do those things come from
 
cpx
It was fun but I felt kind of bored because you had to kill all those same type of soldiers to the end.
 
I'm under attack from fucking bugs
 
cpx
12:39 AM
And those soldiers are there in Half Life 2 Episode 1 as well so I don't feel like I want to really play.
 
Evening.
 
cpx
@CatPlusPlus Try bugbait.
 
@CatPlusPlus Punch them IN THE FACE
 
@CatPlusPlus They're your reminder of the evils of vegetarianism.
Oh, and hi everybody!
 
cpx
Squeeze the bugbait and throw it to attract the bugs! The more you squueze the better.
 
Anybody have an opinion on the Intel Phi vs high end GPUs?
 
1:16 AM
Hooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooome
 
that's quick
 
The UK was really fun. :D
I wish @LightnessRacesinOrbit and @MartinJames and @Ell all came along too.
We could've had 6 loungers all in the same place, and beat out the Germans/Berliners
 
it was nice seeing you too
even if you are spectacularly ugly
and take so long to take a shit, we went looking for you twice.
 
I had to make The Nest, and the toilet wouldn't flush properly. D:
 
ITT @ThePhD's Adventures With Poop
 
1:32 AM
D:
It wasn't an adventure!
 
yeah, it took so long, I've had more than one adventure in that time
plus, a lot of the stuff he says is way more distubring if you imagine it in his actual voice
 
=[
WHAT?
Oh come on, that's not even fair. ;~;
 
His voice is fine, I don't know what you're talking about.
 
Puppy's just trying to make fun of me. ;~;
Ahh, but Tony~
Tony is so much nicer.
 
Tony is a surprisingly nice guy, really
frankly, I don't know why it's surprisingly nice, since he seems like a pretty nice guy on here too
 
1:41 AM
Indeed.
Since he's not here, I can totally say:
 
Tony joked that he wasn't quite the Lion in reality as his persona on the Lounge. Strangely enough, however, I find him to be more of a Lion after having met him than before; he has a gentle, but powerful strength of will that belies his frame and rather charming face and smile. Truly, he is quite the King. Or the Prince (of Porn :P).
18
WHAT THE HELL
You can't just PIN THAT SHIT
9
 
OMG now we totally need to legalize gay marriage with ThePhD totally fall for tony :x
 
We can also bookmark it.
 
@ThePhD Not only did I pin that shit, but I also found it hilarious, and I can only imagine what possessed you to make it quite so tempting
 
1:46 AM
You're all horrible people.
That was meant to be like, an honest sidecomment.
That got lost in the archives of the chat.
 
@ThePhD Actually we can.
:)
 
=[
 
it's still an honest sidecomment
it's just now pinned for everyone to see
and you know
Tony isn't the kind of guy where you have to compliment him in private
not like, probably, myself
 
what's a good monitor arm?
 
@Telkitty猫咪咪 its already legal, depending on where you live
 
1:50 AM
@Telkitty猫咪咪 We already entered a (non-standard) (civil) union
@DeadMG But it's embarasssiiiing. ;~;
 
the fact that you made it so apparent that you would be embarrassed is why I did it :P
 
q_q you're a horrible person
... But I still wanna snuggle you. :c
Quit being such a lovable, snugglable asshole. D:
4
 
Heh someone bookmarked this crap.
 
lol
what is it with you and snuggling me?
 
Apparently you're very snugglable.
room topic changed to Lounge<C++>: The worst social network ever. [c++] [c++11] [c++-faq] [no-helpdesk]
 
1:55 AM
@Bartek That's actually kind've what I'm trying to work on. The reflector will use an obnoxious comment-based GUID and generate properties at the very bottom of the class declaration.
 
I afford being snuggled?
 
@CatPlusPlus This was when @NolwennLeGuen was still around. Or is her name still @Rakkun ? @Cicada? I dunno. :D
I miss Rakkun. Avatar made me lulz.
 
@CatPlusPlus and you're a variable
 
So
 
1:58 AM
yesterday, by Amber Roxanna
@CatPlusPlus I used you as a variable in my program and incremented you inside a loop (Cat++). It works now.
 
I broke my phone's sim card slot
so now I can only use my UK card SIM card in my android phone.
.______. Wat do?
 
:golfclap:
 
holy fail.
 
Warranty.
 
:facepalm:
 
1:59 AM
fail
 
I'll have to send it back, I guess
 
How do you break a SIM slot, anyway?
 
I... I don't know.
The click-in mechanism isn't working, so the sim card just keeps getting pushed out once I push it all the way in.
I guess the spring is eternally broken. D:
 
Should be covered by warranty.
 
@ThePhD If it has some sort of a cover, you could use some paper to lock it in place.
 
2:04 AM
I dunno...
I can't get it to behave, even when I hold the thing in place.
 
I should receive my new tent these a few days, my solar charger next week. Going camping in slighly more than 2 weeks time again <3
 
people who use sublime text, how can I execute a shortcut command for all files in my project?
 
:3c
Welcome to a world of pain and suffering.
 
Thanks. That cleared my doubts.
 
myq{Compare1())}; one paren too much.
 
Oh.
OK. Fixed.
 
See here. Though it might be a little beyond the scope of the question. But the point is that you can provide an overload that will allow a movable object to be moved all the way into m_property without any copies. — Mysticial 4 secs ago
^^ Anyone want to cross-check my comment?
 
2:31 AM
You could specifically suggest to overload setters with both const T& and T&&, just like those in the standard containers.
 
Or to not make dumb setters at all.
 
If I know the object is movable, then I'd just go pass-by-value and move it into the destination. (as suggested by @Luc's post) But I dunno about the case where you don't know if the object is movable and you want the optimal behavior for all cases.
 
Now I'm beginning to think you could do just one forwarding function for setters. That should have const T& and T&& overloads in one function.
 
@Mysticial Just take by value.
Express intent with signatures, not silly optimisations.
 
@CatPlusPlus Even for the generic case where I don't know if the object is movable?
 
2:36 AM
@Mysticial The optimal behaviour for all cases is: if you need to store a value, then take by value.
 
This would probably make a copy anyway, so it should take by value.
@Mysticial Unmovable objects are very, very rare.
 
Correct me if I'm wrong: If the object is unmovable, then there will be 2 copies if you take it by value. Once into the setter. And again on the assignment.
 
swap.
 
And if a type is unmoveable, it's probably uncopyable, too.
So the point is moot.
 
^ That.
 
2:38 AM
good point
 
Copyable types are generally a subset of moveable types.
 
Move is generally an optimization of copy.
 
Not really.
It's completely different operation, semantically.
 
> generally
 
What if the object is from C++03 and it doesn't have move operators yet?
Or do we just not care?
That's probably the most realistic case for being copyable but not movable.
Compiling old code with C++11.
 
2:41 AM
The special case where semantics becomes relevant is in move-only types.
 
@Mysticial Implicit move constructor/assignment
 
No. That it enables optimisation in cases with superfluous copies is just a side effect.
 
@Rapptz Move operators are generated even in the presence of explicit copy operators?
 
The thing is, it is your class or function interfaces that should be aware of move semantics.
 
Yeah. If there's a move constructor there's an implicit deletion of copy though.
VS2012 doesn't generate implicit move though.
 
2:43 AM
Copy ellision was a thing in C++03, too.
The case with those dumb setters would probably Just Work (tm).
Man, I should shop around for a savings account.
 
Do you guys recall if it is safe to return a reference to an element inside a std::vector? (if it doesn't change in size)
 
As safe as returning a pointer.
 
@Mikhail yes
 
"You have been a victim of C++'s Most Vexing Parse" - We should lobby SO to start sending out T-shirts with this slogan. — Casey 48 secs ago
lol
 
"You are the victim of C++ parsing fail! What is the Most Vexing Parse? Consider a declaration..."
 
2:50 AM
I think we need shirts that say auto
 
3:34 AM
man
I feel surprisingly sicker tonight than I did last night.
I didn't even eat anything funky :(
 
Ubuntu is ticking me off.
Trying to install it 13.04 and it keeps getting stuck on a black screen with a flashing underscore.
Google is being a loser and not helping me out.
 
those fuckers didn't even hire me
 
3:50 AM
lol
 
are you fired?
 
@TheGuyWhoCouldn'tTalkToTheGirl where's the talk about web apps in here? :P
 
It'll come later, not right now.
Right now, Ubuntu is being annoying.
 
4:18 AM
 
4:40 AM
TIL that OpenGL 4.4's spec was already released. opengl.org
 
 
1 hour later…
6:06 AM
If anyone is out there... Lounge<C++> has become desolate.
 
@MarkGarcia I think it's just early :<
 
@FlorisVelleman Well, right. I'm on the opposite timezone than most of the ones here. And it's Monday.
 
user142019
-1
Q: include json value in objective-c

user2298882when i call REST API i get {"user":{"mail":"supaporn.t@inotechne.com","custom_fields":[{"value":"","name":"Company","id":5},{"value":"","name":"Company website","id":6},{"value":"","name":"Position","id":7},{"value":"","name":"Personal website","id":9},{"value":"","name":"Blog","id":10},...

 
user142019
LOL
 
"Thank you" lol
 
6:18 AM
> "firstname":"Supaporn"
 
user142019
Create a class with Object name users and do this — Backtrack 40 secs ago
 
user142019
WTF
 
user142019
Why can't I downvote comments. This is ridiculous.
 
user142019
> India
 
user142019
6:22 AM
New classes don't even have to be created to do with this. You just need to create an NSArray and an NSDictionary, then use NSJSONSerialization.
 
Not a big fan of ios here, spent half of last weekend trying to upgrade one of my old apps
also the graphics supplied by the designer did not look very good on the app - the old graphics was bad, but now it looks awful
which means they have to be re-worked on
Oo speaking which, received new graphics, lolz
 
6:46 AM
Quick question: What is a 'static const char *tempName = "value";'? People seem to be putting whole strings in place of "value."
 
@ThePhD Well, you didn't invite me...
 
@fat_flying_pigs That sounds like initializing a pointer to const char with a string literal. Not really sure what you're asking -- it's common practice.
 
0
Q: Allocate data at specific address in windows?

GizmoI was browsing around for stuff to do and I got the idea to allocate memory at specific addresses in windows. So I read a few questions here on stackoverflow, but none actually presenting a working example, so I had to come up with my own because I reaaaalywant to try it out: #include <Windows.h>...

> I reaaaalywant to try it out
He's committing suicide.
 
Xeo
::new (my_specific_address) T(); // done
 
@MarkGarcia ...and doing even that poorly.
@Xeo That creates an object at a specified address, but does nothing to allocate memory at that address to hold the object being constructed (not that I think this is really news to you, but...)
 

« first day (1017 days earlier)      last day (3923 days later) »