« first day (1046 days earlier)      last day (3908 days later) » 

12:00 AM
Ok, back.
Your suggesting I have a pointer to the current room instead?
 
so anyway, now that I'm glad we agree that this conversation is pointless
 
@DeadMG by handle it in the main loop, do you mean with a pointer calling its update method?
 
@Pawnguy7 Yep.
 
Could work. Although, how would I do the transitions?
 
just have two pointers, one for the old and one for the new.
 
12:07 AM
I bet I used a static class to do this before. Anyway um, the idea was, that rooms could get the transition time - [0, 1] - to, say, draw accordingly. How could you get this, within the room? Passing two times in draw() and update() seems silly.
 
define "transition time".
 
Let's say we have a fade in. When you first enter the room, it is black, but slowly, white text appears (from 0 to 1 alpha, over time). A room could define how long its transitionInTime is, and be able to get the percent completion. Then, say, alpha = percent*255.
 
ok.
so you define how long the transition in is- it's a constant.
then every time you are updated, you are passed in the "update" time.
so just have a member variable, add the update time for the total time since your first update, and then compare to the constant.
 
The first update ever, or since you went to the room?
 
well, since you just created the room when you wanted to go there
then they are equivalent.
what does any individual room care about what the previous rooms did in their time or how long that's been?
 
12:13 AM
In theory it doesn't.
Isn't it kind of repetitive to calculate the time yourself, though?
 
eh
factor into a subclass or member if you want.
 
back
 
There was another potential issue.
Let's imagine, one of the rooms is an options room, and you can adjust the volume.
Previously, I was setting that on a static class.
 
@DeadMG I thought about you while showering, you know the proof for the existence of natural numbers that involves counting null sets, that has the idea of 0 from the first empty set, you then use induction to prove that if there's an nth there's an n+1th number, thus if n=0 there's a 1, if n=1 there's a 2 and blah
 
yep
 
12:31 AM
My online banking password won't let me use Japanese.
 
@chris Transfer your account to Osaka.
 
If you're above us, then kindly fuck off and do not return.
 
lol
 
user425495
I don't think anyone is arguing with you, you're just barely spouting talking points like it's your first day in an upper level math class
 
I didn't claim to be above you but it's not my job to educate you.
 
12:34 AM
I wonder what the biggest bin of all time is.
 
I've never thought about the puppy while showering.
 
I think I had one that was a couple hundred messages.
@MartinJames I also thought that was pretty creepy.
 
@MartinJames which puppy?
 
the puppy, duh.
 
@DeadMG Yeah, and don't worry, I'm not going to take it up :)
 
12:35 AM
@DeadMG I don't know the puppy
 
I've just outlined a proof for you guys and you binned it, @DeadMG that was very rude, I was patient, I thought about how to answer in the shower, and you binned it because I tried to teach you something and you couldn't see it.
That's not right.
 
jesus
 
on the contrary
 
Nothing in this chat is ever right.
 
I can and will bin whatever I want, whenever I want to.
and frankly, I was willing to have a discussion but I'm pretty sure that now you're just trolling me
 
12:37 AM
@chris The puppy==DeadMG. Avatar/Daisy.
 
so yep, I pretty much intend to bin everything you say.
 
No that was childish, I tried to help you with something that has a formal proof, do you know what a mathematical proof is? there's no "if" there's no "but" and you binned it because you didn't like it.
 
@DeadMG it's not a discussion when someone has it in their mind that they are educating you
 
That's awful, I'm only glad you don't have any part in research.
 
@Chemistpp I pretty much agree.
 
12:37 AM
Goodnight
 
@AlecTeal I'm glad you do not either. You wouldn't understand collaboration and it's clear you're not objective to your own thoughts.
 
I'm ratted, so I don't actually care that much either way:)
 
I still have no idea what the discussion is about, or what application it has.
 
@Pawnguy7 Universal base classes.
 
Dang it, I took too long to think of a password and the session timed out.
 
12:40 AM
Ala Object? I think it is called that in C# as well, but I am not sure.
 
@chris you don't just use the same one for everything?
hrmm
 
I said they were worthless, and Alec Teal said "But my unspecified, unreferenced, and completely out-of-my-arse proof proves that it's theoretically necessary!!oneone11. And if you don't know the proof, GO READ BOOKS YOU FUCKING NOOB."
 
