Jump to content
The Dark Mod Forums

stgatilov

Active Developer
  • Posts

    6958
  • Joined

  • Last visited

  • Days Won

    255

Status Updates posted by stgatilov

  1. Sometimes when I try to post comment in bugtracker page that I opened days ago, bugtracker says my session is expired and my comment is lost.

    I have discovered plausible workaround. When I see expiration message, I open browser's dev tools, go to network tab and refresh page. Then I select POST request and copy my text from its content.

  2. Shadow maps is all around me.

    1. Show previous comments  7 more
    2. Xolvix

      Xolvix

      Quote

      Ok, but that benefit is not any more since 2.11

      Sure, but by that point I got used to shadow maps and it seems clear from development notes that shadow maps are the future of the engine and will get the most focus. Plus occasionally I've seen some mappers suggest not using stencil shadows because they glitch out in their missions.

    3. jaxa

      jaxa

      Spam is all around me

    4. madtaffer

      madtaffer

      >Shadow maps is all around me.

      Let there be light

  3. Bumped into an interesting piece of wisdom called Hyrum's Law:
    With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.

    1. Show previous comments  2 more
    2. stgatilov

      stgatilov

      Love and hate are close friends 😉
      Also: there are libraries that everyone complains about and libraries that nobody uses 😁

    3. STiFU

      STiFU

      I'd be curious to hear some actual examples where the MSVC implementation of STL diverges from what the standard dictates and developers actually rely on that divergence. I honstely can't imaging there are any instances. The only thing I could think of is that some programmers might rely on implementation where the standard indicates "undefined behaviour", but that would be a major error on the programmers part.

    4. stgatilov

      stgatilov

      One example from recent practice: I had to advise my colleague to not use std::hash<int>, because while it makes some useful things on MSVC, it is a plain identity function for integers on GCC. That's because standard does not control the quality of hash functions at all, so GCC decides to put the hash finalizer into the hash table. I think he just used boost hash function in the end: it has same implementation on all platforms.

      Another case is C++11 random. We all know that C rand sucks for many reasons, and different algorithm on different platforms is one of the reasons. For testing purposes, it is often desirable to have exactly the same PRNG on all platforms. For that reason C++11 generators are fully defined by the standard: std::mt19937 works exactly the same way on Windows and Linux. But the distributions are not fixed. So if you use std::mt19937 + std::uniform_int_distribution, then you'll get different results on MSVC and GCC. Reinvent that wheel yourself 😉

      Another example might be std::deque. Ideologically, people expect it to be a linked list of chunks. But it seems (I did not test this myself, I prefer reinventing such wheels) that MSVC implementation has very small size of chunks, so it boils down to be a worse version of std::list.

      In all of the cases, all implementations fully comply with the standard requirements. But as a programmer, you might expect or implicitly rely on some properties in terms of performance/reproducibility and thus depends on implementation details, which are not cross-platform.

  4. I find it alarming that 5 missions with 2.10-only elements take 15% of space among all 158 released missions.

    1. Show previous comments  4 more
    2. duzenko

      duzenko

      I find it alarming that core assets get more irrelevant as years pass by. In 2022 it's expected to have gigabytes of textures. And we don't want more missions with the same re-shuffled rooms and models.

    3. Dragofer

      Dragofer

      It might be worth to launch an initiative to merge new custom content with the core assets.

    4. AluminumHaste

      AluminumHaste

      You're looking at this all wrong. Every new mission that comes out with custom assets should be a big thank you for contributing to the core game. No reason they can't be added.

      Nobody should be making assets for tdm with the express intent of a single release/use.

  5. I bought HDMI switcher. Only to learn that my monitor has no HDMI input.

    1. Show previous comments  1 more
    2. duzenko

      duzenko

      If you have multiple inputs on the monitor that should do it

    3. Anderson

      Anderson

      Usually HDMI/USB cables work. There are also HDMI to USB transferable controllers as well as inputs so that you can insert your microphone/speakers if only your USB works, especially on old PC's.

    4. stgatilov

      stgatilov

      Installed RX550, connected via DisplayPort. After a bit of testing, I had to reevaluate my view on soft shadows performance =)

  6. Tried Windbg TTD on TheDarkMod. Works well by attaching, but FPS drops to 1-2 (on smallest FM). Loading from scratch creates 25 GB trace and takes hour of indexing =)

  7. Second morning with -35°C. Clothing is tiresome. Skin dries up. Wife is depressed. We only want to eat and sleep like bears.

    1. Show previous comments  9 more
    2. Petike the Taffer

      Petike the Taffer

      Epifire: A relative of mine was in disbelief you're having temperatures that low. Hopefully they'll rise a little in the coming days and weeks !

    3. AluminumHaste

      AluminumHaste

      I've heard that snoo snoo helps with depression AND cold temps.....

    4. stgatilov

      stgatilov

      -12C now. The tough times are over =)

  8. I'm thinking about buying a cheap Radeon card and HDMI switcher to toggle between NVIDIA and AMD GPUs. Does it sound like a feasible setup?

    1. Show previous comments  3 more
    2. stgatilov

      stgatilov

      It seems that the choice is between RX550 and R240 (there is also very cheap R230, which is pre-GCN card).

    3. Jetrell

      Jetrell

      There's a good reason why the R230 is so cheap and it's basically because it's a pre-GCN card. If your budget allows, I'd get the R240 card but the RX550 is fine also.

    4. duzenko

      duzenko

      I'd think about a laptop with a Ryzen IGP

  9. I caught a flu, so won't appear here in the nearest days/week. As a matter of fact, playing beta207-05 is the best thing to do right now =)

    1. Show previous comments  8 more
    2. stgatilov

      stgatilov

      Thank you for kind words! They worked: the worst part ended much quicker than I expected =)

    3. STiFU

      STiFU

      Good thing, you're back!

    4. Petike the Taffer
  10. Returned from business trip a week ago, and bumped into the contest preparation. The next window of freedom is expected in the first days of October. Sorry TDM =(

    1. RPGista

      RPGista

      A contest, you say? Well, good luck man, have fun!

    2. Tarhiel

      Tarhiel

      Good luck with the contest :)

       

    3. stgatilov

      stgatilov

      The contest is over. I have a few weeks of fresh air =)

  11. Going to vacation until the end of August. Do not break trunk too much, please =)

    1. Sotha

      Sotha

      Enjoy the holidays and try not to get too trunk! ;D

    2. grayman
    3. RPGista

      RPGista

      Have a good one, man

  12. Preparing programming contests (until the middle of November). In case of urgent issues, especially related to my code changes, please PM me directly.

  13. Leaving for vacation on 10th of August. Won't be able to do anything with TDM. Will return in the end of August.

    1. nbohr1more

      nbohr1more

      Enjoy the vacation!

    2. Obsttorte

      Obsttorte

      You gotta fight, for your right, to ... paaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarty :)

      Enjoy your vacation :D

    3. grayman
  14. Preparing for a big hardware update.

    1. Show previous comments  4 more
    2. Bikerdude

      Bikerdude

      @Stgatilov, are you staying with Win7/8 and older hardware..?

    3. stgatilov

      stgatilov

      @Bikerdude, No, I'm buying Ryzen and Win10. I hate the fact that I can't just stay on Win7 indefinitely, but we'll all inevitably be there =(

    4. Tarhiel

      Tarhiel

      @stgatilov Oh, so does it mean Ryzen does not support Win7, or it is because you would like to utlize DX12, or some other reason?

  15. Going to look at the "x64" branch...

  16. Congratulations to TDM team for the 1.04 release!

×
×
  • Create New...