« first day (790 days earlier)      last day (4384 days later) » 

16:00
@KonradRudolph I'm going to make this a mime meme
@R.MartinhoFernandes Lync is great too, and it integrates really nicely.
user784668
@netcoder Hey, it's the first time I mentioned it today.
I don't care. I rewrote this whole thing, it works as before, and now I can implement the other feature on top of it. All this despite Visual Studio.
@Fanael Depends on your timezone I guess ;-)
So fuck yeah, going home.
16:01
@netcoder "I work a lot (unfortunately) in php". Guess who said it
@BartekBanachewicz And...?
user784668
@netcoder The time before that was in September.
@R.MartinhoFernandes oh, GTFO. I have one more hour here.
And unfinished test.
@BartekBanachewicz Yeah, GTFO is exactly what I am going to do.
@netcoder Someone would have to pay me for brain damage if I were to code in PHP
user784668
16:03
@netcoder But I have to admit that I secretly love Haskell. And Python.
user784668
@netcoder But that's only HP (or PH). One more P needed.
@BartekBanachewicz Oh I get paid a lot for these, so I guess you could count it as insanity indemnity
@Fanael I guess I've mistaken you for @ScottW, sorry
anyway, too much P*P in this chat today already
@KonradRudolph the town where you can declare trash and other crazy stuff as art
user142019
@Fanael Prolog!
user142019
16:09
PHP: Haskell Preprocessor
user784668
@netcoder But he's a dog and I'm a water lily.
0
Q: how do I coloring a sfecific char in c++?

YkIHow do I coloring a specific char on the console? (for ex: all the screen will be in blue, all the chars will be in red and one char will be in white).

