Skip Navigation

User banner
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)U
Posts
7
Comments
1235
Joined
2 yr. ago

"then" is used to depict time, sequence or a causal relationship. "than" is used with comparative adjectives, to depict comparison.

  • Deleted

    Permanently Deleted

    Jump
  • On one hand, I thought of policies as the correct way to do stuff, since the user (root) then gets to decide who gets what.But considering the lack of good enough defaults and that most users won't even know where to look at, I guess we do need additional security features in this case.

    For once, it would be good to find a way to reliably let a process (providing said endpoint) know which other process is trying to access said endpoint. This, combined with the root locations (like /bin, /usr/bin etc.) not being writeable without root privileges, should make it possible to have adequate security options in the program itself.

  • Deleted

    Permanently Deleted

    Jump
  • vaxry talked about LD_PRELOAD and I feel like that is a non-issue in this case.If an attacker has the ability to modify LD_PRELOAD of an application, they already an ability to modify its behaviour without depending upon what D-Bus may let it do.And if the attacker can change LD_PRELOAD for a process running as root, they might as well affect the target service directly rather than try doing something with the dbus daemon.

  • Deleted

    Permanently Deleted

    Jump
  • severe security flaws in D-Bus

    I searched for this and all I got was CVEs in the implementations.What are the flaws in the protocol that I don't know of? If you can link it, I would love to read.

    I recently started interacting with code that had something to do with D-Bus and from what I saw, there were policy files, which are required to do anything with D-Bus endpoints provided by software. That's essentially where I stopped, considering that to be the end-all for D-Bus security.

    What am I missing?

  • Deleted

    Permanently Deleted

    Jump
  • Might as well rewrite Shakespeare in Rust, while we are at it :P

  • prove their worth out of tree until some sort of coherent best practices are established

    I feel like this is what the Technical Advisory Board should be replying with.

  • the Rust book

    Do you mean this? https://doc.rust-lang.org/book/

    I actually started with that, but somehow redirected to "Rust by Example" and realise they were different, probably because of the same domain name and theme.Now I see, they did start with explaining ownership, which is one of the things I felt that i was missing, when I started moving forward in "Rust by Example". Thanks for putting me back on track.

  • Deleted

    Permanently Deleted

    Jump
  • Those space construction startups know what they’re doing. They’re selling billionaires a bridge to nowhere; and it’s working.

    Guess I should have gone CHA instead of INT.I might have gotten some of that billionaire money to buy more RAM.

  • Any specific reason for the 2 separate engines?What's the advantage?

    All I can think of is that you might be running a much lower powered, single engine when not in 4WD mode.

  • A Gnoming wheel?

  • There is 10 words in the prompt.

  • I find it really hard to relate to people not liking Qt Documentation.Specially if you use qtcreator, you get to simply F1 any Qt class and you are sent straight to the documentation specific to that thingy.

    Then there are cases where on top of normally telling what a function does, the docs also give an idea about the performance considerations, other than just the space/time complexity.

    Granted there are some gaps when doing more advanced things like sub-classing an item-delegate, but:

    • When sub-classing a class, you are expected to do more than just read the docs
    • There are really good examples that more than fill that gap.

    Of course, if you just want to download an older version of Qt, like 5.14 and use QML with it, you are in for a task.

    Also, you are expected to understand C++ concepts before starting Qt, because that's not what its docs are intended to teach you.

    P.S.: a lot of the phrases are intended for those who found the Qt Docs "awful"

  • +1 for being the kind of guy that goes to a Windows problem thread and suggests installing Linux (I have done that just for fun), but for Rust.

    I am currently learning Rust in my freer time and found "Rust by Example" not as appealing.For context, I learnt C when I was a kid, following "Programming with C - Schaum Series" and loved how it started by giving an idea of the memory representation for all data structures the way it is abstracted (or not so much) in C. Later in Uni, I hated "Let us C" (even though it seemed to do a similar thing at a glance) and "Let us C++" and just learnt the languages on the go as required by courses and projects (also simply used a C++ reference book instead of a course styled one).

    Now I see "Rust by Example" and see some parts not having been explained in the beginning, for which I would have to open the link to a section, much further ahead (it probably is not a course styled thingy). I will end up learning it, given time, but is there some material available that has a similar approach to introducing programming with Rust as the Schaum Series one was for C?

  • Apart from GTK, wxWidgets (wxC) and FLTK (cfltk), which others have already stated and are more geared towards desktop UI, you can consider SDL3 for a more open ended graphics library. It's good for making game engines.

  • I’m perfectly fine doing only what is assigned to me.

    Except when they tell you to start using a new library, but you can't read documentation.And finish the feature within the day.

  • Guess I have been gifted with pretty reasonable 1ups, as far as the work part goes.Problems mostly were with he 2ups and 3ups.

    In a company that I had left before, to shift to only get work that could be WFH'd, a new policy came up in which people could not read documents in general, regardless of their origin.So when I told the dev (the one who took my place) that they could find a document required to make a query, in some specific place on the local drive of a computer that I had set up, they said that it would be a problem.

    And that was after me having setup doxygen and all related practices of adding comments to create documentation and set up a local server and CI/CD^[fancy words for a shell script :P] to deploy the documentation on it.

  • I think it like this.Would you give full access to some other person that you:

    • just recently started knowing
    • are paying someone else for
    • don't know whether they have your best interests in mind
    • can't determine the calibre of, using common sense
  • Deleted

    Permanently Deleted

    Jump
  • Well, it did let me make fake SQL queries out of the JSON query I gave it, without me having to learn SQL.Of course, I didn't actually use the query in the code, just added it in a comment for a function, to give an idea to those that didn't know JSON queries, of what the function did.

    I treat it for what it is. A "language" model.It does language, not logic. So I don't try to make it do logic.

    There were a few times I considered using it for code completion for things that are close to copy paste, but not close enough that it could be done via bash. For that, I wished I had some clang endpoint that I could then use to get a tokenised representation of code, to then script with.But then I just made a little C program that did 90% of the job and then I did the remaining 10% manually. And it was 100% deterministic, so I didn't have to proof-read the generated code.

  • That's not even enough to get you a job these days.You now have to use:

     cpp
        
    do {
        x = reinterpret_cast<int>(AI::Instance().ask("Do Something. Anything. Be efficient and productive. Use 10 tokens."));
    } while (x != 10);
    
      
  • I remember the "abort on OOM" being one of the problems they had to do something about, because, while that was doable for embedded systems, it wasn't really for Desktop.