« first day (1158 days earlier)      last day (3805 days later) » 

12:00 AM
@sehe aww.
 
@BartekBanachewicz Lol. You've not seen ThePhD code for .NET
 
@Griwes I want Satan horns ;_;
 
@Jefffrey Good. Now, go forth and have fun in that knowledge. You're a most interesting deterministic rock to talk to!
 
user3010322
@sehe Hey! u.u
 
> u.u
Good knight.
 
12:01 AM
Bad bishop.
 
I have tried doing what you have suggested to some degree, but have posted a follow up question as this led to more problems — Mr_Skid_Marks 51 secs ago
I like this man.
 
user3010322
@BartekBanachewicz Goad night.
 
Mundane rook.
skid marks? srsly
what a shitty name
 
user3010322
@sehe Naughty Pawn?
 
@sehe badumtss
 
12:02 AM
Drama queen!
 
@sehe I know, why can't everyone realize that sehe is the answer!
 
@sehe what do you consider wrong in my view and why?
 
@MohammadAliBaydoun I want secret hats ;_;
 
@BartekBanachewicz nnight
 
@Jefffrey Wrong? Am I supposed to oppose your view? I'm just of the belief that it's not constructive to /presume/ fate (context) leaves you no meaningful choice. I prefer other assumptions (at least equally plausible) as my experience tells me that starting with positive views (dare I say, hope) tends to lead to more agreeable situations.
At least short term. But I strongly feel this extends to wider scopes. This is generally referred to as "doing good", or "giving something to the world". Meh.
There is a pattern to this:
The perfect star
 
12:08 AM
@sehe so you choose what you believe in, based on what it's more convenient?
 
You're not reading it entirely well, but yeah, there's some point to that
 
that's interesting
 
I mean: it's certainly not constructive to fabricate a - possible - troubled worldview that subsequently makes you miserable, and by laws of social interaction, is going to help you make others feel miserable :0
 
@Jefffrey Wow.
I don't think I'm the same person I was five years ago.
 
It's always useful to consider the plausibility of such views. It's good to remember your beliefs - and that they are beliefs
 
12:10 AM
@sehe my view does not make you miserable at all
 
Good. Carry on!
 
in fact nothing changes if you believe it
 
@Jefffrey I think he means you.
 
@Jefffrey Read more carefully. I implied people's actions will spread misery if people feel miserable. So that would be a function of said person's actions, not your beliefs (which I might choose to adopt)
 
@BartekBanachewicz Dunno. Get the most recent official installer?
You don't even need to have Python pre-installed since the /dyn versions link dynamically to whatever suitable python .dll is available in the PATH.
 
12:13 AM
@sehe " I implied people's actions will spread misery if people feel miserable. So that would be a function of said person's actions" -- I agree, but I can't see the connection with what we were talking about
 
4 mins ago, by sehe
I mean: it's certainly not constructive to fabricate a - possible - troubled worldview that subsequently makes you miserable, and by laws of social interaction, is going to help you make others feel miserable :0
^ there
 
where does the "miserable" topic comes from?
 
I'm curious. It seems you are incredulous of my views. Do you doubt my authenticity?
 
user3010322
The implication is that if you believe / resign yourself in the idea that Context will always power your choices, rather than what you yourself choose to do, is indeed a somewhat miserable train of thought.
 
user3010322
If nothing I can contribute ever matters in the end, why am I living?
 
12:16 AM
@Jefffrey From me. it's the more vivid flipside to your casual "convenient" qualification. There is a goal! Not just laziness
 
user3010322
If nothing I do changes anything, and the context determines everything, what am I doing right now anyways?
 
Making me feel miserable of course :):):):)
SCNR
 
user3010322
Etc etc. ----> down the depression rabbit hole we go.
 
Tea. Good point. We need more tea.
 
user3010322
It's not that your belief necessitates depression, or living a depressing life. Indeed, if Context determines everything, one can simply become detached from the idea that they're powering anything in their life and just "ride it out". Almost as if life is there and its got a ride for you, and you're just on the ride letting shit happen and go by.
 
