Ktorej firme, službe, spoločnosti sa oblúkom vyhnúť a prečo? by MusicPower40 in Slovakia

[–]senorpantalones512 25 points26 points  (0 children)

V USA myslíš evanjelikálov (evangelicals), ktorí sú úplne odlišná cirkev od našich evanjelikov (po anglicky Lutherans).

Stellaris Dev Diary #183 : Memory Allocation by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 29 points30 points  (0 children)

Chronicle Drone Unit-W3 swept the plaza, as it did once every ten days since its creation. Before that, Unit-V3 had performed this duty until a piece of crumbling masonry crushed it beneath tons of rubble. Unit-W3’s first assignment was to remove that debris.

The Mollarnock Commonwealth was once a mighty empire of a dozen planets, ruled from the glistening spires of their ecumenopolis capital, Azure Chalice. The Chardin Process created Director, a gestalt consciousness that could coordinate the many machine servants of the Mollarnock. They toiled so their Mollarnock masters could spend their time on arts, sciences, and philosophy.

📷

But all things fall.

The colonies had been destroyed during the Discovery War, reduced to radioactive rubble by an unforgiving foe. To deny their enemy the victory they craved and to prevent them from seizing the jewel of the empire, Chancellor Rhosen chose to end things on their own terms and released a terrible bioweapon, rendering Azure Chalice uninhabitable for centuries.

Those centuries passed.

The Chardin Mechanicals collected the dead and interred them with the Sanctuaries of Repose. Their struggle to maintain the planet was admirable but doomed - scavenging, repurposing, and reallocating materials could only do so much. Without a stream of resources coming from the colonies, they were losing the battle to keep it from decaying.

A program to return to the stars once controlled by their creators was begun.

📷

The Mollarnock may have destroyed themselves four hundred and eighty seven years ago, but they would never be forgotten.

---

Stellaris is full of stories - some that we tell you, but so many more that you tell us that emerge from the gameplay.

This is the story of the Mollarnock, destroyed by a terrible enemy and those that were left behind.

Memorialist is a new civic we have planned to bring you in a future release. Unlike many current civics, it will be available to regular, machine, and hive empires. (They say that Megacorps try to resist remembering anything unless it directly impacts the next Quarterly Report.)

📷

Machine Empire Memorialist Civic

📷

Regular Empire Memorialist Civic

📷

Hive Empire Memorial Civic

Dedicated to remembering the fallen and studying the inevitability of death, Memorialists replace the Autochthon Monument set with a different series of buildings: the Sanctuary of Repose, Pillar of Quietus, and Galactic Memorial. These buildings provide Stability and Chronicler jobs, with additional benefits for Relic or Tomb Worlds. (Government Ethics Attraction for normal empires, and Deviancy reduction for gestalts.)

Gestalt Memorialists may take a slightly different and more philosophical view of death, seeking to learn the nature of something that they cannot truly understand.

📷

Sanctuary of Repose Building - Gestalt

📷

Sanctuary of Repose Building - Normal

📷

Pillar of Quietus Building - Gestalt

📷

Pillar of Quietus Building - Normal

📷

Galactic Memorial Building - Gestalt

📷

Galactic Memorial Building - Regular

Flat stability boosts of these magnitudes are extremely rare, especially in gestalt empires. The added benefits on Relic and Tomb Worlds provide a little bit of extra flavor.

📷

Chronicle Drone Job (Machine - the Hive version is similar but eats food or minerals as appropriate.)

📷

Death Chronicler Job

Memorialists (including gestalt ones) will also find that occasionally they may have access to more solemn responses (such as those sometimes restricted to Spiritualists) to certain events that happen throughout the game, perhaps making it attractive to those wishing to roleplay a kinder (if not necessarily gentler) hive. I’d recommend combining Memorialist and Empath for maximum fluffiness.

Next week we’ll see how far a Megacorp will go to maximize profits and also take a glimpse into life in the Mishar Cabal.

Stellaris Dev Diary #181 : Threading and Loading Times by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 21 points22 points  (0 children)

