« first day (654 days earlier)      last day (4293 days later) » 

3:00 AM
anyway, you can measure time on win32 sort of reliably with QueryPerformanceCounter and -Frequency
 
Are these 5 seconds real time or simulation time?
 
======================================================

The simulation has been running for 140 seconds.

Display Device: METER
Sensor 310
Type = Air Material = Chlorine
Current Reading = 43 PPM

======================================================

The simulation has been running for 145 seconds.

Display Device: METER
Sensor 310
Type = Air Material = Chlorine
Current Reading = 17 PPM
 
@melak47 QPC and QPF are pretty reliable.
 
Btw. Drise, what are you actually doing, what project?
 
3:01 AM
@DeadMG yes, reliable they are actually. just not as accurate as I'd like
 
Like the 5th time I've linked that today.
@R.MartinhoFernandes I dunno. Never specified.
 
@melak47 Depends on your CPU. My current CPU's ticks are 10 clock cycles.
 
does the environment provide time for you?
 
This project must be created as a Win32, Empty Project (DO NOT USE PRECOMPILED HEADERS).
(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)(DO NOT USE PRECOMPILED HEADERS)
YARRR! Or you shall DIEEE.
 
can't really complain about near clock-cycle resolution.
 
3:03 AM
@DeadMG Doesn't QPF use a PSU or mainboard or something or other ~3.5MHz clock source instead of the CPU?
 
@melak47 Dunno.
 
@melak47 Nope. It's based on the CPU clock.
 
@DomagojPandža I'm developing it in Qt Creator as a plain C++ project, and then I'll import to VS.
 
@DeadMG how come it clocks at ~3.5MHz then
 
QPF is based on the CPU clock.
 
3:04 AM
as I said, it's CPU dependent.
 
You actually don't get raw time information, it is inferred from the cycles
by you.
 
Ok. Erm... On topic?
 
but even 3.5MHz is a pretty fucking accurate clock.
far beyond what most programs should need
 
I hate asking here, but I really enjoy learning from you all.
 
but I want my nanoseconds
 
3:06 AM
@melak47 I don't think it's physically possible to get a timer that's more accurate than QPF/QPC. As in, it's a hardware limitation.
 
I think nanoseconds don't exist. They're made up by marketing people.
 
I called myself a physicist until Martinho remarketed me as a marketing man!
 
@DomagojPandža at least you are marketable now :)
 
lol
 
You should be ashamed. Marketing people are evil.
 
3:07 AM
a lot more than I can say for myself
 
Smack yourself with an atomic clock, will you? :Đ
 
I don't have one handy, sorry :p
 
@DomagojPandža So I die in a mushroom cloud?
 
Is it bad to write a template function just to save typing? :)
 
3:10 AM
booyah
what if the same function has for lines of conditionals in an if? :)
 
I remember explaining the mushroom cloud shape to my highschool buddies a few years back. They were just happy the professor didn't drop an exam that day, so they actually listened.
 
Make a function(s) for those conditions.
I like to make lambdas for that kind of thing.
 
well, they're really the only lines in the function.
 
            auto is_invalid = [](byte b) { return b == 0xC0 || b == 0xC1 || b > 0xF4; };

            if(is_invalid(b0) || is_continuation(b0)) {
                return std::forward<ValidationCallback>(callback)(validation_result::illegal, r, out);
            }
// actual, freshly written code.
 
what other functions in the stdlib besides adjacent_find work on neighbors in a sequence?
 
3:12 AM
I think I'm going to rewrite POV-Ray in C++11. Make its internals look as pretty as the renders.
 
MSDN says QPC/QPF are not related to CPU frequency in general
 
I know there's one that sums/whatever neighbors
 
Make it a hobby project
 
@R.MartinhoFernandes That first line was cute.
 
Bah, pointless. It couldn't catch on because of the dependent API that links it to all the 3D packages.
 
3:14 AM
@R.MartinhoFernandes I was doing the same thing with a Spirit lexer last night. But I'm sure mine is highly simplistic next to Ogonek™.
 
you make it sound like it's hugely popular
 
@DomagojPandža Wuss.
 
isn't everyone vraying or rendermanning these days
 
Closed source, unfortunately.
 
like I said, stop making up words :)
 
