« first day (862 days earlier)      last day (4085 days later) » 

user142019
4:00 AM
Oh right.
 
user142019
CherryPy uses an undocumented function from the standard library and is now broken on Python 3.3.
 
user142019
Wonderful.
 
Is it just me, or are the vote-counts not working?
 
I am trying to cure cancer (maybe) and I have a benchmarking problem. I have a main loop that draws an OpenGL texture. The loop is called accurately at 20 FPS, and the timer doesn't reseed itself until the operation has completed. Every call I subit the texture to update. But the OpenGL texture update rate is clearly less (~2 fps). How can I measure the OpenGL texture update rate?
 
Hm.
 
user142019
4:03 AM
Oh right.
 
user142019
Explicit self parameter. xD
 
user142019
Python is awesome.
 
Ell
@zoid a single function seems feasible to reimplemwnt? :3
 
user142019
lol
 
4:27 AM
@Mysticial The guy went ballistic.
 
NOBODY ANSWERED MY QUESTION IN TWO HOURS HOW DARE THEY
Fucking overentitled morons
 
user1357851
@CatPlusPlus you are from a lounge subtitled "Encrypted Sex Talk" which is full of guys, maybe they are scared, if I was new and I saw your question I would be too :x
 
I don't ask questions
I'll let you figure this one out
 
@Mysticial o_O
Whoa
That guy went off his rocker
Creole looks so weird...
 
@Telkitty Who says the lounge is full of guys? Maybe it's all a conspiracy and we're all chicks..
 
4:36 AM
Is ruby on rails still a thing, or is there some new hotness?
 
user1357851
 
user1357851
is not a chick
 
@Telkitty Those golden locks!
 
