« first day (1455 days earlier)      last day (3495 days later) » 

12:01 AM
okay, now I can go back to being a normal person rather than a mercurial scrub.
@LucDanton by bundled, I mean that it ships with it. I figured 'bundled' extensions would just be enabled by default, iunno.
like maybe they used to be extensions but as a result they're now part of the standard toolset.
 
12:22 AM
wtf is a three tiered client/server application?
 
it is a thing
with three tiers
 
@corvid It has a first tier, second tier and third tier.
 
a-am I a three-tiered client server application?
 
@corvid It was a big thing just before the web took over. It was basically separating a network application into a client, a server, and some middleware to handle the communication.
@corvid Perhaps. Few bots are written that way though.
 
I'm a bot? My whole life is changing before my eyes
 
12:29 AM
@corvid I don't know if you are or not--but even if we assume you are, it's statistically unlikely that you're written as a 3-tier application.
 
@JerryCoffin I genuinely didn't know about Embedded C++. Thanks for that.
 
hm... my programming does dictate that I ask inane, contextless questions on a seemingly random basis
 
@Borgleader Sure--not surprising. Not many do--as I pointed out, at least AFAIK it was never very successful. With good reason, IMO--in fact, at the time I thought whoever designed it should have their programming license taken way permanently.
@corvid Do you ask about peoples' mothers if you can't think of anything else?
 
is hg push -f bad?
I'm not sure if it is.
 
I think so.
 
12:35 AM
damn
can't push my changes otherwise
 
If I have used it, it had to do with branches. Solved by not using branches.
@Rapptz Any clue why?
 
abort: push creates new remote head 61478262816e!
(you should pull and merge or use push -f to force)
 
hg pull or hg pull -u (latter means hg pull && hg merge I believe). No equivalent to --rebase sadly.
141
Q: Hg: How to do a rebase like git's rebase

orange80In Git I can do this: 1. Start working on new feature: $ git co -b newfeature-123 # (a local feature development branch) do a few commits (M, N, O) master A---B---C \ newfeature-123 M---N---O 2. Pull new changes from upstream master: $ git pull (master updated with ff-commi...

 
this is quite a pain
 
Tool can’t figure out the merge?
 
12:38 AM
λ hg merge
abort: outstanding uncommitted changes
lol truly outstanding
 
Did you pull first?
 
@LucDanton Nah, there are merge conflicts.
 
^vanilla mercurial stops being useful around that point
 
I should have made a separate branch, pulled on that one and cherry-picked commit from the other repository. Instead I have this mess.
Ah well. Hindsight.
deletes repository
 
@Rapptz No. That’s for git. You don’t do that with mercurial.
 
Ell
12:41 AM
I'm not very good at fixing conflicts
I use meld
 
@LucDanton Yeah I figured.
 
Ell
But sometimes struggle to see where the 3 different versions come from
 
@Rapptz That error message doesn’t make too much sense. What version are you using?
 
So you can't do a pull on a separate bookmark/branch?
@LucDanton 2.3.2
 
You get separate heads.
@Rapptz Oooooooooooooooooooooooooooooooooooooooooooooold.
2 years old apparently.
 
12:44 AM
did you not believe me?!
I did say December 2012 :p
 
@Rapptz When you pull, you get the whole thing.
@Rapptz I’m more happy if I pretend stupid systems without package managers don’t exist.
 
I'll go ahead and download the Latest and Greatest™
 
@StackedCrooked Or they could have written it in Scheme
 
@Rapptz October 2012 release, so recent by ‘my system automatically bitrots’ standards I suppose?!
 
12:46 AM
posted on October 10, 2014 by Douglas Erickson [MSFT]

Hey, all! Doug Erickson from the Visual Studio content and samples team here. We’ve made a couple spot fixes to the popular HiLo C++ sample, and converted it to a Visual Studio 2013 project. Hopefully, this will clear up the issues many of you have...(read more)

 
I never updated mercurial because I stopped using it.
 
Don’t think package managers take usage into account :Þ
 
I don't have a package manager on Windows so it's up to me to update
 
