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

help-circle

  • Code normally works fine after you write it and then hopefully at least test by hand. The new guy 5 years later, which do not fully grasp the extent of his actions, and the guy reviewing the code also not being too familiar with it, will not make sure everything does as intended.

    Tests are correctness guarantees, and requires the code and/or the test to change to pass. They also explain how something should behave to people that don’t know. I work in a area where there are so many businesses rules that there is no one person that knows all of it, and capturing the rules as tests is a great way to make sure that rules remains true after someone else comes to change the code.


  • 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.


  • In my country the consultant company i work at shifted to only going for hiring experience / senior people once interest rates went up 2023-2024. The economy being worse reduces investments, and naturally consultants are less desired during those times. So we didn’t even meet hiring goals for 2024, we barely grew. I think expectations are a bit better this year though, if that is a indication that also applies to your country/place.

    It’s a strong contrast to where I, with Master degree in non-tech areas, got a developer job shortly after university at this company. Things were pretty desperate “hire, hire, hire” back then. It also helps that my country is less bad on interviews and such compared to the US.


  • A worthwhile note is also that pretty much all US car manufacturers have dragged their feet doing EVs, excluding Tesla. So naturally US car manufacturers are struggling a lot with the massive costs related to adopting EVs now, and struggle competing with a country that spent this money getting established a good while ago.

    The subsidies are still a problem, but the 100% tax is in my view a massive handout to domestic manufacturers that never bothered to try until they were behind. That 100% price increase in Chinese will probably mean high margins on EVs for yet some years before cheap alternatives come along.


  • The article goes into the first point though.

    Using those services on your behalf is, potentially (in a legal sense) use of your data. By providing some information to a third party, even if Firefox itself doesn’t itself use it. This may come from the fact that you don’t directly agree to terms with the third parties when you start using the browser, with safe browsing for example. So Firefox is in a sense using/sharing private information. And in the changing legal landscape this usage may fall under modern privacy laws, such as the one mentioned in the article.

    I agree the old wording was bad, but I do see the reasoning behind the new one.







  • 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.