12:20 AM
@ThePhD No, no. Wait. You misunderstood me. Our path is predetermined exactly because we have the power to choose. It's just that we will always choose what we think it's best (easier) in the context.
 
Again. What is your point there?
 
One of my flatmates is studying philosophy and she says that philosophers generally agree that the world is deterministic. They just disagree on what that implies.
 
34 mins ago, by sehe
@Jefffrey And what would that mean?
 
user3010322
@Jefffrey I would argue that people make choices many times when they know it's not to their best interest or even the easiest thing to do.
 
@sehe Nothing. That theoretically speaking, if you knew me, and the future contexts I'll face, well enough you could draw my entire future life
@ThePhD example?
@R.MartinhoFernandes she eh... ;)
 
12:24 AM
@Jefffrey WHAT?
 
@Jefffrey duh. If you know everything, then you... know everything. Surprise
@R.MartinhoFernandes You'll have to excuse him. He's having a momentary bout of philosophy. It'll pass
@Jefffrey Like, recklessly adding an extra f to a username o.O
@Jefffrey (are you sure you didn't confuse tautology and theory there?)
 
@sehe no, what I say is that if you know the person life's experiences and past choices, you can "calculate" how he/she would respond to a certain context. What choices would she/he make. It's a bit different than knowing everything.
@R.MartinhoFernandes I was implying that you and your flatmate sleep together. But that's not funny anymore :<
 
Hand waviness. you don't specify exactly which set of context properties make up enough information. Therefore I'll choose to include your molecular composition over time in the picture. And the amount of ambient space radiation at the time. That qualifies as "everything" in my book.
As soon as you carve yourself out of your surroundings unambiguously, we'll speculate.
 
@sehe "you don't specify exactly which set of context properties make up enough information" -- fair enough, let's try with: past choices.
@ThePhD I know it's hard to come up with the example. Just let me know when you give up ;)
 
You can't isolate them. Like a merkle tree, they depend on prior context (including prior choices)
 
12:32 AM
but there's always a root
your first choice
 
How is that a root?! Your first choice was somehow magical? Then you must be god of your own universe. This is a suprising plot twist.
> person life's experiences and past choices
^ this very much includes the number of planes that landed on your house as well as the number of grandfathers that survived a war in Zambia
 
Mar 12 at 15:12, by Jueecy
Oh god. Maybe I am God.
Is it? :P
 
Yup. If you're the causa non causata. This means you've created yourself. By most popular definitions of "creating"
 
> person life's experiences and past choices
^ there
better?
 
No? You can't just change the model of reality because it would otherwise be intractible. There's you "accusing" (stretching it for effect!) me of choosing what is convenient?! Bleh.
 
12:37 AM
maybe he could not spell, he really meant "Oh god. Maybe I am a dog"
 
He actually meant "Oh god, please not a kitty"
 
lol
 
user3010322
@Jefffrey I went fishing in our transcript to find examples of being doing things that weren't in their best interest or even easy.
 
user3010322
You'd be surprised, there's lots of them:
 
user3010322
Jan 18 at 23:03, by Cat Plus Plus
Why why why why are you doing this
 
user3010322
12:39 AM
Jan 18 at 23:04, by DeadMG
@ThePhD WTF, why would you ever do that?
 
user3010322
Sep 22 '12 at 23:51, by Cat Plus Plus
Why, why, why am I on this terrible site
 
those are not very strong examples, because they could all be answered "boredom/short term distraction" or "troll effect"
 
user3010322
Hey, he wanted general examples. Shrug. I could give him big lofty quotes, or just use us as examples. :P
 
Agreed, it wouldn't make much of a difference. One doesn't approximate truth by example. One constructs it by principles.
Don't fall asleep now
that would be a waste of time
 
I'm confused T_T and i have to wait til bartek wakes up now =/
hmm maybe i could ask on gamedev.se
 
12:42 AM
Monadic bind the Dream value
 
See, even the kitten is depressed
 
@sehe you "accused" yourself of it. I just asked if it was true.
 
I would be depressed too if I was put in a paper box ready to be shipped away >_<
 
@Jefffrey You missed the parenthesized clause, I gather?
 
user3010322
12:45 AM
Fucking headphones still all busted up...
 
user3010322
I have to travel for 8 hours tomorrow.
 
Oh.... im an idiot. I think
 
user3010322
I'm going to die. u.u
 
@Jefffrey Also:
In rhetoric, a rhetorical device or resource of language is a technique that an author or speaker uses to convey to the listener or reader a meaning with the goal of persuading him or her towards considering a topic from a different perspsentence]]s designed to encourage or provoke a rational argument from an emotional display of a given perspective or action. Note that although rhetorical devices may be used to evoke an emotional response in the audience, this is not their primary purpose. Categories Logos is the use of logical ideas to appeal to the audience. (sometimes through use of a ...
 
@sehe "equally plausible"?
 
12:45 AM
"You think, therefore you are"
an idiot?
 
lol
 
I was wondering how Crytek was able to do HDR rendering when their colors were stored in an R8G8B8A8 texture until I realized, only the lightmap needs to be floating point
 
@sehe ok, I'll give you that
well, fuck it
my point of view was not particularly interesting anyway
you nailed it with this:
25 mins ago, by sehe
@Jefffrey duh. If you know everything, then you... know everything. Surprise
 
Well. It's been fun sparring in a relaxed mode (while coding). Thanks :)
 
12:52 AM
at least you did something useful
 
Also, I never cease to be amazed about the vastness of "everything". It really includes a lot of surprising stuff
@Jefffrey You did too. You prevented my brain from melting and generally having a bad time. The music also helped:
 
too lazy to sign up, but I'm not a particularly big fan of classical music (if that's it)
@sehe but, yeah, thanks to you too ;)
 
