« first day (1013 days earlier)      last day (3928 days later) » 

12:00 AM
@Borgleader It's like me saying "it compiles for me in Vim"
 
It compiles for me in my computer, but it's a good computer.
 
(which, incidentally, it did; using gcc 4.7, 4.8 and clang 3.2)
 
@StackedCrooked my llama compiles code :3 llama version 2.3 though
 
@sehe I told him which version I installed a like 2 days ago
and incidentally which version of Mingw came with it
 
Yeah I got what you mean.
 
12:02 AM
@Borgleader Meh. It was still a funny thing to say :/
 
Yay for deletes! And edits!
 
But it's a good edit!
Night all
 
Night!
 
That guy's tag burn request from yesterday got mostly denied.
 
This train accident in Spain is really frightening. Just thinking about what it would be like to be in that train when it happens gives me the chills.
 
12:15 AM
what accident?
oh that one
 
> SRPhysicsd.lib(SRPhysics.obj) : error LNK2011: precompiled object not linked in; image may not run
Dafuq T_T I've never seen this before
 
12:32 AM
I laugh at my imagination in public and it makes me look mildly psychotic :(
 
@Crowz makes you look or makes you?
 
both
 
very true
 
dude, I can't even remember if I ate breakfast, let alone random code snippets
 
12:42 AM
I looked interesting. I don't see any problem with the code though. So I don't understand his question.
 
me neither.
he probably didn't understand what a virtual destructor actually meant.
 
Yeah.
But at the same time he has no trouble with placement new and custom deleters.
 
ah well
 
It's like he read his C++ book backwards.
 
probably have to be here when it's posted to understand
 
12:54 AM
Welp, turns out "error LNK2011: precompiled object not linked in; image may not run" means you're including a static lib in another static lib who both have precompiled headers and the .cpp are named the same.
T_T bloody fucking thanks msvc
 
kept on receiving emails from apple telling me how they are fixing their app developer system
 
@Borgleader yo dawg
 
@StackedCrooked sup dawg
 
1
Q: String Processing in C (kill me now)

user2525288I'm stuck on a HW assignment where I'm required to write a program that transforms a bunch of English words (in a list separated by new lines in a input .txt file) into a bunch of Pig Latin words (into a list separated by new lines in an output .txt file). I've gotten really close, but the strnca...

^^ lol at title
 
1:08 AM
> Free! follows the story of 5 homos who like swimming and each others. Unfortunately one of the homos liked swimming more than the 4 other homos so he moved to a place with a swimming school. This made the 4 homos kinda sad and they stopped swimming or so I think, I wasn't really paying an attention. Anyway they wear swimsuits all the time and sit in a bathtub waiting for the one homo to return so that they can swim together once again and be homos. It's pretty touching.
 
1:22 AM
that turtle looks awfully familiar ...
 
1:51 AM
wot.
 
dogs are cut.
 
@DarkHorse what exactly does this have to do with dogs?
Would you like quick and painful or slow and painless? — chris 1 hour ago
 
2:11 AM
dogs are hot -> hotdogs
 
Can I have the link to Zoid's ratings of the programming languages?
 
Why? All those are ratings are completely garbage
 
I don't care, I liek it
 
I'm bored.
:(
 
If you're so bored, when I have some code you can review it :P
 
2:19 AM
maybe you can write a mini os for phones
 
Should we add "an improved (standard) library" to the added features from C "section" in the tag C++ wiki?
 
No
Found via /r/cpp of course.
 
I know it's strictly not part of the language, but the standard library should be given more emphasis on the tag wiki. It should have a subtopic or something similar.
 
It's kinda implicit.
 
@Rapptz Why "<<"???
 
2:24 AM
I don't know, it's pretty bad.
 
Just because they're very commonly used does not mean they should be used for everything! Even these new HTTP libraries use << and >>! sigh
 
do you think they should be used with stream like classes
because sometimes I feel like operator overloading is done because it exists :s
 
@A.H. No. Though for length of time we have worked with them, they become more like the best and proper way for stream like classes.
 
I hate looking at this style of code with all these fucking extraneous spaces
It makes me very irrationally angry.
            typedef                 TValue                              value_type      ;
seriously.
ugh.
 
WTF
 
2:29 AM
well I like some spacing and a couple of blank lines between blocks but thats just ridiculous
 
@Jeffrey That is awesome.
> a look no-one is afraid to criticize
 
:)
 
In below RO code snippet, you can probably figure out what it does without explanation:
`container << value1 << value2;`
Yes, this was like applying two push_back (if container was vector-like). That was simple.
obviously << is like push_back, I mean what other methods does vector have...
If std::map - operator[] or insert
wtf?
I suppose array access is done through <<, too?
 
2:47 AM
how is map [] supposed to work with <<
won't it need key and value
 
3:02 AM
> html programming
lol
 
Maybe you need to go someMap << key << value; to add one, idk.
Unless it's a custom struct holding a key and value.
 
Hi guize. Sorry, been busy for a while @ScottW. I'm working on a source code inspection project, which means I'm not allowed to take anything that could be used to copy their code/data while I'm doing the work. I can take notes with pen and paper, but that's about it.
 
Oh, I didn't realize C++1y allows loops in constexpr functions.
 
@JerryCoffin Sounds pretty scary. :O
 
@JerryCoffin commit it all to memory !
 
3:17 AM
@A.H. You've obviously forgotten how old I am. That's fine though -- I don't remember either!
 
hehe
 
@JerryCoffin If it's Java or php, then I sympathize with you.
 
@MarkGarcia For the last few weeks, almost entirely Java. Today and tomorrow, PHP. Oh, woe is me!
 
I'm almost scared to talk about it. It would probably be entirely reasonable to punish me for a even mentioning things like a single file containing more than 4000 lines of PHP...
 
3:27 AM
My brother had a similar experience. Worked in a web app project where there's a single gigantic class for the whole app, and with client-side scripts and layout interleaved with the php code. That motivated him to continue working on his game.
 
Well, I need to go buy some food -- it's late and I have none. See you all a bit later.
 
AHAHAHAAAAA
YES
CLANG IS COMPILED AND IT COMPILES WITH MY OTHER APPLICATIONS YESSS
Now to test if it explodes on usage. ._.
.... Q_______________Q
IT BREAKS ON USAGE WHY Y WHY WHYYY WHYYYY.
I give up.
 
How do it blow?
 
An assertion fails in Clang's code.
Code I can't begin to fathom what its doing and why.
It'd take days to debug what's going wrong.
 
Now that's library based design!
 
3:38 AM
The strange thing is, I'm using a stable build (not trunk, I'm using 3.3 release of Clang).
 