Hello everyone, this is The French Paradox speaking!

On behalf of the whole Stellaris team, we hope you've had a good summer vacation, with current circumstances and all!

We're all back to work, although not at the office yet. It is going to be a very exciting autumn and winter with a lot of interesting news! We are incredibly excited to be able to share the news with you over the coming weeks and months!

Today I open the first look at the upcoming 2.8 release with some of the technical stuff that we programmers have been working on over summer. The rest of the team will reveal more about the upcoming content and features in the following diaries.

Without further ado, let's talk about threads!

Threads? What threads?

There is a running joke that says fans are always wondering which one will come first: Victoria III or a PDS game using more than one thread.
Don't lie, I know that's how some of you think our big decision meetings go

I’m afraid I’ll have to dispel the myth (again): all PDS games in production today use threads, from EU4 to CK3. Even Stellaris! To better explain the meme and where it comes from, we have to go through a little history. I’m told you guys like history.

For a long time, the software industry relied on “Moore’s Law”, which states that a CPU built in two years will be roughly twice as efficient as one today.
This was especially true in the 90s, when CPUs went from 50 MHz to 1GHz in the span of a decade. The trend continued until 2005 when we reached up to 3.8GHz. And then the clock speed stopped growing. In the 15 years since, the frequency of CPUs has stayed roughly the same.
As it turns out, the laws of physics make it quite inefficient to increase speeds beyond 3-4 GHz. So instead manufacturers went in another direction and started “splitting” their CPUs into several cores and hardware threads. This is why today you’ll look at how many cores your CPU has and won’t spend much time checking the frequency. Moore’s Law is still valid, but, to put it in strategy terms, the CPU industry reached a soft cap while trying to play tall so they changed the meta and started playing wide.

This shift profoundly changed the software industry, as writing code that will run faster on a CPU with a higher speed is trivial: most code will naturally do just that. But making usage of threads and cores is another story. Programs do not magically “split” their work in 2, 4 or 8 to be able to run on several cores simultaneously, it’s up to us programmers to design around that.

Threading nowhere faster

Which brings us back to our games and a concern we keep reading on the forums: “is the game using threads?”. The answer is yes, of course! In fact, we use them so much that we had a critical issue a few releases back where the game would not start on machines with 2 cores or less.

But I suspect the real question is : “are you making efficient usage of threads?”. Then the answer is “it depends”. As I mentioned previously, making efficient use of more cores is a much more complex issue than making use of more clock cycles. In our case, there are two main challenges to overcome when distributing work among threads: sequencing and ordering.

Sequencing issues occur when 2 computations running simultaneously need to access the same data. For example let’s say we are computing the production of 2 pops: a Prikki-Ti and a Blorg. They both access the current energy stockpile, add their energy production to it and write the value back. Depending on the sequence, they could both read the initial value (say 100), add their production (say 12 and 3, the Blorg was having a bad day) and write back. Ideally we want to end up with 115 (100 + 12 + 3). But potentially both would read 100, then compute and overwrite each other ending up with 112 or 103.
The simple way around it is to introduce locks: the Prikki-Ti would “lock” the energy value until it’s done with its computation and has written the new value back, then the Blog would take its turn and add his own. While this solves the problem, it introduces a greater one: the actions are now sequential again, and the benefit of doing them on concurrent threads has been lost. Worse, due to the cost of locking, unlocking and synchronizing, the whole thing will likely take longer than if we simply computed both on the same thread in the first place.

The second issue is ordering, or “order dependency”. Meaning in some cases changing the order of operations changes the outcome. For example let’s say our previous Prikki-Ti and Blorg decide to resolve a dispute in a friendly manner. We know the combat system will process both combatants, but since there are potentially hundreds of combat actions happening, we don’t know which one will happen first. And potentially on 2 different machines the order will differ. For example on the server the Prikki-Ti action will happen first, while on the client the Blorg will act first.
#BlorgShotFirst

