« first day (940 days earlier)      last day (4011 days later) » 

Xeo
5:07 PM
Or libsupc++
 
user142019
libsubc++?
 
I think you've plonked me @sehe (because of that drunk talk I had), but I'll miss you anyway...
 
user142019
liboslash!
 
Ell
right. I want a template which takes a container - I want to be able to specialize based on container::value_t
How do I do this?
meh. let me google first xD
oh wait I use regular overloading for function template specialising!
 
lol
 
Ell
5:18 PM
Oh wait I want both!
 
I uncovered a couple problems in Wide that are going to result in far too much restructuring :(
 
Ell
dern, I want partial function specialisation :(
I think.
 
overloading really isn't as good, is it
 
Ell
Why? :P
 
fucking who?
 
Ell
5:24 PM
@ScottW if only :'(
 
user142019
> There is no reason for stuff. (Under Iteration.)
 
user142019
@R.MartinhoFernandes What do you mean by this? :v
 
to deal with codeunits, would be my most likely guess
 
Ell
I have a function. I need to specialize based on value_type and/or on the type of the container itsself - is this possible? I feel like this needs partial specializations
meh. I don't need templated value_type actually
gah.
 
So, the guy next to me is currently eating his first Pop Tart.
He's French, so he never had to chance to eat that kind of shit.
 
Ell
5:36 PM
I have a function. I need to accept any kind of container of a small finite set of value_types but specialise on some containers
yes. I think this is what I want
 
howdy folks
 
Ell
but I don't think it's possible because I would need partial specialization of a function?
 
@EtiennedeMartel I have never consumed a Pop Tart.
@Ell Do what everyone else does- needlessly delegate to a class.
 
pop tarts aren't great
 
Ell
@DeadMG ah right
 
5:37 PM
Pop tarts are nasty. Except for the Smores ones.
 
user142019
Re-Tarts
 
Ell
I've never had a pop tart
I'm not in your country :P
 
Why arent -O,-O2 enabled by default ?
 
user142019
Because debugging with optimizations on is terrible.
 
Ell
@rightfold is -g on by default?
or whatever the debug symbol flag is
 
5:39 PM
no
 
user142019
@Ell Not in clang.
 
@rightfold as in ?
 
user142019
@Darkyen variables randomly changing, inlining resulting in useless stack traces, being unable to see what arguments are passed, and whatnot.
 
@Darkyen Code is often rearranged, or in some cases disappears completely. Relating the object code back to the source code can be nearly impossible.
 
hmmm
now that makes sense :-)
 
user142019
5:40 PM
Once you compile with optimizations, you have a black box.
 
Now i am wondering why the nodejs geniuses didn't compile node.js with -O2 enabled
 
@ScottW Black paint is expensive.
 
user142019
@ShotgunNinja THAT'S RACIST
 
@rightfold Oï.
2
 
@rightfold Starred just so I could have the pleasure of removing it again.
 
user142019
5:42 PM
Good. Because I don't want it on the starboard.
 
@EtiennedeMartel Starred for cool use of umlaut.
 
user142019
GCC compile faster you piece of shit.
 
@ShotgunNinja Yeah, I know it's written "oi", but I still write it with a umlaut for the coolness factor.
 
user142019
Metal umlaut.
 
@rightfold Indeed.
It's rather fucking metal.
 
5:46 PM
We have ä ö all over the place
 
Fuck. Now I got a Céline Dion song stuck in my head.
 
still better than ponies imo
 
@EtiennedeMartel I suggest decapitation.
 
There. Because I refuse to be alone in this.
 
@EtiennedeMartel Kill it with fire, please.
 
5:48 PM
Muhahahaha
 
@MartinJames we'll have to amputate!
 
Or should we spam it off the screen?
 
@MartinJames lol
 
A good trepanning might let the song out.
Spam, spam, spam, spam, wonderful spam...
 
5:51 PM
Or maybe Udo Dirkschneider can drive her out?
 
@R.MartinhoFernandes You forgot wastes time on the Lounge.
 
user142019
Damn.
 
user142019
It's building the Fortran compiler.
 
user142019
I'll never use that.
 
Ell
xD
 
5:55 PM
It's alive.
 
user142019
Fortran really has an ugly syntax.
 
user142019
Never used it.
 
user142019
> The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense.
 
user142019
LOLOLOL
 
6:09 PM
@CatPlusPlus: Your people need you! stackoverflow.com/questions/16528402/…
 
Djikstra* FTFY
 
Why are you pinging me with SO questions
 
lol
 
It's just the first haskell question I've seen without looking for them
 
user142019
What operator shall I use for string and array concatenation?
 
user142019
6:13 PM
I like ++ and ~.
 
Why two different ones
Also :(++):
 
user142019
No, silly, not two different ones.
 
To make people mad
 
user142019
I like both of them. I have to pick one.
 
Ell
~ is for approximation!
 
user142019
6:14 PM
[array arrayByConcatenatingWithArray:otherArray]
 
user142019
I'll use ~. Also, string interpolation.
 
Ell
#{"like ruby!"}
 
user142019
No idea how the fuck I would parse that though.
 
Might be of interest for some of you:
-17
Q: Dealing with the weeds that are comments on Stack Overflow

George StockerComments are impermanent. They've always been meant to be. The problem is, unless a moderator goes through a question and physically deletes the comments, they're pretty permanent. Why is this a problem? Comments distract from their parent post. Often, comments contain information that is bet...

 
Ell
when you are lexing a string token, just parse the whole thing a "to be parsed" token
and parse it recursively :D
 
user142019
6:19 PM
The problem is that you have expressions in the middle of tokens.
 
user142019
  IDENTIFICATION DIVISION.
  PROGRAM-ID. HELLO-WORLD.
  PROCEDURE DIVISION.
      DISPLAY 'Hello, world'.
      STOP RUN.
 
user142019
Ø will use this syntax. It's beautiful.
 
Ell
hmm it would
you could launch the parser when you encounter #{
 
@Mysticial FUCK THOSE FUCKING CLUELESS AND POWERMAD META FUCKERS AND THEIR FUCKING DESIRE TO CONTROL SO
9
 
Ell
then when that parser reaches an "unexpected" } it ends and returns the tokens it found
 
