« first day (845 days earlier)      last day (4101 days later) » 

1:00 PM
oh
I might check that with her actually
 
@LightnessRacesinOrbit Hmm. Nazi de grammaire :)
 
"Mum, Zoidberg AKA Daknok said that you said the he has friends in Lounge<C++>?"
 
@TonyTheLion And a strong left hook from Tony opens this bout, with a quick jab to follow up. Zoidberg's guard is up now though, so we'll have to see how this fight progresses.
 
@sehe I think I did well, considering :P
started with google translate, but it needed a lot of work
proud I was able to fix it
 
@DeadMG lol
 
1:01 PM
@LightnessRacesinOrbit I could make heads or tails of the first word. I had to google in order to get it. That's what you get when you know a language... superficially. Simple stumbling blocks become blocks.
 
@sehe couldn't*?
 
user142019
You know.
 
I'm free to invent my own idiom :)
@Zoidberg Sometimes
 
@sehe it was always going to be a tricky word, that one. I certainly have never heard the French for it before
 
user142019
I'mma add free functions to C# in my implementation as a language extension.
 
user142019
1:02 PM
Because free functions pwn.
 
:)
@Zoidberg That's the first sensible thing you've ever said.
 
user142019
And extensions can be enabled with a pragma; #pragma language FreeFunctions like in Haskell. :3
 
I hate working in a company where I'm forced to follow their rules and not use my creativity. and even if I have nothing to do, I have to stay here ALL THE F** DAY!!
 
a moment in history, where Zoidberg said something sensible
 
1:03 PM
ALL THE FAT DAY?
the censor mangled your post
 
@LightnessRacesinOrbit LOL.. u got it.
 
user142019
And maybe return type deduction if I'm in the mood.
 
and I still have to deal with a crazy guy that sucks working on a team!!
 
Yesterday I had a little bit of pain down my left for loop. I am sure something is not right in my switch case.
 
1:05 PM
0
Q: Something is not right in my switch statement case

user2044438I have a weird problem that i dont know how to fix. I have made a math program with 5 cases in switch who have different things that they should do. My problem is that everytime i choose case 3 , and the answear is getting printet. If i wrote a number 1,2,4,5 at the end of it, that case of numbe...

 
How perfectly timed.
 
If someone asks a stupid question, you can answear "fuck you".
 
@TonyTheLion oh fuck off... Do we really need to use 80% of the traffic in this room on being negative and trying to insult each others?
 
user142019
Oh good point. Unrestricted switch.
 
1:06 PM
what would you do in this situation.. would you fire ur self?
 
I know everyone here knows better than to take any of it personally, but honestly, I think it reflects pretty badly on the person saying it...
So here's an idea: let's all try being friendly and keep the banter at a level that actually makes all of us look like decent human beings
 
@R.MartinhoFernandes it was good
@jalf The real question is whether we really need the other 20%
 
@jalf well fuck you too. :)
 
:)
 
@GamErix You already linked that. Don't make me start binning your links.
 
Xeo
1:15 PM
@DeadMG Wasn't that something else?
One was on Math.SE for the algo, this one is for optimizing it.
 
huh
I coulda sworn that I just went back and checked
but you might be right
 
hmmmm
the guy that's supposed to fix my laptop still not here
I have to leave soon
 
Xeo
Just use .count only? If it exists, you get back how many times. If not, you get back 0. — Xeo 8 secs ago
Any flaws with my logic?
 
Actually, please star this instead:
Do we really need to use 80% of the traffic in this room on being negative and trying to insult each others? All those jokes about person X having no friends or no life or whatever else reflect pretty badly back on the person saying it. So how about we try to keep the banter at a level that makes us look like decent human beings?
11
and unstar the message above. :) Not really fair calling Tony out for it specifically :)
thanks
 
Xeo
@jalf > implying we want to look like decent human beings
 
1:18 PM
@Xeo no, I'm implying that I want us to look like decent human beings ;)
 
