« first day (2161 days earlier)      last day (2786 days later) » 

12:02 AM
@Xeo The best kind of right
 
12:28 AM
@Aaron3468 Alright, I have down to between August 21 and September 1st. 3 more between those dates that remain untested for a total of 262 files touched. All errors that have occurred so far are affected by at least one of the 262 files. But the ones that I've inspected so far don't seem to be at all relevant to what I'm looking for. (like renaming files)
 
Hello, Cruel World!
 
Xeo
Hm, 2:30am
maybe I should sleep
 
Sleep is for the dead.
 
Oh. So not only did @Xeo not feed his kids, but be also stayed up to 2:30 am on a weekday. Guys, don't do Java. It ain't worth it.
11
 
Xeo
Actually doing C# right now
 
12:41 AM
@Code-Apprentice Sleep is for the week ;)
@Mysticial Okay, that's good news!
 
Talking about C#...I just noticed that I almost have a C# badge. And I hardly ever do any C#. By "hardly ever", I mean that I've barely made it past "Hello, World".
 
@Aaron3468 I am nervous though. One of the failures is touched by only 13 of the file changes. But most of those file changes are innocuous. I renamed a couple of top-level headers which is why I touched 262 files in 10 days. And that's mostly what I saw in the 13 files relevant to one of the unit test failures.
 
@Mysticial I see... so what do you think that would mean? If that's all you changed, then there's some weird linking magic going on O.o
 
@Aaron3468 There's one change that came to my attention this morning. It involves the redundancy checking that is used by both the unit tests and the live builds. But it doesn't touch 2 of the failures that I got over the past few days.
Another possibility is that we're looking at multiple bugs. (if it is a bug in the first place)
I did a major refactor of the redundancy checking on August 28th. Because the redundancy check isn't computation, I also did it very hastily. So I can definitely see how I could break something. But the fact remains that it doesn't cover all the failures I got. As not all the unit tests use it and two of the failures were those.
 
That sounds like it's promising... Approximately the right time frame and everything
 
12:56 AM
Problem is that I'm testing the August 28th backup right now which has that refactor. It's been 30 min. so far and no failures yet. They usually fail before that.
 
@Mysticial Maybe it introduced the vulnerability to the bug and then the next update actually caused it?
 
Anything is possible at this point.
I'm gonna need to double-check some of the no-failure runs. Just because it survives the whole 8 hours test doesn't mean it's not affected.
In 2 days, I was able to rule out the most likely places where something could've gone wrong.
The last change to anything computational or performance critical was August 21. That's outside the current search window. So it seems unlikely that it's a stress-related issue.
I picked the August 21th backup to test this morning specifically because it was the end of a long phase of optimizations. And it finished without errors when I got back from work.
@Mikhail I want one of these so badly now...
 
1:47 AM
tfw you have to argue for C++11 because you're on WIndows and you're sick of gettimeofday.
Ergh. I'm gonna have to revert all my changes and submit some of this bullshit as-is. Warglabagable.
 
2:07 AM
OMG Boost.Fiber
Exciting times ahead
 
It's being released?
 
It's in 1.62
 
> boost.fiber provides a framework for micro-/userland-threads (fibers) scheduled cooperativly. The API contains classes and functions to manage and synchronize fibers similiar to boost.thread.
> cooperativly
literally unusable
 
That's the point of a fiber
 
> boost.fiber requires C++11!
OOOH SHIT
BOOST UPPING ITS GAME
tfw ancient boost is more up-to-date than your school
 
2:16 AM
Schools are usually concerned about number-crunching and theory... So if they had their way, R, C with classes, and maybe Haskell or Lisp would be all that you'd learn
 
Don't forget Yava.
 
lol, only sometimes ^^;
Highschools are big with Java though
How are classes coming along otherwise?
 
I'm thinking of dropping Computer Vision.
Depends on how Homework 1 goes.
If I don't get a good grade I'm noping out.
 
2:32 AM
I hear you! Homework 1 is the deciding factor of most classes
Statistics is a particularly annoying class for me. So much of it is making assumptions and pretending that they're true. Useful assumptions, but assumptions nonetheless
 
