> a terrible API which makes all the frontends terrible in turn I don't know the details. But nowadays gdb supports DAP, as any other debugger: https://www.sourceware.org/gdb/current/onlinedocs/gdb.html/D... Are you…
In the UK, at least, it isn't the default (because of "the children"/"terrorism"). But it's still just a setting in Firefox/Chrome to change (and I guess in Edge too).
What's the problem with ThousandEyes? They got their agent into Cisco equipment, and just recently gave them SamKnows.
What's exactly "the enterprise world"? Honestly, all the distributions "just work" and are "stable" (i.e. they don't crash and corrupt your data). You could just pick up a random one. You will find some specific…
I really hope it does some things differently than glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=19643 In any case glibc uses NSS, so what glibc does depends on the configuration. It may well just forward the…
The 2600 was also my first game console. I played it a lot, even after the Spectrum 128K arrived home. But, as much fun as I had with it, I have a similar issue with it now: I would happily play a SNES game now, but I…
I doubt it's yet implemented in any standard library. But it has been in the fmt namespace for close to a decade: https://fmt.dev/ . I do use it in a C++11-only codebase.
I will never type this: printf("You have %d items of type %s.\n", itemCount, itemType.c_str()); When I could do this: std::println("You have {} items of type {}.", itemCount, itemType);…
> I wonder if we will see more of the network layer move into the application layer, like what I think happened with QUIC. https://lwn.net/Articles/169961/
- https://man.archlinux.org/man/aoss.1.en - https://man.archlinux.org/man/padsp.1.en
Not exactly what you ask for, but "the NHS budget has traditionally risen by an average of 4% above inflation each year." (https://www.bbc.co.uk/news/health-64190440)
What you say makes a lot of sense. Now, to give a concrete example. There was a C++ PR introducing an interface taking an argument of type int representing a duration. I suggested using std::chrono::duration…
The customer - "Wants" "stable", i.e. the default gcc - Doesn't care what Boost version is used - Pays the developer The developer - Wants the latest toolchain - Wants the latest Boost - Makes money The developer -…
Exactly! People point out RedHat provide newer compilers (and newer patched C++ standard libraries depending on the default one!) and he says "It's not us, it's our customers. And no, they won't use any compiler which…
Sure. I agree. I was just arguing that it's good span doesn't have at(), I was not trying to say C++ is memory safe.
That's just sad.
I have just taken a look... https://wg21.link/p1179 is actually still not there, right? I see some interesting stuff in https://discourse.llvm.org/t/rfc-lifetime-annotations-for-c/... from last year. But, in general...…
That's cool. Last I remember, the lifetime profile stuff was there, but there was still no way to add your own annotations. For some reason, I didn't hear too much about any of this, it was - clang is working on it -…
Arguably an explicit type would have made the bug a little bit more obvious. You basically expect, by default, this kind of string manipulation functions to return a std::string. Obviously in this specific case you can…
A citation of what's "Modern C++"? The term is a made up concept with no proper definition... But "Herb Sutter says you should use it, he even gave it a catchy name/acronym" is as good as it gets. And he does so AFAIK…
std::span doesn't have at() because std::logic_error was a mistake. Using std::vector's at() is a mistake (you could use it as a helper method and make it as if it throwed std::runtime_error, but it doesn't, that wasn't…
And yet "Almost Always Auto" is "Modern C++"...
It's good that you can solve this with 100% of the team following 100% of the time the rules/guides. It's even better if your language has a way to express "the return value points to data from the input argument, so…
To be fair, "getaddrinfo is _the_ path" is a shitty situation. - It's a synchronous interface. Things like getaddrinfo_a are barely better. It has forced people to do stuff like https://c-ares.org/ for ages, which has…
There was still a need for webcam drivers when Vista was released? https://en.m.wikipedia.org/wiki/USB_video_device_class
> a terrible API which makes all the frontends terrible in turn I don't know the details. But nowadays gdb supports DAP, as any other debugger: https://www.sourceware.org/gdb/current/onlinedocs/gdb.html/D... Are you…
In the UK, at least, it isn't the default (because of "the children"/"terrorism"). But it's still just a setting in Firefox/Chrome to change (and I guess in Edge too).
What's the problem with ThousandEyes? They got their agent into Cisco equipment, and just recently gave them SamKnows.
What's exactly "the enterprise world"? Honestly, all the distributions "just work" and are "stable" (i.e. they don't crash and corrupt your data). You could just pick up a random one. You will find some specific…
I really hope it does some things differently than glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=19643 In any case glibc uses NSS, so what glibc does depends on the configuration. It may well just forward the…
The 2600 was also my first game console. I played it a lot, even after the Spectrum 128K arrived home. But, as much fun as I had with it, I have a similar issue with it now: I would happily play a SNES game now, but I…
I doubt it's yet implemented in any standard library. But it has been in the fmt namespace for close to a decade: https://fmt.dev/ . I do use it in a C++11-only codebase.
I will never type this: printf("You have %d items of type %s.\n", itemCount, itemType.c_str()); When I could do this: std::println("You have {} items of type {}.", itemCount, itemType);…
> I wonder if we will see more of the network layer move into the application layer, like what I think happened with QUIC. https://lwn.net/Articles/169961/
- https://man.archlinux.org/man/aoss.1.en - https://man.archlinux.org/man/padsp.1.en
Not exactly what you ask for, but "the NHS budget has traditionally risen by an average of 4% above inflation each year." (https://www.bbc.co.uk/news/health-64190440)
What you say makes a lot of sense. Now, to give a concrete example. There was a C++ PR introducing an interface taking an argument of type int representing a duration. I suggested using std::chrono::duration…
The customer - "Wants" "stable", i.e. the default gcc - Doesn't care what Boost version is used - Pays the developer The developer - Wants the latest toolchain - Wants the latest Boost - Makes money The developer -…
Exactly! People point out RedHat provide newer compilers (and newer patched C++ standard libraries depending on the default one!) and he says "It's not us, it's our customers. And no, they won't use any compiler which…
Sure. I agree. I was just arguing that it's good span doesn't have at(), I was not trying to say C++ is memory safe.
That's just sad.
I have just taken a look... https://wg21.link/p1179 is actually still not there, right? I see some interesting stuff in https://discourse.llvm.org/t/rfc-lifetime-annotations-for-c/... from last year. But, in general...…
That's cool. Last I remember, the lifetime profile stuff was there, but there was still no way to add your own annotations. For some reason, I didn't hear too much about any of this, it was - clang is working on it -…
Arguably an explicit type would have made the bug a little bit more obvious. You basically expect, by default, this kind of string manipulation functions to return a std::string. Obviously in this specific case you can…
A citation of what's "Modern C++"? The term is a made up concept with no proper definition... But "Herb Sutter says you should use it, he even gave it a catchy name/acronym" is as good as it gets. And he does so AFAIK…
std::span doesn't have at() because std::logic_error was a mistake. Using std::vector's at() is a mistake (you could use it as a helper method and make it as if it throwed std::runtime_error, but it doesn't, that wasn't…
And yet "Almost Always Auto" is "Modern C++"...
It's good that you can solve this with 100% of the team following 100% of the time the rules/guides. It's even better if your language has a way to express "the return value points to data from the input argument, so…
To be fair, "getaddrinfo is _the_ path" is a shitty situation. - It's a synchronous interface. Things like getaddrinfo_a are barely better. It has forced people to do stuff like https://c-ares.org/ for ages, which has…
There was still a need for webcam drivers when Vista was released? https://en.m.wikipedia.org/wiki/USB_video_device_class