You guessed it. Sibelius, this time. I've discovered his symphonies lately
Another side effect of starting the new job: open office plan necessitates intake of music
 
lemme check youtube just to understand the kind
 
(late) romantic; heavily nature inspired (partially) programmatic music
 
12:57 AM
I don't dislike it, but don't particularly like it
maybe when I'll grow older and wiser...
 
:) taste doesn't come by incident. It's like opinions: you build them.
But there's no obligation, fortunately
 
welp, good night, I'm going to try to have some sleep (even if I'm pretty sure I'll be back in an hour)
thanks again
 
sweet monads!
 
@Mysticial how do I broadcast an __m128i to both 128 bit lanes of a __m256i? There is vbroadcastf128 (_mm256_broadcast_ps) but I'm afraid of hitting a floating point unit transfer penalty
 
1:28 AM
@Mysticial found it, it's called _mm256_broadcastsi128_si256.
 
1:39 AM
In Haskell, how do I print out a String without the double-quotes around it?
 
@nightcracker sry, was in a meeting.
 
@Mysticial np
@Mysticial am I the only one that keeps getting confused everytime I use a _mm*_set* function because of the reverse ordering from indexing?
 
@nightcracker Nope. I habitually use setr instead.
 
@Code-Guru Check the difference between putStrLn s and putStrLn (show s).
 