oh boy, did I miss much?
 
If you want to look like an ass, that's ultimately your choice ;)
 
running win7 now :D
 
@thecoshman nah, not really
 
you missed the spot where I got told off by jalf for making a bad joke.
 
Xeo
1:19 PM
@thecoshman Welcome to the modern times... ?
 
@LightnessRacesinOrbit "The unbearable lightness of being" :)
 
Win 7 feels old, to be honest
 
@TonyTheLion don't worry about it, it's not about you or your joke specifically. I just thought many of us in this room are getting needlessly hostile a lot of the time :)
 
Your comment was just what prompted it here and now :)
 
1:20 PM
@R.MartinhoFernandes rofl - damn! only ten min in, but a couple hilarious moments already - catch DU if you can
 
@jalf Yeah, I think it's a room meme :P
 
@Xeo yeah, shity work laptops came with 7, but got rolled back to vista (shuddders)
 
@jalf 80% of traffic is not enough. We also need a bunch of tags like and shit.
 
@TonyTheLion It kind of is, but I think it's unnecessary and even harmful
 
you're right
 
1:21 PM
@jalf no we're fucking not!
 
ITT: Jalf: enters a room, picks a fight over a random post.
 
wait for it...
 
@sehe I don't think I picked a fight. At least, there's not much actual fighting going on that I can see. :)
 
Cough. You were starting off with a very good example of what you propose to do instead, I suppose
 
@thecoshman you're not going to try argue this, I hope?
 
1:23 PM
@TonyTheLion lol, I no better then to try to have discussions in this cesspit :P
 
go to 4chan for real discussions :P
 
@thecoshman Well, just to be clear, I have no problem with the fucks or violent disagreements, as long as we try to avoid getting into personal insults. :)
 
ITT: We try to be nice to each other. :)
 
@sehe I have no clue what you're getting at. I just thought I would point out that there are a lot of needlessly personal insults being hurled around here, and I think it's possible to be dicks and say fuck and whatever else we do in this room, without getting personal about it.
 
@jalf If it makes you feel any better, I tried to weigh in last night:
17 hours ago, by sehe
@BartekBanachewicz Hyperbole much? Note that this might seem "normal" on twitter, but you got to ask yourself: did you really wish to contibrute to the culture of gratuitous death wishes on the internet?
 
1:26 PM
@sehe yeah, that, pretty much :)
 
@jalf I basically got told "You're being old and silly" :(
@jalf Wait. You have no clue? this ring a bell ? :)
 
@sehe I know what I just said, but I wasn't sure what point you were trying to make about it
 
It was :| (what else :))
 
I probably shouldn't have said "fuck off", if that's what you're getting at
 
What else :)
 
1:29 PM
polar bear, Y U CRYPTIC?
 
but again, I personally have no problem with harsh language as long as it's not personal. Telling people to fuck of is, IMO, very different from mocking them for having no friends (for example)
 
The point being, yes it does seem you like to join in. On more than one occasion. Feel free to admit that you don't like it (anymore) but at least see in the mirror too .
 
but that's just how I feel about it. YMMV, and I certainly don't claim that I'm the perfect example to follow ;)
 
@jalf Okay. I can see the distinction.
 
it took @jalf five messages to figure out what you said, if you said it straight up and forward in the first place, we could have saved five messages.
 
1:30 PM
premature optimization!
 
@TonyTheLion Thanks for letting me know. Also, I think he understood, but wasn't sure.
 
@sehe don't worry, being old and silly isn't so bad. :)
 
@jalf similarly, just to be clear, I was taking the piss then...
@DeadMG better or worse then premature ejaculation?
 
@jalf Many people here are young and silly.
 
1:31 PM
@thecoshman I know that :) (but even if you had been serious, I would, like I said above, have no problem with it, because you were just being an ass, not making others feel like shit ;))
 
