« first day (1407 days earlier)      last day (3533 days later) » 

12:39 AM
@Xeo aargh I hate bein called pappa
well, not me, Yuuji
 
DD/MM/YYYY is great for actually using it daily.
 
12:53 AM
@R.MartinhoFernandes ..except in gallons-and-quarts land.
 
do you know why americans use mm/dd/yyyy? because it starts with M, for 'Merica
 
@Borgleader Mindless madness
 
I find mm/dd/yyyy retarded, but that's only MHO
 
Malevolent merkins making misery
 
@Borgleader Because that's how it's said in English.
 
12:56 AM
@EtiennedeMartel party pooper =/
 
@EtiennedeMartel You know. I never thought it that way and suddenly I have appreciation for MM/DD/YYYY.
but people say 14th of November too for example.
 
Hmm... I'm English and I say "today is 23rd of August, two thousand and fourteen".
 
In America everyone says 'August 23rd' instead of '23rd of August'.
except in legal documents
 
Last Saturday I convinced everyone sitting at the table that the foot is a nice unit of measurement.
 
Hmm, I need to reduce the length of my feet.
 
1:01 AM
@R.MartinhoFernandes You're a horrible person
 
I wasn't trolling them, btw. I believe it.
 
@R.MartinhoFernandes It would be OK if there was 10 inches in it.
 
No, it would not. The foot is a nice unit of measurement regardless of the existence of inches.
If you're so in love with tens, it has 10 decifeet in it.
 
@R.MartinhoFernandes I'm not drunk enough to fall for your poor trolling:)
 
@R.MartinhoFernandes As a measuring unit, the foot stinks
 
1:04 AM
@R.MartinhoFernandes Convince us
 
100 would be a good increment unit - each finger = 1, each toe = 10 ... but damn why toe you so inflexible!!!
 
How many twips is that?
 
heh... cute... found a youtube video of a lego robot solving a 6x6 rubiks
 
1:15 AM
@StackedCrooked It's actually the same mechanics, it just takes longer to solve.
Well, almost.
It's a bit trickier because it's an even number, so no part is "fixed".
With an odd-numbered Rubik's cube, you can more easily guess where a color should go.
I forget how, but I know a few people who solve Rubik's cubes regularly, and that's what they all say.
 
@StackedCrooked It just has extra moving pieces inside.
@EtiennedeMartel I think he meant mechanics as in... mechanics.
Not strategy.
 
Accordion to a recent survey, people don't really notice when you replace words with musical instruments.
 
@R.MartinhoFernandes Aaah
 
@chris Flute can't be true.
 
1:21 AM
I tromboned your mom last night.
 
butts
 
clouds
 
@chris Hang on there.
(Did you notice it?)
 
@R.MartinhoFernandes @EtiennedeMartel I just found out about this game
It sounds fun
I've kinda always wanted something like this.
 
@Rapptz Well. They say you can "make your own games".
I hope their tools are good.
 
1:30 AM
Yeah, that's why I think it's promising.
I don't own it and I think the price is a little high for what it is (most people would be willing to fork over $5 but not $15 and since you need people to play with this is an issue).
 
Also, I'm not paying 15$ (or any price, really) for a beta.
 
yup yup
but it looks promising
@EtiennedeMartel From what I read, it's 'Early access' because the core game is done but the Kickstarter stretch goals aren't.
 
Even still, I'm not touching that until they deem it done.
 
@EtiennedeMartel Cheapskate.
Have you seen how much people pay for VS2013?
 
Best today. 'My code got a bad mark and, aparrently, does not work for some, (undefined), inputs. Write me a test spec, generate test input data, run the tests, debug the code and fix it':
http://stackoverflow.com/questions/25452203/why-this-code-is-not-working-for-all-the-input
 
1:36 AM
@R.MartinhoFernandes Nothing, because they're students? :3
 
@colepanike Hey man, next time, don't go posting "I've been working on my answer right along while you were busy comment bashing me. I didn't read the other answer until after my main edits had posted." and calling it your own. It's clear by the edits and time intervals that you did base yourself on Jeroen's and MY answer, just so we get the facts straight. When people stand to visit this question and your answer, I'll be passed off as a fool, as if I copied your answer, so don't do that again. I'm tempted to flag your answer because of this and your edit which I should have denied. — Fred -ii- 23 mins ago
^^ comment butthurt
 