Ugh.
Statistics...
Annnd, there.
Homework done.
... For the rest of the week, actually.
Time to do absolutely nothing of importance.
 
noice
 
Also OMG Boost.DLL
 
@jaggedSpire You'll be happy to know I have a 21 credit schedule again. :v
3
 
@ThePhD :3
Oh, disciple you have made me proud
 
2:52 AM
> installs git shell
> doesn't include git commands
 
:B
 
I can't believe they fooled me into installing powershell <.<
 
3:18 AM
better than command prompt
 
True...
Why does gcc require so much environment variable magic to run?
 
it has to get the mystical energy for its compiler magic from somewhere
environment variable magic goes in, compiler magic comes out, can't explain that
 
@Aaron3468 So...git hell?
2
 
For the meantime, I'm booting up my linux vm because it's unreal how long it takes to get gcc working in windows long enough to write code. Pretty much every time I bring in a new library, I find out it's not compatible with the windows compiler(s) I have properly configured.
@JerryCoffin :D
 
Hello, asking about C++ -> C stuff. What is the C equivalent of C++'s std::sort()?
 
4:05 AM
@tom_mai78101 Oh, how you wish it were really (even close to) equivalent. It's one of the prime examples of why C++ is light years better than C.
 
who would have thought ...
 
4:17 AM
hey @Ben how's uni going?
 
Linux is irritating to me because everything has dependencies on everything else and all the functionality get shoved into the terminal like GUIs are going out of style. When ported to windows, linux programs take for-granted the rich terminal environment Q.Q
 
Ben
@Telkitty good.
 
nice to hear
 
Ben
I'll ask on SO instead.
 
@Ben Do you mean you're implementing a numeric type and explicitly specializing to provide information about the type you've added, or are you asking about how they implemented things?
 
4:35 AM
@JerryCoffin Poor C guys even use some poor man's templates.
@Aaron3468 tfw weird TT color specs in my school assignments ;;;
Which reminds me. I need to figure out how the hell to set up XForwarding and shit. Guh.
 
@ThePhD Oh, lord help us all. The apoCalypse is upon is.
 
@ThePhD Oh god, that doesn't sound good
I'm trying to figure out how to get rustc to use 64-bit when a library has a gcc dependency in its build script. That or figuring out how to add RandR from the X11 headers into a place that linux mint can find. If I can solve either problem, I get to start using GUI and external libraries in rust. It's silly that the whole point of cargo/rust is to get rid of C dependencies, but most of the libraries are still bindings
 
Ben
4:53 AM
@JerryCoffin no, I'm using int and float, and calling min and max.
@JerryCoffin I'm using a templated struct, which contains 'min' and 'max' functions which call their std::numeric_limits<T> counterparts.
 
5:14 AM
Come to think of it, it's much easier to code and debug than it is to prepare new environments. I'll spend days or weeks figuring out configuration issues, but then debugging code usually takes a few minutes, maybe up to an hour or two if I need to research
 
Well this isn't good...
The August 28th binary hasn't failed after 5 hours.
Between August 28th and September 1st, the only changes do not touch any unit tests at all.
fuck
 
@Mysticial @Mysticial Oh noes! Time to dive into code - awoooga.
 
I'm building the August 30th binary atm.
But AFAICT, almost everything between 8/28 and 9/1 is new code. Very few changes to existing code.
 
Ah, that's good news then. Limits the area you need to examine. This is all 2015 code, right?
 
Last night, I double-checked that the trunk binary still failed just to make sure that the laptop didn't magically fix itself.
I'm gonna do that again tonight. I want to make sure that the 9/1 binary still fails.
 
5:22 AM
Oh, wouldn't it be nice if problems fixed themselves overnight
 
lol, not in this case. I wanna know what the fuck is wrong.
 
Go to bed early and Santa will bring you a well-commented bug fix :D
 
