« first day (1139 days earlier)      last day (3811 days later) » 

12:00 AM
@StackedCrooked I mean the title.
 
The title is by Debussy.
I think.
 
But the piece is really nice. I like "Le cathedral engloutie" (spl?) from that book, too. And one more, I can't seem to remember
@StackedCrooked Yes. I thought you had WP open :/
 
Would you mind terribly to quickly run over my crap at codereview.stackexchange.com/questions/36252/…
 
I had closed it, but reopened it now.
 
@StackedCrooked I understand now.
 
12:02 AM
K, deploying the extension has to be like this: #include <catch_teamcity_reporter.h++> on the runner object after defining CATCH_CONFIG_MAIN. It might be that there's a less strict way of getting it to work, but I think this one is fine.
Basically in the TU of your runner you #include all extensions. Seems good.
 
The second time I heard the melody is in the latest episode of NouKome. One of the silliest/stupidest comedy anime ever.
But still quite funny in the end.
 
/cc @sehe
Now, need a spare codename.
Nah, fuck it.
 
I had to register
 
Register what?
 
to view your thing :s
 
12:13 AM
@BartekBanachewicz Got any good resources on MRT in Opengl3.x+ ? I'm working on deferred shading for an assignmennt, and I must have fucked up somewhere because the shader that's supposed to compose the color from the gbuffer isnt getting anything /cc @melak47
 
@Rapptz You could have clicked "Login as guest", right next to the "Register" link :P
 
I didn't see that lol
 
@Borgleader your final buffer isn't getting anything, or your gbuffer isn't getting anything?
also, why did you @ me with opengl stuff? :E
 
@melak47 woops, i might to tag the pirate xD
What I wanted to do was check the contents of the gbuffer, so im drawing a fullscreen quad and it samples the albedo texture of the gbuffer, but its all black.
 
Xeo
12:17 AM
@Jerry: You forgot a typename before Container::value_type
 
> In Java they are also called POJOs (plain old java objects)
I don't even wanna know.
But I'm guessing a shitload of getters and setters.
 
Ell
Yup
 
@R.MartinhoFernandes guest
0
A: Euler problem c++ / std::library usage

seheYour conversions are... pretty WTF :) void insert_if_product(string const& factor1, string const& factor2, string const& product) { auto p = std::stoul(product); if (std::stoul(factor1, nullptr, 10) * std::stoul(factor2, nullptr, 10) == p) { products.insert(p); } } I mean w...

Speed up > 4x by just reducing string copies
 
Why shouldn't I define symbols in the global namespaces (except for other namespaces of course)?
 
@sehe lol o.O
 
12:23 AM
@sehe What about the conversions? that is where I though I was missing out.
 
Xeo
@Jefffrey The global namespace is like the earth's oceans - don't pollute it with your junk. :P
 
@CaptainGiraffe You can look at the answer, maybe
 
@Xeo even if I'm the only one that will pollute it?
 
@sehe Didn't see it first time around. Thanks.
 
Xeo
@Jefffrey Yes
Also, global namespace means unqualified call means potentially accidental ADL
 
12:24 AM
Right, thanks.
 
Xeo
(sometimes, I think ADL should have its own invocation form)
 
@CaptainGiraffe Posisbly, th assignments in check_products still trump reserve (not sure). Better to use indexes and assign methinks
 
Ell
Man sometimes music makes me feel so high
 
@sehe Not really looking for speed improvements, but more clever use of the available libraries. Your answer and comments are still very helpful. I thank you again.
 
Xeo
Btw @R.MartinhoFernandes, is you "random project name" list CC0? I might wanna steal from it.
 
12:28 AM
Hello, Lounge!
 
@Jefffrey Yes. You can always get in trouble doing that.
 
vas ist going on in dis thread
 
Just pretend it doesn't exist.
@Xeo But then I'd have none!
 
@user7236293 Ohai. Long time no seen. The usual :)
And 7236293 is prime. I'm pleased.
 
