« first day (1174 days earlier)      last day (4000 days later) » 

22:03
@R.MartinhoFernandes Last time I looked, most cars used KeeLoq.
You repeat the bloody exercise. — Lightness Races in Orbit 1 min ago
@Rapptz yep
@JerryCoffin Ah, that rings a bell.
quality journalism, that
@LightnessRacesinOrbit Premature interment!
22:08
@LightnessRacesinOrbit No such thing :(
Because Saturn is more awesome.
@R.MartinhoFernandes I'd read some over the years. Not much.
@R.MartinhoFernandes Uranus is more asssome.
@StackedCrooked Erm. I'm afraid I need explication to buy a vowel
anti-anti-jokes defy explanation
22:11
I think Uranus might be cool too, but it's largely unexplored, so Saturn's still my favourite.
@R.MartinhoFernandes "Largely"?!
user3010322
I dunno, I kind've like uh
user3010322
What's that planet's name...
user3010322
Venus!
user3010322
22:12
I like venus.
@R.MartinhoFernandes I have heard a rumor that there was actually one story that was written well for the newspaper distributed in the town of Dickinson, North Dakota, published 17 July, 1974. Unfortunately, I didn't see it at the time, and the newspaper in question has long since gone out of business, so confirmation seems unlikely.
user1804599
My anus is yet to be explored.
Btw, anyone know any place where I confirm the first verse of those lyrics?
user1804599
My favourite object is 2375 Radek.
22:14
Oh wait, surface temperature and pressure and sulfuric acid phase data might do.
@R.MartinhoFernandes I heard Wikipedia is an accurate primary source for everything; try that
@LightnessRacesinOrbit Doesn't mention it.
@R.MartinhoFernandes Then the lyrics do not exist.
(Though it might contain enough information to deduce its plausibility; hunting)
22:15
Oh wait, now it does.
> (though sulfuric acid rain falls in the upper atmosphere, then evaporates around 25 km above the surface).
0
Q: FindNextFile(...) dont "see" files WINAPI

user3146863My question is: why my output is given me the "recycle.bin" file, and that's all nothing else, like it wouldn't be any files in there ("C:\*" / "D:\*") after i call FindNextFile() i get error 18 (no more files in directory), the problem is, that it's wrong bool data_confersion(PWIN32_FIND_DATAW ...

It didn't last I checked.
No citation, though.
@rightfold I'll pass.
TIL Ariel Sharon has been in a coma since 2006
do you like codeproject.com?
22:19
15 seconds to go!
Boiling point 337 °C; 639 °F; 610 K
Venus surface temperature is ~460 °C. Seems plausible.
Hey, I just posted private profile details, didn't I? Nice one.
22:21
@LightnessRacesinOrbit SO day starts in one hour.
@LightnessRacesinOrbit you know:
@R.MartinhoFernandes What is SO day?
1 min ago, by Lightness Races in Orbit
oops it's NOW
@LightnessRacesinOrbit UTC day.
@sehe shhhh just because I can't tell the time!
@R.MartinhoFernandes what
22:22
What else is there to be confused about. For >20 minutes?
@sehe I was watching Windows 7's analogue clock tick over and at 22:19:45 I thought "yay only one minute and thirty seconds more", which was a minute off due to idiocy
lol. blaming windows.
That works for me
@LightnessRacesinOrbit The timezone used by SO for day-related stuff is UTC.
@R.MartinhoFernandes Yes, I can see that. That's why they put "Z" on it. I'm UTC, too.
I guess I missed something :(
Oh, you were looking at the hour and shit.
lol
22:24
@R.MartinhoFernandes YES!
You should know me better by now
@rightfold do you use the TryParse(string s, out meh) when you write stuff in C#?
out is ugly but convention is perhaps nice enough?
user1804599
I donā€™t write stuff in C#.
Yearling badge just came in. That's some speedy badge assignment work
Uh oh...
0
Q: Is while faster than for?

user3155162As in the topic, I learnt in school, that for is faster, but someone told me that while is faster... I must optimalize program and I want write 'while', not 'for', but... It won't be slower? for example: for (int i=0; i<x; i++) { cout<<"dcfvgbh"<<endl; } I will write: i=0; while (i<x) { ...

Hmm.
Git why you no work with pageant.
22:32
Hi :)
Anyone here good with OpenGL?
@LightnessRacesinOrbit Gosh what a failure.
How can you even.
user3010322
@Nils @BartekBanachewicz is. So is @Borgleader. They're both super pro expert 1337 graphicz0r ppl.
Cool
This is my fragment shader.
I try to vary transparency in my draw loop, assuming that its range is from 0 to 1.
@R.MartinhoFernandes I use OpenSSH for git
ssh_config is a nice thing to have
22:37
I use PuTTY so I'd rather not run two agents.
I get it's identifier using glGetUniformLocation(_shaderProgram, "transparency"); then try to set it with glUniform1f(_uniTransparency, transparecy);
But I can see no effect :(
(FWIW Git works fine with pageant; this is a "I fucked up somewhere" issue)
RT @addelindh A Unicode Security Guide http://websec.github.io/unicode-security-guide/character-transformations/ < This is really good.
^ @R.MartinhoFernandes interesting article
Color is always completely opaque.
user3010322
@sehe http over https will make it onebox?
22:38
Why is that a question.
@Nils Well, sounds like a bug in your shader.
@ThePhD AFAICT I just posted it twice identically: chat.stackoverflow.com/messages/13837630/history (happens more often)
@Nils Do you know about gDebugger, btw? gremedy.com
Argh completely forgot to paste it, here it is: codepad.org/EAA6wugC
Might be of help for debugging it.
22:40
Yes but I am on a Mac right now..
user3010322
gdb runs on macs.
user3010322
But in either case...
CUDA even had printf IIRC, why not gl?
user3010322
The program looks fine; it's your C++ code I question.
@ThePhD gdb is not even close to it o_O
user3010322
22:41
OH
user3010322
That one.
user3010322
Sure, use it, why not.
The thing I am not sure about (OpenGL n00b) is how the color is used from that shader
user3010322
There's also DeVIL or something.
user3010322
22:41
@Nils You set the color directly.
@ThePhD Isn't that an image loading library?
Sounds cruella than the alternative
I define outColor, but where is it referred then?
yes
except transparency
user3010322
@Nils Well, here's step one: if you set it to green, does it show green? If you set it to blue, does it show blue?
user3010322
Opaquely, not transparently.
22:42
yes
You probably need some hoops to set up blending.
but colors are set using in attributes
@Nils If your fragment shader only has one output the compiler should infer that it goes to the framebuffer. is that what youre wondering?
user3010322
@R.MartinhoFernandes Oh. Yes it is. What I' thinking of is GLSL Devil.
22:44
@Borgleader yes
@Borgleader Mac haha
@R.MartinhoFernandes it works on windows too wtf
@Borgleader Not on Mac.
Oh yeah
lldb is 10% usable
22:45
@sehe Bookmarking.
The other 90% causes random crashing.
and the color is always defined by 4 floats?
@R.MartinhoFernandes That's what I did :/
When using glDrawArrays(GL_TRIANGLES, 0, 3);.
@Nils You could use vec3, afaik it'll bind it to a vec4 and set alpha to 1.0f /cc @BartekBanachewicz
22:46
@StackedCrooked My coworker has been saying roughly the same ever since he updated.
humm
@StackedCrooked Does it bring down the entire IDE for you too?
MSVC has the best debugger
outColor = vec4(color, 0.3);
where color is of in vec3 color
when using that I also see no effect!
@R.MartinhoFernandes Occasionally Qt Creator goes down as well.
But both seem to be having problems.
22:47
I basically did the colored triangle from open.gl/drawing
@Nils what exactly is it you're trying to do maybe I can make a toy example to help you.
@Borgleader agree, but Xcode is catching up
@Borgleader see above
user3010322
Mmm.
22:48
Colored triangle from that tutorial and instead of variying the red part as above, I tried to vary the transparency.
Ok so transparent anything basically?
humm
yes
Did you enable blending?
@R.MartinhoFernandes no, but just added glEnablei(GL_BLEND, GL_TRUE); no effect..
user3010322
hehehe.
22:50
@Nils That's not it.
> Blending must be enabled with a call to glEnablei(GL_BLEND, i)ā€‹, where iā€‹ is an integer representing the buffer to enable blending on.
GL_TRUE doesn't sound like a buffer.
ah..
ahahaha
1
A: Is while faster than for?

Lightness Races in OrbitNo. Nope, it's not. It is not faster.

user3010322
That's probably setting blending to on for buffer 1.
Try glEnable(GL_BLEND); to enable them all.
@LightnessRacesinOrbit So is it slower?
22:51
accepteed
]
I did, no effect :(
Dunno what's the default blending equation, so just enabling that may or may not work.
user3010322
You can't just enable blending and expect it to work
user3010322
All GFX libs default to opaque blending, evne if you turn it on
user3010322
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
22:52
but again, what about the name of the output variable of the fragment shader? Completely irrelevant?
user3010322
That's traditional alpha blending.
@Nils One output is unambiguous.
ok
Is if faster than else?
@StackedCrooked Yes. Without any exception. At least to type
22:54
I see. My prof said it was slower.
@R.MartinhoFernandes Whenever I have includes including other includes, I end up with a mess of multiply-included headers, circular includes and the like. And no, guard clauses and #pragma once DON'T WORK. So I include everything ONCE. — Sod Almighty 7 hours ago
lol
What other reaction should have from this other than laughing?
It's a noobish approach.
Your prof has only one hand, and it's shaped in the the for of a tripod that precisely matches the e, l and s keys on Dvorak. Well.
@R.MartinhoFernandes You could flame him, like me
As a newbie it almost seems diligent to include headers that you might need in the future.
Thinking ahead.
22:57
aaargh
yes glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); did the trick!
Yup. We agree.
user3010322
=l
thx @ThePhD !!
user3010322
Again, internet tutorials are stupid
user3010322
Nowhere in open.gl/drawing does the idiot author mention that function.
22:58
Nah transparency wasn't mentioned, tried to add it on my own..
user3010322
Congratulations on making yet another bad tutorial site, internet.
I learned how to read from an Internet tutorial
user3010322
@Nils His example was a triangle shifting in and out of transparency.
Why, that's not bad?
well the red color part, not transparency

« first day (1174 days earlier)      last day (4000 days later) »