• 1 Post
  • 96 Comments
Joined 2 years ago
cake
Cake day: August 7th, 2023

help-circle
  • In modern games, I think it’s fairly common to have a common 3d skeletons share names. So you can make animations like the one above apply to any character even if they have differences. It doesn’t mean that dog extends human, but it may mean that a dog model shares a lot of common “bones”, that are used for movement, with a human model.

    So when a human animation is applied to the dog, you can see it warp to start position of the animation, move, and then then stop at the end position as a standing human, before warping back to idle animation (when it turns back into the dog shape)

    Related, weapons in Destiny also share the same components across weapon types, and bugs have caused one weapon type to be used for another weapon, making funny things happen. Like how a hand canon (pistol) stretches like a bow because it’s model got used in place of the bow model at the start of this clip:

    https://www.youtube.com/watch?v=0YZa9vv5U0M




  • None of those issues for my main IDE, though Rider on some occasions do get stuck marking some spelling errors after they are fixed.

    It has stuttered a few times, but pretty rare. But it does have a bug where it think it is building a project, but isn’t. And requires a restart to fix… Easy to trigger if you try building a project while it’s loading the project…

    Visual Stuido with Resharper is the one where things would randomly stop working though. Especially hotkeys would sometimes stop working until I restarted it. Slow and stutter too.


  • Not sure if this advice really applies, given i haven’t used Git for any reports myself and I don’t know how you are doing the text based project. I did pretty much all my uni reports in a online latex document site which allowed shared editing, so there was some history but all edits were live to the main doc.

    But with the power of latex at least, you can have the main file do import and usages, and maybe some setup. And then combine other files representing anything you want. Such as one for front page, one per chapter or one for appendixes.

    Then just can do changes/new sections in feature style branches, and it’s up to you if you want things to go to the main branch, or have a dev like branch where further refinement can happen if your work is structured and not all over the place like my report writing was.




  • It probably makes sense if the program they came from is a badcase, but at least ours don’t go over board. It’s always a “you are probably doing something wrong, but we will allow it if you want to” or a “please confirm you want to do this thing that may have huge consequences”. With what they were learning, they were not touching anything related to the latter. So they probably were doing something wrong.



  • I’m still a windows pleb, so no Zed for me. Fleet I haven’t heard of before.

    I’m also very much one that likes a lot of convenience. RustRover is know from experience with both pycharm and Rider. But my main points are convenient functionality, autocomplete, debugger, code navigation, formatting and cleanup and git diff readily available. RustRover might be big and heavy, but it let’s me focus on writing and running my code without much issues.


  • The following isn’t any professional advice or anything, I am writing HTML manually for my hobby blog code. I don’t have much experience with HTML outside occasionally reading it.

    I write a bit by hand, to layout my blog page, which is using HTMX. Generally I use RustRover since that actually gives details for attributes and such along with autocomplete. And apparently yesterday it asked if I wanted to enable HTMX support, which was even more intriguing. The main articles are however converted from markdown to HTML.

    I do want a better way to design with preview of my page but I think it’s a long shot to find something that does HTMX at the same time. Especially since that often means having segregated pieces of HTML mixed into one document at page loading.


  • I made a super basic blog by hand using actix-web. Basic processing of markdown into HTML and then present it through handmade (and chatgpt assisted) html+css with htmx to spice things up and try to do mimic a single page application. I don’t have much web experience though, so much of it is crude.

    I don’t host myself yet, I used Shuttle which procides free hosting for hobby rust projects. It also comes with postgres so I have been looking into how to move from storing articles in files to a database for more consistent article support. Shuttle also supports other things than actix-web, so you don’t havr to use that specifically.

    While I said blog, I don’t support new articles without a redeploy yet… And it only has like 3 random articles based on reddit posts. But it works at least.

    https://handmade-blog.shuttleapp.rs/



  • Because I want to be a God.

    It’s a bit of hyperbole, but I was using some program on my pc and was frustrated because it didn’t do things I wanted it to do. Or it had bugs, and there was no way for me to get that changed, so I was left to pray that somehow the creator would find this small problem and fix it. I was envious of those people that could make these windows with buttons that made things happen. I wanted this power that transcended what I could see on my screen, and change how that world worked.

    And so, I learned to program. I took the powers to shaped my own creations and ascended.




  • I sure don’t sound helpful saying this, but it’s mostly about finding the equivalent to the python action/types, and typing them out when making functions and variables. Though 99% of the time, you are completely fine defining variables as var to avoid excessive typing.

    I assume you dealt a bit with classes in python, if not then you’re doing double time with both changing language and learning object oriented classes at the same time.

    If there is any specific I can try to give some clarity since I also came from Python to C#.


  • I found C# to pretty much be python just with strict types and semicolons. Jumped right into it really on my first job and it worked out pretty fine, granted I got to orient myself in the existing project where I started.

    You are perhaps already familiar, but some things stand out like public/private annotations and other class related things like interfaces which work to create a more organized and controlled use compared to pythons “we are all consenting adults” approach were nothing ever really truly blocked from you. It depends a little on what you want to do/use it for, there’s frameworks and different uses like WPF / .NET for the frontend.

    While it may be too basic for you, ZetCode was useful for me back when learning PyQt in python, so you might find some use with the C# intro: https://zetcode.com/all/#csharp