@sehe oh here's my cuddly bear! i tried to catch you on mamble several times but failed
@sehe proof of intelligent design!
 
12:31 AM
@user7236293 You know, I just run that thing. I'm not much into it.
 
@sehe okay next time i'll just send a mail i guess ~
 
Nov 3 '11 at 18:53, by StackedCrooked
Ah, I see I received my keyboard cover in the mail today.
My keyboard is still like new :)
 
@R.MartinhoFernandes I kinda get the general idea of "don't pollute a space that might be shared with other libraries and or codebases" (and possibly the ADL example as well), but if someone came to me and said: "Hey, why don't you use the global namespace instead?", I wouldn't like to answer "Well, some people I trust told me so and I just felt it was right". It wouldn't sound much convincing.
 
Have you heard of the Global namespace?
 
Xeo
do you work for US government? Is your spouse from Russia? If the answer to both questions is yes, then you haev a security problem. Otherwise, just talk to her... — Sulthan 56 mins ago
 
12:34 AM
This should be a religion
 
Xeo
lol
 
@user7236293 ::global in C# :)
 
@sehe Oh my I haven't done C# in ages ;_; I miss him
 
What you been doin'?
 
@R.MartinhoFernandes still in korea working like a... korean, 35h a day. how about you?
 
12:37 AM
Lots o' stuff!
2 days ago, by R. Martinho Fernandes
My friend sent me the pics he took http://imgur.com/a/wPLGS
Recognise me?
 
@R.MartinhoFernandes Hahaha yes !
I don't see my name in bolded capitals in the center of the screen, I am disappoint
What was that talk about?
 
Holy tits there's so much snow outside.
 
@EtiennedeMartel saint seins il y a tailement de la neiche dans le dehors
 
@user7236293 Je travaille 40h/semaine. 35h, ça me semble peu.
 
12:41 AM
@EtiennedeMartel /jour?
 
@EtiennedeMartel keyword: a day
 
I had my first non-medical talk today.
 
@user7236293 My brain farted.
 
@R.MartinhoFernandes I've read that one of course! And who was the public?
@EtiennedeMartel Nice to see things don't change
 
@user7236293 C++ User Group Berlin. They reached out and invited me.
 
12:42 AM
Gah, my brother still uses Etienne Maps. AKA he texts me when he wants to know the location of something because he still has a dumb phone.
 
@R.MartinhoFernandes The beginning of fame! Now you have to write a book get rich and marry me. In that order.
 
lol
 
updated now 8x faster, check_products back as a free function (better IMO). Also, note subtle things like 0u in the accumulate call! — sehe 43 secs ago
I don't really see how PE is useful if you don't optimize for efficiency. But okay :)
 
@sehe Thanks again. Does the lambda really do anything?
 
25 mins ago, by sehe
@CaptainGiraffe You can look at the answer, maybe
@CaptainGiraffe Not anymore. It's gone. Lambdas are a q&d to share state. I just made the locals static now, same effect (the reserve calls had no measurable effect)
 
12:49 AM
@sehe Hmm, why are you mixing using namespace std; and std::... calls? It's driving me crazy!
 
@Jefffrey I made it using namespace::
 
@Jefffrey Well, then answer "don't pollute a space that might be shared with other libraries and or codebases" (and possibly the ADL example as well) :P
 
where's the boartek
 
@R.MartinhoFernandes that's a very clever ;)
 
@Jefffrey I'm not. I just type std. If the other code didn't... I hadn't noticed
 
Did the char crap really make a difference speed wise? I was looking for a idiomatic solution not optimized OpenCL code.
 
@Jefffrey fixed
@CaptainGiraffe 2x
 
@sehe I love you
 
@sehe Huh, interesting.
 
@CaptainGiraffe The idiomatic changes where the first 2 bullets, mainly. Pass by const&
@CaptainGiraffe How would it not? I mean what does substr return?
 
12:55 AM
@sehe of course.
 