Another thing I need to consider is a buggy driver.
The AVX, AVX2, and ADX binaries all use 256-bit AVX.
But only the AVX2 and ADX binaries fail.
On the other hand, the AVX binary only has like 100 very short tests that use 256-bit vectors. The rest are mostly 128-bit integer vectors.
The AVX2 and ADX binaries are almost 100% 256-bit vector all the way.
If there's a driver that fails to preserve the full AVX register state, it would explain these random failures.
It would explain why it only happens on the laptop since it has a lot more shit installed. But it doesn't explain why the older versions don't fail.
Unless it's somehow interacting with the memory allocations or something.
 
@Mysticial That's true, in which case you may want to try on a clean environment. A vm might be a bit too unstable for those purposes, but is a good place to start
 
The driver theory would also explain why the failures only happen under 100% CPU load irrespective of the speed of the CPU or memory.
When there's a free core, the interrupt goes to that instead rather than booting off an active core running unit tests.
But it also doesn't explain why it doesn't fail in normal computations or Prime95 unless it really somehow interacts with the memory allocation.
 
5:35 AM
This'll be a tough bug to crush, and a lot of the evidence is pointing to the OS memory allocation failing. Drivers are definitely a good hypothesis
 
Here's the thing, the allocations are large. So they'll be coming in as new pages from the OS.
The OS won't commit them right away, only on first touch.
On first touch, it will page-fault into the OS kernel - which is a context switch.
It that definitely provides plenty of "noise" to interact with kernel-level stuff.
But I hate speculating without any way to test it.
 
True. Speculation is idle. A bit like painting a shed
As much as I dislike linux, I've found a reason to like it; I configured windows to change opacity with the scroll wheel so I can watch anime while I do other things :D
 
@Aaron3468 My solution is multiple monitors.
:)
 
Haha, yes. Then my old monitor died and I didn't replace it yet.
 
The test status as of right now is:
May	v0.7.1.9465	ok
7/30	v0.7.2.9465-52	5+ hours ok
8/13	v0.7.2.9465-83	ok
8/21	v0.7.2.9465-104	ok
8/28	v0.7.2.9465-110	5+ hours ok
8/30	v0.7.2.9465-114
9/1	v0.7.2.9465-117	failed x 2
9/12	v0.7.2.9465-138 failed x a lot
I'm re-running 9/1 to make sure the "instability" is still there.
If it isn't, then that fucks everything up as it will invalidate 8/21 and 8/28.
There are no more backups between 8/28, 8/30, and 9/1. So if I need to go between those, I'll need to manually duplicate the changes incrementally.
 
5:43 AM
Were you making a move towards more use of 256-bit vectors?
 
Nope. That happened long ago.
I guess the bright side of this is that I'm caught up on Re Zero. I don't usually do any development when there are unresolved bugs. Which means I've been watching a lot of Anime this week.
 
That's a good bright side. I've heard that show has some of the worst cliffhangers
 
There's only one ep left. And the last one isn't a cliffhanger.
 
Looking forward to it? I haven't given it a shot yet
 
5:59 AM
I'm still 8 eps behind on Love Live Sunshine. So I still have a lot of work to do.
And about 5 behind on Kuromukoro.
 
visiting relatives overseas, planning to spend hundreds on gifts ...
 
Haha, being addicted to that game (Love Live) is a terrible thing when you take public transportation. I think that's how I broke the habit ^^;
 
And I'm 2 behind on Fate Kaleid.
@Aaron3468 I'm just watching the anime. I'm not playing the game.
@Aaron3468 There's another potentially big problem I might encounter in the near future.
 
@Mysticial hmm?
 
Google contacted me saying they want to use the program to help them advertise their cloud platform. And they're willing to pay me for it. The problem is that the program isn't suitable as it is right now. Moonlighting issues aside with my current employer, I only have fucking 168 hours a week.
 
6:06 AM
How would they use the program to advertise?
 
They want to "crush" the current world record.
And they have infinite money to do so.
 
Using distributed computing? So that'll be a big undertaking to build on top of your code, yeah?
 
@Aaron3468 Yeah.
If they asked me a year ago, I would've told them that we're a generation short of PhDs to do it.
But as of March this year, I have an algorithm which I'm 80% confident will work at the top-level. But there are still many unknowns and many problems to be solved.
 
don't sell yourself short again, last time I heard one of the people who me & my B.E & B.Com friends used to hang around with in uni sold something to google, it was for 30 million
IRC
 
