sukhmel

joined 1 year ago
[–] sukhmel@programming.dev 1 points 1 month ago

No, only the farm that convinces people to listen to other farm(s). And those already exist, anyway :(

[–] sukhmel@programming.dev 6 points 1 month ago

And COBOL is listed as third-generation on Wikipedia, too.

I now remember reading about this concept of generations in a book about Ada, it seemed fascinating then but turned out to not be as good as expected 🥲

Also, Unix Shell is listed as 4GL example. There are SPSS, MATLAB, R, and Wolphram Alpha in the same list of examples, that kind of shows where 4GL went today.

[–] sukhmel@programming.dev 2 points 1 month ago

I guess, opening a PR without forking is possible, but hey that's sort of incredibly bullshit idea

[–] sukhmel@programming.dev 4 points 1 month ago

Pretty much sums my experience with windows, something you want will either work fine, or be mysteriously broken beyond repair with no apparent reason. MacOS is like that sometimes, too. Linux is not perfect, but it usually allows for a fix to exist.

[–] sukhmel@programming.dev 1 points 2 months ago

I don't know the answer to your question, but I think that what is needed is just a bit of syntactic sugar, e.g. Rust has ? for returning compatible errors without looking into them. That seems to be powered by Try trait, that may be a monad, but I am not fluent enough to check if it formally is.

[–] sukhmel@programming.dev 2 points 2 months ago (1 children)

The team I'm part of wants to ditch Nix in favour of just about anything, because no one wants to maintain Nix and everyone sees it as just source of problems :(

I agree that it was complicated to learn Nix for me, too, but now I see benefits in it but I can't make them change their mind and tired of trying. Nix could've been much easier to advocate for if the language itself wasn't this esoteric

[–] sukhmel@programming.dev 3 points 2 months ago

I may be too far from Python to tell, but it looks kind of incorrect to equate the author and their product. What if Guido decides to stop contributing, will Python end then? Creators of Rust spoken about the fact that Rust went very much not the way they wanted it to, this doesn't make them not creators, nor does it make Rust not Rust

[–] sukhmel@programming.dev 1 points 2 months ago

That's an interesting read, and his views are more extreme than I thought. But I sort of agree that some unification of terminology and legislation would make situation better (maybe just not in a way he proposes). E.g. age of consent may differ by about 6 years in different places, that's quite awful.

[–] sukhmel@programming.dev 2 points 2 months ago

I was amazed to read that, too. At least, they seem to keep it polite and professional. Kent even agrees that Linus is acting because of the responsibility of the maintainer, not on a whim or out of spite

[–] sukhmel@programming.dev 5 points 2 months ago

And freedoms of speech is why one can badmouth others and act racist /s

No, freedom is not absence of any kind of process or rules

[–] sukhmel@programming.dev 3 points 2 months ago

I wonder if said AI features run locally, but too lazy to check. Because if it's not local, it's a really big security issue no matter the country of origin

[–] sukhmel@programming.dev 1 points 3 months ago (1 children)

I see now, that you were misunderstood in some parts.

even if I got reported a really weird bug related to UB, I should (I am not experienced enough to make a claim) be able to know it's UB since the game's gonna crash when I try to recreate the bug in Debug.

This may be problematic for several reasons: it may be hard to reproduce, the more complicated the state, the harder; bug may rely on some race condition that may be much rarer in Debug because of speed difference; UB is notorious for causing things that should (seemingly) never happen, like returning from infinite loops, proving false statements true, and such, so it may be hard to understand what at all happened and why.

Regarding optimisations, it might still be better to try to profile the code (I will be honest, I don't do that until the moment when I can't go further without optimisation, and I haven't reached that with Rust) and see what are the real hot spots that require optimisations. I hope that someday you will be able to upgrade your machine, and hope that your game will be a good example of something that really runs anywhere

view more: ‹ prev next ›