• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: March 4th, 2024

help-circle
  • Looks like you are correct. I don’t think I could find most if not any of the leaders from the leader pass. Including Sejong. That’s incredibly disappointing. Looking through the contents of the dlc from a proton install I’m not seeing anything that would prevent someone from just using it on Linux other than editing the paths. I’ll experiment some. Maybe I’m naive and there’s a reason why no one else has done it.

    Edit: proton has come so far that maybe Linux peeps just opt to use that for civ6. Especially since the Linux build might be a tad buggy? At least for me it’s definitely had issues.

    Edit2: Ha. It works. That’s wild that they would just lazily not repack it…

    • just copy the windows dlc packs over,

    • copy DLC/_/Platforms/Windows -> DLC/_/Platforms/Linux

    • Then inside the platform Linux dir

    find . -type f -name '*.modinfo' -print0 |
        xargs -0 sed -i 's#Platforms/Windows#Platforms/Linux#g'
    

    Some don’t seem to show up in game still so I’ll experiment more this weekend if I get time and throw together a bash script that downloads all the windows depots and patches them.

    Edit3: for the ones not working it might be due to case sensitive file system. They use audio when looking for Audio



  • SmartGit - lets you see the commands it’s running and has a fairly decent toolset for rebasing (but I stopped recommending them for awhile when they delisted their perpetual licensing. It looks like as of writing it’s returned but only allows for 1-3 years of updates depending on how many years you buy)

    I’ve had my eyes on lazygit and gitui as a cli supplement

    On a different note, I wish git lfs wasn’t such a pita. Orphaned pointers living forever on GitHub and eating up all your quota with no way to recover unless you DELETE the repo lol





  • Where’s the tin foil hat emoji when you need one?

    But actually I might have been confusing what I’m seeing on job boards with what all the recruiters are telling me or it’s a stale vibe from several months ago. Took another look at LinkedIn, indeed, dice and it seems relatively balanced if not listing more jobs with my stack like you said.

    Doesn’t change the fact that I’m not getting any interactions from these postings though. I finally got one response on indeed last week but after answering their questions and they said I was a strong candidate they directed me to a one way AI video interview site… 3 years ago I had recruiters banging down my door trying to get me into interviews left and right. Trying not to rant but long story short it’s not looking good for tech.




  • At that point I would argue composition/traits are the way to go.

    “This extends Draggable”. That’s great but now we can’t extend “Button” to override the click handler.

    Traits: You wanna have Health, and do Damage, but don’t want to implement InventoryItem? No problem. You wanna be an Enemy and InventoryItem? Go for it. What’s this function take? Anything that implements InventoryItem + Consumable





  • With such a complex system like that it would probably be beneficial to actually build the parts you care about and take advantage of libraries handling the querying of Data like ECS and rendering with bevy. Otherwise you’ll run into the risk of being limited by the library in one way or another.

    Define a bunch of structs that you can use compositionally in bevy’s ECS. Create specific systems that react to components being added, removed, or changed. Set conditions like Burnability, Durability, Temperature… etc. React to those conditions or thresholds being met. Your reaction could even be a component. Damage(5), IgnoreArmorDamage(3), CurrencyUpdate(-5), GiveItem(Item::Sword(Stats {…}))

    It basically gives you a foundation that feels like scripting but with the power of compile time safety for virtually everything. You get to “model” the data how you want instead of being limited or overwhelmed. And with ECS it really helps make things feel like Lego blocks that you can easily reuse across the entire project.


  • I want to say I think they are talking about how great it would be if we could kick JavaScript to the curb and just use WASM for everything. I’m kind of in the same boat.

    However, WASM currently doesn’t have direct access to things like the DOM, if I recall correctly (this might be the guardrails the OP was referring to?). So, it’s only really good for things that are heavy on the CPU. But, as a counterpoint, I don’t think it’s from a lack of effort from anyone’s point. The last thing I remember reading was that there were still a lot of things being worked on to make it happen.

    Quick Perplexity search:

    There are proposals and efforts underway to allow WASM to eventually call DOM APIs directly, without going through JavaScript. The main one is the “Interface Types” proposal which would allow WASM to bind to Web IDL interfaces.

    Another related proposal is WASM GC (garbage collection) which was announced at Google IO 2023. This will allow WASM to share the same managed heap as JavaScript.