• 0 Posts
  • 24 Comments
Joined 11 months ago
cake
Cake day: August 15th, 2023

help-circle

  • Vlyn@lemmy.ziptoGames@lemmy.worldElden Ring – Patch Notes Version 1.12
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    5
    ·
    18 days ago

    No ultrawide support, no DLSS, no removed fps cap, no precompiled shaders to remove the stutter, …

    From makes good games, but when it comes to technology they either suck or are just lazy as hell.

    The biggest joke is that ultrawide already renders the full screen width, they just put black bars on top to not give the player an advantage, lol.


  • Well, there’s modern C++ and it looks reasonable, so you start to think: This isn’t so bad, I can work with that.

    Then you join a company and you find out: They do have modern C++ code, but also half a million lines of older code that’s not in the same style. So there’s 5 different ways to do things and just getting a simple string suddenly has you casting classes and calling functions you have no clue about. And there’s a ton of different ways to shoot your foot off without warning.

    After going to C# I haven’t looked back.




  • I was rather happy with Netflix for nearly a decade. The price was reasonable and family members could also watch. When I moved out I upgraded to the 4K package (split 3 ways between family members) and it was fine at first.

    But there were several caveats:

    • 4K only works on TVs, on my 1440p monitor I could only watch 1080p. Sucked, but it’s not too bad
    • Price kept going up, in the end it was 18€ a month. That’s okay split between 3 people, but otherwise far too much for what is offered
    • Series that I liked kept getting cancelled, while trash was getting renewed or they messed up the later seasons (Looking at you, The Witcher…)
    • They cracked down on password sharing, suddenly you need to be in the same WiFi to count as home or you need a travel code (limited to 2 a month and only for 2 weeks each), so if you regularly move between places it’s a no-go for a service you pay for

    I finally cancelled it, sick of their shit. Which also has the benefit of no longer having to take care of the account for the family. Unfortunately my dad accidentally took over the account (while trying to create a new one) and keeps paying the 4K price (I suggested at least going down to 1080p as the quality is shit either way). Simply idiotic :-/

    Personally I tried out Real Debrid and it has been pretty alright so far. The quality is better too, which is ridiculous.









  • Git is mainly tracking and saving changes, which works great for text, but not that well for data (especially binary). You won’t lose your data, but the Git repo will keep growing too fast.

    The big question here is: How often does the data change? If you just use it as a convenient format and rarely change things, it should be fine. Though as mentioned: It might make sense to export to SQL before putting it in Git then. As long as the size is reasonable too (Not storing gigabytes of data).

    Alternatives can be other sync services (Dropbox, Seafile, …) to keep your Git repo lean or even better: Set up a SQL server so the data is always in the same spot. Of course that depends on if you have internet everywhere you work (but you probably do).


  • You can’t trust the result if you only do one pass, because the result could be compromised. The entire point of the first pass is a simple: Safe, yes or no? And only when it’s safe do you go for the actual result (which might be used somewhere else).

    If you try to encode the entire checking + prompt into one request then it might be possible to just break out of that and deliver a bad result either way.

    Overall though it’s insanity to use a LLM with user input where the result can influence other users. Someone will always find a way to break any protections you’re trying to apply.



  • I’ve worked in a company that used linear code most of the time. And at first it felt really easy to read and work with. If you wanted to know what happened, just jump to the entry point, then read over the next 200 lines of code, done. No events, no jumping around between 10 different interfaces, it worked at first.

    But over time it became a total mess. A new feature gets added, now those 200 lines get another if/else at several spots, turns into 250 lines. Then a new option is added that needs to be used for several spots, 300 lines. 400 lines. 500 lines… things just escalate.

    You can’t test that function and bugs sneak in far too easily. If you want to split it up later into new functions it’s going to be a major hassle. There also was no dependency injection or using interfaces, other classes were often directly called or instantiated on the spot. Code reuse was spotty and the reused functions often got 5+ parameters for different behavior.

    It was horror after a while.

    The company I work for now uses interfaces, dependency injection, unit tests, but all the way down a function might still have 50 lines tops or so. It’s slightly tougher to find out where things happen, but then much easier to work with. You need a certain balance either way.


  • This would actually work well with a tag system. Like you have predefined content warning tags. “Porn”, “Nudity”, “Gore”, “Violence”, “Sexual assault”, or whatever might be in the text/image/video. Users could then filter tags in their settings.

    Defining the tags and enforcing them in communities would probably be the biggest hurdle.


  • Vlyn@lemmy.ziptoProgramming@programming.devThe Worst Programmer I Know
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    10 months ago

    You never heard of pair programming?

    With juniors Tim would pretty much be training them and nudging them on to write better code.

    With seniors, like the short article says, it’s more a sparring match, trying to find the best solution. You also find a lot of edge cases when someone else works with you together.

    I haven’t been in a company yet where they have a full time floating position for pair programming, but if it’s a senior doing it I can see how it’s very beneficial for product quality.


  • If you’re just trying out stuff in Godot your iGPU is totally fine (most likely). Try it first before looking for other solutions. Unreal Engine is a lot heavier (but of course with much better graphics). Though if you really just mess around with simple scenes and trying stuff out and you’re not actually trying to render anything impressive graphics wise even a slow GPU can keep up with that.

    When you actually want to do more with game development you might start to think about getting a better machine with a dedicated GPU and a better CPU, laptops overall are a bit iffy when it comes to that compared to a desktop (at least price and performance wise).