« first day (1795 days earlier)      last day (3158 days later) » 

9:01 PM
@elyse That explains so much.
 
The nontemplate one requires a userdefined conversion
 
user406009
The new logo sucks. I twitch every time I see those white pixels.
 
@sehe There's an implicit conversion in the constructor
 
user406009
Someone doesn't know how to use alpha blending.
 
"Linux is normally used in combination with the GNU operating system ..."
What nonsensical bullshit. GNU may have provided some other pieces of an operating system, but the GNU stuff certainly isn't an operating system without a kernel.
 
9:04 PM
here CATS
in link
nothing more
 
@Mr.kbok I didn't say there was none. I said one is required
 
-3
A: Can I use std::pair, but rename .first and .second member names?

Ovidiu TaralescaI find this the easiest way (and probably the most efficient): Just define the "first" and "second" keywords as "x" and "y". You do so by using this code in the declaration area of your file: #define x first #define y second I also define "mp" and "pb" instead of using make_pair and push_back...

 
user1804599
 
kill me
 
@orlp Only fair after killing her (even if she is ~70 years old now...)
 
user406009
9:07 PM
@elyse That's a parody in case you haven't realized.
 
Lol, what'd you do?
 
 
user1804599
@Lalaland Is it also a parody in case I have?
 
@T.C. whoops
 
@sehe :(
 
9:09 PM
The new SO .ico seems to have some bad rending artifacts
 
@T.C. Using macros for commonly used names? That's never gonna fail, ever. While we're on topic, NOMINMAX is not a macro that exists.
3
 
@Mr.kbok This makes it not a direct match, so not preferred over a template match
 
user406009
@Nican That's what I have been saying.
 
user406009
Someone screwed up.
 
user406009
WON'T SOMEONE THINK OF THE PIXELS
 
user1804599
9:09 PM
The new logo is a pile of shit stack frames!
 
@sehe but the template match is indirect too, yes?
 
 
user406009
@Nican We should create a meta post with all our rage.
 
@Mr.kbok Yes. Making it ambiguous
 
 
9:12 PM
@Gizmo 'shopped
 
I'm waiting for the day I actually get a hold of such a product
probably not gonna happen in EU
 
user406009
@ThePhD Not even a good shop.
 
@Gizmo Yeah, doesn't fit the curve of the bottle.
 
that also
weirdly close to the box too
 
@Gizmo Because it's not real.
 
9:13 PM
@sehe wat do then?
 
Ell
@BartekBanachewicz yah I set it to expire over a week
I'll make a binary for you
 
It's a lazily and badly done photoshop.
 
@Lalaland Go right ahead. :D
 
also he has made a photo...
so reason for shitting invalidated
 
hmm... is there a way to tell CLion not to put the closing brace of a class on a new line if it's empty? :/
 
user406009
9:25 PM
@Gizmo So many extensions.
 
hmph, there's an option to not change it when formatting, which I guess works
 
@Lalaland I use 14, but hide the buttons
 
user406009
Just remember that each extension has RAM and CPU costs.
 
user784668
@Lalaland Upgrade your Z80 maybe then?
 
@Lalaland oh noes, my 22GB free RAM...
 
user1804599
9:31 PM
hi
 
I got 16 GB of RAM and as long as I'm not running VS I'm fine.
 
whatup all
 
@Gizmo lol, massive fail
 
user1804599
In ABAP, the Boolean type contains the values true, false, unknown, yes and no.
 
@Puppy Each FireFox tab uses like a GB of ram. So 22 GB isn't really enough for like 30 tabs.
 
9:38 PM
oh noes?
 
@elyse That should be a Kleenean type then, not a Boolean.
 
Actually, FF uses leaks 1 GB/tab/sec. So if you have one tab open in FF, you'll run your 22GB out in under a minute.
 
@elyse aren't true and false equivalent to yes and no?
What are you high on, Myst?
 
user1804599
probably
 
@набиячлевэлиь Probably, just like in Rebol.
 
9:39 PM
I have two Firefox tabs at 557MB now and have done for the last several hours
 
Which also has on and off x)
 
So what's the point in having both three of them?
 
Expressiveness.
 
@elyse Objective-C has five boolean types.
 
If it's even a word.
 
9:40 PM
It definitely is now
 
@набиячлевэлиь I don't know. If I knew, I wouldn't be high right?
 
@Mysticial Left, you know you're high on X when you've just taken X, for most values of X
 