Right: fresh new instances of std::string. These objects don't come from nowhere. They have to be made. While all you wanted was to copy a range of chars
 
@sehe k so let mer rewrite this in terms of iterators =)
 
@CaptainGiraffe That's painful. But you can.
 
@sehe The/ My comment makes the procedure obvious. The cost is string -> int.
I can make less assumptions than the std::
 
Ah btw, I have good news. This is supposed to be one of the best universities in Asia - and noone uses version control. They exchange zip files by mail.
 
@Cat GitHub hooks work fine.
 
@user7236293 Phew. That's great news. Finally we can forget about the git vs. merurial debate
 
@sehe Was there ever a debate on that
 
lawl
 
@sehe I really like your input sehe. Can I make it more readable?
 
1:00 AM
Hmm, fuck off Catch.
Catch hijacks std::cout and buffers all my output!
 
Xeo
lol
 
Gonna use printf. Sigh.
 
@R.MartinhoFernandes Wait. What did you just say?
 
Xeo
I wanna code something, but then again, it's 2am.
Fuck 24h days.
 
@Xeo There's a prefs struct with a bool "shouldRedirectStdOut". It set it to false, but fuck knows what that does.
Man, been a while since I #include <cstdio>.
 
1:03 AM
@Borgleader have you checked the other channels of your gbuffer?
 
Also, Catch info is ungoogleable.
 
ungoogleable, verb
 
@R.MartinhoFernandes The good news is: there is none. Apparently. Not outside 3 page wiki.
@user7236293 adjective/noun?
 
adjective
 
Xeo
Languages are hard, doesn't matter if programming or natural.
 
1:04 AM
currently waiting for the insurance company to take my call (in regards to my recent claim), I have been waiting for nearly an hour
 
lawl. I think you need to pay more
 
@Telkitty they don't care
 
on the good side, I have accomplished 3 other things while waiting
 
that's good
 
Xeo
Welp, weighing 6h of sleep vs 4h and some coding that will likely result in nothing, I think I'll take the 6h. G'night.
 
1:06 AM
I think they are trying to make the waiting time as long as possible so people will quit themselves
 
was "establishing a list of what I did while waiting" one of those things?
 
I paid 3 bills online and made lunch
 
@Xeo Me too. Except, 5h
Night all
 
later bear
 
night :)
 
1:07 AM
@sehe Good night ~ (oh btw I saw a polar bear the other day! will send photo)
 
@Telkitty I need to pay a bill thanks.
 
so who's timezone am in intersecting (utc+9 here)
 
Wait, maybe it doesn't buffer anything.
Damn, now I need an artifically slow test to make sure.
Yes, it buffers.
Oh. Wait. It's ninja that buffers.
God fucking damnit.
 
1:23 AM
@Scott hai bby
@ScottW korean mandarina juice is very good, be jelly
aw yiss spread me on your toast
 
Playing some League of Legends with a friend right now. I'm ZeSmith, he's OmniKorm. We're both huge noobs.
 
@ScottW shivers
@EtiennedeMartel flash crashes is that normal
 
@FredOverflow Trade or just make it sparkle? ;)
 
@melak47 No
 
1:39 AM
 
@melak47 I cleared the default framebuffer, but not my own... problem solved
I feel so fucking dumb now
 
:D
 
qtft
 
:D
(Its upside down but who cares)
Wait till the lights and particles are in :D
 
Woo, finally, test durations are correct.
Now I can sleepzors.
 
1:53 AM
@R.MartinhoFernandes good no-ops <3
 
// TODO: this is terrible
lol
this is the first code I've seen that uses inline namespaces
 
2:26 AM
Mar 23 at 21:56, by ThePhD
Hahah what the shit
Mar 23 at 21:56, by ThePhD
ON coliru there's a glowing man's face next to the SHare button
I regret removing it.
But it wasn't popular :(
So I succumbed to peer pressure.
the glowing man
there was a time when coliru had a glowing man
it was the same url as always
 
