« first day (854 days earlier)      last day (4077 days later) » 

12:00 AM
@StackedCrooked Just say random crap about attenuation.
 
Let's play: guess the song. Here's hint #1
 
You drunk?
 
No. I'm tired though.
 
"Ruby" is a song by English rock band Kaiser Chiefs and is the lead track on their second album: Yours Truly, Angry Mob. It was released as the lead single from that album in the United Kingdom as a download on February 5, 2007 and as a limited edition 7 in and CD single on February 19 that year. It became the band's first ever #1 single on February 25, 2007, and ended 2007 as the year's 10th biggest-selling single in the UK with total sales of 313,765. A video single of the song was released in the United States at Best Buy stores on March 13, 2007, two weeks before the album was...
 
Ell
Ruby ruby ruby ruby
 
12:02 AM
did they change the way doxygen parses documentation to HTML files?
 
Ell
Ah ah ah ah ah ahhhhhh
 
Too easy?
 
@Rapptz Is "way" the mystery word?
 
@R.MartinhoFernandes yes
 
12:03 AM
@Rapptz Doxygen parses documentation on HTML files?
 
awful sentence sec
I don't remember it looking like that lol
 
@Rapptz It's really header only!
No user code needed.
 
oh fucking fucknuggets.
the Standard defines hash<T*> but not hash<const T*>?
 
I think hash is implementation defined?
 
sure, but an implementation must provide hash<T*>.
 
12:07 AM
Why would it not allow const T*?
 
@StackedCrooked Well, I'm looking at MSVC's source file, and it's a specialization for T*.
and that's only defective if the Standard mandates that const T* is legal.
 
Can constness be captured by the T? E.g. T = const int
 
@DeadMG hash<T*> matches hash<const int*>, silly.
 
@R.MartinhoFernandes Yeah. I actually had to use hash<const T* const> to get a match.
 
Woah.
Sounds like a bug.
 
12:10 AM
GCC doesn't have a problem with this
but I am using the CTP so it might well be a bug
never had a problem with this code previously
 
Has there been a second update in the C++11 bits?
 