@Mysticial That's true. They have a lot of resources to put behind you, so if you're willing to do it, don't be modest asking for financing and be clear about what support you'll need. Google definitely likes to have merits, so I don't see why it would be bad (aside from being a long-term commitment)
You'd definitely get some nice merits out of it yourself, and your code isn't exactly bug-prone (even this bug is quite easily prevented by reducing usage).
 
6:16 AM
maybe I should write a scripts to pipe emails I receive from all the email accounts into one address, minus the ones from known spammers
but then again, replying part becomes tricky
 
@Aaron3468 To be fair, I like Google. I've worked there for almost two years. But for the right price, I'm willing to just sell them the rights to the program (without giving up my own rights to do whatever I want with it). So if they want to take over development of it with me over-seeing it, I'm fine with that.
Either way it's highly unlikely since there's no other value to the program.
 
consider people buy soil and animal manures, value is a very blur term
cicada is absent again, this news is enough to throw him off on a jealousy rage ...
damn ... how I wish I was there to witness it :p
 
6:37 AM
@Mysticial Your program is a massive asset that speaks of your skill, and google sees it as an opportunity to prove their platform. They don't care about the costs because reputation is their currency. You stand to benefit as much as they do. I'd love to see you continue working on your pride and joy as the sole proprietor, and also having financial support to create a joint record for both you and google to leverage in the future. What do you think of the platform?
 
I wonder what's the turnover for annual soil sales
speaking of being outrightly crazy, I am spending money on promoting my website which currently features an article 'how to invest like a garbage collector'
 
Ven
Hi!
@Mysticial did you see the rep update? Much better :)
 
lo/
 
my god you’re not even a 20k peon
 
pigeon?
 
Ven
6:47 AM
I did just lose 3k rep :P.
 
I think I should start answering questions again ...
 
Ven
I wonder if I got rep back from the questions I answered after doc repcap. /shrug
 
7:02 AM
Anybody have an idea how to install the RandR headers on linux? The xrandr command appears to work fine, but that's the issue rust fails to compile gfx-rs with
 
xrandr-devel maybe? Dunno, depends on your distro
 
Alright, that didn't work, so I'm just installing/updating apt-file so I can find it... so many dependencies. I'm using linux mint Rosa btw
I found it; libxrandr-dev eyeroll. But, now I need to find xinerama
 
7:20 AM
libfoo and libfoo-dev is the common way to set up things
you don’t need the headers if you just want to use the library
 
I'm compiling the libraries because they're a dependency of a library I'm using. Little by little I'm getting used to linux. I don't really like the environment, but I use it when I must.
 
oh, you're using a Debian derivative
 
sorry yeah I meant to explain the split
 
if so, then yes, *-dev is a convention for headers and development stuff
 
you install a lot of -dev when, well, developing
 
7:23 AM
Haha, I see. Kind of irritates me that I need to manually figure out which -dev dependencies are required, but now that it's kind of working I can't complain
 
Xeo
7:55 AM
 
@Xeo :D
 
8:10 AM
So... I went through a few hours of work and finally resolved all the dependencies to find out rust's gui libraries require opengl 2.0+. Guess which version virtualbox supports? Next on my to-do list: configure rustc to build with 64-bit gcc or msvc.
 
