« first day (1607 days earlier)      last day (3340 days later) » 

12:00 AM
poor LRiO, reading too much 50 shades of dirtiness
 
@chmod :whoosh:
@Xeo Yes, I know..
Oh dear you people just... never mind.
 
lol
 
Xeo
@LightnessRacesinOrbit I was replying to Blob with that
 
@LightnessRacesinOrbit Us what?
 
he was explaining the joke
 
12:01 AM
So are operator overloads for << good or bad?
 
@Cinch neither
 
Xeo
Too late for any jokes around here
1am
I should sleep.
bye bye
 
I would say because the formatting can be off than what you expect it to be
 
guys I'm UTC-4 now
rejoice
 
12:02 AM
@Xeo toodle pip
 
@Cinch but the overloaded << operator shouldn't be a member
 
"a member"?????
 
a member function
 
it is a member function
 
@Rapptz how did you manage that o.O
 
12:02 AM
@LightnessRacesinOrbit DST
 
@Blob yeah why the code formatting it looked like you were quoting code
 
for printing stuff out.. it should be a friend :|
 
@Rapptz srs
it's 3rd March
holy hannah we go DST in a few weeks too
#excite
 
I wouldn't be excited about missing an hour of sleep
 
12:03 AM
@LightnessRacesinOrbit #14
 
@Blob What about it?
 
@LightnessRacesinOrbit it's from there :|
 
@Blob :whoosh:
 
@LightnessRacesinOrbit i can't tell if your joke sucked or didn't exist at all.
 
@Blob what joke?
 
12:04 AM
@LightnessRacesinOrbit :whoosh: implies I missed a joke
 
@Blob no it declares that you missed the point
not constrained to jokes!
 
or a joke
 
bedtime
so more TV yay
 
so uh it appears i can overload as a member function
 
yes but it's not going to work how you think it does for the reasons given several times already
 
12:09 AM
I don't see those reasons
 
the lhs is always your class
 
yes
 
12:23 AM
@Cinch std::cout << MyClass
<<(std::cout, MyClass)
look at it that way
your member function overloads <<(MyClass, ostream crap)
 
@Blob Okay, so the way that I understand this you'd have to overload the member function of std::ostream to do this:
std::cout << MyClass_instance << std::endl;
 
@Cinch well, that's one option
 
Which is impossible.
 
but obviously you can't do that
yes
 
So use a global.
Or, you know...
 
12:28 AM
a friend function
so you can access the data members you want to print..
 
@Blob Let's inherit std::ostream and make a new class to act as ostream and therefore increase our bloat.
Therefore I will gain body mass to show off and be sexy
 
@Cinch easy way to get an "F".
 
I wonder if it's possible to modify the standard library headers for your own computer
Seems interesting.
Unless the std library is compiled
and linked
 
@Cinch it'd hardly be "standard" if you do that
 
@Blob I know, it's a curious question
 
12:32 AM
searching for them on my comp
 
The real question is whether I can modify the standard library and still have it compile
Which should make sense as the standard library should be compilable normally, right?
Unless the standard library makes use of external code or links up to operating system specific things things should go smoothly, am I right?
 
meh. found a .a and .so
and the header, obv
and depends on the implementation
 
in other words fuck standard library mods
 
why not just define your own function doing what you want
there's the added benefit of portability..
 
12:38 AM
@Blob It's a mental exercise to test my own comprehension of what the standard library is in relation to my code
Of course the right answer is to just define a global.
 
namespace ess-tee-dee {}
 
namespace aids = std;
okay thanks guys
Off to take the midterm now.
bye
 
'If I compile this code I dont get any errors, but If I execute it I get an error: ./code.c: line 4: syntax error near unexpected token `('.' WHAT?
 