@Chemistpp Not my bank account. Plus it has to be 5-8 characters for some stupid reason that I plan on finding out.
 
@chris Can you say "Hideously low security"?
@Chemistpp Use a password database.
 
What are you supposed to do with 5-8 characters and no Unicode?
 
12:42 AM
@DeadMG yeah, one day when I've got more to steal I'll be safer
 
Anyway, @DeadMG, for the rooms. Imagine I have a room where you set the sound - and this will influence everything else. How would that be done? Previously, this was yet another static class.
 
Brb, making a better password system that's backward-compatible for my bank with no prior knowledge.
 
@Pawnguy7 A ... room where you ... set the sound?
do you mean like, volume, or someshit?
 
Yes.
 
@chris Password databases like keepass can generate passwords within given parameters like length.
@Pawnguy7 Make a variable. Put it in main. Pass it to the rooms.
 
12:45 AM
@DeadMG Good point, I use LastPass.
I have a random, but memorable one, though.
 
mine is about 23 characters long
which I use as the master password on my password database.
 
If I end up passing stuff like this to every room, it is going to get ugly, I imagine. Unless I don't end up with many global state things. Currently, I would be passing the window down the drawing line. I suppose only the update line needs to know about it.
 
@DeadMG My gmail password is pretty long.
 
@Pawnguy7 Just make one Settings class and pass that. Then you can add new members easily.
 
I think it's 44 characters.
It's a sentence, so easy enough for me to remember, but way too long to do anything with.
And honestly, passwords that force you to use capitals and numbers get annoying if you have a long one.
 
12:52 AM
Good idea. Still not sure exactly how a utility to calculate the time would work, though. Still sounds repetitive to me, because I don't know when you wouldn't want that.
On a tangent, how does google crawl pages when not given the url?
 
@Pawnguy7 The fact that you always want it does not change the fact that it is a useful utility that solves the repetition problem.
 
You said that each room would have a member that it when it was entered, correct?
 
yep.
oh, wait, you may be missing my point.
 
Is said member in the base class?
 
I'd rather keep it indirect.
 
1:05 AM
How about transitioning out? Or changing rooms?
 
@Pawnguy7 pastebin.com/ArabiCVQ (ahem)
@Pawnguy7 What about them?
 
I think I am more confused than I was.
And, how to do them.
 
well, presumably, you spend a little while in each room and then decide to transition.
 
I think I should dig up what I had before in Asteroids to give an idea.
 
waaat, it wasn't even a non-static manager?
owch.
 
1:16 AM
I told you that :D I use them a lot.
I counted 5 in that project.
I really need to break that habit.
 
ho boy.
yeah
all static data should be as-if constant.
 
I know...
This IS that same project.
Haha.
Room, LineParticle, Audio, Asteroid, Collision, Laser (all postfixed with "Manager").
Though CollisionManager seems to just encase three static methods, and holds no data.
@DeadMG does it make any more sense now?
 
well
I believe that I had underestimated the pit of awful from which you are attempting to climb up.
fuckin' props to you, though, a lot of people don't even bother or recognize how terrible that shit is.
 
You probably helped me with that.
 
not like I'm not known for pointing that stuff out :P
 
1:24 AM
I don't think I was really "design-conscious" till I was told how bad it was here. After that point, it occurred to me, good design has practical reasons behind it, and bad design will bite you eventually. So, since that point, I have tried to learn better... and as a result, not gotten as much done anymore because I second guess everything :D
 
My designing process could use some work.
 
So, any tips on how to climb out?
 
1:41 AM
@Pawnguy7 Underflow the quality.
 
@chris I am not certain what you mean. Elaborate?
 
1:58 AM
Is there any way I can get an alarm when i receive an email from a specific sender?
 
Wouldn't that depend on how you access your email?
 
That's the thing, if there's an email client out there that does it, I'll use it.
 
@Pawnguy7 Make the quality so low that it underflows and becomes the maximum quality possible.
 
If only. I suppose I can take relief in the fact that lower does exist.
 
The connection's acting up.
It's only SO, though. Are you guys having problems?
 
2:14 AM
Not that I know of.
 
2:25 AM
Dang it finding a dupe of this is annoying: stackoverflow.com/questions/18455961/…
They're all the same error, but not for std::string.
But it gets asked quite often.
 
Does iostream include <string>?
 
no
 
