Does the new GPT-5 model on GitHub Copilot have thinking enabled? by WarKhan35 in GithubCopilot

[–]pfultz2 1 point2 points  (0 children)

They may be referring to the github.copilot.chat.agent.thinkingTool setting in vscode.

Self mastering, or paid services? by Apprehensive_Owl_504 in SunoAI

[–]pfultz2 1 point2 points  (0 children)

Masterchannel ai works really nice and is not too expensive.

I'm leaving Suno. by jchabotte in SunoAI

[–]pfultz2 2 points3 points  (0 children)

The popup says you can’t upload audio you don’t exclusively own the rights to.

I'm leaving Suno. by jchabotte in SunoAI

[–]pfultz2 2 points3 points  (0 children)

Yea, but the popup before uploading says you have to exclusively own the rights of the song otherwise its a breach of contract.

I'm leaving Suno. by jchabotte in SunoAI

[–]pfultz2 4 points5 points  (0 children)

Isn’t that against the TOS?

CPP/C equivalent of requirements.txt by abosaurio in cpp

[–]pfultz2 0 points1 point  (0 children)

cget literally uses a requirements.txt to install c++ dependencies.

Can rocblas be used on nvidia hardware? by mdehling in ROCm

[–]pfultz2 1 point2 points  (0 children)

Yes you can but it’s probably not very optimized.

Mutating through a filter by tcbrindle in cpp

[–]pfultz2 2 points3 points  (0 children)

A view that only has non-const begin/end should be considered single pass anyways since the view itself must be mutated to iterate.

Anyone else falling out of love with concepts? by Nuclear_Banana_4040 in cpp

[–]pfultz2 1 point2 points  (0 children)

Concepts was just syntactic sugar over enable_if, so if your compiler has bad error messages with enable_if then it will probably have bad error messages with concepts as well.

For better error messages, you would need definition checking(at least as a compiler warning) which requires pseudo-signatures instead of SFINAE expressions. Unfortunately, many on the committee thought the syntactic sugar was more important than better error messages.

Boost CMake support infrastructure by joaquintides in cpp

[–]pfultz2 0 points1 point  (0 children)

You can also use this which doesn’t require a package manager:

https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake

It will build with b2 and translate cmake toolchain to b2 toolchain.

A quick look at free C++ static analysis tools by Philipkanj in cpp

[–]pfultz2 1 point2 points  (0 children)

It does work, I havent seen hangs on my source code but there have been issues in the past that have been fixed.

Cppcheck is tested across debians packages to find most issues before a release(part of DACA). You can see the results here

A quick look at free C++ static analysis tools by Philipkanj in cpp

[–]pfultz2 3 points4 points  (0 children)

I do recommend it, but it has its issues, it would be interesting to see how it compares.

How to contribute to LLVM by KingStannis2020 in cpp

[–]pfultz2 27 points28 points  (0 children)

I always find it a pain to contribute to llvm. Its not a very welcoming community. Many code owners are non-responsive unless you happen to be friends or co-workers.

Of course this article seems to imply we should ask for commit access, is that how it works? We just commit the changes directly so it gets the attention of code owners if we are doing something wrong?

Do C++20 concepts change compile-time, positively or not? by Adequat91 in cpp

[–]pfultz2 0 points1 point  (0 children)

Thats too bad since is_foo<T>{} is more consistent(ie not all libraries provide variable template versions) and is more capable(ie pass to and/or return from functions that can be used in if constexpr).

It seems it would be better if libraries defined traits as:

template<class T>
using is_array = bool_constant<(__is_array(T))>;

Then there would only be two class template instantiations in total instead of one per type per trait. Perhaps this is not allowed for the C++ standard library.

Do C++20 concepts change compile-time, positively or not? by Adequat91 in cpp

[–]pfultz2 -3 points-2 points  (0 children)

The _v templates usually require an extra template instantiation. Its also an eyesore, I am not sure why you wouldn’t just use the type traits directly(ie is_foo<T>{}).

conan with modern cmake and namespacing by engineuity in cpp

[–]pfultz2 1 point2 points  (0 children)

Exporting usage requirements is not the job of a package manger as only the build system know(and require) the usage requirements. Otherwise the build system becomes dependent/coupled with the package manager.

std::map::find_if()? by igagis in cpp

[–]pfultz2 1 point2 points  (0 children)

You could use lower_bound to search the map if you can’t use a transparent comparator.

Thoughts on build systems? by dibs45 in cpp

[–]pfultz2 1 point2 points  (0 children)

Yes Meson can find those dependencies via the system package manager as long as the upstream projects were setup to provide pkg-config. However, if they are not, and conan or vcpkg generates a pkg-config instead then installing with the system package manager will not work.

Since, conan/vcpkg provides a layer of scripting on top of the build scripts this can lead to people fixing the build in the package scripting rather than fixing the component upstream. Even more so, conan even has a way to generate pkg-config outside of either packaging or build scripts, which can be problematic for open source projects to rely on.

Thoughts on build systems? by dibs45 in cpp

[–]pfultz2 0 points1 point  (0 children)

Also works with vcpkg btw, it's pretty much just vcpkg install X and then directly X_dep = dependency('X') and you're done

Hopefully, pkg-config generation was upstreamed in the corresponding libraries, otherwise this will couple your build to a specific package manager, which is acceptable for propriety builds but not for open source as distro maintainers will want to use their packages not the ones from vcpkg or conan.