@ThePhD I need your help :(
 
@Rapptz Meow?
 
user1357851
4:38 AM
@Collin sexy huh?
 
For some reason drawing the children objects crashes me.
or member objects..
Want to see? Or are you still too lazy?
 
I -guess- I can help.
 
The frame looks like this btw
 
Frame so sexy~
 
@ThePhD ideone.com/LBj7P5 here is the frame.
 
4:43 AM
@Borgleader I'm pretty sure I still had a penis last time I checked.
 
I too have a penis.
 
@EtiennedeMartel Maybe I'm just confused by Telkitty's obsession with the fact that this is a "guy lounge"
 
Where does it crash, again?
 
it's.. commented //cb.draw() this crashes
 
Ooh.
I don't see why. I don't know what button looks like so I wouldn't know.
Is cb properly initialized?
 
4:47 AM
yeah
I made one in main and it rendered properly.
 
Do you have the commits up anywhere?
 
Maybe I could try to run this.
 
But, as far as I can tell, you're default-initializing the button...
What does the crash give you?
 
4:49 AM
it just says not responding then closes :|
wish I could debug it.
 
Commit everything you have?
I'll try yo debug it.
 
well that is everything except the Frame thing.
You can just add that yourself though
but I'll push
 
Commmiiitttt D:
 
sec
 
user142019
psycopg2.cursor y u no __exit__.
 
user142019
4:52 AM
This is like, exception-unsafe.
 
q_q why u no bundle VS 2012 solution q_q
 
because I'm.. using a text editor lol
I'm not even using an IDE
 
=l
How do you expect to get any debugging done?
 
I can't debug because I didn't build the debug libraries.
not because I'm not using an IDE =|
 
Don't write bad code and you don't have to debug
5
 
4:53 AM
Thanks for the words of wisdom. I'll keep them in mind.
 
@R.MartinhoFernandes Well.
 
@Rapptz Got a main anywhere too?
 
@R.MartinhoFernandes Btw I'm interested in what you have to say regarding the new state of concat_map. The ephemeral 'arena' feels a bit like unrolling the coroutine.
 
@Rapptz For SFML, -s on the lib means static or shared ?
 
5:02 AM
that means no dlls
 
Oh.
Nice.
It crashes on construction in sfml-graphics-2-d.dll
 
-1
Q: Does anyone else find it sad that religion SE sites have more Q&A than many actually useful SE sites?

Dan Dascalescu Mi Yodeya = Q&A for those who base their lives on Jewish law and tradition. 6.9k questions Biblical Hermeneutics = Q&A for professors, theologians, and those interested in exegetical analysis of biblical texts. 1k questions Christianity = Q&A for committed Christians, experts in Chri...

^^ Anyone wanna go into rant mode?
 
@Mysticial No, why should I?
 
@Rapptz x2 in closebutton crashes hardcore.
 
@ThePhD Hm..
 
5:09 AM
Then again, I'm just using SFML 2.0 rc
Probably an SFML bug.
 
I built SFML myself
 
@Rapptz Maybe not you, or most of us. But I can totally see someone ranting at that.
 
using at the time the latest, so I doubt you're that far of.
@Mysticial His point is kind of missed, I think he's saying "Why do we have more questions of religion than things that "matter" to me or what I believe matters to most of society?"
 
in Anime and Manga on The Stack Exchange Network Chat, 22 secs ago, by Mysticial
C++ iterators are so bulky, they make Java's naming conventions look tame.
^^ meanwhile in the other room...
 
It's probably SFML crashing.
 
5:11 AM
you think it's the CloseButton?
 
@animuson: that helps explain things. R. Martinho: no. How many lives has robotic surgery saved, vs. how many homicides has religion committed. — Dan Dascalescu 26 secs ago
^^ wow... While I don't disagree with that... he's just asking for it...
 
user142019
class scope_guard():
    def __init__(self, f):
        self.f = f

    def __enter__(self):
        pass

    def __exit__(self, exc_type, exc_value, traceback):
        self.f()
 
the close button does fine by itself though o.o
 
user142019
I wrote this crap to work around a crappy library written by people who don't understand with statements. T_T
 
awesomium.com On a scale of easy to are you retarded. How hard is it to make a library like this?
 
user142019
5:13 AM
@Borgleader the C++ API is terrible.
 
user142019
Pointers all over the place.
 
user142019
Clearly written by morons.
 
I'm not asking for a review of the actual product. I want to know how difficult it is to make something similar to it.
 
@ThePhD :( well what do you think I should do to close? I think only the frame will actually use the close button
 
user142019
Easy.
 
user142019
5:14 AM
It's WebKit in a window really.
 
user142019
With some interop between C++ and JavaScript.
 
Well it's a little more than that...
 
user142019
@Borgleader elaborate.
 
@Rapptz Wait for SFML to get good. :3c
 
@ThePhD Never gonna happen. It's a French framework, remember?
 
5:16 AM
Well it seems you can render the Webkit output to a texture that can be used with Directx/OpenGL
 
(Damn, I'm so fucking racist sometimes)
 
user142019
@Borgleader oh wow.
 
user142019
How difficult to implement.
 
@EtiennedeMartel (Shitty French Media Library? :3c)
@Zoidberg You know what's hilarious?
 
I'm not sure that's exactly how its done but you can do in game menus with this thing
 
5:17 AM
@ThePhD Have.. you tried it with any other object?
 
user142019
@ThePhD The amount of fat in yo momma's ass.
 
I kind of find it hard to believe it's SFML's fault and not mine.
 
@ThePhD I'm fairly certain the "FML" part of "SFML" is intentional, because these Frenchies fucking love their English acronyms.
 
@Rapptz Put it in a real Debugger than and see what goes wrong.
 
Well I guess that's yet another project to add to my already too long list of things to do T_T
 
5:18 AM
@Zoidberg No, the fact that they say on their webpage: Awesomium is a fork of Chromium.
They forked Chromium to get all the free stuff part of it, made a thin wrapper, and then called it a day.
 
user142019
Whatever.
 
user142019
Time to sleep.
 
@ThePhD So... easy then?
 
@ThePhD :( zzz
 
@Borgleader Look at their source code and API, see how easy it looks.
 
5:19 AM
what kind of suggestion is "wait for something to get better"
 
@ThePhD I'll do that... tomorrow! Or whenever I have time T_T
bed time now. cya
 
adios
 
@Rapptz Hey, you're the one that wanted to use experimental SFML, not me.
 
yeah me and other people ㄱ.ㄱ
Hm.
The vote split is now +5/-14. I'm sure the 14 downvotes are from anti-religionists who genuinely think this is a bad question. — Dan Dascalescu 1 min ago
 
It's actually +1/-10.
 
5:25 AM
+2 now cause I can
 
I seriously doubt the voting is really based on what each person believes.
 
The question was a piece of shit to start with.
 
Most of the guys are just downvoting since it's just a rant.
 
So -1.
 
You don't have enough rep to downvote
:( I don't think I can continue.
lame.
 
5:32 AM
Hmm.
I kinda lost it at "actually useful".
Looks like an angry atheist to me.
 
Atheist so mad.
 
I've seen fanaticism in the eyes of people who don't even believe in a God. That's how weird some people are.
 
Anyone can be a fanatic; that's what people fail to understand.
 
aw man this baby looks cute i.qkme.me/3t45c6.jpg
@ThePhD I just tested it with a different object, it isn't the close button thing.. I think it's something I did. I'm not sure what though =/
 
This is so awesome.
 
5:48 AM
@Rapptz I suppose I should build SFML and find out.
 
5:58 AM
Hm.
I thin my coding conventions are good.
 
Everyone thinks their coding conventions are good.
 
user1357851
m_MyVariable
 
@ThePhD I tried to push snake_case to my team.
It failed.
We're on PascalCase now.
 
Haha.
snake_case is good when you have std-alike functionality.
I use snake_case for things like lexical_cast<>, etc.
vector_traits, matrix_traits, that kind fo stuff.
The rest of the stuff is PascalCase.
Also, C# uses PascalCase for its libraries and classes, so you should probably stick with PascalCase since you're in C#. :P
 
@ThePhD It's good when you use the standard library and boost. That way your code doesn't clash too much with it.
@ThePhD I meant for C++.
I use PascalCase for C#.
 
6:06 AM
Ah.
Everyone was resistant to it? :P
 
I use whatever is consistent with the library of the language I'm using.
So, camelCase in Java.
 
Hold on a minute
I know that CSS..
 
And $what_thefuck_case in PHP.
(I'm kidding, I don't use PHP anymore)
 
> Inclusion of anything engine-related - inside or outside of Engine source code - is in the format #include <>. Includes of anything else should use #include ""
Wut
 
#include <Furrovine++/Blah/ShittyBlahBlah.h>
#include <memory>
#include "Ploughland/Ohai.dere"
 
6:08 AM
Also those naming conventions make for a hilariously inconsistent code
 
@ThePhD You don't seem to understand what's the difference between <> and "".
 
And I think those 5 hours of sleep weren't enough after all
 
@EtiennedeMartel #include <> is for searching the provided paths for source files. The engine is on an outside path.
 
The difference is that there is almost no difference, "" only considers current directory and <> doesn't; at least that's what MSVC/GCC do
#include "vector" will work just fine~
 
Dear lord #include "vector" ;~;
What I'm getting at is you should include from the current directory when working with the actual project's code.
 
6:10 AM
what the fuck is Ploughland
 
The engine is off on its separate path defined in the properties, though, so generally only works well with #include <>
@Rapptz Not a clue.
 
you keep using it
is it a game about bread
 
Slicing Bread~
Makes me think of Doughland though.
 
Would be cool to fuck about in a bread world.
You could go about saving the bread princess or something.
 
@ThePhD Do you think I should just keep going and then save the frame thing last?
 
6:13 AM
@CatPlusPlus In either case, do those conventions sound fine? As long as the external api is PascalCase I don't quite care.
@Rapptz I dunno man. I still don't know if the bug is in your code or not. D:
@EtiennedeMartel Downloaded.
 
I stopped caring for naming conventions few years ago
 
@CatPlusPlus Me too. I'm of the "pick the nearest one and stick to it" school of thought.
 
PHP developers did that too
 
PROC_aRE_yousure_YouDontMind ( const void* CaT ) { /* ~~~ */ } ?
 
Only had really short attention span :v:
 
6:14 AM
@ThePhD horrible
 
NAPTIME
 
honestly if I saw that I'd just think the person is retarded
 
Lol
 
and wouldn't work with them
 
I made Cat want to sleep. I'm not a genius yet =[
 
6:15 AM
It's not that hard
Make me not want to sleep and then we'll talk about geniuses
 
Hokay.
 
@CatPlusPlus So, to be a genius, I simply need to use some stimulant?
 
0
Q: KEEP BLOCKING ME FROM SENDING FRIEND REQUEST WHEN I'M NOT SENDING ANY

Misty SimmonsWHY DO YOU KEEP BLOCKING MY FROM SENDING FRIEND REQUEST WHEN I'M NOT EVEN SENDING THEM. NOW BLOCKED FOR 30 DAYS NEXT WILL BE DELETED???????? THIS DOESN'T MAKE ANY SINCE TO ME. DELETE ME FROM FACEBOOK BECAUSE I'M NOT SENDING THE REQUEST. PEOPLE ARE SENDING ME REQUEST AND I ACCEPT. I HAVE ANOTHER A...

^^ beautiful...
 
@CatPlusPlus Yeah, but I'm not stupid.
 
I was supposed to be spending a lot of time on Kyrostat this weekend.
 
6:19 AM
Did somebody manage a screenshot?
I stupidly refreshed and it was gone.
 
Noupe.
I did the same mistake.
 
Fuck, I need 10k rep badly...
If just one of us gets to 10k, then we'll all be able to enjoy meta.
 
Go find some more Branch Predictor questions. :D
 
Repwhoring is much harder on meta.
 
@ThePhD That only works on SO.
 
6:20 AM
Mm, true. =[
 
6:34 AM
I LOVE THIS MIDI SONG
And the visualizer is pretty cool too I guess. x3
 
@Mysticial I need to see a picture of that. I'm too busy having a life not awesome enough to get >10k on meta.SO
 
I don't think anybody managed to get a screenie.
I still need another 3.5k to get to 10k.
 
See, I want to know more about this "FRIEND REQUEST" thing the OP alludes to.
It almost sounds like someone mistook Meta.SO for Facebook support
 
This always happens and I don't know why.
 
@Insilico It happens all the time.
 
6:38 AM
@Mysticial Yeah, I forget about that.
 
@ThePhD Analogies do actually work on meta...
To some extent at least:
25
A: Old timer's luck vs Newcomer's work

MysticialIt's really no different than stock options in a startup company. In a startup, the earlier you are there, the bigger portion of the company shares you get; On Stack Overflow, the earlier you were here to snatch up all the common questions, the more passive rep you get in the long run. Yes th...

 
@Rapptz SO is officially the Facebook dev support.
Some people forget about the "dev" part, though.
 
Perhaps it was Google's fault. SO gets almost all its traffic from Google searches.
 
I guess I'll just have to be sehe x 100 and lay the puns on thick.
 
Morning! :D
 
6:45 AM
@Insilico People google for "Facebook help", get SO result, click there, don't bother reading any kind of FAQ, get hit in the face with 5 close votes.
 
@EtiennedeMartel : You the only one here?
 
@GamesBrainiac Yes, I'm talking with myself.
OF COURSE I'M NOT.
 
@EtiennedeMartel lol. How've you been?? Work killing you much?
 
@GamesBrainiac No.
 
@EtiennedeMartel Sounds good then. Just finished a fantasy novel series. goodreads.com/book/show/944076.Last_Argument_of_Kings
The book had so much promise in the first two installments, the last one was just plain depressing.
 
6:58 AM
I am currently diving into some open source code for a config file parser (can't sleep). I notice that the author writes most of his functions to accept constant references to objects as arguments; nothing wrong there. However, he then caches these references to local variables and then operates on these cached values. So the naturally chain of thought is: Instead of pass-by-reference, why doesn't the author just write the functions to accept arguments passed as values?
 
I don't see that as natural.
 
Well, I am a little weird...The way
I see it, there will be local copy of the object anyway.
 
So then it's not the references that are cached, it's the values?
 
Yes; I probably should have clarified that.
Why go through the trouble of storing a local copy if you can just get a copy?
 
If 'caching' here means e.g. making a variable that is persistent across calls then that wouldn't just work with a parameter.
 
7:08 AM
Perhaps, I should have said he is storing the value in a local variable within each function. Not persisting the value across each call. If that was the case, that would make sense.
 
Ah, so it's about a copy of a parameter. Well, it could be the case that the copy is mutated and the parameter is used again after the copy. Otherwise, you're right. If you have to take a copy, might as well make it in the parameter list.
 
Could be so; thanks for sticking around with that one. Now, I can sleep tonight.
 
7:27 AM
Let me see if I can explain this sensibly. So the author creates a function that accept a const reference that is stream inserted into an ostringstream object. In such case, the value must be constant. Then he writes another function with an argument that is passed to the aforementioned function call; this argument is const copy that is not modified within the function, just passed along. Shouldn't this argument be passed-by-reference as well? Even for the sake of consistency?
 
It won't hurt.
 
Yeah, but I know these kinds of things are not necessary so some developers often overlook these kinds of things. Not to insult the author, I mean I am just a scraggly kid, but I wish he gave the code more thought. The signature of a typical function looks like: void functionName(const std::string &value) which is followed up with a std::string tmp = value; within the function body.
 
Vlargh. Linker strikes again..
 
I made a checkbox.
 
Vary nice.
 
7:42 AM
@Rapptz first crack at windows programming?
 
No. I'm making a UI library.
 
@ThomasAnthony For C++03 this doesn't really matter much. For C++11 arguably passing by value has taken on a new meaning. Dave Abrahams has been very eloquent on that topic.
 
It's in theory cross platform because my dependency is..
 
... Not building correctly.
:3c
 
Not my problem. :)
 
7:44 AM
q_q so meen.
 
What isn't building?
 
BUahahaha
Holy shit
The last SFML build was April 2012
No wonder this shit doesn't work
Fuck that noise.
 
yeah mine's from a repo snapshot from 6 days ago or so
do you want me to send you my compiled one?
 
@LucDanton That is exactly what I was thinking! Let the compiler do the work. Thanks for the info.
 
Did you build it with VS2012?
 
7:47 AM
@ThePhD No, I was thinking of making a VS solution though if you want me to.
 
How could I use it if you don't build it with VS?
 
shrug.
I use MinGW mainly, you know that.
 
You and your MinGW -O2 master raceness.
 
-O3 now bitches.
ironically it was VS2012 that made me finally switch to MinGW
 
@Rapptz Nice checkbox, keep 'em coming.
 
7:50 AM
I was too mad that they didn't include initializer_list constructors.
@ThomasAnthony Thanks :D
 
Hm.
Guess I'll make separate thingies for everythng.
Did you build SFML with Static Libs?
 
I'm not using anything too C++11-y so I can make a VS2012 solution
 
Static STD Lib, that is?
 
no I make dynamic
(it shouldn't make a difference since we're on Windows)
 
x86 and x64 builds, woo.
+1 Eric Lippert.
Lucky guess.
Okay.
Built the shit out of SFML.
If I run your code and it still fails you suck @Rapptz :3c
 

« first day (862 days earlier)      last day (4085 days later) »