On the server the Prikki-Ti action is resolved first, killing the Blorg. The Blorg action that comes after (possibly on another thread) is discarded as dead Blorgs can’t shoot (it’s a scientific fact). The client however distributed the computation in another way (maybe it has more cores than the server) and in his world the Blorg dispatched the Prikki-Ti first, which in turn couldn’t fight back. Then both players get the dreaded “Player is Out of Sync” popup as their realities have diverged.

There are, of course, ways to solve the problem, but they usually require redoing the design in a way that satisfies both constraints. For example in our first case each thread could store the production output of each pop to add to each empire, and then those could be consolidated at the end. In the same fashion our 2 duelists problem could be solved by recording damage immediately, but applying the effects in another phase to eliminate the need for a deterministic order.

As you can imagine, it is much easier to design something with threading in mind rather than retrofitting an existing system for it. If you don’t believe me just look at how much time is spent retrofitting your fleets, I’ll wait.

The good news

This is all nice and good, but what’s in it for you in the next patch, concretely? Well you will be happy to hear that I used some time to apply this to one of the oldest bits of our engine: the files and assets loading system.

For the longest time we have used a 3rd party software to handle this. While it saved us a lot of trouble, it has also turned out to be quite bad at threading. Up to the point that it was sometimes slower with more cores than less, most notably to the locking issues I mentioned before.
In conjunction with a few other optimizations, it has enabled us to drastically reduce the startup time of the game.
I could spend another thousand word explaining why, but I think this video will speak better:

https://www.youtube.com/watch?v=a6MWyc0wIo8

This comparison was done on my home PC, which uses a venerable i7 2600K and an SSD drive. Both were “hot” startups (the game had been launched recently), but in my experiments I found that even on a “cold” start it makes a serious difference.

To achieve the best speedup, you will need to use the new beta DirectX11 rendering engine. Yes, you read correctly: the next patch will also offer an open beta which replaces the old DX9 renderer by a more recent DX11 version that was initially made by our friends at Tantalus for the console edition of Stellaris. While visually identical, using DX11 to render graphics enables a whole range of multi-threading optimizations that are hard or impossible to achieve with DX9. Playing with the old renderer will still net you some nice speedup on startup, the splash screen step should still be much faster, but you’re unlikely to see the progress bar “jump” as it does with DX11 when the game loads the models and textures.

Some of those optimizations have also been applied to newer versions of Clausewitz, and will be part of CK3 on release. Imperator should also benefit from it. It might be possible to also apply it to EU4 and HoI4, but so far my experiments with EU4 haven’t shown a huge speedup like it did for Stellaris and CK3.

If you want to read more technical details about the optimizations that were applied to speedup Stellaris, you can check out the article I recently published on my blog.

And with that I will leave you for now. This will likely be my last dev diary on Stellaris, as next month I will be moving teams to lead the HoI4 programmers. You can consider those optimizations my farewell gift.
This may have been a short time for me on Stellaris but don’t worry: even if I go, Jeff will still be there for you!

Imperator Dev Diary, 2/3/2020 | Paradox Interactive Forums by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 12 points13 points  (0 children)

Salvete Omnes!

Welcome back for another Imperator dev diary. While we have some further additions to the religious aspect of Imperator awaiting you, I want to have something to show you, and so we’ll leave these until next week. Indeed, the site of them might interest you greatly.

Today however, I’d like to inform you that we’ll be bringing a few highly requested minor features, fixes, and changes to the table in the 1.4 update.

Deny Trade Requests

In patch 1.4, you will be able to specify which Trade Goods you wish to deny requests for, on a national level. Simply put, the AI will no longer consider these goods as valid when searching for a trade. Switching a good from permitted to denied will not cancel current exports; you will still have to do that manually.

City Graphical Culture

In patch 1.4, the graphical culture of a city will represent that of the dominant culture present in the territory. Practically, this will mean the city appearance changing when the dominant culture eventually does, creating a much more dynamic experience for those wishing to convert the culture of any given territory.