4:02 AM
-1
Q: C++ Modulus Operator

BlakeasdIf the modulus operator takes num1/num2 and returns the remainder why is 25 % 2 = 1 ? Take the following code for example: float modulus2 = 25 % 2; printf("%f",modulus2); This code will print out 1.000 . 25/2 is equal to 12.5, so why is the modulus 1 instead of 5?

lmao
 
fail
 
I'm so confused.
Is it the 0. 5?
 
I don't get how he got 5 either tbh.
 
There's me and my failed markdown again.
 
I probably should have explained it better
 
4:05 AM
just VTC and be done with it
 
25 - floor(25 / 2) * 2
 
@Rapptz I had to do something like that on my calculator.
Regardless, understanding what mod does is definitely not within the scope of SO.
 
The vote to close reason is wrong but
couldn't pick anything else I guess
 
Maybe unclear what you're asking would be better.
I really don't know what to think when they don't explain how they got 5.
 
It shouldve been "on hold because you need a fucking C++ book."
 
4:08 AM
That's going to bug me now until I figure it out.
 
modular arithmetic is a math thing!
 
@Borgleader Or a math course.
 
Maybe he meant 12.5
I guess mod is misleading if you think of it his way.
I can definitely see that as a common pitfall tbh
 
But 12.5 is division.
 
Just trying to see his point of view.
 
4:15 AM
What is SOP when dealing with questions whose OP's example is wrong?
 
SOP?
 
Standard Operating Procedure.
 
Leave a comment.
 
@Rapptz Or, in particularly egregious cases, close, downvote, and delete.
 
since we are talking about remainder here is an embarrassing confession , I once calculated the remainder of x/y by continuously subtracting y till ans < y in a final exam. As soon as I walked out I was like WTf did I just do
 
