« first day (913 days earlier)      last day (4028 days later) » 

12:06 AM
memoization, maybe? I dunno. If it involves math, can't do it.
 
Lol.
Crowz is so anti-math.
 
I really dislike math hah
 
What did Math do to you? =[
 
Oh man, I hated math so much since I was a kid. And math teachers too.
 
But what did it do to you? D:
 
12:16 AM
it destroyed my GPA
 
I mean before that.
 
IT'S JUST IMPOSSIBLE MAN
 
@CatPlusPlus totally is. If I have trouble with trig, I must be pretty math-retarded
 
Yes that's very related to algorithmic complexity
 
algorithmic complexity is annoying, and doing those proofs is the worst
 
12:19 AM
If ( trigtrouble ) crowz.math = 0x2E7A2D3D;
But it's okay, because I don't think you're retarded Crowz. <3
I think you can do it. <3
 
I can't do math hah, not to save my life
 
=[
 
@Crowz Is it 14?
 
@Rapptz the euler problem? Yeah.
 
Yeah I don't know why you're using a list.
Can I see your code?
 
12:28 AM
... list?
 
You said earlier you were using a list~
 
@Rapptz Oh yeah I'm using an array with memoization now.
 
Codeee
 
@Crowz Don't give it to him.
Let him suffer.
 
Hey I already did problem 14.
 
12:31 AM
FINALLY
 
Forever ago actually.
 
The date time passed enough so that
I'm not longer rep-locked
God, that was a horrible feeling. =[
 
the solution I had is "correct"
If you don't mind waiting 5 minutes for it to finish
 
1:05 AM
Lol.
I try too goddamn hard sometimes.
0
A: how to create a vector of pointers to a vector

ThePhDWhoa, slow down there! You're doing some pretty crazy things with your memory, so let's start from the beginning. You have a single vector that has 3 elements in it. You want to reference that vector using a pointer. Let's see how that looks: vector<double> mv; mv.push_back(233); mv.push_back(...

 
Why are your answers so verbose dude?
Most of the time it isn't even needed
 
Yeah, it's not. =/
 
Anyway your answer is arguably better than the one with +3
 
But the guy seemed really lost.
Plus, in the other answer, he said he was double-deleting pointers and causing an assertion.
He's definitely lost.
 
Top answer didn't address his useless newing.
 
1:08 AM
Yeah....
Leaks e'rywhaar.
Also, Stream interface lulz: coliru.stacked-crooked.com/…
 
Anyway upvoted you
 
furrovinememberapi?
 
Special macro keyword for me.
But yeah.
I think that stream interface is good.
After going through everything and being vastly confused by the way the standard library does it versus boost versus C# versus Haskell versus C....
Just... yeah. That provides all the necessary API.
 
This room really hates streams.
 
Well, they're awkward and unintuitive.
Aww
I was too slow on that array question. =[
 
1:22 AM
Well, worked a little on the GPU-based raytracer. Fun stuff, still too slow.
 
Mmm.
 
Let's see how it looks with our beloved Sponza model.
 
Can I see? <33
@Rapptz maybe I should ask on Stack Overflow about how to design a good Stream API
 
Reinventing the wheel.
 
lol, the .png was fat.
No anti-aliasing, 1024x512. No filtering of the reflection to accomodate different BRDFs. ~55 FPS.
 
1:34 AM
That looks really good.
=[
I want to be your intern, Domagoj.
Why don't you teach me?
I promise I'll be a good listener and learner. <3
Take me under your wing?
 
Ah, this is far from usage in games. Will be for quite a while, too.
 
@Rapptz =[ But... but but...
@DomagojPandža I'm not interested in just games, y'know.
I wanna learn all about rendering. <333
 
I really need to find a way to combine the deferred and forward rendering pipelines in a way that they complement each other. Transparency is going on my nerves, I'm not satisfied with the current handling models I have running.
 
LinkedLists of Samples not cutting it?
 
Hahah, order independent transparency is fun. I actually have that, forward rendering path with a few "überlights", all variants (including some of my own) of depth peeling but every one has stupid problems. It will probably require a paradigm shift on my part.
 
1:47 AM
Well, the problem is that deferred rendering sacrifices previous samples.
If you figure out how to (losslessly or lossily) preserve those samples, you can have your transparency back.
 
Yup, that's actually part of the benefit. Until you need transparency. :D
 
On the whole, I've been toying with an idea to get transparency.
In forward-rendering, you don't really keep multiple samples either. At least, not really: you commit everything at once in a single run through of the shader.
 
Yeah, but the notion of a fragment is very much alive. It's just "hardware/API-endorsed", so you don't feel the pain.
 
It's just that in deferred rendering you put everything off to the end, all the time.
There has to be some way to store transparency values in either another g-buffer while doing blending on the current pixel.
 
If you were checking a textbox for full name and validate that its format is as following: "first-name[space]last-name" then how would you go about putting the conditions in your if statement?
 
1:51 AM
First, I would check Stack Overflow.
 
or whichever testing method you use? This is not java by the way, in case you think it is because of yesterday.
 
Yup, there is, but it gets fat very quickly. I'm working on a theoretical model similar to the way that my compute shaders process the lights in the scene to figure out where they're needed and where they're not. I'll probably do some similar tagging for depth analysis and opacity and stream the data out.
 
The only real problem is you can't really do something wonky like "blend normals"
Or "blend depths"
If you could blend those values individually rather than just final color samples,
you'd actually be able to have your transparency.
 
Yup, I'm just going to allow the system to actually figure out where I can cut back on unnecessary calculations and storage. But the forward rendering pathway is still my favorite get out of jail free card. At least until I figure out how I can slap out the deferred part of my ASVO approach, just keep the useful light-tagging properties.
 
ASVO?
 
1:59 AM
Accelerated Sparse Voxel Octree, the shorthand for my twist on voxel-based cone tracing.
 
Ah
 
Hopefully, if AMD gets off their ass and delivers OpenGL 4.3, I'll be able to incorporate sparse textures as well. Much better than "faking" an octree on the GPU.
 
Hey guys, I was wondering if you can think of any applications that use quickSort and a BST?
 
"The greens" ?
Is that the reference to NVidia?
 
2:03 AM
Nvidia, yup.
 
Lol
Everyone's jelly that AMD is slower than Nvidia
 
I forgot people bought AMD cards.
 
Some people are just asses.
 
lol
that's pretty funny though
 
How much do you hate my forest? :D
 
2:09 AM
Found the twitter of the guy who's doing OpenGL at AMD.
Apparently, AMD has a shitload fo extensions that are pretty much like the OpenGL 4.3 spec.
They even have a Sparse Texture spec.
 
I have no intention of getting on the extension clusterfuck train. Dammit, give us our compute shaders and go away, AMD.
 
@Pawnguy7 Terribly.
 
Good :D
 
2:35 AM
@DomagojPandža Hahahaha "the greens"
AMD driver problems are the reason I switch to nvidia in the first place
 
Hello, World!
 
No cruel today?
 
I'm in a chipper mood tonight
 
I'm bummed out by what I read and see about Boston
 
Crowz is from Boston.
 
2:45 AM
sad & gruesome stuff that is
 
He's alive
 
Well, nobody from the Lounge really runs marathons, so it's no surprise. :P
 
Well he wasn't at the marathon so of course he's alive
 
Protip: Bystanders got hurt too.
He could have watched it and gotten hurt.
 
Loungers like to watch other people run? :P
 
2:48 AM
@Rapptz He was in the Lounge when it happened iirc
 
He.. could have had family members participating?
@Borgleader I'm being theoretical.
Anyway I run :|
So looking at it made me feel bad because I can't imagine running a marathon and then losing my legs the same day.
 
Yeah I can't imagine how that must feel
 
Yes. Although, I imagine any case of losing legs... well, really sucks.
 
BTW there's a lot of shit going around news outlets.
Not like it's any surprise.
 
man, I hadn't heard about this...I've been working all day...yes, actually working.
had to google it to find out what you all are talking about...OMG!
 
2:53 AM
@Rapptz I saw a picture of a guy being rushed to the hospital in a wheel chair because he could no longer walk.
 
With a guy in a cowboy hat holding "his arteries"?
(It's not an artery, it's a tourniquet lol)
 
@Rapptz I didn't pay attention to the details yes that one
 
My heart goes out to all the victims and their families...I know they aren't here, but I just wanted to express it.
 
@Borgleader This? NSFW
 
Same guy different picture NSFW
 
2:57 AM
What kind of shrapnel does that? :\
 
Any?
 
@ALOToverflow lol, thanks for the laugh...I needed that.
 
G'night.
 
night
Yea. Things are pretty tense on the intertubes right now
 
3:05 AM
@Borgleader What the?
 
I was answering @Rapptz, turns out we were talking about the same victim from the Boston marathon
 
I know, but the injury is dafuq
 
You said it
 
Probably a piece of shrapnel that just hit him in the leg and "severed" it
@ScottW gnight <3
 
Woa, that doesn't look good.
The injury, I mean.
(I like understatements)
 
3:14 AM
I admire the people who have the stomach to study that and know how to treat it.
I'd throw up all over the dude.
 
Well, you've always been quite the weakling.
 
Well, people were saying he was holding on to "his artery" which sounds worse than it actually is
 
Well when your bone and arteries are sticking out, it's pretty bad to start with
 
People like to talk shit. Holding onto your artery means you're minutes away from certain death.
Rupture is one thing, completely severed another.
Looking at that poor fellow and then considering the treatment the bomber will get when he's arrested, the justice system sucks.
 
Life imprisonment?
 
3:19 AM
Just the fact we treat him like a human being, when he clearly is not, beyond biological markers.
 
cansOfWormsOpened++;
 
There are no leads. No one actually knows who it is.
They're blaming one guy from Saudi Arabia probably because it's a middle eastern country.
 
Who's they?
 
I'm sorry, sweetie, are the handcuffs too tight? It's not like your hands are going to fall off... You know, like the man whose leg we scooped off the floor yesterday.
 
American news.
Which is in turn shit tier news but whatever.
 
3:21 AM
Well, here's hoping he gets his anus probed with a peanus in prison.
 
@DomagojPandža They don't treat people that nicely.
 
American prisons are hotels compared to those in some other countries
 
@Rapptz As it should be, that cunt in Norway that killed 70 people complained the guards were serving him cold coffee. And nobody wanted to give him candy. (I'm not joking.)
 
@Borgleader What?
 
@Borgleader Well, beyond Mexico, there's not much worse you can get. Especially in max / supermax prisons.
 
3:23 AM
@Rapptz THink about it, they actually have beds and all. In some other countries your "cell" is a hole in the ground. period
 
I'm calling bs.
 
or maybe i watch too much tv idk... im sure theres one country out there with really abysmal prisons
 
You can't equate every criminal the same, that's why there are beds in prisons. Because not all arrests in America are there because they killed someone or raped someone.
 
Oh sure, that's why there should be prison tiers. If you did something minor you get an ok prison, if you bombed a marathon you get a really shitty one. A well guarded one from which you can't escape of course, but with abysmal living conditions
 
I've read that other places have better prisons than America
Not to mention that America has a lot of people arrested.
 
3:29 AM
Croatia has one prison that's almost like a resort.
It's fucking retarded.
You have windows, company, chairs, desks, even recreational activities and TV.
 
That does look like vacation...
 
What kind of shitty resorts do you guys go to?
:(
 
@Rapptz Ahah, alright, I guess it's a shitty vacation, but a vacation still.
This is a prison:
You know you're fucked when you're watching down this corridor.
 
> On January 1, 2008 more than 1 in 100 adults in the United States were in prison or jail.[13][14]
 
For some reason, I've always been fascinated with prison documentaries. It's fascinating.
 
3:33 AM
As of 2009, 3.1% of Adults in the US are in prisons.
 
Oh damn... that's pretty high
 
Well, it's a small percentage. Or not...
 
~7,225,800 people.
 
Seems like a lot, but there's a shitload of people in the US. 3% sounds right. And considering the amount of rampant fools, maybe even too small.
 
US has the most in the world :S
It isn't right.
 
3:35 AM
What about China?
 
Still less
I actually read about it in the news 2 days ago or so
 
@DomagojPandža It's insanely high.
 
@Rapptz About ~3.5 Slovenias imprisoned. :D
 
@JerryCoffin Yeah! Man I should have googled that. Seemed easier.
 
Ha, Croatia is 130th.
 
3:39 AM
Canada is 132nd
 
America is #1!
We win.
 
So, San Marino has 3 guests in prison. On a sample of 100k people. So, considering there are like 32k of them -- there's only one prisoner in San Marino?
 
San Marino always makes me laugh.
 
"The 30-year-old man has his meals brought to him from a local restaurant because it is not economical to lay on a canteen service for him alone. " Source
 
The statistics make it seem like some amazing country until you realise how God damn small it is and how little people live in it.
 
3:41 AM
Also, can I declare a country of my own, plx?
I will call it the United Federation of Domagoj.
 
Your flag needs to have a panda on it :P It would be a visual pun of sorts
 
@DomagojPandža Will the panda be a protected animal there?
 
@EtiennedeMartel Yes. Pandas will be the back bone of my future military in my quest for world domination.
 
Wish I had the ability to crack my back
 
@Rapptz That feels so good. :3
 
3:44 AM
Scoliosis!
 
@DomagojPandža Perhaps you should use humans instead.
 
They're much better with firearms.
 
> .svg.png
lol
 
No, no. I intend to recruit only 4 pandas which will incapacitate my enemies with cuteness overdose while I take over their country.
 
3:48 AM
@Rapptz Since SVG support isn't yet widespread, Wikimedia autoconverts them to PNG.
@DomagojPandža Cuteness doesn't work against drones.
 
@EtiennedeMartel It works against me
 
They just have options to render as a PNG.
 
Good luck when a MQ-9 fucks up your panda army with a single missile.
 
@EtiennedeMartel Well he can always invade us, our submarines catch on fire on their own...
 
3:50 AM
@Borgleader You mean the Chicoutimi?
 
This place gives me the creeps. Goddamn 'mericans.
 
@EtiennedeMartel Yep that one
 
> Despite all the media speculation, the accident was later proven to be the result of an error in operational procedure.
 
@DomagojPandža Is that a lethal injection chamber?
@EtiennedeMartel Oh... TIL
 
So, it's not the submarine's fault, we're just too stupid to properly use British equipment.
 
3:51 AM
Not sure which I prefer...
 
@Borgleader Yup, the new one. The old one was in the retrofitted gas chamber. (San Quentin, famous for it).
 
lets make program
 
Damn. Imagine you had to walk in there. And you know, take a seat.
 
Crowz is alive!
again.
 
Nope, I'm undead.
 
3:54 AM
Also, apparently people have a wild imagination when it comes to capital punishment:
This is a list of methods of capital punishment. {| class="wikitable" border="1" |- ! Method !! Description |- | align="center" | Animals || * Crushing by elephant. * Devouring by animals, as in damnatio ad bestias (i.e., as in the cliché, "being thrown to the lions"). * Stings from scorpions and bites by snakes, spiders, etc. (e.g. the "Snake pit" of Germanic legend) * Tearing apart by horses (e.g., in medieval Europe and Imperial China, with four horses; or "quartering", with four horses, as in The Song of Roland and Child Owlet). * Trampling by horses (example: Al-Musta'sim, the last A...
 
There used to be a show on medieval torture machines
 
> Tied to the mouth of a cannon, which is then fired.
Holy shit.
 
They had this big wooden barrel which you would be tied to, and then theyd roll you down a hill and a bunch of other things
 
Scaphism, also known as the boats, was an ancient Persian method of execution designed to inflict torturous death. The name comes from the Greek word σκάφη, skaphe, meaning "anything scooped (or hollowed) out". The intended victim was stripped naked and then firmly fastened within the interior spaces of two narrow rowing boats (or hollowed-out tree trunks) joined together one on top of the other with the head, hands and feet protruding. The condemned was forced to ingest milk and honey to the point of developing severe bowel movement and diarrhoea, and more honey would be rubbed on his bo...
 
Makes you think who's the psycho there. The executioners or the condemned.
@Rapptz Who the fuck came up with that needed more help than the victim.
 
3:58 AM
Yeah it's pretty insane.
I think that one is the worst one.
That I know of anyway.
 
I'm just curious how did the people react to the idea. My first reaction would be "What the fuck is wrong with you, mate?"
 

« first day (913 days earlier)      last day (4028 days later) »