Hrm.
My essay was called "brash and privileged" :\
 
@StackedCrooked I want that feature in Christmas day. Please. :)
 
@ScottW how is it going?
Fairly good.
I think my teacher hates me, but otherwise.
 
@ScottW I lost my copy of your game while reinstalling my OS :(. Could you give me the link again?
 
It is like a hostile witness :\
 
2:40 AM
Thanks in advance. :)
 
@MarkGarcia did you ever get to play it?
 
@ScottW svn cat http://coliru.googlecode.com/svn/trunk/Web/index.html@r1027 (fixed url)
 
@StackedCrooked 404?
 
@Pawnguy7 I was on the last level of the first stage.
@ScottW Nice. Thanks.
 
@MarkGarcia be sure to remind me in time :)
 
2:45 AM
@StackedCrooked Bookmarked.
 
Oh, also.
I was adding a pause menu to snake.
Should there be a pause sound?
 
@Pawnguy7 That would be annoying when you're doing the pause/resume technique. ;)
I've always done that on old Nokia phones.
 
Technique?
 
@Pawnguy7 When the snake goes too fast and you don't want to hit a wall. In old Nokia phones, the game is freezed when you resume and only moves after you hit a key. You repeat the pause-resume-move cycle until you finish the game.
Though that may not be applicable in your game. :)
 
Oh.
I almost want to say that is a bug, but then again it is a phone.
Or maybe you could have a timed delay.
Anyway, pausing only makes mine worse.
You will move instantly after it, which might not have been true before.
 
2:52 AM
@Pawnguy7 Is this an NSA pun?
 
Oh.
Not that kind of bug :D
Took me a while to find that one.
 
wow, I expected you to be confused
 
I was for a while.
 
@StackedCrooked lol
 
Jeff Jeff.
How are you?
 
2:55 AM
Relatively fine, thanks.
 
Relatively fine isn't as good as absolutely fine.
 
Depends on what the relative is based on. :P
@Pawnguy7, oh boy, do you remember having this kind of problems in the early days of SFML?
 
I still don't understand why it's so hard to find a sequential container based on a binary tree.
 
@Jefffrey SFML_STATIC and stuff.
 
@MarkGarcia Never used, I'm a newb.
 
3:03 AM
I have never command-line compiled, except for Java once (kind of funny, that).
Although.
For MinGW you need to link them in the order system,window,graphics.
I cannot remember the order though.
Might be reverse.
 
I think that's correct.
I had that problem with SFML'S link order once.
 
g++ is the compiler, correct?
It isn't also a linker?
 
AFAIK, g++ is just a front-end. The compiler is cc1-plus or something and the linker is ld.
 
> g++ -o sprite sprite.o -L sfml/lib -lsfml-graphics -lsfml-window -lsfml-system
Appears to be linking something.
So you are saying, it delegates to ld?
 
@Pawnguy7 Yes.
 
3:11 AM
@Jefffrey I am curious, what was the intent behind linking this?
 
@Pawnguy7 to gather your location
 
Ok then :D
Oh, on this pause menu thing.
Think it should have sounds?
 
yes, a chilling sound
 
chilling?
 
@Pawnguy7 this
 
3:16 AM
@Pawnguy7 relaxing
 
Not my death sound, then :D
Haha failure.
I tried making the note half the duration.
Made it twice as long.
 
I can honestly say I have never seen that one before.
 
Some articles that consist of a list of things are themselves about lists of things, such as the articles in the list of lists of lists below. General reference * Lists of academic journals * Lists of important publications in science Culture and the arts Literature * Lists of books ** Lists of The New York Times Fiction Best Sellers ** Lists of The New York Times Non-Fiction Best Sellers ** Publishers Weekly lists of bestselling novels in the United States * Lists of bookstores * Lists of LGBT figures in fiction and myth * Lists of Middle-earth articles * Lists of writers ** Lists of ...
7
 
3:31 AM
@Mikhail lol
 