in msvc it might
 
@Borgleader no
 
Not sure, but I am pretty sure depending on it is a bad idea.
 
2:28 AM
@Pawnguy7 It used to in a couple things, but it changed recently in MSVC for sure.
Can't remember if GCC still does.
 
iostream is standard-mandated to include certain things, correct?
 
@Pawnguy7 I haven't seen anything about headers explicitly being required to include others, even the seemingly obvious pairs.
 
Oh.
 
@Pawnguy7 Yes, istream, ostream.
 
@Chemistpp I just checked. It does (in MSVC 2012). Without the include this fails but with the include it compiles fine.
 
2:30 AM
All containers are required to include <initializer_list>.
 
I just tested in 2012 and sure as shit, iostream has string
 
@Borgleader I know MSVC changed very recently.
 
<bitset> is required to include <string>. There are a few others.
 
that's new to me
 
I think it was STL who mentioned the change.
Maybe it was in the "what's new in VS2013 preview" video even.
+1 for using cplusplus.com — Neil Kirk 1 min ago
Oh geez, I can sort of forgive them for updating it to fix some of the problems it had (which is why I stopped commenting about it apart from saving work), but I can't recommend it over cppreference.
 
2:35 AM
Wait, wasn't that the universal base class person?
 
That guy got upset with me last time I told about how cplusplus.com is shitty.
 
@Pawnguy7 Don't see it in his list.
Well, I only looked at the few top voted ones, but it would've been there.
Or wait, that was the lambdas thing.
 
I mean, the Alec Teal. They were... proving (?) something to DeadMG. Something about a universal base class.
 
2:58 AM
I just found a random small, brown 14-pin chip with EL7408J and 8606 on it, but I can't figure out what it is. I don't recall using any of these other than logic, but it probably came from me.
 
@DeadMG is it bad that I don't like using design suggestions if I don't understand them?
 
not really
also
fuck my stomach.
tried to sleep but stomach says no.
 
3:26 AM
@chris Sounds like it's a 7408 (the 8606 is probably a date code -- made sixth week of 1986). A 7408 is a quad 2-input AND gate. The typical package would be a 14-pin DIP.
 
@JerryCoffin Huh, well I've used most of the logic ones extensively in grade 10. It certainly seems likely. I'm not so sure it works anymore, though. It went through the wash.
 
@chris Probably fine -- most of them are epoxy packages, so they're pretty well sealed against almost anything you can throw at them short of strong acids.
 
@JerryCoffin Interesting, guess I'll test it sometime then :)
I just have to bend back some pins first XD
@JerryCoffin OMG I just realized the 7408 was right there on it. I feel like an idiot after using them so often.
 
@chris The big shortcoming of DIPs. Well, one of the two -- the pins bend, and they poke you painfully given anything close to half a chance.
@chris Just like those obvious bugs we've all stared at for half an hour before somebody else walked up and pointed it out in 5 seconds.
 
I'll bet this is from my grade 12 Physics motor thingy where I had a computer (with voice)-controlled way of turning it on and off and changing the light.
 
3:49 AM
Hope Feeds hasn't already done it.
 
@chris It did. Yesterday, I think.
 
@MarkGarcia Dang it, I'm slow. Best XKCD ever, though.
 
@chris Best xkcd ever happens about once every couple of months... :-)
 
I've always wanted something like this.
@Rapptz That's insanity.
Good research practice tbh.
 
3:58 AM
lol Randall replied to it.
 
4:20 AM
holy fucking shit.
failed to sleep again!
 
> Since men will try almost anything if it means their dick will stop oozing fluids that it's not supposed to, and "clapping" was more of a temporary relief than an actual cure, doctors eventually moved on to injecting mercury or silver nitrate...
Wow, older times were seriously worse.
 
5:07 AM
@Rapptz He makes a good point imo.
 
@StackedCrooked I agree.
that kind of shit isn't "too hard", it's "Making the player play the same content over and over and over again when they already beat it".
 
Yeah, mostly that.
 
waiting for the google glass virtual reality game :x
 
welp, it's 6:10am
 
NES hard too hard for modern gamers :v
 
5:11 AM
sleep attempt 3.
 
@DeadMG Sleep attempt 1.
 
@Rapptz I'm not a modern gamer.
 
Good luck to sleep attempts.
 
