![[i3][OC] vertical tabs](https://i.redd.it/7hwnvlnvuk4h1.png)
jcelerier
u/jcelerier
![[i3][OC] vertical tabs](https://i.redd.it/7hwnvlnvuk4h1.png)
Hello,
I've been working for some years on https://github.com/celtera/avendish which allows to expose C++ classes through various creative environments, and as such assembled a small ontology of the various features, extensions, metadatas, ... that are often desirable to associate to data types and variables.
For instance, let's say we want to reflect this struct to automatically generate a control GUI from it, for instance like Unity gameobjects:
struct foo {
int apple_count;
};
Avendish enables the user to do something like:
struct foo {
struct {
static consteval auto name() { return "Apple count"; }
Hello,
In the beautiful world of thread-safety, we traditionally had multiple properties to assess the usability of a type in various threading scenarios:
- An instance of a type can be multi-thread-safe or not. E.g. is it safe to call different methods from different threads on a specific object.
example: thread-unsafe:
struct Foo {
int plus_one() { return x++; }
private:
int x = 0;
};
such an implementation can be made thread-safe either internally to guarantee thread-safety of specific operations, by the author of the type:
struct Foo {
int plus_one() {
std::lock_guard{m_mut}; // Or atomic
return x++;
}
private:
std::mutex m_mut;
int x = 0;
};
`
Hello!
I'd like to make an archive of the useful technical content on the Intel website:
https://www.intel.com/content/www/us/en/developer/topic-technology/gamedev/documentation.html
Sadly depsite trying everything mentioned in stackoverflow I couldn't get wget or curl to return me anything else than error 403: forbidden
$ wget \
--referer='https://intel.com/' \
--user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" --reject-regex "(.*)\?(.*)" \
--no-check-certificate \
--recursive \
--no-clobber \
--p
I'm asking this as having a "standard" event loop sounds like a recipe for problems. Right now there's a few common event loops being used in C++ software: Qt's, boost::asio's, glib, etc.
On Linux if you want to make an app that could end up integrating with some other app that uses glib, well, you have to use glib's event loop too. Otherwise the other app (or plug-in) is likely to freeze. Stuff like accessibility support and input methods for instance. For this reason Qt by default ship with the glib event loop on Linux.
In short: if you make a well-behaved GUI desktop app you don't really have a choice in using glib as your event loop on Linux.
Now, I see this leading towards two altern
I asked a question inquiring knowledge about an error I'm getting from git clone.
It was closed for the motive "This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. " despite the existence of a ton of git questions existing in there. Is there any other place for my question? This is 100% a software development issue.
https://stackoverflow.com/questions/79683145/git-clone-failing-only-in-very-specific-circumstances