12:54 AM
@Pris yeah :(
it's been a really good series so far, too
 
RIP Bill Gates
 
@Rapptz Bikeshed tiem?
 
@ParkYoung-Bae ...
 
Lightness Flags in the Morning
 
Yeah because posting that is just stupid
 
12:59 AM
ok
 
yay, flag fights!
 
And you deserve to (a) have the message forcibly removed, and (b) be suspended for it for half an hour to cool down!
 
You deserve to be pissed off by all your failed attempts at (a) having any of my messages forcibly removed and, (b) suspending me for half an hour to cool down!
pls continue
Your rage is the sweetest nectar
 
Not "rage"; only smh
It's like you're ageing backwards
@Cinch Yes, you can probably do that.
for the love of god don't
 
but the std helps you!
 
1:13 AM
@ParkYoung-Bae what. again
 
i need sleep
 
_sleep(mili) is more precise
 
@sehe He has this wonderful habit of flagging my messages for whatever reason. Also why are you still awake?
 
are you sure. I'm not sure he's a reliable source, but I wouldn't be surprised if - actually - he didn't flag.
Good question.
I'm guessing it had to do with "The Gray Code" but not by Dan Brown
 
The error correcting gray codes you mean?
 
1:17 AM
Nah. I'm really trying hard to not ditch all trust in LRIO having any bit of character or principles. It would seem a guy who shouts this hard about habing them, would also adhere to them every now and then
@ParkYoung-Bae Your error got corrected, no?
 
yeah. you know, if I don't leave myself the shred of doubt, the possibility, what should I do? Become permanently enraged like his royal lightness himself?
 
That's not a good idea. Join the troll club instead!
 
I loose my way in troll swamp. I think I'll just go to bed :)
Night all
 
Night sehe
 
1:27 AM
@LucDanton Hm?
 
@Rapptz Remember the fold(f, z), ..., pack hack?
What operator(s) to pick?
 
yes
probably operator%
 
Would you also opt %= for right folds?
 
actually it seems .* and ->* are valid too
I'm reading the paper (again)
>>= for right fold and <<= for left fold?
 
Not possible, they both associate to the right.
 
1:33 AM
hmrh
 
Well, possible but stupid. You’d have to statically reassociate everything.
gl handling folds within folds
Next you’ll be suggesting << and >>=
 
I don't get why any binary functions weren't allowed
it seems like such an odd thing to miss
 
What syntax would you pick?
 
for arbitrary functions?
 
1:36 AM
afaik
f(args)... is invalid and so is ...f(args)
what's wrong with that?
 
What if I want to pass the result of a fold to a function call / brace list?
 
hmm
new operators obv
foldl and foldr
 
Obviously we must have u `f` ... `f` pack
 
well << and >>= is fine
 
bahaha
 
1:41 AM
it is
:v
 
Oh yeah? pack >>= ... >>= fold(f, u) == 5 "oh wait I want a left fold" fold(f, u) << ... << pack == 5
Admittedly everything has that problem though! short of picking || I guess.
@Rapptz I’m fairly sure I would mess up the directionality once or twice with that setup btw
 
My only other suggestion was my first one
% and %=
 
omg I finished
 
I’ll start with this and see where it goes. Poor overworked %, filling in for everybody.
 
Frontend admin interface work
god
 
1:46 AM
@Rapptz We mentioned options / named parameters these past days, what is it you do use in C++?
//cc @ParkYoung-Bae
 
who dares to awake me from my slumber
 
you mean as an alternative?
 
why is @Cat even awake
 
NO SLEEP DEADSILINES NEEDED ASAP EVEN THOUGH NOBODY THOUGHT ABOUT EVEN MAkING FUCKING MOCKUPS
 
that k is not capitalized
 
1:48 AM
fuCk itg
 
a true shift warrior
 
I need a drink
 
@Rapptz Yeah.
I’m okay with fluent-style options.foo(5).qux("hello").
 
I've tried that with.. much distaste lol
 
There’s the stupidest thing that bugs me with that setup: what to call the member variables holding the respective options >.>
 
1:50 AM
that's part of the issue
the other is that it's kinda noisy
 
i.e. auto o = options.width(5); o.width_; // ugly
 
Dodododo do a fucking merge request without merging baseline first yeah yeeeah
 
@Rapptz eh, some dots and some parens
 
@LucDanton Noisy to implement.
 
You know what, I know what the problem is
I care too much about this fucking project
 
1:52 AM
I suppose it’s fine if you restrict to && overloads but that’s a bit stupid to do.
 
@CatPlusPlus correct
 
Depending on the use case I tend to do parameter objects or multiple constructors
 
10 picobutts that there will be errors after this merge
 
I raise 25 picobutts
 
1:53 AM
I give 27
Oh look this setter is more than 120 cols wide but who cares at least it's not taking several lines!
 
pff 120
 
@Rapptz oo I forgot about brace-initializers for aggregates!
 
KDiff is autoresolving
I don't trust it
Also btw wtb a merge software that has a fucking undo
You'd think it's an obvious function
But no
no
Not KDiff
 
@ParkYoung-Bae My column limit is 125.
 
I don’t have a limit :v
 
1:56 AM
I'll have to train people in feature branching or somethin
These never-rebased long-running branches are starting to be seriously annoying
 
Btw.
 
WTB 12-way merge
 
I received JSON today that had every string \u escaped.
 
called it!
 
That's valid
 
1:58 AM
I know it is.
It was hard to read though
at least the keys weren't \u escaped.
or well some of them
 

« first day (1607 days earlier)      last day (3340 days later) »