@Rapptz At least as I read it, the problem (according to him) isn't with the difficulty, it's with the fact that when you do lose, you end up having to repeat too much.
 
5:14 AM
Yeah. NES hard.
It's how all games used to be in the NES (the game is a graphic remastering of an NES game of the same name).
 
@MarkGarcia Kind of cute, but looks utterly ridiculous if you know Cyrillic at all.
 
Project64k keeps crashing on me.
Need another emulator :(
 
@JerryCoffin And I see that they do it on other civilizations. Having the fonts look like the original language's alphabet.
 
@Rapptz Time to get started on that open-source NES emulator.
 
Project64k is a Nintendo 64 emulator!
I actually play NES games on my browser.
 
5:17 AM
@Rapptz Yes, I kind of figured that. Oh -- I see. NES vs. N64. Sorry.
 
virtualnes.com since it's easier
I downloaded Mupen64k and it keeps using "U" instead of "you" and that's putting me off.
Horrible.
 
@Rapptz Thus the "open source" suggestion.
 
I'm pretty sure 1964 is the worst one
I found something called Mupen64+ which is open source
but it's pretty weird man..
it's 100% launched from command line
 
5:35 AM
Dammit. I slept 8 hours and I feel tired as fuck.
It's a 30 min walk to work.
 
I have been really tired these a few days too
 
@StackedCrooked Atrocious.
 
5:50 AM
@ScottW lol, enlighten me ...
lol, in which the case I would be tired ... & annoyed ...
 
user1804599
6:22 AM
HALLO
 
@ScottW Too busy being noisy to chat right now. Well, okay, not really. Really just heading to bed.
 
user1804599
@Rapptz What a terrible abomination.
 
@not-rightfold goeiemorgen
 
7:30 AM
Meh, went to pick up a b'day cake for friend's birthday. First thing shop assistant said was "we are terribly sorry", second was "it is okay if you reject the cake", thrid was "we will offer discount if you are willing to take it" - apparently the cake maker wasn't in, shop owner made it herself and she was an amateur ...
the cake would suit more for a comedy than a birthday
 
7:44 AM
@Telkitty猫咪咪 lack of professionalism.... what did you do?
 
Americans are retards.
Wait, that is insensitive and grossly over-generalising
People from the USA are retards
 
@ArneMertz I bought it ... they offered around 10 dollar discount
I could not buy a customer made cake in such a short notice
just have to buy another matching wine to make up for it
 
@Telkitty猫咪咪 guess that's what the $10 are for ;)
 
The cakes I bring for parties don't look perfect as well - but that is because my fiancé makes them. And they don't look too bad either :-)
 
8:26 AM
but then you have an excuse - we specially made it for you ... think about all the effort!
 
of course. it's a lot of effort. I have plenty of time on my own when she is baking something ;)
 
8:50 AM
@Rapptz Woah, that is fucked up.
 
Xeo
9:05 AM
@LucDanton @R.MartinhoFernandes I guess I kinda get fix now - partial application and lazy evaluation do their job, I guess.
Too bad I had to resort to std::function
 
Xeo
9:33 AM
loop f i = let (o, g) = f (i, g) in o
hmm
 
So @ThePhD nuked his SO account =/
 
Xeo
inb4 "not-ThePhD"
 
LOL
Why do they do that in the first place if they're going to come back anyway?
 
I just changed my parser rule to char(), and the compiler now wants build_paren to have the following prototype (as I'd like); void print_paren(boost::fusion::vector3<boost::iterator_range<__gnu_cxx::__normal_itera‌​tor<char*, std::basic_string<char>>>, std::string, boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::basic_string<char>>>> vec), however the character is always 0! — Skeen 42 mins ago
I don't even. Why do people think this is normal/acceptable code ?! If that's required for end-user code, I would gladly drop Spirit and the rest of Boost
 
@Xeo yea, missing polymorphic lamdas ;)
 
9:45 AM
Ouch. That looks sooo painful. Why are you using semantic actions? That looks... horrible. Anyways, just assign a value to _val (note the use of std::string::iterator). (See the comment as well) — sehe 4 mins ago
 
Xeo
@ArneMertz I don't think that'd be enough
Even if I declared fix as auto fix(auto f) I couldn't do return [=](int i){ return f(fix(f), i); } because I'd use fix before the return type has been deduced
Guess I could work around that with indirection through a function object, though
Feels iffy, though
 