For FUCKS sake people.
how do me codez
user784668
I answered in comment.
user142019
Highly unlikely it isn’t a dupe.
user784668
Yay! "visited 314 days"
16:12
@Fanael Listen, I work in PHP sometimes, so strange things like this may be due to a sudden stroke caused by overexposition
@ScottW I could tell
user784668
@Zoidberg'-- But that's the same as the C preprocessor. If there's a preprocessor at all.
user142019
@BartekBanachewicz dupevotes
Have you tried crayons? — Fanael 4 mins ago
lol
user784668
Voted.
user142019
@ScottW do you also fucking love Java?
16:15
Ohnoes, that jerk edited the question. It was so beautiful in its original form
user142019
@ScottW good
user142019
@ScottW bad
user784668
@BartekBanachewicz Revert!
user784668
Onemore dupevote plz.
user142019
16:17
@Fanael lol dat subreddit
user784668
16:32
is_sorted(array) after sort(array) is a sane assumption, isn't it?
yes
user784668
What I learned today: apparently these are legal in C++: int x = x; vector<int> z = z; This seems a tad puzzling.
shouldn’t they be UB? Use of uninitialised values and all that
user784668
@KonradRudolph They are.
user784668
This makes me wonder...
16:36
@Fanael Legal or UB?
@Fanael lol wot the fuck
user784668
@KonradRudolph UB
user784668
:(
user784668
auto x = x; is ill-formed.
user142019
16:37
@Fanael of course. What would its type be.
user784668
x.cpp:1:10: error: variable 'auto x' with 'auto' type used in its own initializer
user784668
@Zoidberg'-- In Haskell it'd be a.
user784668
@DeadMG Exactly.
user142019
@Fanael Yup.
fuck Haskell
user142019
16:39
It’d be bottom.
user784668
Damn.
PHP's comparison operators are not only nontransitive, they're also circular! This means there are situations where A < B, B < C, and C < A!
user784668
This reminds me I have no GHC on this system.
user142019
@DeadMG fuck DeadMG
16:40
That's right - in PHP, php sort can return unsorted arrays!
In Soviet PHP, sort() returns unsorted array!
If someone will say to me again "new PHP isn't that bad", I'll punch him in the face.
user784668
@DeadMG In Soviet PHP, unsorted array returns sort().
user142019
PHP is bad, and Java is badder.
From that subrebbit, news.php.net/php.internals/63573 (Generics in PHP)
I'm going to be sick
16:41
okey, I have a bus in 6 minutes and my coworker i need for commit is already home
screw this, I'm getting out
cya.
user142019
@netcoder Generics in a dynamically typed language with duck typing? That’s weird.
@Zoidberg'-- It's the opposite.
user142019
> Implying PHP isn’t weird.
@Zoidberg'-- Right. The motivation of the author is just that the IDE would know what type an array or whatever would be for autocompletion and stuff.
and I thought isocpp had some dodgy proposals
you're always hungry
user142019
16:47
@ScottW here, take this:
user142019
damn you, now I'm hungry
user142019
That was my intention.
samer
user142019
Whoop whoop whoop whoop whoop whoop. (\/)(;,,;)(\/)
16:48
@ScottW English please
@DeadMG He's a dog.
@netcoder PHP: The language where the IDE is supposed to have a better grasp of variable types than the interpreter
user142019
PHP is not a programming language. It is an over-engineered template engine.
love all the PHP bashing goes on in this room lol
user142019
PHP is the greatest language in the world!
2
16:53
@Neal It even goes on in their own room sometimes.
@Zoidberg'-- aaaand starred that :-P
@netcoder that be true (occasionally)
user142019
I’m going to learn more about PHP.
PHP is really bad as template engine so there's that
PHP is really bad as template engine so there's that FTFY
@Neal and posted it in the PHP room :P
@KonradRudolph the first is formal ub because it has lvalue->rvalue conversion where it uses an indeterminate value of int type. in practice it will work, with the result value indeterminate. the second is more difficult: it's probably not formally ub in itself (there are classes designed to use precisely this pattern!), but since we know that the copy constructor of vector copies, and since we know that the argument has not yet been initialized, we can conclude that it will result in ub somewhere.
@TonyTheLion PHP is good at making a good programmer completely apeshit
what makes PHP so "bad"?
@Neal Dooooooooon't!!!!!!
user142019
17:00
> In MVC, controllers do not feed the view data. This is a common misconception but the architecture you're using here is closer to PAC.
ahahaha pattern zealots
@Zoidberg'-- I am sure he knows that.
Also shut up about PHP tia
@CatPlusPlus Thank you.
user784668
cabal install cabal-install
user784668
17:00
So meta.
@Zoidberg'-- never seen that site.
room topic changed to Lounge<C++>: potato [c++] [c++11] [c++-faq]
@Neal That explains a lot.
@EtiennedeMartel baaah. I still use php. So I would like to know (aside from the sadness) what makes it "bad"?
I really want /ban again
user784668
17:03
Guys.
room topic changed to Lounge<C++>: Duck you, Cat. We had that topic before. [c++] [c++11] [c++-faq]
user784668
Why GHC is so stupid?
@CatPlusPlus No. You just want /afk or /brb again
user784668
<no location info>:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM
@Neal It's bad because it's sad
17:03
@Neal A language is a tool. PHP is never the most appropriate tool in any paradigm or domain.
You'll always find something better for your needs.
user784668
@EtiennedeMartel I want to produce shit code in shit language. What now?
Coincidentally people behind PHP are tools too
but i am stuck with it and maintain about 5 sites that use it.
and it is free lol
@Neal Well, read the site
It's only strength is ease of deployment, but that mostly means any kid with WAMP can brand himself "PHP developer" after reading a few tutorials.
17:04
@KonradRudolph reading.
@Neal Better yet, read this: PHP: a fractal of bad design
Python is easier in every respect
2
^ Yes!
Incidentally, no tutorials teaches about discipline. And you need an awful lot to make good PHP code.
PHP is one of those language in which it's easier to do things the wrong way than the other way around.
It's easier to make good C code
hth
17:06
Which is weird; you'd think the path of least resistance should also be the best path.
So, essentially, it's a language you have to fight against.
This doesn't strike me as a positive thing.
At least you can't define variables with names composed of integers
@KonradRudolph reading
1 + 1 = 4
Actually, you might be able to do _1 + _1 = 4
That's just wrong if you ask me
@Neil Actually you can
17:10
in PHP, 3 mins ago, by webarto
@Neal Rubish.
although the syntax is convoluted (surprising)?
ahahahaha minor issues
ahahahahahahahaha
Don't link PHP room discussions tia
@Neil ${'1'} + ${'2'} = 4
(I'd like to report a bug PHP exists please fix asap)
@CatPlusPlus You're expending a lot of advance gratitude lately
17:11
@CatPlusPlus :-P
@sehe I'm trying to be polite
great, I trashed my bash installation and cannot reinstall it
cannot open a new terminal now
@CatPlusPlus hahahahahahahahahahaha
@sehe He just discovered "TIA" and he's putting it everywhere.
@EtiennedeMartel You crazy
17:13
@CatPlusPlus Aherm. Polite would be to just say what you mean: "Guys can we stop discussing PHP. I don't like it". And then plonk if it doesn't work out
I'm just trying to up my sarcasm a notch
bam
@Neal The main issue with putting that kind of stuff in the PHP room is that most people there do it for a living.
@EtiennedeMartel hehe as do I. :-P
5
A: Implicit casting to std::string

Praetorianoperator<<(std::basic_ostream&, ...) is a function template and user defined conversions are not considered during template argument deduction. You need to overload operator<< for your class. Another option, of course, is an explicit cast std::cout << static_cast<std::s...

Is my answer wrong? I'll delete it if it is
@sehe I'm not that polite
17:13
So, naturally, it's not like anyone's gonna admit that they're actually contemplating suicide for a living.
@EtiennedeMartel I do.
operator<< shouldn't be a template
That said, the interesting thing is that we do not hesitate to hate on C++ here, but no one really does it in the PHP room.
So, what I'm getting at is PHP devs are blind.
@EtiennedeMartel I do where glasses. that is true.
17:15
(Well it is, but parametrised on basic_Xstream<>, not value type)
@CatPlusPlus The one that takes a basic_string is
@CatPlusPlus Okay. Duly noted
You can't really do generic << in C++, that's why it's overloads all the way down
What's up with that D word?
It's really rude.
17:16
@EtiennedeMartel :(
Oh look at that
It apparently is anyway
@EtiennedeMartel Fact is, even if it's terrible, coming from another background, I understand a lot more of programming that most PHP devs do, which gets me paid a ton more money than the average "PHP developer".
> Calls the appropriate insertion operator, given an rvalue reference to an output stream object (equivalent to os << value).
Although I definitely go for something else if it's available.
But that's for streams that can bind to rvalue ref
So it doesn't apply here
17:18
Ow. I nicked an accepted answer off someone:
Sorry Andrzej - your answer is correct, but sehe's is more complete. I'm awarding him this one, ok? — bruno nery 2 mins ago
The issue is probably with restrictions on user-defined conversions in calls rather than << being a template
@sehe lol, guy asks permission first
@netcoder really, he's asking for agreement... which is manipulative in a way. But much of PC/politeness is manipulative. Living together involves manipulating others
room topic changed to Lounge<C++>: D*ck you, Cat. We had that topic before. [c++] [c++11] [c++-faq]
@EtiennedeMartel Better, I hope
room topic changed to Lounge<C++>: Potato haters ITT [c++] [c++11] [c++-faq]
17:22
erm tag line wars
room topic changed to Lounge<C++>: Potato haters ITT; ask robot why he doesn't eat vegetables [c++] [c++11] [c++-faq]
Cat did you see I added you as a friend on Steam?
Why would a robot eat carbon based food?
@EtiennedeMartel fuel is made from carbon too
lol
Carbon is made from Carbon too
17:24
@TonyTheLion Oh really?
@TonyTheLion food is easier to come by than raw carbon though
@TonyTheLion hi
We should make Lounge group or something
hmmm yes
@R.MartinhoFernandes: found the bug in my tests, NDEBUG was not defined, causing the quicksort to be slower than it ought. Still, my inplace variant is surprisingly competitive.
@TonyTheLion y u no add me? :(
17:27
@DeadMG maybe it's a feline thing
@DeadMG I did add you
@TonyTheLion Oh, really?
@netcoder well, yes, felines get along better with other felines, than puppies :P
so you did
17:29
I made a group but now steamcommunity.com doesn't load :v
A Lounge group would be fun.
No, wait, just the group page doesn't load
I broke it
Ahaha
since it's a problem when the argument type doesn't match the list item type, why not, say, make the argument type match the list item type. — Cheers and hth. - Alf 49 secs ago
^ Me full of wit today! Yay! :-)
user784668
@MooingDuck Your inplace variant is still slower than assumption sort.
17:32
@Fanael the assumption sort?
user784668
@MooingDuck Yes.
Type "[steamid] your steam id" and I'll get around to inviting you all when this thing decides to start working again for me
8
user784668
@MooingDuck Assume the array is sorted, return.
@Fanael ....
user784668
29
Q: Are there any worse sorting algorithms than Bogosort (a.k.a Monkey Sort)?

wompMy co-workers took me back in time to my University days with a discussion of sorting algorithms this morning. We reminisced about our favorites like StupidSort, and one of us was sure we had seen a sort algorithm that was O(n!). That got me started looking around for the "worst" sorting algori...

17:33
(It's literally [steamid] so I can find it later mkay)
morning gents
ani
ani
5
Q: Is this a bug with getline(), or am I doing something wrong. Right way to use getline()?

aniIt might not be a bug, but I don't know what is going wrong. My first entry is repeated for str1 on 2nd iteration, and is same way from then. Only first iteration goes good. #include <iostream> #include <string> using namespace std; int main () { cout << " \n Enter two word...

I have edited the question but haven't got any reply
@ani Wait. Have I seen you before?
For posterity:
ani
ani
Problem is is_directory works right under boost but not under MS implementation
17:34
This is lounge
@CatPlusPlus [steamid] rmartinhofernandes
ani
ani
@EtiennedeMartel I dont know...where
@CatPlusPlus You really had to go and put cat faces all over the place.
Oooh it works, cool
Steam did it, it knows what's up
I'm the king
of the lounge
invite me
17:36
Sec
We need a funnier tag
user1182183
hm can I disable precompile header for .c files in my C++ project? I'm getting these errors:
Error 1 error C1853: 'Release\pluginsa.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) Z:\Profile\Rafal\Desktop\samod\source\amx\amx.c 1 1 pluginsa
Than LoungeCpp
ani
ani
Ok guys any help here...??
@ani no, we're lounging. we don't answer your questions here
17:37
We busy
with Steam
ani
ani
k....srry didnt knw...first time here..
> Unable to connect to server. Server may be offline or you may not be connected to the internet.
^ questions go there
user142019
5 hours ago, by Zoidberg'--
@DineshDabhi y u no Stack Overflow.
user1182183
@CatPlusPlus funier than LoungeCPP? Th3H4cki5hC++LoungeWhereWeNotTalkBoutC++ xD
DAMN YOU FLOOD CONTROL GO DIE IN FIRE
user1182183
17:38
@CatPlusPlus whoa :/
@GamErix This is not funny, also 12 characters max
user1182183
@CatPlusPlus DramaC(lub)++
@CatPlusPlus Where can I see my Steam ID?
user142019
In Steam.
user784668
17:40
@EtiennedeMartel Log in.
Cat Y U NO invites.
user784668
@R.MartinhoFernandes u not worthy
@Fanael Oh, that's my login?
user784668
@EtiennedeMartel Yes.
Because inviting people who aren't in your friends already is horribly unintuitive
Sent to robot and lion
user784668
@GamErix You can change the compiler options on per-file basis.
user1182183
@Fanael uu, can you tip me/push me into the right direction (where)?
user784668
@GamErix Right click on the file, properties, ???, profit.
user1182183
@Fanael a ok :P
user1182183
17:43
got it, will try
user1182183
seems to work :D
user1182183
mhm answer and I;ll accept
user1182183
now I have a dilema, someone was first :F
I accepted invite to steam chat
now come there bitches :)
@TonyTheLion we already have a chat, why do we need another
17:49
because, more control in the other one
I killed it again
damn
I'm good :P
cat
add me to your friends then and invite to lounge steam group
considering that MSWord has a table-of-contents feature built in, it doesn't work very well.
If it spans on more than one page, it slows the program to a crawl, and if you do common actions (move the cursor to just after the TOC), it crashes the program.

« first day (790 days earlier)      last day (4384 days later) »