user406009
I can totally understand the true, false, or unknown booleans. How could you possibly have more than that though?
 
@Lalaland It's ony a question of logic. Look at SQL's true, false, null (if I'm not mistaken).
 
user406009
Yes, but what would be the logical meaning of the fourth and fifth values?
 
9:45 PM
As long as you can define logic operations, you can have more values. The hardest part is to pour sense into your values and your operations.
I am pretty sure some things can be reasoned about with more logical values, but most of the time, we reason with only 2 to 3 logical values.
 
true, false, maybe, you_are_oppressing_me
 
Yes, maybe I'm oppressing you.
Anyway, if you have time and want to read more to possibly have answers to your questions:
In logic, a many-valued logic (also multi- or multiple-valued logic) is a propositional calculus in which there are more than two truth values. Traditionally, in Aristotle's logical calculus, there were only two possible values (i.e., "true" and "false") for any proposition. Classical two-valued logic may be extended to n-valued logic for n greater than 2. Those most popular in the literature are three-valued (e.g., Łukasiewicz's and Kleene's, which accept the values "true", "false", and "unknown"), the finite-valued (finitely-many valued) with more than three values, and the infinite-value...
 
Ell
n'aww
 
nice linkswap or fail @ copypaste?
 
That copy & paste fail .________.
Anyway, time to go to sleep.
I dread the moment when I'll have to brush my teeth...
 
> clickhole.com
not clicking that
 
dickhole.com
 
user1804599
why not? click it
 
user1804599
I wouldn't just link to someshit like rebecca black or piv.pivpiv.dk, would I
 
10:01 PM
I wonder if zero.facebook.com can be abused for free file sharing.
 
user1804599
I should get a VM, install SAP trial version, and learn ABAP
 
@набиячлевэлиь It's late. What am I supposed to see?
 
@Veritas An error message
With a sarcastic remark
 
And again. Boost Spirit's Karma fails to convince me
0
A: using boost::karma to format latitude/longitude strings

seheGiving it some more thought, let me answer Q. is there generally a better solution for this kind of problem? with: in this you may be better off with Boost Format. Reusing LatLongRep - the calculation work-horse from my other answer, you can create IO manipulators really easily: namespace ...

I mean. I /get/ the symmetry of library design, but in practice, I only use Karma as a shorthand for variant visitors - iff my AST has them. And frequently, I end up rewriting it manually anyways because...
I suppose output generation is more stateful by nature and therefore hurts more when doing it the eDSL way
 
10:33 PM
Hello, from Programming Language: C++!
Already want to murder myself.
 
Why.
 
It's just... mind-numbing.
I know I wanted easy credits.
But we're talking about strlen
And a bunch of C functions.
And C arrays.
 
Ok. Your request will be considered.
 
a spider that builds big decoy spiders on its web
 
@AlexM. terrifying
 
10:43 PM
Why?
 
Kinky.
 
Because they build their own oversized sex-dolls :)
 
@ThePhD leave a scathing review at the end of the course
 
I can't really do that.
It's not like other people aren't learning and that he's a bad Professor.
It's just that I'm mindcrushingly bored. There's no way to get these credits but sit in this class and listen to the Professor talk.
And take the exams and do the homework etc. etc.
 
@ThePhD So you don't want to. That's fine. Just suggest improvements
 
10:47 PM
damn this is filthy
 
@ThePhD And that.... is what you learn in college. Deal With Life
 
.... Are
Are you seriously linking pornhub?
 
@ThePhD yeah dude, those are some mad snipes
 
10:48 PM
@ThePhD they don't allow rape on youtube
 
Just... gonna...
 
@ThePhD If he's teaching C in a C++ course he's a bad teacher.
 
PAy attention in class some more...
 
Owning niggas like that is illegal
 
@sehe Can/will do.
void main() IT HAPPENED
 
10:56 PM
Underaged Babbies
 
@ThePhD well, that settles it for me
 
And cplusplus.com
I'll send the Professor an e-mail.... after he officially lets me into the course.
 
@ThePhD why not after you officially finished it, just to be safe? :p
 
@melak47 A splendid idea.
 
thank god vector<string> can be constructed from iterator-pair of type unsigned char **
 
11:03 PM
@ThePhD after you finish it.
 
I'm thinking of getting a tatoo.
Hi.
 
> Dear Professor,
> your course *sucks*.
> KTHXBAI,
> ThePhD
 
@R.MartinhoFernandes hehe. I'm afraid it wouldn't work that welll due to the background color?
 