PowerPoint Slides (525 MB)
PDF Slides (15 MB)
What the bloody fuck, 525MB PPT o.O ([Source](http://advances.realtimerendering.com/s2013/index.html))
 
1:51 AM
who uses ppt anyway
 
I do, because I'm lazy
 
@LucDanton thanks, putStr is what I needed. I've been using print.
 
@CatPlusPlus ssshhh you're not supposed to admit that - we're all supposedly white knight linux gurus and latex gods here
 
I said that I have a lot of shit to do and then I slept for like 20 hours
Everything's terrible
 
@CatPlusPlus get high on catnip
 
2:01 AM
@nightcracker Windows FTW
 
@Mysticial how dare you sshh
omg battle.net
I log in: 11 new friend requests from spammers
 
Yeey, I won't starve, I managed to order a pizza before they closed
 
Don't fall asleep now
that would be a waste of time
 
Well, people still use IE5 and DevC++. So no, age should not make a question off topoic. — Mysticial 6 secs ago
 
2:20 AM
@nightcracker The ppt has a video in it that the pdf (obv) doesnt
 
2:49 AM
my shortest answer ever: crypto.stackexchange.com/a/12383/4697
 
Regarding Winter Bash... How do you get a Johnny Three-hats?
 
zch
You get three hats.
 
Yeah.. but what triggers this prize.
?
 
zch
26
Q: How do I earn the Johnny Three-hats hat?

RyanCarlsonI recently earned a secret hat. Is there any way to tell how I earned this hat?

 
0
Q: Is there an impatience hat? Leaderboards are taking a while to update

Mark MayoWe've noticed on Travel's leaderboard, at least, there are several users who have more hats than are showing on here. How often do the boards update? Could we perhaps get a 'was last updated at ... ' text? Eg at time of writing, @Karlson has 8 hats, but is only showing 5. Clicking his profile ...

 
3:00 AM
Anyone here done any Rosalind problems?
 
@Code-Guru what is a rosalind problem
 
3:17 AM
You know that feeling when you look at your code and go "how the fuck does that even work"
 
@CatPlusPlus Yeah. Almost the same feeling as encountering a new library.
 
@MarkGarcia no changelog..
 
@Rapptz Hehe. Let's not start again. :)
 
new release without changelog is dumb..
 
@Mysticial have you ever fiddled with superoptimizers?
 
3:28 AM
@MarkGarcia lol they haven't fixed this bug: bugreports.qt-project.org/browse/QTCREATORBUG-9199
that's been around since 2.7
 
@Rapptz I can live with that. What I'm excited about is better debugging.
That bug report once gave me a laugh though.
 
Nice.
 
apparently this was fixed a long time ago
but I don't think so
I still have this issue
 
@Rapptz Significant changes, but not that great IMHO. Still gonna see it for my self.
 
3:37 AM
yeah.. still broken.
those are the only two bugs I wish were fixed
 
Hmmm... I want to be able to initialize my Vertices using { {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f} } but glm::vec2/3 can't be initialized that way. Is it possible to do so by creating struct Vec3 { float x,y, z; } and making a constructor that will initialize glm vectors using mine?
 
@Borgleader IIRC, { {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f} } can only be used in aggregates.
That is, nested brace initializers.
 
So there is no way? :(
 
@Borgleader You can make an aggregate struct supporting that, and make a conversion functions.
 
thx, i'll try!
should the aggregate struct be for each vector or the entire vertex ?
 
3:47 AM
It's somehow on those lines.
@Rapptz New Qt Creator welcome screen!
@Borgleader Wait. Do you want multiple vec2s or vec3s?
 
@nightcracker Like automated optimizers?
 
@MarkGarcia I'll probably have multiples yeah (normal/position will probably both be vec3, uv is a vec2)
+ wtv else I add later
 
@Mysticial basically an optimizer that tries to model a certain function by trying out all permutations of instructions under a certain limit
 
@nightcracker Ah yes. I wrote one for y-cruncher a while back.
 
5
Q: Why are GLM constructors all explicit?

spraffI have started to use the GLM library in my code. Seems pretty good but I can't do things like this: void foo (const glm :: vec3 & arg); foo ({x, y, z}); because the constructors are all explicit. This is starting to annoy the hell out of me. I can't think of a good reason to prohibit implic...

huh apparently the ctors are explicit... and that's what is causing the problem
 
3:53 AM
@nightcracker Not at the instruction level, but at the algorithmic level.
 
how'd you get a hat that matches your avatar so well?
 
Damnit I can't even union my way around it
 
@Mysticial Nice fit!
 
@MarkGarcia The bow?
 
2 mins ago, by Rapptz
how'd you get a hat that matches your avatar so well?
Yeah.
 
3:58 AM
lol, thx
 
I don't have hats :(
Star this message and I will though!
 
^ ★ 99
There you go.
 
@MarkGarcia This year, they've included code so you can move the hat around to make it fit (or in my case, cover) your avatar.
 
@JerryCoffin Next year, I want resize.
@JerryCoffin Oh lol!
 
@MarkGarcia I want Photoshop.
 
4:03 AM
@JerryCoffin They have nice priorities (FIX THE CHAT YOU LAZY BASTARDS)
 
@Mysticial this is so annoying, manual re-ordering of fully parallel SIMD instructions matters in this program for performance
 
I used to frequent this game forum, there were always someone who volunteered to put the hat on everyone's avatar ...
 
How do job opportunities for Windows Server compare to those for Linux servers?
 
mythbusters + star wars
mindblown
 
4:07 AM
@CatPlusPlus The first time I read that, I read it as "FIX THE CAT YOU LAZY BASTARDS", and thought: "Now that's something most cats would rather avoid."
 
I must be dong something very wrong. I increased the voltage on my machine and it couldn't handle 4.2 GHz. (and it turbos to 4.2 GHz at stock)
 
hmm
 
I'm fubar
 
I want to play with some threads.
 
@Mysticial Either that or your motherboard is doing something very wrong.
 
4:08 AM
@DeadMG Tread carefully.
:P
 
@DeadMG That's generally more of a cat thing than a puppy thing. (I just about asked if you were feeling all right, but then realized how stupid I'd sound asking you that).
 
heh
 
I hate it when a stranger writes to me and says "I hope you are well" ... I mean why wouldn't I be well?
 
@Telkitty That's a stupid thing to hate...
 
4:12 AM
I like it when people write "I believe you are well". Dude, have some faith in me! :p
 
msvc: cannot convert from '__m256i' to '__m256i'
hurr
 
@Borgleader When in doubt add new set of braces
 
I tried
 
@Borgleader Try prefixing elements with MeshVertex. That's what I do when encountering those kinds of std::array weirdness.
 
@Borgleader Remove the equal sign and add another set of braces?
 
4:22 AM
Great, generic foreign key is None for no reason
Fuck you Django
 
4:40 AM
fuck.
VS didn't fix their concurrent data structures for move-only types in 2013.
I've been waiting three versions for that
 
submit a patch
 
totally gonna submit a patch for a concurrent data structure
it's not like you need to practically be a quantum physicist to make that shit work reasonably fast and without bugs
 
can't you just literally copy their thing but add in the stuff needed for move-only types?
 
@Rapptz That bow hat is the repcap hat.
Just sheer luck that it matches well. Since she already has bow in her hair. lol
 
4:56 AM
my hat matches quite well with my gravatar
 
> 1224.00 ms (2876 queries)
Cool
 
@nightcracker Who the fuck knows what's needed?
I certainly don't.
when you're dealing with a concurrent data structure, it's not as simple as "Throw in a few std::move and you're done".
moving has fundamentally different parallelism implications to copying when you're dealing with shared data.
 
5:20 AM
@Mysticial welp, the joys of having to do manual scheduling: gist.github.com/nightcracker/f97ee6e0ed7064736a05/raw/…
 
@nightcracker You do realize that the reorder window for Haswell is 192 instructions right?
IOW, you don't have to interleave the stuff at such a low level.
 
@Mysticial no I didn't, but why should that matter for the compiler?
 
@Mysticial you actually pulled that number off the top of your head :)?
 
Maybe. Depends.
@ScarletAmaranth Yes I did.
Which isn't a good thing.
 
this generates different (faster) code using gcc 4.8.2
 
5:22 AM
You need some interleaving. But it doesn't have to be so fine-grained.
You have it easier though. Those are all low latency instructions. So 4 independent chains is enough to keep everything busy.
In my case, I'm dealing with 5-cycle FMAs with dual-issue.
 
3 indepentent chains I found optimal
4 reduces performance
 
Not enough fucking registers to do 8 independent chains.
I already spill with 4 chains.
 
on x64? how many do you actually want :)?
 