6:21 PM
How do complete and utter idiots like him become moderators?
 
@jalf At least that one is downvoted.
(With my fair -1)
 
And do we really have to deal with this shit every single year?
 
I feel like it boils down to "us mods are lazy, how can we be lazier?"
 
@Rapptz No, that's part of it. The other part is "us mods want influence, and the easiest route to influence is to control other people's contributions and content"
Because then I don't have to actually write content myself
 
@hammar If there are valuable comments that should stay around, post links to them. Write an answer with links to these comments where Stack Overflow would be worse off if they were deleted; and the reasons why they shouldn't have been edited into the relevant post. Keep in mind also that Stack Overflow is not meant for discussion. — George Stocker 1 hour ago
This is so dumb.
What the hell kind of suggestion is this?
 
6:23 PM
I am so tempted to flag his "question as "not welcome in our community"
 
Certain comments make me wish we could downvote them
 
One of the problems with SO is that it's huge and you need hundreds of moderators. But SE probably doesn't like the idea of giving moderator powers to too many people since it becomes difficult to control them. So now you're stuck with a small number of over-worked mods.
 
Isn't that the reason why 10k and 20k users exist?
To alleviate some of the load?
Can you imagine the work load if no one had close vote privilege or delete privileges?
 
@Mysticial There is some things to agree with there but I don't see it as a major issue, there are definitely bigger fish to fry ... sure is getting wacked though
 
@Rapptz yeah. 10ks can handle most of the crap content, but there's nothing for comments.
There's no flag queue visible to 10ks.
 
user142019
6:25 PM
You can flag comments.
 
Who cares about comments?
When are comments ever an issue
 
user142019
Isn't there autodelete for comments that are flagged too much?
 
@rightfold But you need a tons of flags to wipe a comment. And there's no queue for 10kers to review comment flags.
 
user142019
OIC
 
user142019
Yay GCC is done compiling.
 
user142019
6:26 PM
inb4 it will still not work.
 
user142019
Aaand nope.
 
If it's the length then you can have a script to delete comments with score <= 4 and length of comment chain >= 25 every couple minutes
 
@Mysticial It's the internet. Everyone's bored. — Richard J. Ross III 16 secs ago
 
user142019
Oh hey I need Boost too how nice.
 
ahahaha
 
Xeo
6:29 PM
@Mysticial while that isn't in place at this time, it is in the works. — wax eagle 43 mins ago
huh
 
@Xeo a feature-request to allow mods to undelete comments.
 
Xeo
If only mods can do that... meh :|
I'm scared of people just blindly killing comments
 
@Mysticial Wow. Another problem that they want solved that doesn't even exist.
 
Hello
 
user1182183
yo
 
6:35 PM
argh, I needed to delete some things, and I had to move my hand acros the keyboard. Why isn't there a delete button on the left or right sides? :(
 
@Rapptz I've done that a few times myself - for meta rep. :P
 
@ThePet Yo
 
user1182183
hm, typed "jojo" in google images and totally not what I expected.. internet sux.
 
user142019
@ThePet Je doet het verkeerd.
 
user1182183
6:38 PM
dat ja XD
 
Ell
Is there a way I can detect whether a variable's member is constexpr or not?
 
I don't think so
 
user142019
@ThePet It's called yo-yo in English.
 
user1182183
@rightfold Yep I see
 
user142019
> It is played by holding the free end of the string (usually by inserting one finger in a slip knot) allowing gravity or the force of a throw to spin the yo-yo and unwind the string (similar to how a pullstring works), then allowing the yo-yo to wind itself back to one's hand, exploiting its spin (and the associated rotational energy).
 