3:15 AM
:(
VOXXELS!
 
@n2liquid Erm, why.
 
That came from Star Trek, I know it.
 
BIDIRECTIONAL SURFACE SCATTERING REFLECTION DISTRIBUTION FUNCTION.
BSSRDF.
 
@R.MartinhoFernandes Because of the auto and the lambda function. I dunno. I'm not used to seeing C++11 code yet.
 
It's so OMG awesome that they had to make an unpronounceable acronym.
 
3:16 AM
@KeithLayne I think the most complex thing I have there are the damn iterators. And the complexity comes from the iterator model being utterly painful, and not from the algorithms themselves.
 
spirit makes my utf validation concise.
except for the part where I'm having problems getting the lexer semantic action to be deduced.
 
@KeithLayne What are you working on?
 
you tell us to stop making up words, and you talk about "lexers" and "semantics"...
 
I made a mistake too, I assumed that any leading byte with all zero significant bits leads to an overfull encoding. Oops.
@melak47 :)
@R.MartinhoFernandes If I told you, I'd have to kill you.
you can read the last part as "I'd be embarrassed."
 
Lexical analysis, semantical analysis, syntactical analysis, tokenizer, parser, virtual machine, instruction set architecture. Everyone's got their bag of terms.
 
3:20 AM
        auto is_overlong = [](codepoint u, int bytes) {
            return u <= 0x7F || (u <= 0x7FF && bytes > 2) || (u <= 0xFFFF && bytes > 3);
        };
 
gank.
 
This is my overlong validation, keeping in mind that there's an early exit for single byte sequences before.
 
yeah, my lexer will reject if it's ill-formed otherwise, just need to reject overlong and invalid codepoints.
I think.
What do you use for codepoint? uint32_t?
 
does c++ recognize that the way you want it to? as in, a UTF codepoint?
 
3:22 AM
What do you mean?
@KeithLayne Yes.
U"UTF-32 string literals have type char32_t const[N]"
 
0x7f is 127. FFFF is a twobyte structure, therefore 2^16 - 1 ... 65535. Damn I'm good.
 
wtf
I can't build, because the compiler output is not COFF?
 
could you make a std::string of some kind out of it to compare with something non-ogonek?
 
COFF?
 
executable format?
 
3:24 AM
@KeithLayne You could make a std::u32string, which is an alias for std::basic_string<char32_t>.
 
@R.MartinhoFernandes I need to open the standard back up, I was just reading that part today.
 
@melak47 It's a Windows executable file thingy.
 
@melak47 Common object file format, I think
 
UTF-32 is terribly wasteful though.
 
PE is a descendant of COFF, IIRC.
 
3:25 AM
Even if your text is nothing but U+10FFFF, you're still wasting 25% of space.
But most text fits in the BMP, so it's even worse.
 
@R.MartinhoFernandes yeah, I just realized I'd be screwed in the parser if I couldn't actually compare it to literals.
I remember several months ago when you guys were talking in here about UTF and BOMs and stuff and I had no clue. Now I'm getting a clue, and I don't like it too much.
A BOM in UTF-8 is not prohibited, is it? It's totally gay.
 
Funny thing is, I've been working with hex for years, it became second hand to me... But still, it really doesn't feel natural. Like, I dislike it.
 
It's not recommended, but decoders should be prepared to handle it (and by "handle", I mean "ignore it anywhere except the first three bytes").
 
Compact and all, but still.
"The first three bytes". This would be such a pain in the ass if it weren't for zero-based counting. :D
 
3:29 AM
@R.MartinhoFernandes you have to explicitly deal with it? It doesn't turn into a nothing when decoded?
 
urgh
completely forgot about the NULL terminator when comparing my SHA-2 output.
fuck you, NULL termination
 
@DeadMG The more trivial the matter is, the easier to overlook it. :Đ
 
@KeithLayne In the middle of text it becomes a ZWNBS.
At the start it should be ignored (or preserved if roundtripping).
 
@R.MartinhoFernandes also, how many encodings do you plan to deal with? There's a lot out there.
 
I found the best image ever to describe a C programmer.
 
3:32 AM
hey folks. wondering if anyone in here is familiar with Cygwin?
 
nice.
@Jeff Familiar enough to be annoyed by it.
 