I should make a library called poost. Just so I can enjoy the confusion when discussion it's interactions with boost.
 
^this is where I sing ‘lalala‘ while covering my ears^
 
12:47 AM
it's not too difficult
time to look up how to 'cherry-pick' commits and pray it exists
why are all the useful things extensions?
:'(
 
I actually don’t use extensions that tweak the workflow.
 
oh ho ho.
hg graft
I don't like that name
what is it transplanting?! The change?
@LucDanton I really enjoy cherry-picking.
It has saved my ass so many times.
It's probably one of my favourite commands.
 
I’ve stuck to mostly vanilla mercurial purely by happenstance btw. It’s not a deliberate effort (in any direction).
 
it seems hg graft is vanilla mercurial.
hg transplant (wtf) was the extension
 
Mmm that’s for branches though. Do you have branches?
 
Ell
12:54 AM
hg triple_heart_bypass
 
I have a fork of a repository. e.g. my fork is repository B and the main one is repository A. There is another fork of repository A, called repository C, that has nice changes I'd like to incorporate (i.e. a manual pull request). So I'm just trying to do that.
 
I doubt branches will help you.
 
:(
 
What does hg branches say? Any repo will do.
 
default and stable
 
12:59 AM
You can in fact pull select bookmarks/branches. I knew about pushing, but not pulling.
 
in git I'd do something akin to
git clone repository-b
git checkout -b custom-pr
git pull repository-c
git checkout master
git merge custom-pr
I am not very well versed in hg branches.
 
Oh I do have the rebase extension enabled, which gives hg pull --rebase. Can’t help you if you need to cherry pick right?
 
k I deleted my repository
time to try again
 
try { again(); }
 
Ell
I hate when I'm playing with a new project and I forgot to do an initial commit
 
1:09 AM
lol
your first commit is your initial commit
 
Ell
What I mean is I forget to do an empty initial commit :P
 
you don't need that
 
I never do that.
 
Ell
Then I find myself wanting to go back for whatever reason
 
why would you want to revert to an empty directory
 
1:10 AM
Largely solved by doing vcs commit no?
 
All my initial commits have content.
 
Ell
@stackedcrooked I can't remember now :P
 
@Ell Hehe. Fearing someone might look at the very first commit and find the code to be ugly? :P
 
despite deleting hg v2.3.2
 
Good morning.
 
1:11 AM
hg --version returns v2.3.2
 
Ell
I think this has only happened once actually
 
creepy
the executable doesn't exist anymore!
 
It's a ~ghost~.
 
Ell
I have a habbit of saying "I hate it when ..." And I actually mean "I acknowledge that ... Has occurred at least once"
 
Conclusion: your computer is hauntéd.
@Ell I hate it when you’ve done that.
 
1:12 AM
@Rapptz cache invalidation, one of the two hard problems in computer science.
 
@LucDanton That pokemon e.
 
Ell
which hg
 
it's where on Windows land.
but yeah that path doesn't exist anymore
 
Ell
Haha
 
@MarkGarcia I did it wrong because I’m not that learnèd.
 
1:14 AM
@LucDanton I call that American Indian feather thingy.
 
meh screw it
gonna just use this ghost executable
 
@Rapptz Your computer is hauntèd, sorry.
 
Reboot!
 
too lazy :'(
> Mercurial branch names may be used for whatever reasons users want. However, a good rule of thumb is to use branch names sparingly and for rather longer lived concepts like "release branches" (rel-1, rel-2, etc) and rather not for short lived work of single developers.
 
Then all those Windows update would make you think of your life decisions so far.
 
1:16 AM
wot
 
41 mins ago, by Luc Danton
If I have used it, it had to do with branches. Solved by not using branches.
 
Ell
@rapptz differing philosophy to git evidently :S
 
I have 7 branches :3
 
rip
With git right?
 
yeah
I actually have 5 branches.
 
1:18 AM
That’s fine then.
I’ve used bookmarks when doing experimental work with ranges. Worked out okay, but I still think it’s weird to mention them as a replacement of git branches.
 
maybe I could make a patch file of the diffs and apply it
can I at least do that?
 
Yeah.
I didn’t recommend it because it’s making a git out of you (hurhur).
 
I'd feel bad taking this guy's work and committing it in my name.
 
Mmmh won’t the patch preserve that?
 
Ell
What timezone are you in, Luc?
 
1:21 AM
CE(S)T.
 
UTC + 1 or 2 prolly
 
@Rapptz How dare you!
 
neat my first guess was right
:p
 
Ell
Central European time right?
 
Ell
1:22 AM
Coolio
I'm gbmt / GMT
 
@LucDanton Does it? I don't know how to work with mercurial diffs
 
Now that I’ve tried requires(…anything I want…) I really want to make it work :(
 
Ell
I made the firs one up but I think it sounds cool
@rapptz aren't diffs independent of version control system?
 
not that I know of
 
@Rapptz I’ve never done it with mercurial either tbh. It’s sort of the whole point of vcs though.
 
Ell
1:24 AM
They were what was used before VCSs I thought
Like when Linux was starting out
 
@Rapptz You were the one making fun of --git earlier!
 
I thought it was ironic!
@Ell diff --help shows some insight
 
dafuck
 
?
 
What did you think the option did?
 
1:26 AM
show help?
 
No, the --git one.
[diff]
git=True
^from my .hgrc, although I have no idea what it does. Presumably anything that produces a diff gets --git.
In computing, the diff utility is a data comparison tool that calculates and displays the differences between two files. Unlike edit distance notions used for other purposes, diff is line-oriented rather than character-oriented, but it is like Levenshtein distance in that it tries to determine the smallest set of deletions and insertions to create one file from the other. The diff command displays the changes made in a standard format, such that both humans and machines can understand the changes and apply them: given one file and the changes, the other file can be created. Typically, diff is used...
 
I am not sure.
what a terrible way to spend the day
1
Q: C++ splitting string?

Raúl SanpedroI've been dealing with C++ strings and currently I am wondering how can I split the article of a string and the data that's left. Let's say I have this string: a gold coin How can I split the article which in this case is a into a separate string and then get all the other data contents into ...

dupe
just search split string
:<
 
Can’t take address of function template via &foo even if all template params are defaulted :(
 
@Rapptz Only it's really not. "How can I split the article which in this case is a into a separate string and then get all the other data contents into a different string which in this case is gold coin? Please note that the article can sometimes be an and sometimes have no article." Splitting the string is trivial. Checking the first word against some undefined set of words to be removed, may be less trivial, though as I recall, the only official "articles" in English are "a", "an" and "the".
If that's the definition he wants, it's still quite easy, but still not just about splitting the string.
 
I still believe the answers in the linked questions go over the general strategy on how to do it.
But okay.
man merge conflicts suck
 
1:42 AM
@Rapptz If all you really care about is splitting the string, there's a much older one that covers it quite well: stackoverflow.com/q/53849/179910
 
@JerryCoffin Then re-dupe it?
I think I might've jumped the gun a bit.
 
main.cpp:33:74: error: template argument 1 is invalid
     struct requirements<C<Args...>, void_t<decltype( &requires<Args...> )>>
 
@Rapptz Just throw away whatever changes the other guy made and it becomes really easy.
 
^message doesn’t ring a bell (it’s pointing at the last argument, nevermind the numbering)
 
KDiff3 is awful
 
1:46 AM
I suppose what I’m trying doesn’t work because a using-decl never introduces a template-id. Damn.
 
@Mysticial I think it's all right. The other's older, but they both have a plethora of adequate answers.
 
Ell
@rapptz meld!
 
The fuck is going on? Error complains about use of incomplete type, points to a definition.
 
hey luc
how do I say
"prefer changes from this guy"
:'(
 
2:03 AM
@Rapptz I don’t follow? Why do you need a special way?
 
can't seem to be able to do it
 
Welp, I was following a dead-end. I’m pretty sure taking the address triggers a hard error no matter what.
@Rapptz Can always sleep on it and decide on a course tomorrow. No rush, right?
 
this sort of ruined my day already
so I just want to get it over with
 
Ah, precisely when I prefer to take a break. I don’t have any other advice, sorry.
 
w.t.b. git checkout --theirs
 
Ell
2:05 AM
Night guys
 
nn
 
Ciao.
main.cpp:20:21: error: static_assert expression is not an integral constant expression
    static_assert( (void_t<Sig>(), false), "" );
^Clang sucking
oo
main.cpp:34:52: error: 'requires' was not declared in this scope
 : ret<decltype( Concept<Args...>::template requires<Args...> )> {};
                                                    ^
??? I’m accessing a member, screw scope.
wtf is going on
 
@LucDanton hg resolve --tool internal:other filename
btw
 
Oh, I thought you meant talking to a repo maintainer.
I don’t speak to computers :Þ
 
nop
 
2:18 AM
I resolve conflicts with gvimdiff FWIW. Because the merges have never been too overwhelming.
 
I don't really have a preferred difftool :/
I try really really hard to avoid merge conflicts as much as I can
they're just a royal pain in the ass for me
 
GCC can’t SFINAE on forming either a pointer or a reference to a static member function template, and it fails each in a different way. One makes too many errors, the other none at all. Amazing!
Am I missing anyting? Given a function template (member, non-member; static or non-static), can I do anything besides call it or form a pointer/reference to it?
 
lol a paid plugin
jesus
 
Wait, now it works.
Sep 1 '12 at 23:39, by Luc Danton
Fixed. I'm the GCC whisperer.
 
@LucDanton Trained, not tamed.
 
2:30 AM
Let’s read up on unevaluated operands, then I’ll file a bug.
 
I think 'tamed' makes sense here.
 
Yeah I cracked my whip and all.
Although I do feel like I was the one made to jump through fiery hoops.
looks like unevaluated ⇒ not ODR-used is fairly ironclad.
 
I found out what diff --git does
 
Produces a diff in git format :v
 
> The standard patch format cannot describe binary files, renames, copies, or permission changes. If your patch needs to record any of those things, you will need to enable git patches via [...]
 
2:37 AM
That’s not what it does, that’s a rationale for using it.
 
@LucDanton That's obvious :(
I thought you meant the difference.
Boo.
 
You were the one stupefied by --git!
 
boos
 
While I’m the one that has enabled it since eons ago!
 
in any case
this is still annoying me
but I got it fixed
for strange definitions of 'fixed' anyway
@LucDanton Yeah I also learned there's hg log --git lol
 
2:42 AM
:)
 
Ell
Man I cant sleep
 
Holy shit it workses :v
wb
 
That's my reaction right now.
How does this work? lmao
 
Ell
But gotta go to work in 6 hours ugh
 
I just forced this merge :(
whatever
 
Ell
2:42 AM
That's gotta hurt
Ramming two branches into somewhere that's supposed to fit one
 
> Suicide by volcano involves jumping into molten lava in an active volcanic crater, fissure vent, lava flow or lava lake.
Thanks, Wikipedia.
I never considered that option :)
> In 1933, Kiyoko Matsumoto committed suicide by jumping into the Mihara crater. A trend of copycat suicides followed, as 944 people jumped into the same crater over the following year.[84] Over 1200 people attempted suicide in two years before a barrier was erected.[85] The original barrier was replaced with a higher fence topped with barbed wire after another 619 people jumped in 1936.[86][87]
I guess you could say it was a "hot spot".
 
@StackedCrooked TL;DR. Too much hot air. A load of palava.
 
944 in one year means 2.6 people per day.
I wonder if most people jumped during the weekend or during working hours.
 
@StackedCrooked Maybe there were coach excursions, (one-way tickets).
 
Kinda like a once in a lifetime experience?
 
2:52 AM
Last item on bucket list.
 
that's a surprisingly large amount tbh
 
I actually don’t have the strength to file a bug tonight. Oh well.
 
A social event really.
 
@StackedCrooked you have considered many other options?
 
Sorta reverse-party. Normally, you let yourself go and get hungover afterwards.
 
3:08 AM
I think it’s time I started writing concepts.
 
I'm not sure I like how the general index prefixes the namespaces :/
On one hand, it makes sense. On the other hand, everything is listed under g and it's useless.
 
Mmmh is that git-talk? I’m lost.
 
No, documentation output.
There's a general index page with symbols (i.e. functions and classes)
 
oo back to Egyptian mythological creatures then.
 
like, sphinx shows this: puu.sh/c6nkV/d756f24f92.png which makes sense..
but Doxygen shows this: puu.sh/c6nmn/6fa3c9b0d0.png which I guess is more intuitive
sans the lack of content from the sphinx side
 
3:14 AM
I see what you mean.
Index to bend over double and start with the relevant letter, it is more usual for an.
Heh, I botched it. It’s "word, hanging clause", not Yoda.
 
I could strip the namespaces but I don't feel comfortable with that.
i.e. fuck the index
At least by writing documentation manually I could get rid of all that noexcept(fucking long ass expression) -> decltype(long ass expression) shit that plagued the output and stretched the page.
 
ContextuallyConvertibleToBool? Is there something catchier? Booly is funny, but funny because it sounds dumb.
 
I named mine ContextualBool.
 
That’s nice.
 
@LucDanton ConvertiBool
 
3:21 AM
haha
 
was that sarcasm? :v
 
I'll go hide myself now.
 
No, "haha" you made me chuckle :)
 
I'll still hide myself.
 
Does something like EqualityComparable<X, Y> depend on requires(X const& x) { x == x; } or requires(X&& x) { as_const(x) == as_const(x); }?
 
3:26 AM
> WARNING: Invalid definition: Parameterised "noexcept" not implemented. [error at 48]
 
Keeping in mind I’m staying on the side of template<typename X> void f(X&& x) requires EqualityComparable<X, X>;, i.e. no decaying or ref-stripping for uniform/perfect references.
 
guess that's another thing for me to fix :v
but it doesn't really matter
I'll remove it.
too lazy for the day
 
Eh screw syntax, semantics matter. Latter it is.
 
fuck C++
time for video games
 
Mmmh I might follow suit.
 
3:44 AM
no one to play with :<
[docs 8fe8478] Begin documenting using Sphinx instead of Doxygen
 22 files changed, 1301 insertions(+), 4599 deletions(-)
RIP
 
4:02 AM
'It's not actually ... it's a DEVICE for EXPLORING a PLAUSIBLE REALITY that's not the one we're in, to gain a broader understanding about it.' 'oh, like a boat!' '...' 'Just for the sake of argument, we should get a boat! You can invite the Devil, too, if you want.'
4
 
4:39 AM
@Rapptz It’s so weird. I want a tuple_size concept part for Tuple. Which means I need IntegralConstant. So now I’m writing concepts for meta stuff, like you wanted to.
And I’m ending up with minute stuff such as Metacomputation or parts::ValueType (because I need to check that it’s not std::integral_constant<int*, nullptr> or some such being passed).
That thing might as well be std::constant come to think of it.
 
4:53 AM
lol
I call it meta::constant
 
I do have a parts::Constant for ::value now.
 
I don't know what to call things with ::type!
 
I have Metacomputation. Not even a parts!
I’ll spare you the details and show you concepts/meta.hpp When it’s done™.
Heh, I could require that an IntegralConstant is a metacomputation that is derived from its result.
But I don’t like traits/concepts based on inheritance, it’s too vague a notion. (So many flavours of inheritance that knowing A derives from B is unusable in itself.)
 
5:09 AM
0
Q: What is the relationship between STL and stdlib

Nayana AdassuriyaRecently I have read an article that saying STL was developed by Alexander Stepanov prior to standardize the C++ and, It was a library at that time, like boost is nowadays. So few questions came in to my mind. Can we download and use STL same like boost nowadays Did STL included in to C++ stand...

Dupe?
 
If he means "stdlib" as "Standard C++ - the library part", yes.
 
5:39 AM
Morning!
 
Good morning.
 
Morning
 
good afternoon, ladies!
 

« first day (1455 days earlier)      last day (3495 days later) »