@набиячлевэлиь I think I'd start by thanking him for teaching it, and then doing things like directing his attention to en.cppreference.com, and then also informing him of things like correcting void main and spending more time on the glorious benefits of C++.
 
@sehe Robot is Asian and has yellow stars on his skin naturally
 
11:05 PM
No background.
 
He is doing a good job of talking about gotchas, like buffer overflows.
 
@R.MartinhoFernandes Yeah. I wonder how recognizable it then turns out to be
Perhaps you can erase the background and dodge/darken overlay it on a picture of skin :)
 
@ThePhD trick LRiO into buying him a copy of The International Standerd and tell him to read it
 
I need to e-mail Randall again. I want a version with more resolution.
I WANT IT
 
night all
 
11:09 PM
Night @sehe!
 
@R.MartinhoFernandes trace bitmap in inkscape...
 
Good night!
 
@R.MartinhoFernandes Zoom and enhance.
 
I wonder why I see so few abstract art in peoples tattoos ...
 
11:13 PM
... Wut.
@Borgleader Question.
I have a vertex_declaration with range<vertex_element> elements();
Currently, in OpenGL or DirectX, they're sorted by their layout order (I managed to fix it up).
However, in OpenGL layouts can be sparse (e.g., unused data or something).
So that means elements[0] could have a location binding of 1 (in OpenGL, for example).
 
Tada! In oil painting form.
/cc @R.MartinhoFernandes
And in a higher resolution.
 
clang error reporting so good <3
 
Heh. The details in the basket are lost.
 
@Borgleader Should I pad my vertex_element array with crap elements in places where OpenGl has optimized out / removed that element (e.g., for 0 position, 2 color, 3 tangent, what is in elements[1]? Garbage null-vertex value, or do I just not have it and only have a 3-element array?)
int**
Aww yeh.
Wut.
int x = 6;
*x
I say "does not compile"
He says "goes to address of 6, prints garbage".
I'm gonna fight someone.
That'll teach me to open my fucking mouth.
 
@ThePhD 1v1 me irl
 
11:28 PM
int* y = 7;
Sees it doesn't ompile
So.
int* y;
*y = 7;
And it prints something, because C++.
But I'm dying in my chair.
And the people in the class are nodding their head.
This is it. This is why the industry sucks.
I am literally watching why these kinds of ideas make it out. People are literally being taught undefined behavior.
By a person being paid oodles of money.
 
Why even show up to the lecture
 
I need these credits.
 
Stand up, give a 10x better and standard-conformant talk, win at lyph
Simple, really
 
You mean, get fucking thrown out the class for being a smartass.
 
If you know the material why bother showing up? Have you never had useless lecturers before?
 
11:33 PM
@Prismatic Not until now, no.
I've always fought to be exempted. It worked in High school / middle school, but it doesn't work here.
Because they have a credit system. And if the Professor doesn't see your face they can tank your grade for participation.
If it was a "take these tests, do these projects, be on your way,"
I'd be 1000% done.
 
'participation grade'
Sounds like kindergarten
 
It's any Professors way of nailing someone to the chair in their class.
 