@KeithLayne Same here. Ahahah.
 
haha. are you familiar enough to help set it up?
:D
 
setup.exe. Done. :)
 
3:33 AM
@KeithLayne UTF-{8,16,32}, ASCII, Latin-1, and Windows-1252 are the ones I'm prioritizing. Then once I have most stuff working I'll look into Shift-JIS and Big5 and shit.
 
this ain't the Cygwin room.
 
ok. let me rephrase that... are you familiar enough with it to configure it?
@DeadMG is there one? is anyone in it?
 
who knows? I sure don't.
 
what is the ISO 8995-1 or whatever, Latin-1?
 
3:34 AM
may i ask a cygwin question? this seems to be the only active room on stackoverflow
 
although ASCII might be tough.
 
I hate ISO 8995-1 and every other nonuniform classification.
 
no, and not my problem.
 
@KeithLayne Erm, why?
 
Puppy, be nice. :P
 
3:35 AM
woof
 
because there are like, 7 whole bits to deal with. Out of every 8. Scary.
 
World of Warcraft, alt tab, visible second display content.
World of Warcraft, second alt tab, second display content black.
 
@DeadMG !!
 
btw, robot
 
don't expect yelling at him to make it any better.
 
3:36 AM
your point about a xor b = true means a and b = false seems to be pretty useful.
I seem to have improved the output rate of the solver fairly considerably
 
It's fixed width, validation consists of rejecting stuff below 0x80, and encoding of replacing anything about 0x7F by 0x3F.
@DeadMG Yeah, I'm awesome. :P
 
pushing 40 bits/bit now
man, it feels really strange to have a measurement which is 40 things per that thing.
 
I wrote a program to simplify those kinds of expression for some class with Haskell.
 
@KeithLayne was that for me yelling at him or him yelling at me?
 
definitely. or not.
 