404 flying fuck not found
 
@chris Remind me again how much you paid for that privilege?
 
user457812
403 request to give a shit denied
 
@R.MartinhoFernandes Umm, I guess my tuition is $7k
Per term
But I get a nice piece of paper
 
1:40 AM
@chris You mean the humungous invoice?
 
And more importantly, jobs that are four months at a time, so I can go explore some different jobs
 
1:51 AM
@chris And for what it's worth, C and C++ require M/D/Y for both asctime and __DATE__.
 
@JerryCoffin :(
 
@chris Minor saving grace: at least the months are given in text, avoiding most ambiguity.
 
you mean all ambiguity
dammit I spilled ink on my desk
 
@StackedCrooked are you an octopus?
 
I'm not sure why the y and z are the same.
 
2:05 AM
@melak47 yes, but don't tell anyone
 
Well defined cause it's unsigned?
 
it's well-unsigned
 
Modulo arithmetic gives: ((max - 1) * 5) % max = (5*max - 5) % max = max-5.
 
2:08 AM
@R.MartinhoFernandes but it's max - 4 :/
 
it's max - 5
 
@melak47 Ooops, max is meant to be 2^n.
 
oh no
 
@Rapptz for extremely small values of 5? :p
 
you're right
for extremely big values of 4.
TIL of boost::mpl::print
 
2:15 AM
Hmmm....
 
wonder how it works
 
4.7 paragraph 2: "If the destination type is unsigned, the resulting value is the least unsigned integer congruent to the source
integer (modulo 2n where n is the number of bits used to represent the unsigned type). [ Note: In a two’s
complement representation, this conversion is conceptual and there is no change in the bit pattern (if there
is no truncation). —end note ]"
 
2:37 AM
Good morning.
 
hello
 
Looking at the old starred posts, TIL James McNellis was active here in the Lounge.
> The NUC 2.0 is a significant upgrade compared to the original — which we hope Intel will rename to the First Unit of Computing source
So FUC.
First Unit of Computing Kit
 
 
2 hours later…
5:07 AM
YouTube tutorial series posted for gamedevs to be.
On Reddit.
 
user457812
5:21 AM
I think I see Visual Studio in that thumbnail.
 
user457812
This sounds like the video could be regrettable.
 
user457812
God damn it always with the using namespace std don't you know that opens you up to the mother of all diseases
 
5:48 AM
@Rapptz is that VS 2012/2013 with the 2010 color scheme? :S
 
lol it seems like it
I haven't watched the videos yet.
 
@melak47 VS 2013 has a blue theme.
 
yeah. I like to call it the 2010 color scheme because that's what it looks like :p
 
I might watch bits and pieces to see how bad it is.
 
He's making it very general... just use "your favorite IDE", whatever it is... and type in that program. Don't worry about the useful system("PAUSE"); thing he put in though. ...
 
5:53 AM
sounds awful
 
...skimming through, it's called a game tutorial, but doesn't seem he's doing anything too interesting way down in the series... he's still reading files and stuff. A few vids down and he makes a very simple combat simulator--looks like random variables and a few floats...
So roughly it looks more like he's trying to teaching C++ than to create a "Game Tutorial"
 
uh
This is the first part.
i.e. the C++ part.
There's a second video playlist for the Game part.
Which deals with OpenGL and SDL.
It's right here: youtube.com/…
 
Ah... this playlist is huge though... seems he put a lot of effort into it
 
yeah...
but that doesn't mean it's good though
You can commend the effort but if it's ultimately bad then meh.
 
Agree... big difference between a Lippman book and a Teach Yourself C++ in 21 Days thing
 
5:58 AM
I feel sad for those guys...
 
which guys?
 
The guys that pours out much effort. Pointless efforts.
 
I'm thinking of remaking my concepts module thing.
make it easier to define concepts..
 
It may be that they just haven't put more effort on improving. They just learn a bit of this thing and that thing and they start trying to do these stuff like making tutorials.
 
He's still in school.
He's releasing a game on Steam too.
Apparently. Or attempting to. I don't really know.
 
6:03 AM
Perhaps knowing a thing doesn't always qualify you on teaching that thing.
Hmm. I feel tempted filling this up for the $100 even if I don't know a thing about Cordova: blogs.msdn.com/b/visualstudio/archive/2014/08/22/…
 
lol..
 
"and/or developers building web apps" Ok. I'm justified.
> You must also be a U.S. Citizen or Permanent Resident with a valid Social Security Number.
:( Puppy might have a better chance.
 
That implies that they want you to give them your full SSN for a chance to win $100
 
@Rapptz I can’t imagine much shorter, but do tell me when/if you figure out a new style.
I hope that doesn’t come off as putting you down :( I’m genuinely interested.
 
Nah. I'm interested too. :p
It seems Niebler's way of doing it has picked up.
I've seen a couple libraries pop up using his information put out by the blog post.
 
6:18 AM
I remember a smarter EnableIf (or Requires I suppose) when it comes to errors, but not how that played out in the larger scheme.
 
I looked at how Niebler does it.
His way of actually making them is cool i.e. auto requires_(T&& t) -> decltype(expr);
but when it comes to implementing checking it seems expensive
he virtually inherits every concept
 
Ah I remember the valid_expr( foo ) lie (sort of).
MPL-style placeholder hackery :(
 
@LucDanton The way I currently have it implemented now doesn't have ugly errors, imo.
 
@Rapptz That was something else.
 
Ah. What's that?
huh you're right
struct Function
: refines<Destructible(_1), CopyConstructible(_1)>
ew
 
6:24 AM
It doesn’t consistently appear though.
> concepts::is_true(is_range<T>())
^not sure how to feel about that
 
what's the point of that?
bool -> std::{true,false}_type?
 
It’s a bit of an inverse to valid_expr.
is_range<T>() && valid_expr( foo ) would make more sense, although that would mean operator overloads between integral constant types.
@Rapptz bool -> SFINAE I assume, as that’s what valid_expr ‘really’ accepts.
 
I like the idea of valid_expr. It makes the whole typename X = decltype(expr) stuff really simple but iunno if the way Niebler does it is a nice way.
 
@Rapptz I’m not sure what virtual inheritance buys. It would catch more things, but I’m not sure whether those things truly are invalid. Perhaps it is an implementation detail, for performance?
 
I like its conciseness and its ability to express the semantics nicely.
 
6:29 AM
yabbies for dinner tonight <3
 
@LucDanton github.com/ericniebler/range-v3/blob/master/include/range/v3/… here's the line it implements it.
 
Deleting the default constructor is somewhat of a misfeature :( I kinda like the option of passing around values of a trait/concepts (tag dispatch etc.). Although I must admit it seems somewhat of a thing of the past; I don’t know that it will still be a thing in the future.
@Rapptz What does it look like?
Lookit the time. I should be shopping.
 
In instantiation of 'constexpr bool gears::concepts::require() [with T = float; Concepts = {gears::concepts::Container}]':
test.cpp:6:31:   required from here
./gears/concepts/alias.hpp:99:5: error: static assertion failed: Concept Violation
     static_assert(And<Concepts<T>...>(), "Concept Violation");
     ^
 
What if you have more than one requirement?
 
it just prints all of them (unfortunately).
I never thought about it like that though. Interesting.
 
6:38 AM
Yeah that’s the improvement I was referring to. It really helps, which I think is obvious if you have ever had that sinking feeling of having no TMP debugger when you trigger a concept violation and you don’t know where.
 
I recently (as in a few hours ago) learned about boost::mpl::print and made my own
pretty handy
 
Aww :3
 
Ah, that must be the outcome of that discussion on the ML then. I’ll check it out. For now, off to the supermarché.
Note that instead of asserting on And<stuff, lots...>() you can assert on stuff, and recurse with lots. May help what with the instantiation stack (depends on how helpful the compiler wants to be of course).
 
That'd be the easiest way of doing it I think
 
7:08 AM
I slept, but I’m not sure I rested at all.
 
Anyone here familiar with QTcpSocket?
 
@Rapptz Apparently that’s an old (and undocumented) thing. I’ll unearth the discussion I was thinking of… maybe.
 
it's pretty helpful though
better than erroring out anyway
 
in PHP, 46 secs ago, by Jefffrey
PHP question with constraint "cannot use builtin functions" -> 6/6 answers use builtin functions.
 
@Jefffrey lol
 
7:16 AM
working dude grt — gaurav 2 mins ago
yo dude
I can't blame them. There's little to nothing you can do in PHP without builtin functions in the array department. You can't even know the length of the array or remove elements in constant time.
 
8:00 AM
> She is also required to itemize any expenditures over $100. source
Worse than being imprisoned.
 
lol even reddit gets homework questions: reddit.com/r/programming/comments/2ecoaq/…
 
Maybe the OP got question-banned on SO first. :)
lol, just for kicks, I disabled LTO to make linking faster. And the program didn't get any slower. I guess I'll keep it off then.
 
what version of gcc?
 
VS2013
 
oh nvm
LTO on GCC only started being good at 4.9 iirc
 
8:13 AM
Linking y-cruncher takes ~30 seconds on my machine. It's ridiculous.
With LTO.
 
that doesn't sound as terrible as I imagined
 
But it gets really annoying since I have to wait it out every time I change anything.
I would've accepted up to a 10% slowdown since I use these builds only for dev purposes. All the "serious" builds are done single-module. Those take a hella long time, but that's okay. I don't do them very often.
 
-1
A: In C++ source, what is the effect of extern "C"?

ShreyasThe basic thing is that the pre-processor allows the user to use the built in functions of C in C++. Then all the linking and the compliling stuff happens.

 
voted delete
 
sadly don't have the rep for that
lol
0
Q: Tic- Tac- Toe game

Jian Yu LiHi I want to make a simple tic tac toe game so my friend and I can play together. Since it's a turn based game, what can I do to make sure players can not move 2 times in a row. (I haven't started on the game yet, want to hear some suggestions on how to solve this problem.) Thank you in advance...

I wish there was a way to insta close those.
no one will ever see it
speak of the devil
 
8:46 AM
Wow, 15" MBPr are expensive.
Well thats a notebook I won't be getting.
So, anyone knows a good currentish notebook?
 
MacBook Pro.
 
user3010322
Lenovo has some.
 
user3010322
Toshiba has some.
 
user3010322
MacBook Pros cost an arm and a leg for not that much.
 
user3010322
I can get a 17 inch regular laptop running Windows that doesn't cost me a fucking arm and a leg, and get a 3/4 year mega-warranty on it.
 
user3010322
8:52 AM
And it will still cost me less than a Macbook Pro.
 
But it runs Windows.
 
and it also weighs twice as much, has worse battery life and the build quality is worse.
 
I bought a macbook for my laptop not because I liked Apple or OSX (it was the first Apple product I ever bought, actually), but because all the Windows laptops were shoddy as fuck. Lower resolution except for a few select models, which cost as much as a macbook anyway, and lower battery life
 
@jalf Nah.
I've been doing a lot of laptop searching lately.
MacBooks are nothing special.
 
8:55 AM
Speaking of craptops.
 
user3010322
The last time I had a Macbook pro, it broke on me 4 times.
 
The issue I have with Windows laptops is the fact that they add unnecessary things.
 
user3010322
I had to bring it to the shop 4 times in a fucking row.
 
Quick note, I am not in US.
 
Touch screen, "8 GB SSD".
 
8:55 AM
@Rapptz That was exactly my observation too: MacBooks were nothing special. Everything else was just fundamentally flawed
 
It's time to slide downstairs and have a breakfast.
 
Depressing as fuck, honestly
 
But once you filter out the crap you can get a laptop with better specs and build quality for a lot less.
 
Which sucks a lot when picking notebooks, but currently it doesn't hurt that much.
 
(disclaimer: that was ~3 years ago)
 
8:56 AM
Lenovo laptops have really good build quality.
Toshiba laptops have never failed me.
 
user3010322
My first Toshiba (my first love, really: 1920 x 1080, heavy as fuck! <3) lasted a long time.
 
How much are MacBooks there?
 
@Rapptz yep, my previous laptop was lenovo, but back when I looked they had nothing with a reasonably high resolution
 
@Rapptz After having T520, mom having T430 from work and playing around with the new T440, I am starting to disagree.
 
a lot of laptops are 1920x1080 now.
 
user3010322
8:57 AM
It only died because I fell down the stairs with it and rather than taking the shit on the stairs, my laptop took the fall for me.
 
@Rapptz Especially when I still have working T61 here and the comparison is just sad.
 
Is a PayPal donation by credit card anonymous (not to PayPal and NSA I don't care about those but to the receiver)?
 
Who compares an ancient or cheap lower-end laptop with a macbook pro?
At least make a fair comparison.
 
user3010322
@PolymorphicPotato Yes.
 
8:58 AM
@Rapptz I am comparing ancient Thinkpads with new Thinkpads. The new ones don't compare sadly.
 
user3010322
You can stick whatever name you like on it and whatever note you like.
 
@Rapptz yes, thank god for that. Apple hadn't really started on the retina stuff when I bought mine, so 99% of Windows laptops were running 1300x700 or whatever that crappy resolution is.
 
1366x768
It's still common but not as common.
 
user3010322
Thank god it's nto as common.
 
user3010322
It's a really shit resolution.
 
8:59 AM
@Rapptz If I could have T61 era thinkpad with current insides, I would start throwing my wallet on the monitor so hard... :-D
 
user3010322
Anything below 1920 x 1080 on a laptop is shit resolution.
 
@ThePhD kind of depends on the laptop size :p
 
user3010322
Anyone who can't commit to carrying a huge laptop with 1920 x 1080 resolution is a dirty communist.
 
MacBook Pro are $2.5k here.
 
user3010322
@Rapptz 2.8 with more useful stuff inside.
 
user3010322
8:59 AM
Which is bonkers.
 
with the low end ones being $1.7k I think
 
user3010322
And the student discount is only 10%.
 
not worth the price at all
 
user3010322
So ends up being 2.6K
 
user3010322
Which is just... I can get the HIGHEST END Windows Laptop, with 1920 x 1080 and a fucking SSD and a 4 year all-covering warrany for that.
 
9:00 AM
Anyway, when I bought mine, it was really process of elimination: "I want a decent resolution. Ok, that leaves a macbook, or one of these four Windows laptop models. Ok, this one is from Acer, that's a no-go. This one costs more than the macbook, that's dumb. This one has half the battery life. Yeah, I think I'll just get the macbook"
 
user3010322
And you know what's great? MY MACBOOK DOESN"T COME WITH AN APPLE ONECARE THING SO I STILL AHVE TO PAY MROE FOR THAT
 
Okay, the lower end 15" is $2k not $1.7k.
 
user3010322
3K Apple Laptop in total. Bump that shit.
 
cheapest macbook is $1.1k
 
I can get 13" MBPr for the same price as T440 with worse insides.
Except harddrive, which sucks.
 
9:02 AM
If I was gonna get a laptop
 
But the 15" get really fucking expensive.
 
I'd buy this one
 
Gaming laptops are a joke
 
I don't care about the buzzword.
 
Also "8GB SSD" yeah right.
 
9:03 AM
Yeah. Like I said.
 
lolwut
 
WTF fuck you PayPal I don't want to enter my goddamn phone number.
 
Windows laptops tend to bolt on useless things.
Which is a shame tbh.
 
8 GB of ram is hardly enough nowadays.
 
8 GB SSD actually frustrates me.
 
9:03 AM
@Xarn wat
 
user3010322
Just small enough to get on all your nerves.
 
8 mins ago, by Rapptz
Touch screen, "8 GB SSD".
 
@jalf Marketing thinks that 8GB flash cache == 8 GB SSD.
 
PayPal doesn't send snailmail right?
 
user3010322
No.
 
user3010322
9:05 AM
They will spam the shit out of your e-mail though.
 
75 years since the Molotov–Ribbentrop Pact, btw
 
user3010322
HEY YOU NEED TO TELL US YOUR REAL NAME AND ADDRESS AND TAX ID SO WE CAN TELL THE FEDS ABOUT YOU.
 
@ThePhD Oh, that's no issue. I'll just create a rule that deletes all PayPal emails.
 
user3010322
Well, paypall, you can suck it because despite you making it explicitly difficult for me to make hte payment, I made it, it went through, and I don't have to "resolve" any shitfaced issues you make up!
 
> Extra instructions for the receiver: I love you!
 
9:31 AM
I often say that to my food
 
you're the receiver of food
 
Stop feeding me!
 
I cannot do that
we have not reached the end of the food stream
 
food_stream.close()
 
shit now you spilled it all on the floor
I hope you're proud of yourself
 
9:35 AM
/me walks away
 
Ell
I need to make some headway on my documentation machine
 
TIL about pesto
 
Ell
I'm hungry
I drank too much tonight
I mean last night
 
lol
my parents and sister just went to take the dog for a long walk
ten minutes later it starts raining fairly hard.
 
Thunder here.
 
Ell
9:47 AM
overcast here
I like my new clean gravatar
Much higher res.
 
it looks the same
 
you mean your new carpet?
 
Fuck green carpets.
 
it does look cleaner though
 
Ell
@Rapptz It is. But I made an svg of it
it used to be small and low res
 
9:49 AM
lol
 
Ell
now it's crisper. Maybe it's not.but it is in my mind :P
 
@AlexM. he vacuumed it.
 
Ell
yeah I vacuumed it :P
 
did you use vector magic or something?
 
Ell
I did it by hand
 
9:51 AM
ouch.
 
Ell
didn't take long
there are only two elements in it
then you just copy & paste and rotate
 
Autovectorize.
 
Ell
I just realised the disadvantage of a clang based doc generator
 
Xeo
@Ell The small version lokks kinda blurry. Have to admit, can't remember how blurry it looked before.
 
Ell
building the docs takes as long as building the project basically >.<
 
9:55 AM
no
 
Ell
maybe not as long. but you still have to parse all the files
 
you'd have to do that regardless
 
10:07 AM
you can dodge code generation and linking, which is a good start.
 
it'd basically be the same as -fsyntax-only really.
 
but you're right that the smart move is to build your project with Clang and build the documentation at the same time with the same parse tree, re-using the parse work and ensuring that it's always correct.
 
seems kind of taxing
 
not really, you get pretty much all the work done already for free.
all you'd have to do is actually read the parse tree.
 
apparently this was done in unreal engine 4
 
Ell
10:16 AM
that's neat
 
not bad, I would have said they were real photographs.
 
bottom right ruins it
 
10:36 AM
unreally?
so i'm sat at the dentist waiting for emergency appt. could be up to 3 hours in the worst case. gonna be a loooong day..
 
I was going to say Epic are misleading their customers since those pics look too real rather than unreal
 
cos it's not like Saturday lunchtime is a popular dentistry time or anything -.-
 
Ell
hmm
  namespace sol			                	<SourceLocation file b'sol/sol/error.hpp', line 28, column 11>
    class error				                <SourceLocation file b'sol/sol/error.hpp', line 29, column 7>
    class error             				<SourceLocation file b'sol/sol/error.hpp', line 29, column 7>
    class error				                <SourceLocation file b'sol/sol/error.hpp', line 29, column 7>
      ctor error(const std::string &)		<SourceLocation file b'sol/sol/error.hpp', line 31, column 5>
        param str           				<SourceLocation file b'sol/sol/error.hpp', line 31, column 30>
I wonder why stuff is being parsed twice o.O
ah wait.
nvm
 
what was it?
 
Ell
not sure yet but I had an idea, I was ignoring certain cursor kinds which might be occuring between the duplicates
also I was ignoring stuff from other files
but now I'm just waiting for it to go through the whole of std and I'll see if there is anything there :p
 
10:54 AM
the Clang AST is a pretty funky beast.
for example, I'm pretty sure that if you do class blah { stuff; } then you get multiple decls corresponding to blah.
 
Ell
Hmm nope, seemingly duplicate visits
@Puppy That's quite odd
 

« first day (1407 days earlier)      last day (3533 days later) »