Dec 21 '11 at 16:02, by R. Martinho Fernandes
> Premature optimization is like premature ejaculation – you don’t think it will happen to you, but then it feels good in the moment, and it just does. Afterwards you get terribly embarrassed, and you don’t want to talk about it when someone calls you out on it.
2
 
It's not about age anyways. It's about norms. There may be an age/culture correlation, but that is irrelevant AFAIIC
 
oh wow, comma overload... Sorry about that :)
 
@jalf ¬_¬ dick :P
 
@sehe young people today!
 
1:32 PM
@jalf Nope. Rude social norms anytime!
 
@R.MartinhoFernandes except you want to ejaculate again, but are not so keen on the optimisation side of things
 
How did we go from insults to ejaculation?
 
@TonyTheLion you
 
@TonyTheLion The insults were a turn on.
 
what about me?
 
1:35 PM
Irrelevant, too
 
@StackedCrooked sadism eh
 
@Borgleader you're gonna search on Stack Overflow, right?
 
Using both #pragma once and #include guards is kinda silly.
 
Double protection.
 
1:36 PM
OK, new crazy question. Could a std::range and a range operator operator: be added to C++ in a useful way?
 
Wait, that deleted message just plinked me.
 
(Also, labels and shit)
 
@rubenvb Usage examples?
 
what?
 
1:37 PM
1 min ago, by Borgleader
@sehe I know about the difference between both, but yeah I guess I could search SO first
 
Yeah, you can edit deleted messages.
 
My question was more the combination of both
 
lol @Borgleader you accidentally edited the already deleted message while replying to me :)
 
1 min ago, by R. Martinho Fernandes
Using both #pragma once and #include guards is kinda silly.
 
@sehe Yeah -.-;
 
1:37 PM
It did plink, woot
 
@StackedCrooked range-based for, and e.g. std::range(begin, end, predicate) on which operator: could act to get a value.
 
#pragma once is a pretty much a shortcut for #include guards. Using both the long form and shortcut isn't very valuable.
 
^ now that's mesage efficiency for you, @TonyTheLion
 
Hmm. Too much magic in a range-based for to have operator: do anything useful huh
 
1:38 PM
WTF are you on about.
What functionality do you want?
 
I guess the only added value to using both is the code will be portable to compilers not supporting #pragma once
which is... not many these days
 
I think he want's to generalize the : syntax in the range based for loop.
 
@Borgleader No. That's the value of #include guards alone.
 
@R.MartinhoFernandes I guess he wants to be able to say for (auto i : make_range(f, l))
 
@Borgleader Adding #pragma once to that... does nothing.
 
1:40 PM
@R.MartinhoFernandes Some compilers optimise one or the other vOv
 
@StackedCrooked He wants syntactic sugar to construct ranges, IYAM
 
@R.MartinhoFernandes I'm learning NumPy and it has this indexing syntax: a[0:6:2] which gets you every other element from the first till the seventh. Then I thought of range-for, and how that could work in C++. Then I thought of how the magic in the range-for could be moved out of the compiler. and came up with operator:.
 
@CatPlusPlus GCC 2.9?
 
That said I refuse to use include guards
 
@rubenvb Ask Luc about his striding/slicing iterators. Also: boost::range
 
1:41 PM
@rubenvb There is no point in moving the magic out of the compiler. The magic is the sole reason for range-for.
 
One time I spent like an hour debugging compilation error that turned out to be caused by lack of newline after #endif
 
@R.MartinhoFernandes Well no, because #pragma once (afaik) permits some optimizations that include guards dont. Something about no multiple #pragma once in a single file or something. So youll get the compile time boost on compilers that do support it and you'll have a fallback on those that dont
 
@sehe Does C++ have a 'range' type?
 
@StackedCrooked Boost does. It's easy to make your own
 
1:42 PM
@Borgleader Why don't include guards permit those? (Hint: compilers are already doing them on include guards this day)
 