3:37 AM
In the end, the finished project could solve the exam for that class (but I had to do it without its help :(.
 
@DeadMG Dimensional analysis suggests that the most useful constants are dimensionless. :Đ
 
lol
 
But I felt really proud of having that little thing make all those proofs.
 
it's certainly not constant
it's distinctly variable
 
sometimes if I forget to close tabs I get an across-the-room plink echo in here.
 
3:39 AM
but I used to be happy pushing a 30 average, and now I'm quite leaving that in the dust.
 
In your case, yes. But if it were constant, it is the same on every planet which performs that same operation in their own measurements. :Đ
Ratios are magic.
 
and soon I'm going to find a (probably not correct) solution in half the number of levels.
 
hello
 
curious, though, the information avalanche is late.
 
Production quality textures.
 
3:41 AM
anyone here using eclipse on os x?
 
GG Blizzard.
 
dude, that's a seriously fugly UI.
 
@DeadMG 7 years old and counting. :D
 
@DomagojPandža Is that WoW?
 
@R.MartinhoFernandes Si.
 
3:41 AM
@R.MartinhoFernandes Yep.
 
I have characters called Geometry, Feynman, Functor and Monad
 
lol
 
And "Physicist", a death knight.
 
Feynman is the funniest.
 
I named mine the incredible inspiration of "DeadMG"
 
3:42 AM
Hm.
 
"Feynman" is a Mohawk Night Elf, right?
 
@KeithLayne A Worgen death knight. Ahahah. :D
Get it, because he's dead and once a human. No? Damn, I'm terrible.
 
That makes me wonder if the WoW commercial with Mr. T made it across the ocean.
 
@DomagojPandža Augh...
 
btw
I'm having a slightly curious problem
 
3:44 AM
Ok, so did we ever come up with a solution to my problem?
 
oh, never mind, I'll get back to it later.
 
I can't believe that people actually slap a 512x512 texture onto an AAA expansion from 2011. Or 2010. Don't remember anymore.
That shit would bug me if it were mine.
 
nobody plays WoW for the high environmental detail.
but it does look worse than I recall
are you sure you maxed the settings?
 
@DeadMG Yeah, they play it for... Wait, what?
 
@R.MartinhoFernandes No idea. Y u think I quit?
 
3:46 AM
@DeadMG Ultra where applicable.
 
still
if I were you, I'd worry about that user interface. Yours is the awful.
 
Is there any way to get the full directory path from a USN record?
 
I don't think the Navy is willing to give out that kind of information.
 
Navy????
 
3:49 AM
@IDWMaster United States Navy.
 
@DeadMG It is, I try not to think about it, as I try not to think about work that needs doing while I'm slaying 0/12 <random_things>
 
Isn't that cute? Now can make fun of me for using Ubuntu and Emacs.
 
you can download some relatively simple mods and it would be much better
 
@Drise What's that have to do with anything recently said in this transcript?
 
@KeithLayne Ubuntu is awesome.
 
3:49 AM
I built my own
 
@IDWMaster USN == United States Navy
 
@IDWMaster You said USN.
 
well, when I say "Built my own" I mean "Assembled my own"
 
I was referring to the USN journal on the NTFS file system
 
@IDWMaster Oh! I see!
 
3:50 AM
of course you were.
 
 
I've been working on a backup program, and it would be nice to get the full directory paths of files which have changed recently
 
Did you solve that PCM thing yesterday?
 
@KeithLayne Sort of -- audio is really choppy though
 
Look at that ferocious detail.
5 polygons and a vertex
 
3:52 AM
I didn't know Tony could fly.
 
I can count the vertices.
 
Seems to work well at capturing PCM packets for a few seconds, then it kind of starts losing packets for no apparent reason
 
it doesn't look that bad in motion
 
@DomagojPandža My ball sack has better detail.
 
Maybe they gimped it. Doesn't make sense though.
 
3:53 AM
The models I used for my CG class project had higher quality. I'm serious.
 
And 11 million players pays $15 every month.
 
@DomagojPandža Granted, they don't pay for the visuals.
 
@R.MartinhoFernandes Mine had individual pubes in the model.
 
@R.MartinhoFernandes They pay for...?
 
Oh wait, I never took a CG class.
 
3:54 AM
7 mins ago, by R. Martinho Fernandes
@DeadMG Yeah, they play it for... Wait, what?
 
an alternative to suicide?
 
@Drise Strictly speaking, your ball sack has literally unknowable detail, so...
 
My CG teacher maintains this crappy website: lighthouse3d.com
 
@KeithLayne Did you ever take a picture of your penis, and post is somewhere? if (statement == true) you_took_a_CG_class();
 
@DeadMG That's not what your mom said.
@Drise um no. But I'm flattered.
 
3:56 AM
Is that common?
 
@DeadMG I'm pretty sure the surgeon saw enough detail when he was stitching one of my testicles to the wall of my scrotum.
 
I mean, taking pictures of own penises and posting somewhere.
 
@R.MartinhoFernandes Damn, that site sucks.
 
It's probably unpopular among women.
 
Testicular torsion occurs when the spermatic cord to a testicle twists, cutting off the blood supply (a condition called ischemia). The most common symptom is the rapid onset of acute testicular pain; the most common underlying cause is a congenital malformation known as a "bell-clapper deformity" wherein the testis is inadequately affixed of the spermatic cord allowing it to move too freely on its axis and become entangled. The diagnosis is often made clinically but if it is in doubt an ultrasound is helpful in evaluating the condition. Irreversible ischemia begins at six hours after a ...
 
3:56 AM
@Drise How do you know if that condition is ever true? You should use ((statement == true) == true) to be sure.
 
Seriously. Who puts Jar Jar on the front page of anything?
 
@Drise Probably true, But still technically an unknowable level of detail
 
@DomagojPandža You mean the design, or the content?
 
The design, unsure about the content, still parsing.
 
Any ideas on getting directory information?
 
3:58 AM
I saw "WxWidgets" and "Dev-C++" and closed the tab.
 
@KeithLayne Same.
 
Just reading the words "acute testicular pain" hurts.
@KeithLayne lolwut
(I never even looked at it.)
 
@R.MartinhoFernandes Acutely in your testicles?
 
@DeadMG Yeah.
 
3:59 AM
That's what I was thinking. Just thinking of a joke for it made my balls hurt.
 
@R.MartinhoFernandes It sucks. Be glad you didn't have to experience the correction surgery, which actually didn't correct anything. I never had testicular torsion.But the surgeon went ahead and did it anyway "just go be sure".
 
It's an autological phrase.
 

« first day (654 days earlier)      last day (4293 days later) »