6:40 PM
Enough ranting on meta
 
user142019
SLIPKNOT
 
Ell
e.g. I want to error when size is >4 if size is compile time
 
@ScottW yoyo bitches, motherfuckin' puppy in da haus
 
Ell
meh. maybe I should just only ever take up to 4 values
 
user142019
@Ell static_assert(sizeof(T) <= 4, "fuck");
 
Ell
6:41 PM
@rightfold sorry. I didn't explain well - the size of a collection. could be vector, array, anything
So if it's not compile time I'll have to error at runtime.
 
user142019
You don't know the size of a vector at compile-time.
 
Ell
I know
but I do of an array
although it's inconsistent to error with one and allow the other
 
user142019
template<std::size_t N>
void foo(std::array<int, N> const& xs) {
    static_assert(N <= 4, "fuck");
}
 
Ell
maybe I'll just allow any size
 
@Ell If you need something like std::vector but with size fixed/known at compile time, consider std::array.
 
Ell
6:44 PM
@JerryCoffin It's not that I need it - it's that I'm taking it for a function where I need a collections size to be <= 4. I'm thinking if I can know the size at compile time I should error then - but I'm not sure
 
user142019
lol four times reddit gold
 
wow... 3k + 4x gold
 
I got gifted 13 months of gold :(
 
user142019
Ogonek better compile this time.
 
user142019
6:47 PM
Hurray!
 
@Rapptz woah, mind showing us what for?
 
Ell
I'm doing this crazy thing: http://coliru.stacked-crooked.com/view?id=18f017f5f7fd1fab260c5af46459b36b-a4286dab954ca44891e920524d97c1aa
I don't know how much of a bad idea it is yet. I'm going to specialize for array's sized 1, 2, 3, 4 but I want to error for >= 5
 
@TonyTheLion reddit.com/r/learnprogramming/comments/1cbycb/… got that + the OP personally gifted 12 months.
 
I was reading stuff about how to properly use legacy code in C into a C++ project, one of suggestion was to wrap inside C++ style code.. there is an example
 
user142019
6:48 PM
@Darkyen Bad and ugly.
 
Thought so :P
 
Hey @TonyTheLion
 
user142019
> delete
 
so what to do if i have a C library and i want to use it inside a C++ project ?
 
user142019
> memcpy
 
6:49 PM
@Rapptz Woah, well OP was seriously grateful. So you deserved it :)
@AlokSave Ohai! How are you?
 
@TonyTheLion Good good, thank you. How are you? Long time..eh
 
@AlokSave I'm good. Yeah, dang, you don't come here much at all anymore.
You used to be a regular
 
@TonyTheLion Yeah, rarely lately...And when I do, I see folks whom I have never seen before..
 
user142019
What the fuck?
 
@AlokSave For sure, new people come here all the time.
 
user142019
6:53 PM
Hmm.
 
user142019
> error: 'basic numbers' is not a class template
 
user142019
Ogonek is broken. XD
 
Garhhh I have a linker error, I have no idea where it comes from
 
@TonyTheLion Don't see the old timers much anymore...not that I drop in here regularly, but don't see anyone whenever I do
 
@AlokSave If you're talking about the ape, he's still here on occasion. Not sure who was here when you were around
Xaade hasn't been for years
Puppy and Cat are still around
 
The @sbi, @CatPlusPlus @R.MartinhoFernandes @DeadMG @Xeo @xaade used to be regulars at the time
oh @jalf @JerryCoffin and @StackedCrooked too sometimes though
 
@AlokSave besides Xaade, everyone else is still around quite a lot, besides the sbi, who only comes in occasionaly
 
Xeo
wtf
 
in fact, they've all been here today
 
lol
 
6:56 PM
the ape is the only one on that list who is no longer regular
I mean, he drops in from time to time, but not sure I'd still call regular
 
Ell
Not regular, but everyone is happy to see him
 
oh, I see..been a long time since I have been here myself :)
 
user142019
Oh wait.
 
@TonyTheLion I have not!
 
oh you
 
user142019
6:58 PM
Ogonek uses boost::hash_detail and Boost probably changed that and now it's borked.
 
@Morwenn Is that one of those "just a test" reviews?
 
...and I'm still not here either!
 
@Collin Dunno, I skipped it.
 
I do catch @alf sometimes on FB though
 
6:59 PM
alf got suspended
 
hey @JerryCoffin, how have you been?
 
user142019
Oh commenting it out made it work.
2
 
@TonyTheLion huh, :O
 
Hello, I have a quick question (sorry if its a noobish one) does the following expression get evaluated before addition or after addition x = y++ + x++, I am getting weird behaviour since I though that it first returns the value of y and x adds them and then increments them after
 
@AlokSave Pretty fair. How are you lately als Alok?
 
6:59 PM
@AlokSave he was being a pain I guess. Quite a few people got annoyed by him.
 

« first day (940 days earlier)      last day (4011 days later) »