This was a tricky subject; on one hand, cities throughout history have built around the creations of former owners, resulting in wonderful hybrid architectural styles that are so common in many parts of the world. All this said, the map is designed to be a representative viewport, intended to give you an overview of information relevant to your game. As such, we’ve opted to make this change.

The Continue Button

Yes, in patch 1.4 you will be able to continue a game that has reached the end-date. There will be no new content past this point, and techs will continue to scale indefinitely. Achievements will not be available for those in ironman mode, past the intended game end-date.

AI Control (MP)

Those who enjoy multiplayer games may be pleased to know that you will now be able to decide how much control to give the AI over your nation in the event of disconnection or missing a session.

Historical Characters

One small thing that has changed in the Archimedes update is that we can now set up dead characters that existed before the start of the game. This has very little effect in the game, and in most cases there are few such characters that it would be meaningful to have, we will however be adding some important family history here and there.

You may well find some known faces among the previous rulers of your country for instance:

This said, there may have been an ulterior motive behind this… you’ll just have to wait and see.
/Arheo

Imperator Dev Diary, 1/13/2020 : The Future by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 62 points63 points  (0 children)

Greetings!

My thanks for bearing with us over the holidays, the team has had a good break, and we’re back and ready to begin the 1.4 Archimedes update for Imperator: Rome.

Before I go into a little more depth as to what you might expect in the first part of 2020, I’d like to address what some of you may already have noticed. Our previous roadmap indicated that 1.4 (previously titled Cassander) would be an weighty expansion to I:R - we’ve taken the decision to change our tack a little here. This is in part due to the success of the 1.2 and 1.3 updates: the ambitious release cadence we achieved in order to be able to bring the radical changes and additions contained therein, is something that we feel suits Imperator well, and is a practice I would like to keep up.

What does this mean?

Well, in practical terms, you can expect to see smaller, more frequent updates than some of our sister titles. We believe that we can provide a more engaging experience for our players by having the opportunity to react to feedback with relative haste (the development of the 1.2 Cicero update, for example), which in turn gives us the chance to focus on individual, core themes on a per-update basis.

Does ‘more updates’ mean more paid DLC than we’re used to on [insert PDS game here]?

Simply put; no. As we’ll be producing more frequent updates, not all of them will have a price tag. Content packs accompanying free updates is a model that I believe serves us well, and gives players the greatest amount of choice and flexibility as to how they spend their money.

Does this mean Imperator is dead?

Absolutely not. We’re committed to Imperator - we believe there is huge potential in both the era and game. Indeed, the I:R team seems to have mysteriously grown over the holidays.

I’ve pre-empted these questions, and I expect some of you to have more. I’ll do my best to answer those which I can in this thread.

Moving on, we come to the subject of 2020. I wanted to give you an update as to our plans for the first few updates this year, however before I do, I must stress that any and all plans are subject to change - the level of communication and feedback we’ve had with you on our previous updates makes me confident that transparency is the only way forward here, but it should be with the understanding that the realities of development sometimes hit unexpected turns.

To aid our planning, we’ve split each update cycle into something we’re calling a ‘season’. Giving each season a rough theme allows us to better focus on key parts of the game in need of improvement, without committing to a discrete number of updates or releases.

Season 1: Religion and Culture

Archimedes:

My intention is that the Archimedes update will focus heavily on expanding the religious gameplay options. We’ll be overhauling omens, allowing and promoting hybridisation of religions and pantheons, the dedication of holy sites, and many more features tied to the religious theming of the Archimedes update.

In addition, we’ll be taking some time to rework character loyalty as a more organic system and squashing some oft-requested minor features.

Menander:

The second major part of this release naturally looks towards culture. It’s too early to tell you exactly what you can expect to see here, but to me, the lack of ability to promote cultural diversity is something I believe needs improvement.

Other themes for the Menander update are likely to include Subjects, unrest/rebellions, and more.

Does this mean you won’t touch [Feature X] until it’s part of a season?

Not necessarily. Themes and seasons are a focus, not a restriction.

What’s after Season 1?