@ThePhD Your C++ class is participation grade? :(
catface does not approve.
 
@jaggedSpire lennyfaec feels disgust for the first time in its life
 
user406009
@Prismatic Participation grades are valid in discussion based classes.
 
user406009
11:37 PM
Such as English. Or Philosophy.
 
Especially at the fundefined behavior he's teaching the class.
 
> "Let's discuss why I, as a professor, suck monkey dick"
 
If you're giving a presentation or something sure. But I've taken social science classes before where it was just powerpoint. Waste of time
I'd rather learn the material at home in my jammies tyvm
 
@ThePhD dunno if anyone's asked you this before but why are you putting yourself through all this BS?
 
@ʞɔᴉN I want my goddamn degree.
 
11:38 PM
@ʞɔᴉN He needs the credits
 
user406009
@ʞɔᴉN Gotta get that sheet of paper.
 
I fucking ate the dirt to get this far. I'm not getting turned away, no matter how shitty the teaching is.
 
I see, so at this point it's kind of a do-or-die thing
 
ThePhD: determinator
 
i would've quit long ago, so props for sticking with it
@jaggedSpire har har
 
user406009
11:40 PM
I really wish undergraduate degrees weren't so heavily relied on in hiring.
 
@Lalaland but how else will you show that you're willing to learn and capable of applying yourself for long periods of time? /s
 
There are alternates paths. It's not like degrees are the only way. (Just ask @Xeo)
But they're A) pretty hard (ask @Puppy) and B) if you're already this far in, you don't quit. You finish.
 
user406009
Yes, but the evidence appears to indicate that degrees are worthwhile for getting in the door.
 
@Xeo show me the path to the dark side
 
user406009
I'm just saying that it's a shame that our employment system relies so heavily on them.
 
user406009
11:44 PM
Because (at least in my very limited experience), colleges are very ineffective means to education.
 
@Lalaland I agree. They should depend exclusively on graduate degrees instead.
 
You can learn a lot in College. It's not as if I won't learn anything.
 
user406009
Correct. I should have used the term "inefficient"
 
My issue is that there's a system in place that encourages snatching up and sucking up credits for the sake of paying for each one to the University, which means learning becomes incidental to gaining the 120/128 credits necessary to graduate. That's why I've been doing nothing but taking courses that teach me next to nothing for the last two semesters. Even though I've demonstrably proved I've mastered the knowledge, their answer is simple:
"You didn't pay for a class at an accredited institution."
It's not about how smart you are: it's about if you paid your dues to the system.
 
Think of undergrad degree as unit testing, only the no fragile ones can get through the test usually.
 
user406009
11:47 PM
@JerryCoffin My prediction is that's the future for Computer Science. Computer Science is rapidly becoming a very popular major. Historically, other oversubscribed majors such as Psychology have started to rely more and more on graduate degrees.
 
So those components people passed unit testing
 
@JerryCoffin Undergraduate Radians would be the solution.
3
 
user406009
@chmod711telkitty Your argument is basically that college degrees serve as a useful employment indication not for the educational value of the degree itself, but for the selecting the types of people who complete college.
 
@Nooble Clearly star-worthy.
 
user406009
@chmod711telkitty You could use the same argument to argue for sexism, racism, countryism, etc.
 
11:49 PM
@JerryCoffin :D
 
@Lalaland How many CS jobs that aren't programming jobs are there? Its a popular degree because everyone thinks you need one to do software development
 
@chmod711telkitty Unfortunately, the person writing the unit tests hasn't been allowed to look at the specification, and doesn't even have a clue of what the finished product is supposed to do.
 
@Prismatic All of being a SysAdmin?
 
@Lalaland it's a popular major but you'll find that many switch to something else
 
I don't think being a sys admin requires a CS degree either
 
11:51 PM
@ʞɔᴉN Said the webdev.
<3
 
user406009
@ʞɔᴉN What do you mean by that? Are you arguing that people will drop out?
 
user406009
I don't necessary think so.
 
@Lalaland I would pay more for something that I know passed unit testings than something that I don't know whether it passed unit testing, wouldn't you?
 
user406009
I definitely need to check my school's class rosters and determine the "leave CS" rate.
 
user406009
@chmod711telkitty So why don't we also engage in sexism and racism?
 
user406009
11:52 PM
Exact same argument.
 
@Lalaland but we do
 
user406009
Statistics does not make morally correct behavior.
 
@Lalaland drop out? No, but the math requirements can be brutal for some folks
 
@ʞɔᴉN Math is ezpz
 
user406009
@ʞɔᴉN It's nothing compared to many other majors.
 
11:53 PM
@JerryCoffin not just one single unit test, but a bunch of them
quantity does matter sometimes
 
user406009
CS is not that hard of a major. Compare it with Physics, Chemistry, other Engineering degrees.
 
user406009
Mathematics.
 
user406009
I believe there is a good argument that those majors are more difficult than CS.
 
I should take Math.
 
user406009
And I know a couple of people who have switched from Math to CS for the better career options. (They usually just do a Math minor)
 
11:55 PM
The lower-division coursework is almost identical to a Mathematics major
 
Calculus III, Linear Algebra, Stats...
 
@Nooble s/at/et/
 
I thought linear algebra is basic like ... maybe calculus I or II
 
user406009
I totally understand the people joining CS for the cash. This is capitalism and everyone wants a comfortable life. I'm just saying that it will probably have bad effects on the future of the CS industry.
 
I would pity people who are doing CS now, because it seems the best time to be a software engineer is gone
 
user406009
11:57 PM
@chmod711telkitty Depends on how in depth you go. You can have quite detailed courses just on boolean logic.
 
user406009
Similarly, there are more theoretical linear algebra courses and easier, practical ones.
 

« first day (1795 days earlier)      last day (3158 days later) »