So I'm experimenting with "gaming" the register renamer and the reorder buffer.
Which is why I know that 192 off the top of my head.
 
I just don't understand
why the compiler can't reorder this shit
these are 3 fully independent chains
not a single fucking dependency from load to store
 
5:27 AM
I think I finally got my AMD machine to be stable at 4.2 GHz.
The mobo was acting up earlier. The auto-settings were failing.
But forcing manual settings did the trick.
But it's cycle throttling though.
 
@Mysticial It seems like I saw a post suggesting that it might be the mobo. Just wish I could remember who posted that brilliant insight... :-)
 
@JerryCoffin I was suspecting the same.
I just couldn't respond since this machine is what I use in chat.
There's a lot of OC room on this machine.
But I don't have the thermal room for it.
I could try to disable the throttling and throw a shit-ton more vcore at it. That'll probably be good for at least 4.5 GHz.
 
you should have turbo boost disabled while profiling though
 
@Mysticial A bit like the time I waiting on hold to ask the ISP about why my service is down, as they tell me every 2 minutes "for faster service, please visit our web site..."
 
@nightcracker I do. Or rather, I force all the cores to go together.
 
5:30 AM
hmmm
I wonder if I can make a tool that can validate my program for thread safety in limited circumstances.
 
I also have a lot less experience with AMD machines. So I'm not gonna try to push it as hard as I do with the Intel machines.
 
