Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LaLaLand122
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
LaLaLand122
2y ago
> 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.htm
2.
▲
by
LaLaLand122
2y ago
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).
3.
▲
by
LaLaLand122
3y ago
What's the problem with ThousandEyes? They got their agent into Cisco equipment, and just recently gave them SamKnows.
4.
▲
by
LaLaLand122
3y ago
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 so
5.
▲
by
LaLaLand122
3y ago
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
6.
▲
by
LaLaLand122
3y ago
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 have zero interest in
7.
▲
by
LaLaLand122
3y ago
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.
8.
▲
by
LaLaLand122
3y ago
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); https:/&
9.
▲
by
LaLaLand122
3y ago
> 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/
10.
▲
by
LaLaLand122
3y ago
- https://man.archlinux.org/man/aoss.1.en - https://man.archlinux.org/man/padsp.1.en
11.
▲
by
LaLaLand122
4y ago
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 )
12.
▲
by
LaLaLand122
4y ago
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 ( https://en.cpprefere
13.
▲
by
LaLaLand122
4y ago
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 -
14.
▲
by
LaLaLand122
4y ago
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 is
15.
▲
by
LaLaLand122
4y ago
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.
16.
▲
by
LaLaLand122
4y ago
That's just sad.
17.
▲
by
LaLaLand122
4y ago
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 ye
18.
▲
by
LaLaLand122
4y ago
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 - clang is work
19.
▲
by
LaLaLand122
4y ago
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 return a view, and th
20.
▲
by
LaLaLand122
4y ago
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 s
21.
▲
by
LaLaLand122
4y ago
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
22.
▲
by
LaLaLand122
4y ago
And yet "Almost Always Auto" is "Modern C++"...
23.
▲
by
LaLaLand122
4y ago
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 it&
24.
▲
by
LaLaLand122
4y ago
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,
25.
▲
by
LaLaLand122
4y ago
There was still a need for webcam drivers when Vista was released? https://en.m.wikipedia.org/wiki/USB_video_device_class
26.
▲
by
LaLaLand122
4y ago
I would never understand it as "but you said you would do it", I would say "would" is safe to use with non-natives. But it may depend on the native language of the other person. There are some really weird languages out
27.
▲
by
LaLaLand122
4y ago
Aren't there pinball games any more? I remember spending a lot of hours playing Pinball Fantasies and Pinball Illusions in an Amiga 1200.
28.
▲
by
LaLaLand122
4y ago
I have visited nurseries that don't let kids go out to the playground when it rains... in the UK! I suspect some of my child classmates were Gremlins.
29.
▲
by
LaLaLand122
4y ago
FWIW last time I checked, central London did indeed have slow connectivity, but it didn't extrapolate to the rest of the UK. No idea why the center of the capital was equivalent to a remote small town in this regard.
30.
▲
by
LaLaLand122
4y ago
> you have to use multiple rings and do everything else yourself Since you are supposed to use liburing, not the kernel interface directly, I guess somebody could add multithreading "support" to it. Or at least add documentatio
More ›