@R.MartinhoFernandes Oh they do? Well I learned something new. Last thing I read seemed to indicate #pragma once was faster than include guards compile time wise.
 
@R.MartinhoFernandes That's what I thought. I use plain include guards. No ugly pragma's for me.
 
@rubenvb IOW, "operator:" is already overloadable: provide begin() and end() functions.
 
am I wrong?
0
A: wrapper class for STL stream: forward operator<< calls

Tony The LionYou can turn your operator overload into a friend template Inside your class write template<typename T> friend Synchronize& operator<<(Synchronize& o, T& t); Then the definition could be template<typename T> Synchronize& operator<<(Synchronize& o,...

I knew it :)
 
@Borgleader naively implemented, that is true. But it is a fairly obvious extension to apply the same optimization to include guards, and compilers generally do so, so it doesn't really make a difference :)
 
1:44 PM
@TonyTheLion I haven't read anything. I was trying to make a timely joke.
 
@R.MartinhoFernandes I know, and I made an untimely reply :P
 
@R.MartinhoFernandes bubutbut the syntax! Yeah, stupid idea. Hence why I labeled the question "crazy"
 
Is Boost.Coroutine header-only?
 
@R.MartinhoFernandes I don't expect it to be. I haven't looked
 
If it is header-only I may use it on ogonek.
 
1:47 PM
2 days ago, by sehe
@BartekBanachewicz Anyways, just checked bcp results in 1500 files netting 16Mb for boost/coroutine/all.hpp
 
That says nothing about linking.
 
@R.MartinhoFernandes Making generators and traversing iterators much more palatable? Is the overhead ok?
 
@sehe that is slightly insane :)
 
@R.MartinhoFernandes I know. Just throwing that out there
 
@R.MartinhoFernandes No, due to dependency on Boost.Context.
 
1:48 PM
2 days ago, by sehe
@BartekBanachewicz Agreed. There is some truth to the common complaint that "boost is hughe" and "bring in one header, get the whole repository" :(
 
Boost.Coroutine depends on Boost.Context, Boost.Exception, Boost.FunctionTypes, Boost.Move, Boost.MPL, Boost.Optional, Boost.Preprocessor, Boost.Range, Boost.ResultOf, Boost.SmartPtr, Boost.StaticAssert, Boost.Tuple, Boost.TypeTraits as well as Boost.Utility and requires Boost-1.52.0.
lol
 
@sehe Dunno. That was the point.
 
@LucDanton Yeah, I expected that. Boost Context comes with platform specific context switching code. I can't imagine that being inline
 
yesterday, by Luc Danton
@R.MartinhoFernandes So, there's this. Won't link there though.
 
@R.MartinhoFernandes It would be cool, I'd agree as much. I've done 'chunk wise' generating iterators once for generating chess moves (in a 3D chess engine, so movelists are bigger than trivial)
 
1:50 PM
Sentence iterators are going to be sooooooooooooooooooooooooooooooo fucking painful.
 
@LucDanton Nice. I missed that.
 
Didn't Boost once have a policy that Boost libs should depend as little as possible on each others? Pretty sure that was the case, but apparently not any more
 
@jalf Well, "as little as possible"...
 
@jalf I think it's the opposite, i.e., no reinventing the wheels.
Boost is meant to be a cohesive uncohesive whole.
 
@jalf also, in this case, Boost.Context was clearly separated from Boost.Coroutine for the exact purpose of making it easier to reuse for other purposes. Usual Coroutine implementations would just "include" that, instead of depending on it
 
1:51 PM
Else you get tons of boost::foo_detail::do_bar and boost::baz_detail::do_qux_like_bar_but_not_quite.
 
Resulting in monolithic libs
@R.MartinhoFernandes BCP is pretty cool in this context
 
@sehe yeah, that one makes sense, but I'm sure some of the others could be eliminated without too much trouble. :)
ah well
 
@jalf Which ones? I can't think of one.
 
By copying the code over
Which is really different than depending on them
 
@sehe Is boost::range ever more than a convenience? Or StaticAssert
 
1:53 PM
Everything depends on Boost MPL. But for a reason. Spirit depends on MPL, Fusion and Proto and Phoenix. Oh, and Regex if you use Lex
 
There's no way you can get rid of StaticAssert.
 
Oops, late to the party.
 
Pushing ranges is a good thing
 
@jalf Why is that relevant? Are you accusing boost libs of being lazy by using 'convenience'?
 
anyway, without looking at the code I can't really say.
 
1:54 PM
Treat Boost as one thing and problem goes away
 
Yet you were sure :|
 
@jalf I think their point is not to use 'Range' for convenience, I think their point it to 'Range-enable' the lib so users can benefit, not library devs
 
DAMN, Django Unchained is hilarious - really pokes fun of the South tho (in the context of slavery) - even has a plantation owner with the Colonel Sanders beard and a white suite...
 
It's like asking why parts of standard library depend on each other
 
@sehe I'm not accusing anyone of anything. I'm pointing out that most likely the library could reduce the number of dependencies without having to make too significant code changes
 
1:54 PM
@kfmfe04 I liked it as well.
 
Dependencies are good~
 
@jalf And feature changes, is my point
 
@kfmfe04 there's no fun in that: it was reality for a long time, and still is in a limited way
 
@StackedCrooked hahaha - you saw it! I'm only 15min in - the writing is classic QT
 
@CatPlusPlus Except for the obvious fact that Boost isn't a cohesive whole. If nothing else, then they're pushing individual boost libs for standardization, not Boost as a whole
The existence of bcp also kind of indicates that boost isn't always, or shouldn't always be, treated as a cohesive whole
 
1:56 PM
5 mins ago, by R. Martinho Fernandes
Boost is meant to be a cohesive uncohesive whole.
 
Plus, of course, the fact that Boost has always been billed as a collection of libraries
 
@kfmfe04 The sudden shooting scenes :)
 