nwp
I've lost 4k reputation :'( This isn't fair, I've spent at least 5 minutes to contribute to How to use console.log() !! — Devid Farinelli 8 hours ago
 
> I die against pretty much anyone usually cause roamers are usually experienced players or dragonhunters
@PatrickM'Bongo lol
 
8:42 AM
@fredoverflow When isn't the return type some convoluted template type that doesn't really tell you anything?
Actually, my usually motivation for auto return is actually that it tells you too much.
 
9:13 AM
nice, 42k symbols this time
 
9:26 AM
@R.MartinhoFernandes out of curiosity how important do you consider concat(a, b, c) to be? esp. the kind that tries to be bidi
 
9:38 AM
In Python sum is a builtin, itertools.accumulate is a left scan, and functools.reduce is a left fold
that’s just convenient
 
Accumulate is a scan?
Weird.
 
nwp
I need a const container with non-const elements, basically a struct where the members are decided at runtime, but the members shouldn't change when the values of the members change. I need a const std::vector<mutable Member>.
 
@LucDanton Moderate.
@nwp That's confusing. You mean you cannot add or remove members, but can change them?
 
nwp
guess I'll have to only expose operator [] from the vector and hide the rest
@R.MartinhoFernandes correct
 
@R.MartinhoFernandes I’ve never managed to implement it in a way that doesn’t kill compile-times
 
9:41 AM
I know your pain Q_Q
 
nwp
and "change" is also limited, you can set values, but not change the structure of the member
 
@R.MartinhoFernandes oh, I thought you would only have to handle homogeneous types in your case lol
I wish I could think of a scheme so that e.g. concat(a, b, c, d) and concat(a, b, c, d, e) would share instantiations cc @Xeo
incrementing/decrementing within [b, c] should be the same code for both
oh, that’s not quite true :( overflowing from the bounds of c lands you in d or e, depending and ditto underflowing
 
@LucDanton Recursive concat_range a la recursive tuple?
@LucDanton Oh, underflowing is the same, no?
 
yeah
 
Also, how can it be d or e?
Oh, empties.
 
9:45 AM
huh
I’d better make some coffee
 
Ven
@nwp well, that means fixed-size?
 
@R.MartinhoFernandes yeah I used to have a recursive instantiation model
 
Right now I've decided to go along with range-v3.
 
switched to more pack expansion what with fold exprs and the results are explosive
@R.MartinhoFernandes with respect to what?
 
Wrote an unchunk_view which is a limited form of monadic join.
 
9:47 AM
or do you mean coding against it?
 
@LucDanton For ogonek. Yes, against it.
 
I actually don’t know how it goes, casually browsing the docs and some of the code didn’t tell
 
Given a range of "chunks", it produces a flat view of those chunks. A chunk is a materialized range.
@LucDanton I have a lot of experimentation code not online.
I've done too much rewriting of the same rewrites lately.
 
I’m slowly updating my codebase! concat is one of the big ones that I still have to handle though
@R.MartinhoFernandes heh
funnily enough in the D-style approach concat was relatively easy and flatten quite nasty, but now it’s the other way around
 
This unchunk_view isn't exactly what is needed for bind/flatmap, but it's just enough for ogonek, I think.
 
9:50 AM
not an accident obv., the representation has a lot to do with it
 
Also, terribly named.
 
well it’s a flatten that operates on views or a flat map on things that produce views, right? :)
 
@LucDanton Flatten on materialized ranges. That's relevant here because range-v3 primitives don't like owning things.
 
oh… so nothing to do with views then? :x
 
It takes a view of "vectors", not a view of views.
Range-v3 can't do the latter well (or as I might say in a different mood, not at all).
 
9:53 AM
call it flatten, it doesn’t matter (for naming purposes) that it doesn’t accept the full range(heh) of types it could
addition is addition even when not fully generic
restricted_flatten at worse
 
Good point.
I understand why range-v3 cannot flatten a view of views (core design choices), but it annoys me that flattening a view of "vectors" isn't a primitive already.
There's action::concat which materializes the flattened range.
 
presumably because even though you can’t write a range for it, you can still write for(auto sub: …) for(auto …: sub) yield(…);
I don’t get the intermingling with containers
alright, here’s that coffee. let’s try building linked instantiations
 
Features like inline variables are merely syntactic conveniences.
If you're going to hide it behind a macro, there's no reason to choose between the more and the less convenient depending on compiler support, because you will never use the convenient form; always the macro.
Do you agreee, or am I missing something?
 
okay so the weird thing about that
it’s Chandler told him something and he went off that
 
10:01 AM
I personally have never double-checked those claims and followed along
 
What claims? I'm confused.
 
@R.MartinhoFernandes the idea being that constexpr whatever_type my_namespace_variable {}; is heavy on the linker
so then that became static constexpr auto& my_namespace_variable = static_const<X>; because variable templates are magical
inline variables fix that, you get the second behaviour even in the first case
 
@LucDanton Ah, but that brings it back to my point: there's no functional difference, and you don't get the convenience benefits because you're going to use the macro anyway.
So why bother with inline variables at all? (in this case, I mean)
 
@R.MartinhoFernandes before inline variables there is a difference, so the claim goes
oh hang on
are you saying it’s stupid because they target c++1z lol?
 
They target C++11, yes.
And they hide the "difference" between C++11 and C++17 behind the macro.
The problem is that the only difference is convenience for the library writer.
They're effectively not hiding anything.
 
10:05 AM
yeah it’s an internal macro then
 
sorry I don’t follow
 
Let me try again.
To make sure I got it: does constexpr auto& name = static_const<type>::value; differ between pre- and post-C++17? I.e. does it have the aforementioned linker issue?
 
No differ, or no issue? (shit, I'm not helping with my question phrasing)
 
10:08 AM
oh my bad lol, it’s equivalent pre- and post- and without issue
 
No to one is no to the other. I need coffee.
 
so I get you
good thing is that I have another data point for you: some people have noticed that a thorn with the 'intermediate' reference is that… it’s a reference and that shows if you e.g. decltype(name)
obv. the macro can’t help with that though, but that could be rationale as to why ideally they’d want the 'true' inline variable
 
@LucDanton Ok, that's minor, but something.
 
myself I don’t care as to the differences between reference-vs-object what with the concepts-for-variables angle, so I’m happy to use them
and to reiterate, I put up with the references just because Mr. Niebler does. I haven’t timed compile and link times
 
I just find it silly because there's a commit touching almost every file to do this that also deprecates functionality that "clients might be using it in their own code" (sic, not sure if that means it's a true public interface) without providing a clear replacement.
 
10:12 AM
that functionality being the macro itself?
 
@LucDanton The commit message seems to claim "clients are not supposed to use".
 
> #define RANGES_CXX14_CONSTEXPR inline
5
that’s funny out of context
@R.MartinhoFernandes on the whole I share your sentiment, it’s a lot of hand wringing about tiny things that don’t matter too much where the 'cure' (macros, changes, etc.) is probably more annoying than the disease
but not Niebler functions, those are awesome!
@PatrickM'Bongo
I might as well segue and ask for your opinion on static_const<X>: would you use a different name for it?
 
@LucDanton The static_const template, that was used before the macro was introduced. It's not clear whether it's public, but the commit message seems to imply it is at least de facto public.
 
oh :/ that’s awkward
see, it’s bad separation of concerns: mine comes from annex-base, from which annex-range depends
 
I can see arguments for making it public and for making it internal, but I can't see an argument for deprecating it without replacement once it became public.
 
10:19 AM
well, if it’s a pre-release situation like I think it is I think it’s forgiveable
 
Well, it does carry a disclaimer that "This code will evolve without regard to backwards compatibility."
 
I totally see how the macro situation makes it easy to move it to namespace some_detail while simultaneously deprecating an alias in the old namespace, which would be sooo nice for clients without costing anything to anybody :/
 
@LucDanton is it not in context?
 
@sehe maybe, I’m having trouble understanding it and I don’t want to decipher more preprocessor gibberish!
 
sanity
 
10:22 AM
I left a comment on the commit querying the rationale.
 
@R.MartinhoFernandes I think you mean, they could just bite the bullet, write c++11-proof code only (perhaps comment on how to write it more elegantly in 10 years?)
I suppose the "documentory value" is their rationale
 
 
The thing is, even if they plan to drop C++11 in the future, they'll have to go over and replace all instances of the macro.
If they drop C++11 and keep the macro, they're still not benefiting from the convenience of inline variables.
The macro essentially nullifies the benefits of inline variables.
 
what’s the connection with C++11 here?
 
nwp
@R.MartinhoFernandes maybe chandlers vision of tool assisted upgrades will be a reality by then and the thing will be a non-issue
 
10:27 AM
(Sure the macro is still convenient, but it's convenient by its own virtue, not due to inline variables)
@nwp That makes the whole commit even more pointless, then. Basically wasted effort.
@LucDanton Sorry, I actually mean anything pre-C++17.
 
I get you
you’re so tired of C++11 you want to jump straight ahead and skip C++14
 
it’s hilarious how there’s detail/optional.hpp and detail/variant.hpp but it’s utility/static_const.hpp
 
@LucDanton I guess the last one is truly meant to be public.
was
 
nwp
@R.MartinhoFernandes I don't think the tools can just add inline variables by themselves. But they absolutely could resolve the macro if you tell them which version you are targeting.
 
10:32 AM
@R.MartinhoFernandes otoh there’s also utility/{optional,variant}.hpp!
 
lol
Nevermind.
@nwp Tools that resolve macros are not in the future.
There's one around called the pre-processor.
 
nwp
right, that will do exactly what you want in this case
 
Also, given that static_const has no other use, I think it's totally feasible to write a refactoring that finds its usages and replaces them with inline variables.
static_const is a reliable marker, and the transformation is trivial.
(My litmus test for triviality of transformation: can I do it with a vim macro recording?)
 
in my case I can very likely replace static constexpr auto( const)?& \w\+ = constant<.*>; by whatever
see the benefit of static over the inline namespace { nonsense
@R.MartinhoFernandes hah!
as you can tell by the pattern I’ve inconsistently been using auto& and auto const& :( I accidentally got rid of my macro at one point and replaced it in subtly different manner
 
Extremely rough.
(There's like, backspaces to fix mistakes and shit there)
 
10:41 AM
what’s that, echo @q or whichever is your macro register?
 
"qP
Or <C-R>q in command mode.
Didn't think of echo, lol
 
I paste the registers on a regular basis of course but I like editing them with :let @a='<C-R>a' etc. which tends to lead to :echo, too
funnily enough I looked up P when you mentioned it even though it’s in my muscle memory
 
I tend to edit by pasting and re-yanking.
Barbaric, I know.
Actually, not that barbaric, cause full vim editing powers.
 
but what if I have a watch on my files to trigger rebuilds etc.! you buffer-dirtying monster
 
10:47 AM
oo, 24% of the symbols have to do with variant
vs 13% for tuples
 
@LucDanton Funny. Only now that you mentioned this I realized how I dislike command-mode for anything longer than say, 10 characters.
It's like insert mode! Scary!
q: <3
 
@Mysticial since you seemed interested yesterday: it’s probably the case that tons of code is generated and that’s it. libstdc++’s std::tuple is a bit… pathological in the situation but even if I replace it with my own it’s not enough of an improvement to pin the situation on it
@R.MartinhoFernandes oh yeah, new buffers are fair game obviously :) :r! and all that
I don’t normally edit registers/macros tbh
now to rollback my custom tuple
 
q: is the reason I took up quitting via ZQ instead of :q
That sentence is nicely bracketed.
 
@R.MartinhoFernandes me too
 
q: is the reason I took up quitting via ZQ instead of :p
This this one is better.
 
10:52 AM
@R.MartinhoFernandes :p? surely that was supposed to be :q
 
@R.MartinhoFernandes maybe I should use that, what do you typically do with that?
 
yank a previous command line
 
@sehe But bracketing!
 
Yeah. It was prettier
 
@LucDanton Full-on editing of previous commands.
 
10:53 AM
@Mysticial Xeo is a weakling :)
 
what sort of commands? e.g. substitutions?
 
It's like command mode, but in normal mode instead of insert mode.
 
@LucDanton I tend to do let @a.='something' or so
 
@LucDanton I'm still weaning out of :, up arrow n-times, edit with insert mode bindings, Enter, but that's the kind of action I am gradually moving towards doing in q:.
 
@LucDanton anything non-trivial. For me, it's often a sequence of operations on a buffer. So I can repeat it with @: (or just insert argdo or bufdo or silent! tabdo windo :))
 
10:56 AM
thanks for the tips guys, this is giving me ideas
 
oh no - now he's getting ideas
 
It's essentially a buffer with the command history and the additional magic of executing commands by pressing Enter on them.
 
oo you can q/ too, that’s one I up-arrow definitively too much
 

« first day (2161 days earlier)      last day (2786 days later) »