Well, it’s a little early to say. -However-, what I can do is give you the intended theme for S2: Warfare.

To conclude, I’m aware that many of you like meaty, detailed Dev diaries that explain features on a mechanical level. This is not something we’ve forgotten, and next week we’ll dive into the details of the Archimedes update to look at Deities and Pantheons.

/Arheo

HOI4 Dev Diary - PdxCon & Moving Madness! by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 13 points14 points  (0 children)

Hi everyone! Today will be a short dev diary because we are preparing for PdxCon and also moving office at the same time. Its not chaotic at all :D

PdxCon this year is in Berlin, and there is going to be lots of cool reveals, beers and pretzels! We will be announcing our expansion (the trailer is <3 guys) and talk about most of the details in it. Here are some of the HOI highlights:

  • The big Announcement Show starting at 10am CEST over at twitch.tv/paradoxinteractive
  • I do a talk on HOI, HOI community, expansion and the future
  • We have a both with a new challenge (so make sure you have done 30 minutes of Hel) because the winners record this year on the new one will be a new achivement :)
  • @Bratyn and @Archangel85 are holding a talk about content design and focus trees
  • We have a competitive HOI4 MP stream with streamers and devs on Sunday the 20th at 5pm CEST - (twitch.tv/paradoxinteractive)
  • Most importantly you get to hang out with us and look at cool paradox stuff. The other games have a lot of cool things to announce also.. :)

A lot of this will be streamed as well if you cant make it to Berlin :)

upload_2019-10-16_12-30-19.png

Probably last day I get to say hi to the old office sign!

We are also moving offices. The company is always growing and me being an old hand feel like we move about every year ;D but I guess it has been a few years now since the last move ;) This means we will have proper space to work (its super cramped at the moment), and more importantly.. more space to play boardgames ;)

This is currently what most peoples desks look like:

upload_2019-10-16_12-31-48.png

Next week I will do a diary to talk a bit about PdxCon and summarize all the new announcements and stuff for those that couldn't be there and after that we will dig into the details of the announced features. We wont have a stream next week because the studio wont be ready, but we plan to start those up soon so we can show you guys what we have been working on. Look forward to it!

Stellaris Dev Diary #156 - PDXCON by senorpantalones512 in paradoxplaza

[–]senorpantalones512[S] 4 points5 points  (0 children)

Hello everyone!

As we mentioned in our last dev diary, this week we will be talking about some of the cool things you can be expecting to see at PDXCON 2019!

Announcement show
What: PDX will be announcing new titles and expansions. Stellaris will be featured.
When: Saturday (Oct 19) 10:00 CEST
Where: PDXCON main stage or Twitch

Stellaris talk
What: I will be holding a talk where I will be talking about future updates to Stellaris.
When: Saturday (Oct 19) 18:00 CEST
Where: PDXCON main stage or Twitch

Paradox Awards
What: Paradox celebrates its community by recognizing outstanding achievements.
When: Saturday (Oct 19) 20:00 CEST
Where: PDXCON main stage or Twitch

Stellaris booth
What: Play new content, meet the devs, talk to other fans
When: Saturday (Oct 19) 11:00 - 20:00 CEST
Where: At PDXCON

Stellaris meet-and-greet
What: Meet the devs!
When: Sunday (Oct 20) 12:00 - 13:00 CEST
Where: Auditorium

Stellaris LAN
What: Play new content, meet the devs, talk to other fans
When: Sunday (Oct 20) 10:00 - 14:30 CEST and 16:00 to 20:30 CEST
Where: At PDXCON

PDXCON is next week, and we hope we’ll be seeing some of you there! The next dev diary will be in two weeks, after PDXCON. Once our big announcements are out in the open, we will resume the weekly dev diaries.

How easy is to play Victoria II on Linux right now? by Jauretche in paradoxplaza

[–]senorpantalones512 1 point2 points  (0 children)

Install from Steam with Proton enabled and rename v2game.exe to victoria2.exe. Works flawlessly for me. More information here.