@rubenvb It's prolly more amusing for Northerners who never see that kind of beard ;^P
 
1 min ago, by Cat Plus Plus
Dependencies are good~
 
@CatPlusPlus no they are not
 
1:56 PM
 
Yes, they are
DRY
 
Dependencies are a pain in the ass. A necessary pain in the ass, but no less painful for that
 
Dependencies have a cost and benefit.
 
@CatPlusPlus So I should add a dependency on arbitrary libraries just because I can?
 
Dependencies in C++ are a pain in the ass, but that's fault of the tools
@jalf Yes
 
1:57 PM
let me just go and add a dependency on openssl in my hello world
 
@StackedCrooked lol - you're right - when the sheriff got shot down in cold blood - classic QT
 
If you need SSL then sure
 
No, dependencies are horrible and painful and annoying, but they allow us to avoid something else which is also horrible and painful and annoying, ie. reinventing the wheel
 
@CatPlusPlus You are missing his point.
 
If you need a dependency then of course it's good.
 
1:58 PM
Well, C++ dependencies on Windows are a pain
 
@CatPlusPlus Ah, but you didn't say anything about that. You said that dependencies are good. Therefore, adding a dependency, whether I need it or not, is good
@rubenvb and on Linux
 
Sorry for expecting common sense over here
 
Unix and associated build machinery crappery helps when it works.
 
Windows certainly doesn't make it easier, but dependencies are always a pain
 
Attention: This will be your new group name: The Loungers.
 
1:59 PM
@CatPlusPlus This is common sense. There is always a cost to dependencies. They are never "good". They are, at best, a necessary evil, an annoyance that is less annoying than the alternative
 
user142019
 
user142019
Extreme torture.
 
We don't need a newsgroup
 
I have no problem with dependencies
But then again I don't use C++ :V
 

« first day (845 days earlier)      last day (4101 days later) »