« first day (590 days earlier)      last day (4584 days later) » 

12:00
when ppl say whitespace i something think of milkyway
I think the rest of my sentences are pretty unambiguous.
Well, you can always define whitespace at the start of a document :S
@DomagojPandža scumbag TeXShop didn't highlight the spelling error.
" What appears before the start of this sentence is whitespace."
aaahaha
lol
12:05
"What something like this happens,
it's a newline."
"Also, have some whitespace:

"
I'm getting really sick of these "Technology is ruining us" news articles all over CNN
Technology is, indeed, ruining us. It allowed CNN to exist and broadcast its shit.
lol
Mind you, there is nothing more annoying than walking on the same side-walk as someone who is walking as well as texting.
and somehow manages to get in your way even with your attempts to dodge them.
Tide goes in, tide goes out. You can't explain that.
Also Jesus.
12:08
oh boy
> When an expression is a literal, it yields the named object.
I think I'm sleeping today.
i dislike the way C uses the term "identifier" to sometimes be a unit carrying semantic meaning and sometimes be a unit carrying only lexical meaning
@RadekdaknokSlupik done :D
@thecoshman Thanks!
@RadekdaknokSlupik huh, not seen use of = default on constructors
12:16
I assumed as much
I've seen = delete
= default will generate the constructor for you.
Will have to read up on what it actually generates
@thecoshman it moves all members.
But it doesn't work here, since boost::optional isn't movable, AFAIK.
@RadekdaknokSlupik is that only for foo(foo&&) = deafault? that it will move all members?
@thecoshman and also foo& operator=(foo&&) = default.
12:19
boost::optional is movable but having it as a member deletes the move special members.
Using = default; is no good because this means 'please use the implicitly generated member', and in this case the implicitly generated member has a deleted definition.
@LucDanton what if he where to wrap it in a unique_ptr
@thecoshman That's dumb.
@LucDanton I might be throwing things around at random :P
Some of those things might be dumb.
apparently so :D
12:21
@KonradRudolph Hm, what is that supposed to mean?
@RMartinhoFernandes I’m pinging you. It’s an allusion to a Cypress Hill song
Wassup people
@JohannesSchaublitb what is that sin/pi trick you spoke of?
anyway, I just wanted to very briefly continue our discussion from another day, concerning the use of this_notation vs. ThisNotation for the metafunction aliases
12:23
are n00bs shown any mercy here? :P
depends
@RMartinhoFernandes Because you said that having a separate notation was good to distinguish between those members and the std::xxx metafunctions / traits
12:24
off?
@RMartinhoFernandes And after some thinking, I believe this is entirely unnecessary, since those definitions strictly supersede the std::… definitions, no? Or are there ever cases where you’d need to recur to the std::… ones?
@bamboon the "comparing floating point numbers" article says that using the "sin" function with M_PI, you can improve the accuracy of "pi" output by rather than doing "cout << M_PI;" you do "cout << M_PI + sin(M_PI);"
12:25
well I need some help with a question I posted on the forum
@KodeSeeker what forum?
and it says that it's a "nerd bar trick" to take a calculator and calculate "sin(3.140092)" or something and show it yields "0.001400....". but i tested this and it doesn't work :/
@RMartinhoFernandes oh fuck
@thecoshman I meant stackoverflow, is that wrong as well ? :o
@JohannesSchaublitb x - sin(x)?
12:26
@KodeSeeker I know what you mean :P
what's the problem, and for fuck sake, don't just link us to your question
@thecoshman of course you do !:P
Ahh
@LucDanton no. "+" not "-"
now we're talkin
@JohannesSchaublitb That doesn't seem right.
for values near to "pi" but somewhat smaller, it should yield a better appriximation of "pi"
@LucDanton using "-" for when it is somewhat greater than pi, i think
12:28
@thecoshman :well Im just trying to use the Stanford classes to learn C++ on my own, but I cant seem to figure out whether Im getting the header file dependencies correct
0.001400 is a terrible approximation of pi.
@RMartinhoFernandes nooo!
@KodeSeeker what are you trying to #include and what for (ie, what classes are you trying to include)
the approximation is 3.140092
the result the calculator should give according to them is 0.0015006535897...
so that the sum is PI or very near to it
It is easy to see how this is true.
12:31
yes
but it doesn't work with real calculators and with the windows calculator :(
@thecoshman Im trying to include header files in their library, but the thing is from their starter code kit , I only have a lib file(that should contain the required header files), I tried putting that into the same work directory but doesnt seem to be working. :(
sin(π) = 0, and it is very small for close values.
@RMartinhoFernandes yes of course
hm perhaps the PI the windows calculator uses is slightly greater than PI?
12:32
i will try!
@thecoshman, can I link you to the question now?
@JohannesSchaublitb I think you need a closer starting approximation.
ah no. i gave it 3.14009265 so it definitely is NOT slightly greater lol
@RMartinhoFernandes but the article said even sin(3.14) works
see yourself xD
@RMartinhoFernandes Ok, this is extremely annoying but I guess you chose the best option then. Carry on :)
@JohannesSchaublitb And it does: sin(3.14) = 0,00159265291648695254054143632444
Are you sure you have your calculator in radians?
12:34
but not with the windows calc!
and not with my pocket calculator :(
I sense an epic facepalm coming.
(and incidentally, do you have a header/library/whatever of those traits lying around that you’d like to share? :D)
@RMartinhoFernandes ohh!
anyone?
@RMartinhoFernandes you are right that makes sense
user784668
12:35
? abs(3.14+sin(3.14) - Pi)
%4 = 6.7330628592210194695505962276459541197 E-10
@KonradRudolph bitbucket.org/martinhofernandes/wheels/src/353fc67489dc/include/… They're split between the meta and type_traits headers.
and since 3.14 is relatively close to 0 compared to 360, it looked as if it's just a bit off
i just made a coffee but i got no milk anymore :( i hate coffee without it
what to do
@RMartinhoFernandes Awesome. License?
shall i put whitespace into it
@KonradRudolph CC0.
12:37
@thecoshman :You around?
ah, it says so in the header … duh
ZE MORNING
user784668
@EtiennedeMartel No morning.
There is no morning.
could anyone here help me out. A minute?
12:40
Hmm. I don't think NoadLoad is an appropriate class name.
@KodeSeeker go for it
@KodeSeeker I can give you... 54 seconds.
user784668
@KodeSeeker I can give you 53 seconds.
52 anyone?
@KodeSeeker FYI, I'm not here to serve you. Be glad of what help you do get
12:41
woah woah
user784668
@DeadMG 51
Yes my good sirs of course , Id be glad for any help I get:P
I'm just going to carry this to it's logical conclusion: -1
1
Q: Stanford Engineering Everywhere CS106B -Library code

KodeSeekerIm just getting started with the Stanford Engineering Everywhere Course -CS 106B. However, there are some programs that refer to Stanford's custom header files, and Im not being able to locate the source for them. I did try including the interface definitions, provided with their course reader,...

er
12:42
@DeadMG You're going to steal time from him? Isn't that murder?
Oh, maybe you could let him have a smoke instead...
@thecoshman and others thats the question. Thanks y'all :)
@RMartinhoFernandes That's how he rolls, I guess.
@RMartinhoFernandes That would be all his time, not 1 second
@KodeSeeker Ain't that the third time you post it here?
@thecoshman what happened to that game server dude anyway?
Radek, nope the second and the issue has changed considerably :)
@RadekdaknokSlupik^
12:44
we lolled at hium
that's what happened
Damn, that CS course uses custom header files?
@Fanael: why ?
most do, as far as I can tell
Header files suck. I want modules.
THEY"RE NOT DRY!!! D:
user784668
12:46
OMG. I worry about myself.
I worry about nobody. I don't give a fuck.
man this chat is tricky
You must be new here.
You might be on to something.
user784668
I piped some semi-random characters into c++filt. The output was meaningful.
12:48
@RadekdaknokSlupik: Absolutely
user784668
@KodeSeeker Don't be new here, it's fucking hard.
-11
Q: Find the keystrokes

Gokul Nathis there any way to track the input based on the key stroke. For example, if user is entering password, the application should track the key stroke and saves the password and later mail it to the given email id. And which language will be easy to implement this feature.

2
new to SO and programming D:
12:49
@Fanael, you bet it is.
user784668
@RMartinhoFernandes wtf?
Can I haz keylogger.
didn't some router crash when you wrote "getkeylogger" or something ?
user784668
@RMartinhoFernandes No.
i seem to remember this in some IRC chatroom trolls
12:50
@RadekdaknokSlupik How can CS courses provide modules if there is no such thing in C++?
so no one commenting? Sigh.
@KodeSeeker You need to link the .lib file you got.
@FredOverflow I was complaining about C++, not about the CS courses.
How to do that depends on your compiler.
12:52
They probably have instructions somewhere on the course site.
@R.Martinho: interesting. How do I do that with g++ on ubuntu?
even a link would be great :D
.lib files are for Windows compilers.
user784668
@RadekdaknokSlupik wtf has to do with keyloggers?
You should have .o or .a files.
user784668
@RMartinhoFernandes Like GCC?
12:53
g++ foo.cc bar.a
@RadekdaknokSlupik I'm not sure :P If he had a repo, I would have done some 'suggested changes' but put a licence on them. if he ever made money, I would come a knocking for some :D but oh well
On Windhoos it will probably be g++ foo.cc foo.lib or whatever.
@Fanael Hmm, maybe only MSVC :)
No more gray rectangles?
12:54
@RMartinhoFernandes think mingw understands them
@Radek , @R.Martinho ahh , okay noob error again . Thanks for the tip . Guess Ill have to use windows for this one .
Stop changing your identity so often, it's confusing!
user784668
@RadekdaknokSlupik g++ foo.cc -lfoo, same on all platforms supported by GCC.
@Fanael that's for dylibs.
12:55
This is a static library, I suppose.
user784668
@RadekdaknokSlupik Untrue. See the binutils manual if you don't believe.
@RMartinhoFernandes absolutely teh awesums
I'm convinced people are making that up just to troll
Oh. Ok.
As if I ever compile from the command line! :P
@KodeSeeker Are you a student at Stanford, or are you just doing it for fun?
@sehe Dunno, that user seems to have two other legitimate questions.
12:56
@RadekdaknokSlupik In fact it is a lot less burning than yesterday. The slight breeze is quite cooling
@RadekdaknokSlupik Wimp.
@RMartinhoFernandes oh. that is amazing then
user784668
@RadekdaknokSlupik Hey2
@FredOverflow :No , Im not a Stanford student. Im just using it to learn C++.
12:57
@RadekdaknokSlupik I even prefer CLI on MSVC 2010 just for ease of porting
15
Q: what is the correct answer for cout<<c++<c

pravsRecently in an interview there was a following objective type question. int c = 0; cout<<c++<<c; Answers: a) 10 b) 01 c) undefined I answered choice b) i.e. output would be '01'. But to my surprise later I was told by an interviewer that the correct answer is option c) undefined. ...

Why are questions like these still getting so many upvotes?
No bullshitting with solution and project files and a gazillion combinations of build configs. No herds of dialog boxes to click through. Just plain and simple text, copy & paste and version control
@FredOverflow: Why'd you ask?
user784668
@FredOverflow lol, my downvote is the first.
I prefer to use an IDE, as it shows me the error messages in the editing window and it automatically starts the debugger for me.
12:58
@Fanael Mine is second
Build configurations I never had a problem with.
user784668
@RadekdaknokSlupik You never used GDB from CLI?
@KodeSeeker Out of curiosity. I rarely encounter people these days actively trying to learn from additional material. Oh wait, was your question about the Stanford stuff or the UB stuff?
@Fanael I used LLDB once from the CLI but I find it difficult to use from the command-line.
12:59
If the GUI makes it easier for me to use it, I will use the GUI.

« first day (590 days earlier)      last day (4584 days later) »