nope
they've been taking their sweet time about updating the CTP unfortunately
would still love ogonek for msvc :(
 
Yeah, I'd like that too.
 
@DeadMG CTP?
 
12:16 AM
Hey... I know this is a c++ room, but I've got a java problem
 
@Borgleader Community Technology Preview.
 
Ohhh
 
@Nathvi Then ask on Stack Overflow
 
fuuu
 
12:16 AM
@DeadMG [so]
 
Last update was a bunch of shit about application life cycle I was so bummed
 
I already did
 
Oh you changed it
 
@Rapptz Fixed that before you.
 
Yeah I had to do ugly backlashes
````
 
12:17 AM
@Nathvi Well then, you can go to sleep and enjoy a job well done.
 
lol
 
in Java, 1 hour ago, by Nathvi
if you run and compile this, it works fine, except the last part of the code, where the row is all "-". I'm not sure how to test condition to print - or *
 
also, you only have four questions on SO and they all have been answered.
 
I don't think anyone here likes Java anyway
Also you didn't ask on SO.
 
hmmm
 
12:18 AM
Your newest question has an accepted answer and it's from February 10
 
Busted
 
fucknuggets.
3
 
wut?
 
the maximum size of a SHA-2 polynomial is 2^N in the number of input bits.
 
@DeadMG Sounds tasty. Or maybe I'm just really hungry
 
12:18 AM
:(
 
@Mysticial wut
 
Who's busted?
 
@Mysticial @Nathvi
 
The nuggets.
 
@sbi Why you Obelix then?
 
12:19 AM
@MartinJames He's fat.
 
@CCInc lol
 
He is?
 
I wasn't actually fishing for that, but...
 
Oh.
 
12:20 AM
After compiling as release
and getting rid of glut
 
INTermission.
 
100x100x20 is clogging
mostly OGL
 
so 200k cubes?
 
@BartekBanachewicz you're not using cuda?
 
@doug65536 not yet
 
12:21 AM
@doug65536 No, he's using cubes.
 
@DeadMG actually, less
around 100k
 
Zippety-dooh-dah the minecraft server is having a baaaawl:
2013-02-10 20:40:50 [INFO] [STDOUT] Unloading Player: Ambeco
/list
2013-02-10 22:06:14 [INFO] [Minecraft] There are 0/20 players online:
2013-02-10 22:06:14 [INFO] [Minecraft]
/list
2013-02-16 01:20:49 [INFO] [Minecraft] There are 0/20 players online:
2013-02-16 01:20:50 [INFO] [Minecraft]
 
want the easy debugging and make a c++ reference implementation first?
 
I distribute them randomly
 
Yup. Veeery busy ^
 
12:22 AM
Hey... I know this is a c++ room, but I've got a beer problem
 
@doug65536 i want something that works more or less first
 
@MartinJames You're out of it. OR: 99 bottles of it?
 
I'll be playing game if anyone needs me, which I highly doubt, as none of you all know me as I am just a lurker in this room and don't say much so I doubt any of you really will need me at all.
 
It took you 3 minutes to find a solution, maybe next time you should spend a bit more time in trying to figure something out by yourself instead of asking a question straight away. ;) — Mosquito Feb 10 at 18:41
 
Longest runon sentance ever ^^
 
12:22 AM
lol
 
I'm commiting that and will try to get first optimization
 
@CCInc Does it even make sense?
 
@R.MartinhoFernandes Yes.
 
Yes, it should @R.MartinhoFernandes
 
"I - can - get - no /
Opt'- mi - za - tion"
 
12:24 AM
@sehe roawr.
I CAN HAS OPTIMIZE
 
I'm sleepy, so I'm not reading everything.
 
Great answer
0
A: How do you set, clear and toggle a single bit in C?

vonbrandA comprehensive collection of tricks based on bit twiddling is here

 
I can't sleep
 
@Cicada what's up?
 
Myself obviously
And you all apparently
 
12:25 AM
@LuchianGrigore I should put some of those in my bitops header file.
 
I can't stay awake, but I have to eat something, evne if it does taste like, well, nothing.
 
@Cicada you might be in bed
 
@R.MartinhoFernandes I was being sarcastic. So, wait, you didn't know the bit twiddling hack page?
 
@BartekBanachewicz I am.
 
Me thinks I have to stream all data through streaming FBO
@Cicada so you aren't technically up
 
12:28 AM
@BartekBanachewicz Why would you even do that?
for frame N, if the user did not mutate the environment, the GPU doesn't have to change anything except the camera angle.
you shouldn't be sending any new data to the GPU each frame except the camera angle.
 
How should I send individual cube positions?
 
send them once, at the start of the game.
then send them only when they change. The GPU can keep the data around between frames.
 
But it should be stored as vertices directly?
 
2 hours ago, by DeadMG
@BartekBanachewicz You almost certainly epically failed by re-sending their positions every frame instead of lazy updating them.
 
@BartekBanachewicz what are you doing
 
12:30 AM
@BartekBanachewicz No!
 
@Cicada Epicly failing.
 
@BartekBanachewicz please specify
 
the GPU has hardware instancing.
use it
the vertex data, and the instance data, goes separately.
 
3
Q: Efficient method for rendering cubes with different textures on each side for a Minecraft-like game?

MarkI'm trying to decide what the most efficient way to render a bunch of cubes with different textures in a Minecraft-like game is. I discovered instanced rendering. What I've done is I've created a single "cube model" which stores all the vertices, normals, and texture coordinates for a cube, I cr...

 
then send transform matrices when positions/orientation/??? changes
 
12:31 AM
@Cicada i am making a minecraft clone, it's called minicraft
 
@BartekBanachewicz so...cubes don't really move much at all? :)
 
@Cicada It's goal is to be more efficient.
 
So you were writing raytracing for Minecraft clone
 
@BartekBanachewicz That's setting the bar extremely low
 
@CatPlusPlus yes.
 
12:32 AM
And it's more efficient than Minecraft
 
it was going to
 
With raytracing
 
@Cicada well...
 
Also Minecraft is not inefficient, unless you look at memory requirements I guess
 
@BartekBanachewicz Answer failure.
 
12:33 AM
I'm not sure but I think the raytracing was for the octree, not for rendering...?
 
@CatPlusPlus r u srs
 
@DeadMG On my nVidia 8600M GT I found out, that instancing performs best "in the middle" with moderate vertex and instance counts, but I ended up instancing a couple of vertices thousands of times to eliminate redundant data along with the effort to update it.
 
Yeah I think it was to determine visibility, not rendering
 
After finding that many visitors to our site look for the world's longest run-on sentence we decided to create an entry and our first step in finding the world's longest run-on sentence was to to look up the definition and found that a run-on sentence is a
sentence without a punctuation marks where they should be and as a result combining what should be many sentences into one long one which we found after doing some research can be endless and has no clear cut example that we can officially call the world's longest run-on sentence and thus we do not have an answer but we must add that alth
 
@Cicada yes
 
12:34 AM
@BartekBanachewicz Firstly, try using hardware that's a little more relevant in 2013.
but secondly, he still used instancing, and did not send the position of every cube every frame.
 
I want to kill myself
 
@BartekBanachewicz You don't need raytracing to determine visibility in an octree, though
 
that's like allocating every local variable on the heap.
 
@BartekBanachewicz high five
 
Anyone using Silver Bird for Chrome
 
12:34 AM
and using SSA.
 
I don't know shit about programming and graphics
 
It stopped doing desktop notifications I think
 
I am terrible.
God dammit.
 
@BartekBanachewicz It's pretty simple (in this case).
 
@BartekBanachewicz :D
 
12:35 AM
when you load a buffer in the GPU with the positions of your cubes
then the GPU has a buffer with the positions of all your cubes.
 
magic
 
wow
 
and there's absolutely no need to go and send it another buffer with identical contents the next frame.
 
Impossible
 
@DeadMG Hey! Hell++ does that!
 
12:36 AM
@DeadMG so instancing, you say?
 
@BartekBanachewicz Yes.
 
o-kay.
I'm implementing your optimization with surrounding cubes atm.
I'm curious about it
 
Stack could be heap and you wouldn't even notice
 
You don't have to
 
12:36 AM
You already have an octree
You don't need bounding boxes
 
@Cicada I don't. It's terrible.
 
@CatPlusPlus Except when your program runs like shit, really.
 
They are implicit
 
@Cicada Surrounding cubes != bounding boxes.
 
@DeadMG Because of what, exactly?
 
12:37 AM
@Cicada also, it's a minecraft clone. everything is boxes already :p
 
Allocations would be bit more expensive and that's about it
 
@CatPlusPlus Because making a distinct call to new for every time you mutate a local variable would be many thousands of times less efficient.
 
@DeadMG Probably. I've never heard the first term actually.
 
@Cicada It's a Minecraft-clone-specific optimization, not a general one.
 
12:38 AM
Verb

Be all around (someone or something): "the hotel is surrounded by its own gardens".
(of troops, police, etc.) Encircle (someone or something) so as to cut off communication or escape.
 
heh
 
@Cicada if the cube has 6 ones surrounding it, you can't see it
it's as obvious as that dirichlet theorem :P
 
That's retarded
 
So it fits me.
 
man
 
12:39 AM
@Cicada I profiled Debug build today.
 
@BartekBanachewicz lol. How did it fare?
 
did I mention that writing a semantic analyzer and type system is hard fuckin' work?
 
@DeadMG No you didn't. You have 30s to do so.
 
@Cicada map::end() took most of the cpu
 
@Cicada I used wrong font for a year and didn't notice
 
12:40 AM
@Cicada writing a semantic analyzer and type system is hard fuckin' work
 
@CatPlusPlus I saw your commit and felt your pain
 
@Cicada And by wrong font he means Courier New.
I'm laughing again.
 
At least it was monospace!
 
I hope I don't wake up my roommate.
 
Same family, almost the same thing
 
12:41 AM
one year
 
FUCK
memory arena, nooooooooooooooob.
 
@Cicada: Oh hi
 
hithar
 
here I am wasting my life cocking around with unique_ptrs
fuck that shit for the rest of eternity
 
ah C++
always fun and joy
I'm glad I suck at it
 
12:42 AM
I can smell the sarcasm from across the ocean
 
that's hell of a cube
 
@BartekBanachewicz tripppppyyyyyy
legalize marijuana
 
@BartekBanachewicz render ALL the textures!
 
ef yeah.
time to stop doing things the wrong way, anyway
 
also
I totally need to fix my naming.
 
user1357851
12:44 AM
@BartekBanachewicz At first I thought it was your carpet.
 
@BartekBanachewicz is it directx or opengl
 
I have
 
@Cicada Do I look like a DirectX fag to you?
 
@BartekBanachewicz Is this a screensaver from 1992?
 
namespace Codegen { class Expression; }
namespace Semantic {
    class Expression;
    class Analyzer { class Expression; };
    class Result { Codegen::Expression* Expression; };
}
 
12:45 AM
@Borgleader It's a motherfucking technological marvel
 
uh
what's wrong with directx (you twat)
3
 
@BartekBanachewicz Not necessarily a DirectX fag.
 
user142019
I'm writing a web server library in C# using async.
 
@Cicada lemme think.. everything
 
@BartekBanachewicz I hope you fail at your game
 
12:46 AM
@Cicada I love you too.
 
@Zoidberg I predict you won't finish it.
 
user142019
@StackedCrooked me too.
 
^ first screen : 125k cubes
 
@BartekBanachewicz It reminds me of this
 
user142019
12:47 AM
That screensaver was fawesome.
 
...
I wrote a goddamn screensaver for windows 95 using high end GPU.
 
it was a huge commercial success
 
and it looked better
 
user1357851
Or this:
 
user1357851
 
12:49 AM
@Borgleader Wolfenstein 3D?
 
@DeadMG Nope, Maze screensaver for Windows95
 
@DeadMG heh. what.
 
that's what it reminds me of.
Wolfenstein 3D.
 
Today my Nexus 7 updated it's OS to 4.2.2 and after the installation it "optimized" the apps that were installed. I'm really curious wtf it did.
 
12:50 AM
@Borgleader deleted them
 
@Borgleader I'm not sure either. Maybe some kind of AOT compilation.
 
@melak47 lol
 
user1357851
So much encouragement from us @BartekBanachewicz must be thrilled!
 
hell I am
 
@Cicada Hmm, that makes sense.
 
12:50 AM
I am going to send @Cicada personal authographed copy of Minicraft when I become 2nd Notch
 
@BartekBanachewicz Minicraft? Is that Minecraft for midgets?
 
@Borgleader it's minecraft with minimum reqs
 
Oh, so Minecraft coded properly?
 
God damn this whole idea of instancing is retarded, @DeadMG. It isn't really much different from putting another vertex attrib, IMO.
@Borgleader exactly
 
@BartekBanachewicz except you only have to update your instance buffer
 
12:53 AM
@BartekBanachewicz It's not retarded at all. Think about it for two seconds.
 
saves bandwidth -> saves time -> render moar cubes!
 
those guys at nVidia don't implement shit in hardware for fun.
 
Instance buffer means everything to me
 
hardware instancing is vastly more efficient
 
12:53 AM
Uhhh
 
@BartekBanachewicz instance buffer = the buffer with your instanced attributes
 
because the one instance I'm using is a goddamn cube
 
Instancing is probably one of the best features out there
 
@BartekBanachewicz So what you're saying is, "It's retarded", "I don't understand it".
great
 
Along with vanilla icecream
 
12:54 AM
plonk
 
Yeah, instancing. It's great. ..
 
I mean, the cube is small
 
@BartekBanachewicz Yeah in your case it isn't extremely useful and one would generally use it for more complex meshes. But still. You have a fuckload of those.
 
@Cicada if you have a complex mesh, it's quite nice
but still, what does it really give you over second VBO?
 
are u srs
 
12:56 AM
@BartekBanachewicz An instance buffer is a second VBO.
 
@DeadMG but do I need any special support for that?
 
the data from the two buffers is mixed in a particular way and then you go forwards from there.
@BartekBanachewicz Yes.
the GPU has to mix the data in the right way to call your shader correctly.
 
@DeadMG that was a short plonk
 
yeah.
 
12:57 AM
not anymore, though
 
hmmm
oh fuck me
it's genius.
I'm retarded.
 
breaking news
 
ding ding ding
 
@DeadMG I needed that one.
thanks for your help
I think I've made some serious progress today.
 
you're plonked
ehehehehehe
 
12:58 AM
@Cicada didn't he mean he un-plonked me? :P
 
re-plonked just after
 
well, zomg.
 
anyway
 
@DeadMG, I'm officially sorry for being such a retard.
 
user1357851
I wonder why people announce 'u r plonked' should I be scared? :p
 
12:59 AM
@Cicada please forward it
 

« first day (854 days earlier)      last day (4077 days later) »