Need more indirection.
Oh.
Since I was switching from the AI.
 
@Mikhail lol, but I think they got it wrong. Should be "List of lists of things".
 
I made a Big Fat Commitâ„¢.
@Jefffrey want to build it? :D
 
@Pawnguy7 I was going to bed
 
@Pawnguy7 Consider using a graphical tool that has interactive staging, or much better, branching.
 
3:35 AM
@Jefffrey oh, right. It is like 5 AM. You should do that.
 
@Jefffrey I was saying good night. :)
 
@Pawnguy7 But, who cares? I'll try.
 
You will, if it takes an hour.
 
Oh, wait, you don't have a Makefile.
 
That too.
 
3:37 AM
Nevermind.
 
So they cannot do folders?
 
They can, I can't.
 
Maybe we can see how SFML does it.
@MarkGarcia I committed what I intended (this time, anyway). I had been holding back for a while because I didn't consider it finished.
Bigger than normal for my commits, anyway.
 
Yeah, there must be 15+ .cpp files in your repository. That's gonna be a PITA to compile manually
 
What do you use, again?
 
3:43 AM
?
 
What is your... make tool?
 
GNU make?
 
Oh. It is called make :D
Once I am done with this.
 
lol
 
I will have to learn how to setup Cmake.
Will be useful for later project.
And this as well.
 
3:45 AM
I heard CMake sucks, for some reasons
 
Because tabs?
 
@Jefffrey It isn't that intuitive.
 
Oh? I am very bad at nonintuitive things.
Why is using Hitler bad again?
Besides being rather overused, that is.
 
@Pawnguy7 Same here (who the hell has good intuition at non-intuitive things ;) ). Looking at some projects using CMake has helped me.
 
@Pawnguy7 Godwin's law you mean?
 
3:48 AM
@Borgleader I guess. I got called on my use of it in an essay as well today.
To hyperbolic, they said.
Which was the entire point :\
@MarkGarcia I don't know. It seems some people think everybody should just "get" linking libraries, and never have problems. It seems most people struggle with it, though. Anyway, I know SFML uses it, so I can take a look at that, and the documentation.
 
@Rapptz I don't understand, should I use cmake or not?
 
Those were all by Rapptz though.
 
@Pawnguy7 Also, this, this, this, this, this and this.
 
That is like saying things are terrible because a cat said so.
Nevermind then :D
Know of alternatives though?
 
@Jefffrey lol. He hates CMake enough to make his own meta build system.
 
3:52 AM
Apparently Ell loves it.
 
Though it might be one of those things that has so much velocity, you might as well just get over it.
 
@Pawnguy7 cmake has velocity only when thrown out of the window by rapptz
 
I don't hate CMake. Until I deal with the build cache...
 
I cannot help but feel this design is bad.
But the only thing that comes to mind is using strings.
 
@Pawnguy7 Why not? They're more flexible when it comes to runtime resources.
 
3:54 AM
@Pawnguy7 Eh, I need to use enums for indexing as well.
@MarkGarcia I don't even know what that is :/
 
In one way or another you'll use strings for resources. Having enums would just add an unnecessary level of indirection.
And hamper flexibility.
 
@MarkGarcia and you don't get compile time check as well
 
@Jefffrey You'll know it when it begins to annoy you. ;)
@Jefffrey Remove the file indicated by the enum Presto! Compile-time checking can't check that.
 
@MarkGarcia Well, the resources are known at compile time
 
@MarkGarcia I don't use files. :/
 
3:57 AM
Anyway, as puppy told me.
Strings are interfaces.
 
* told me
 
@Pawnguy7 Maybe it's just a matter of preference. It's just I like flexibility. :)
 
I probably would have if I wasn't told otherwise.
It does seem more flexible.
But what I was told also make sense.
Maybe I should look into it.
 
flexibility doesn't necessarily means "good"
 
In most cases, close coupling is considered bad.
 

« first day (1139 days earlier)      last day (3811 days later) »