Buy a server to run the chat? Because you guys are tired of running it?
2
 
posted on August 27, 2013 by Potatoswatter

Today is the second birthday of the preprocessor project. I'm still a bit conflicted, but the best choice for now seems to be to proceed with it on a closed source basis. A closed-source standalone preprocessor is fairly ludicrous, but for most of the project lifetime the focus has been on the underlying framework. (This is the part which would be of any interest to anyone.) The problem is tha

 
Xeo
10:00 AM
Ugh, I don't think I can make loop work with C++
4
 
> As for the parameter library, I'm not sure if it's too advanced and special-purpose to serve the open-source community.
what
 
@CatPlusPlus The parameter.h which I spent the last month on.
It's cool, but mainly useful only if you want multiple instances of a compiler in a single process, which happens to be important to me.
 
I know "what" the subject, I mean "what" the logic.
 
Usually such parameters are just globals, typedefs, or #defines.
 
Does anyone know why MinGW-w64 doesn't come with mingw32- prefixed executables? MSYS can't work because of that.
 
10:12 AM
MinGW-w64 doesn't come with any executables, what toolchain build are you using.
 
lol "re-structured ... significant" is an awesome euphemism for "eliminates the dead code" — sehe 9 secs ago
 
Right now I'm working on arranging it so every diagnostic message automatically generates such a parameter, with an associated -W switch, no need to make tables out-of-line :)
 
@Potatoswatter lolz
 
@CatPlusPlus GCC 4.8.1, if that's what you mean?
 
@CatPlusPlus What about the server that runs coliru? Maybe StackedCrooked can share.
 
10:14 AM
@Tuntuni No.
 
@Potatoswatter meh. He wants 4LCPU, 2048Mb. He's gonna use it for CI as well
 
@CatPlusPlus Where can I see what toolchain build I'm using?
 
sigh where did you download it from
 
@sehe What's CI?
 
Ohh
@CatPlusPlus mingw-builds
 
10:18 AM
Then they have prefixed executables. (Though it's always a triple prefix, not just mingw32-)
 
Jul 21 at 20:46, by Robert Harvey
Does anyone in here do Continuous Integration?
 
I'm more interested in what's this about @ThePhD removing his account
4
 
@CatPlusPlus Oh, wow, how did I not see that? :/ So how do I make MSYS use these instead of just mingw32- ones? Should I just rename them?
 
@sehe Hmm, that sounds like calculus but I'm guessing it's not.
 
MSYS sucks and I don't use it, so dunno.
 
10:21 AM
@CatPlusPlus What?
 
@Potatoswatter It doesn't even taste like calculus!
 
@CatPlusPlus I lost 10 rep on meta, and it triggered my inner paranoid. Because of a comment he made last night. So I checked his profile and it couldn't find the page. I can't see him in the users list either.
 
@CatPlusPlus Ah, ok. Thanks.
 
@sehe Integration requires a continuous function… I kid, I kid
 
@Borgleader What comment was that? UB?
 
10:22 AM
16 hours ago, by ThePhD
If it's been too long.
No this one.
 
Looked for his account, but can't find it either
RIP ThePhD :/
He went into UB overdrive
Shall I email him and ask for clarification?
it apparently was deleted
WTF?!
 
I just said that :P
 
I know, but I had to verify. Who believes what they read on the Internet without verifying?!
 
hmmmm
 
Xeo
10:30 AM
Didn't lose any rep
 
yet
 
Xeo
Which means he either voted so much / was so active that the system doesn't remove it (kinda unbelievable with his 2k-ish rep) or he never upvoted me.
Oh well, he'll be back
 
He upvoted me a while ago and I haven't lost any.
 
Hope he's fine irl :ohdear:
 
@Xeo Its inevitable, he'll have some UB and need help.
 
10:49 AM
@Xeo me neither
 
Xeo
If you want a crash course, "How to Get a GUI Back After I Accidentally Fubared the Config Files So Badly Only the Shell Will Load" is always a winner. Be warned that if you lose the game possible penalties include buying a greybearded friend a case of his beverage of choice or reinstalling the OS. — Dan Neely 19 hours ago
haha
 
lol
> I have an ensuite room to rent in my house. All applicants must be willing to take part in naked Fridays.
lol
 

« first day (1046 days earlier)      last day (3908 days later) »