Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leni536
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
481.
▲
by
leni536
4y ago
Sure, try to infringe on some dual license software where one kf the licenses is GPL, these have few authors for obvious reasons. I bet the authors of Qt would sue, with an easy case for damages.
482.
▲
by
leni536
4y ago
AFAIK the point of the LGPL is that the LGPL license parts must be replaceable with a user-modified version. The easiest way to achieve that is through dynamic linking, but it's not the only way. They could release object files of thei
483.
▲
by
leni536
4y ago
There are linker level optimizations aside outside of LTO that can merge functions. gold's --icf option comes to mind, with --icf=safe meant to be conforming.
484.
▲
by
leni536
4y ago
I doubt that they are super happy about it. Many of their newer software are gatekeeped to Win11 without a strong reason. They are pushing people to switch to 11.
485.
▲
by
leni536
4y ago
Probably not. But if you owned a warehouse and you left it unlocked without security, and someone steels from it stuff that is owned by somebody else, then maybe you are liable somewhat.
486.
▲
by
leni536
4y ago
aria2 is a CLI tool do the same.
487.
▲
by
leni536
4y ago
I would never call XSLT elegant, it is horrible IMO.
488.
▲
by
leni536
4y ago
Alternatively to "better IDE", use git worktree. git allows to check out multiple revisions to distinct working directories. Or just clone the same repo multiple times, or have some releases unpacked outside of version control.
489.
▲
by
leni536
4y ago
They apsolutely make excellent stock. I'm Hungarian and spent hen stock is quite commonky eaten in Hungary. Unfortunately spent hen is quite hard to source in the UK, where I am now.
490.
▲
by
leni536
4y ago
I'm not familiar with udb, only with rr. Compared to rr, gdb's recording for reversible debugging is tremendously slower. However rr has strict requirements for the CPU (didn't work on AMD, the last time I looked) and require
491.
▲
by
leni536
4y ago
Well, C++ has lambdas with explicit capture list. A captureless lambda is basically a function (it even converts to a function pointer), otherwise it's a closure.
492.
▲
by
leni536
4y ago
It would probably be way more tax-efficient for the company to donate,
493.
▲
by
leni536
4y ago
Is it binary compatible with glib?
494.
▲
by
leni536
4y ago
Ah, OK. I was confused how that was supposedly used. I suppose header-only C libs are somewhat a pain, as inline does not work the same way as in C++, and static may cause code bloat when inlining does not happen in multiple TUs.
495.
▲
by
leni536
4y ago
None of the functions seem to be marked static or inline. Isn't this an instant link error once you include the same header in two different translation units?
496.
▲
by
leni536
4y ago
In my experience the most important parts of reading godbolt output are: 1. Data movements (mov) 2. Control flow (various jumps with corresponding tests, call and ret) 3. Calling convention. But you can often wing this and figure it out fro
497.
▲
by
leni536
4y ago
It doesn't make a huge difference, if you use your compiler interactively, albeit it requires some discipline to not ignore them. Absolutely do use -Werror on CI, where nobody even looks at logs of a passing pipeline. Without -Werror y
498.
▲
by
leni536
4y ago
Tooling did help this situation somewhat, but it is not very discoverable. If a beginner started off with a clang or gcc toolchain, then I would immediately suggest the following command line options for the compiler (the exact standard ver
499.
▲
by
leni536
4y ago
> The worst crime you're likely to commit these days is accidentally invoking a copy constructor more often than you want to, and even then, not actually creating leaks. As much as I like modern C++, use after free is still way too
500.
▲
by
leni536
4y ago
Are modules production ready yet on all platforms?
501.
▲
by
leni536
4y ago
What section is used eventually by the payload? Somehow the stack size feels like a red herring. These tools scan the executables without executing them, don't they? The payload is surely not on the stack yet.
502.
▲
by
leni536
4y ago
> How much time did you have to spend fiddling with your config to get it working? Does it work reliably? Last I checked, it wasn't even possible with an NVIDIA card Max an hour. It's an Intel GPU on a cheapo netbook (hence the
503.
▲
by
leni536
4y ago
This assumes that you don't have stuff you would rather leave running in the background. Like compiling, or keeping an ssh session alive. I at least sometimes see coworkers walking around with open laptops, which looks inconcenient. I
504.
▲
by
leni536
4y ago
I do have hardware accelerated video playback on Firefox on Linux. AFAIK it's easier to set up on Wayland, but I have it working on X. edit: Maybe I'm super lucky, but I rarely had problems with suspend on Linux. Having said that
505.
▲
by
leni536
4y ago
> clang and gcc can’t even agree on the ABI of __int128 on x64 linux. That type is a gcc extension but it’s also explicitly defined and specified by the AMD64 SysV ABI in one of those nice human-readable PDFs! Yikes! So it is supposedly
506.
▲
by
leni536
4y ago
OK, I did not know that. I assume it equally affects C and C++ though.
507.
▲
by
leni536
4y ago
They could might as well dissolve the whole company. Most, if not all of their products are very security sensitive.
508.
▲
by
leni536
4y ago
Not necessarily same compiler. You can use clang and safely link to C++ libraries shipped by the disto, which are compiled by gcc typically.
509.
▲
by
leni536
4y ago
C++ absolutely has standardised ABIs, like the Itanium C++ ABI implemented by clang and gcc. The situation is not any better or worse than for C.
510.
▲
by
leni536
4y ago
There are a ton of shared C++ libraries in Linux distros that maintain ABI stability without wrapping with a C ABI.
More ›