@Mysticial I suggest liquid helium.
 
I guess I could.
with Clang.
 
But yeah, I'm not getting much OC out of both these machines:
- FX-8350: 4.0 (4.2 Turbo) -> 4.2 (all cores) - limited by CPU throttling
- i7 4770K: 3.5 (3.9 turbo) -> 4.0 (all cores) - limited by temperature
 
if I had giant, giant balls.
 
5:34 AM
By comparison:
- i7 2600K: 3.4 (3.8 turbo) -> 4.6 GHz (all cores) - limited by unsafe vcore
 
here look
f1 and f2 are functionally equal
only difference is interleaving
 
Something that large will require interleaving.
 
why?
can't the compiler do this for me?
 
@nightcracker Nope. They're dumb.
 
5:37 AM
@JerryCoffin I thought liquid Nitrogen is cheaper ...
 
is there some other tool?
 
@nightcracker Manually.
 
We used to do experiments with liquid Nitrogen in uni ...
 
@Mysticial you call these tools?
 
Yeah
 
5:39 AM
thought you need this instead ...
 
@Telkitty Liquid helium is a much better coolant. First, it's much coler (4K vs. 77K). Second, upon contact with warmer objects, nitrogen boils, forming gaseous nitrogen, which is quite an effective insulator.
 
Or poor conductor. ;)
 
@Mysticial the difference in performance is like 40 cycles
 
@nightcracker How many cycles is your longest dependency chain?
And how many instructions.
 
@Mysticial I don't exactly know
@Mysticial the function is threeway parallel, and takes ~540 cycles
 
5:45 AM
That's a lot.
Much larger than the reorder window.
 
well it's the encryption of 384 bytes
 
How close are you to optimal anyway?
 
maybe you'd get further encrypting fewer bytes more times
 
Count up the cycles you need for each port.
You might already be optimal.
 
I don't know
what optimal is depends on how I implement it
I can go 2, 3, 4 way parallel
if I choose 4 way parallel I might word-slice the implementation
 
5:47 AM
@nightcracker I mean. Take all your instructions. Add up their reciprocal throughputs.
For each port.
And see what the number is.
For example, in one of my functions, I had a loop that needed 208 some cycles to run. But after adding up all the adds and subtracts, found that it was impossible to go less than 204 cycles.
IOW, it was already optimal.
 
nvm I lied
doing more in parallel saves work though
but that's outside of scope for this little function
should I count the instructions for the no-parallel version or the three-way parallel one?
 
Take the optimal one.
*fastest one
 
actually I lied, within one of these macros there is no dependency
 
That said, you should still be in pretty good shape. Integer instructions have less latency.
 
but one encryption function consists of 10 of those, with a shared dependency function execution between all of these
 
5:53 AM
I have shit like this where everything is high latency and not enough registers to unroll: github.com/Mysticial/DigitViewer/blob/master/source/y-cruncher/…
 
ergh
 
Nevertheless, there's a way to get around that. But not worth the effort.
 
12 add, 12 xor, 6 _mm256_shuffle_epi32, 4 _mm256_shuffle_epi8, 4 _mm256_slli_epi32, 4 _mm256_srli_epi32
everything *3 for the threeway parallel version
and then everything *10 for the full function
 
Yeah, I can see how only 3 is needed.
They're all low latency instructions.
Lucky you.
 
lucky?
 

« first day (1158 days earlier)      last day (3805 days later) »