4:32 AM
Google still hasn't indexed my blog >.>
 
@chris Needs more links from other sites.
 
@A.H. that's the hardware way to divide. Congratulations!
 
@MarkGarcia Yeah, all there is for it really is a link from my site, a couple of posts, and a sitemap.
It's only been there for a couple days.
Figured I should probably start getting stuff together.
 
@chris Might be good to provide a link in your Stack Overflow profile.
 
@chris @MarkGarcia I've been working on a few sites recently, and it seems to me backlinks are more for frequent indexing, and Google is just slow to index new (arguably unpopular) sites... Great idea with the profile link though
 
4:36 AM
@MarkGarcia Not a chance of my site or blog until they actually get content or a design.
 
@chris What do/will you blog about?
 
@chris Oh. You like to have a gala entrance. :P
 
Initially, their main purpose should be for someone who might want to find out more before hiring or something.
@trojansdestroy C++ and Win32 mainly is what I have in mind now.
I'll see how things go and eventually put some effort into actually building my site instead of having a bit of text and a couple links lol.
And customizing the blog a bit.
 
Blogs are :effort:
 
I'm kind of new to all the web-related everything.
@CatPlusPlus At least it has benefit to someone specifically looking for information on me, even if no one really reads it yet. Talk about purely functional.
First it's 25%2, now it's while (i++).
 
4:42 AM
@ScottW Hey Scott.
 
I've been thinking about starting my own for code snippets, tricks, solutions for common problems, etc., but mostly for myself when I'm not at the computer that I solved said problems on.
 
@ScottW Yeah, I guess.
 
What sort of photography help?
 
@chris My homepage is literally empty and I still got a job offer that mentioned it. Take it as you will.
(:effort:)
 
What was the mention?
 
4:50 AM
@CatPlusPlus Mine's small enough to fit in an image :p
 
Ugh default styles.
Use Bootstrap.
 
Yeah, I just made that by hand.
I just need to get around to actually making something. Like I said, I'm new to almost anything web-related, so yeah.
I feel like I should have started the site/blog/Github before now, but at the same time, I'm glad it's now instead of much later.
 
Fuck everything web-related.
 
bootstrap, if you need to make a decent looking website in 30 minutes or less
 
I'm so sorely missing out, too, because everything requires web stuff now.
And I fail miserably at it.
 
4:54 AM
guys please help me fall asleep
 
Web related stuff sucks.
 
Close your eyes, play music.
I.e. what I'm doing right now.
Not chatting would probably help.
 
@Crowz Breathe more slowly, take something for it, don't look at screens an hour before bed, go to sleep at a consistent time.
 
I want a 2h nap, and if I lie down, it's going to be 12 minimum.
 
man I haven't slept in three days
 
4:56 AM
Well then get the fuck off Internet, maybe
 
@Crowz reddit.com/r/asmr binaural nature videos are great.
 
My sleep is kind of 4-7 in the morning to 2-3 in the afternoon now.
 
requires headphones/earbuds.
 
How did this happen?
 
reddit... we don't talk about that place.
 
4:56 AM
My sleep is random and annoying.
 
unsubscribe from defaults, problem solved.
 
@Crowz Why are you still here
 
I liked it better when I was trying to get into an Everyman 3 cycle.
 
I have weird spurts where I just don't sleep for a few days then sleep for like, 20 hours in one day
 
I could sleep for 20 hours every day. 3 days without sleep is a lot anyway.
 
4:57 AM
Except I was only able to not oversleep the main part with one alarm clock like half the time.
Which pretty much resets the progress.
I should have just gotten another alarm clock.
 
I'm invulnerable to alarm clocks.
 
Sleeping for 3h to start it off after 40h of not sleeping went surprisingly well.
I thought I would murder whoever tried to get me up that I asked, but I felt pretty awake.
 
anyone ever wake up in a weird half state of consciousness where you do actions, are aware you're doing them, but hardly feel in control of them? Sometimes I wake up, stand up, and just start talking, then go back to sleep
 
But I guess I'll have to wait until after university is all done until I try again.
 

« first day (1013 days earlier)      last day (3928 days later) »