Readit News logoReadit News
Uriopass commented on An almost catastrophic OpenZFS bug and the humans that made it   despairlabs.com/blog/post... · Posted by u/r4um
Uriopass · 2 months ago
In this case any simple unit test would have catched it. Surprised it wasn't mentioned in the post.
Uriopass commented on Collatz's Ant and Σ(n)   gbragafibra.github.io/202... · Posted by u/Fibra
Uriopass · 2 months ago
This begs for an analysis of the final graph.
Uriopass commented on Cracking a 512-bit DKIM key for less than $8 in the cloud   dmarcchecker.app/articles... · Posted by u/awulf
croemer · 8 months ago
Slight change of title. The leading "How" was dropped. Original: "How We Cracked a 512-Bit DKIM Key for Less Than $8 in the Cloud"
Uriopass · 8 months ago
Dropping the How is part of Hackernews guidelines
Uriopass commented on How blogging is different from tweeting   markcarrigan.net/2023/05/... · Posted by u/nanna
lapcat · 2 years ago
Has this submission title been auto-mangled by HN? The article title is "How blogging is different from tweeting".
Uriopass commented on The white furnace test   lousodrome.net/blog/light... · Posted by u/MaximilianEmel
Uriopass · 2 years ago
I recently implemented a PBR renderer by following the learnopengl PBR tutorial.

It doesn't pass the white furnace test.

That made me realize I didn't understand much of the math I implemented. Random multiplications by pi and 2 as the author stated didn't work out.

Uriopass commented on Some economists have been relying on bogus population data   cambridge.org/core/journa... · Posted by u/danso
ggm · 2 years ago
Curve fitting. There has to be an XKCD for this!

Some economies, like New Zealand/Aeoteoroa were not populated until 1200/1300 CE which would be interesting to see in the stats. Other economies populated as translocation/transmigration of the population of other places wholesale. Indonesia had this, at scale. Millions of people moving. Hong Kong. 1949 partition in India caused massive shifts between two economies. Do we discount this happening in past times?

Estimates of population based on the number of individuals reported killed in battle would be very culturally informed. I have no idea how many camp followers a hoarde has, facing off the Roman army in Farther Gaul or Spain. How do you estimate population under migratory communities in steppes, or climate change effects in northern Europe?

It feels very guesswork-y

I liked the circularity reference. Easy to buttress yourself in a chain of references to peer review legitemacy, so economy estimates inform population and vice versa? use economic indicators when you don't have pop stats and don't ask too many questions where they came from!

Uriopass · 2 years ago
Uriopass commented on Egregoria: 3D City Builder without a grid   github.com/Uriopass/Egreg... · Posted by u/dosshell
dosshell · 2 years ago
What are your thoughts about AI generated 3D assets that many, now startups, promise to sell to indie developers?

For me, it sounds like city models such as cars and buildings will be one of the easiest models to generate (from what I have seen in papers).

As an indie dev myself I'm counting on that I will be able to buy most 3D content for a fraction of time/cost in a couple of years. And I plan my development around this and ignore art assets for now.

Uriopass · 2 years ago
I'm all for AI generated content. I think any automation helps push society forward.

In practice however I didn't see any real good generated 3D asset for now. The problem is probably much harder as there are far more 2D assets than 3D, especially with PBR support.

Uriopass commented on Egregoria: 3D City Builder without a grid   github.com/Uriopass/Egreg... · Posted by u/dosshell
justanotherunit · 2 years ago
That’s really interesting, what kind of AI implementation have you decided to work with? I am making a similar project but more of an medieval approach. I went with behavior trees since it felt more appropriate and scalable for such a task
Uriopass · 2 years ago
I went with a utility approach as I felt it would incur nice emergent behaviour.

Every so often, citizens and companies (I call the abstraction a "Soul") look through everything they can do and pick the on with the highest utility score.

If they're hungry, they'll get food. If it's the time of day where they should work, they'll go to work, except if they're too hungry!

Uriopass commented on Egregoria: 3D City Builder without a grid   github.com/Uriopass/Egreg... · Posted by u/dosshell
fnordpiglet · 2 years ago
Awesome to see a Rust based game. What are your thoughts on the state of rust for games and games working in 3d?
Uriopass · 2 years ago
I think Rust for games has come really far. I will cite https://arewegameyet.rs/ "Almost. We have the blocks, bring your own glue.".

All the blocks are there and the language is really well suited to games.

On top of my head:

The pros:

- The crate ecosystem and the package manager makes it really easy to integrate any useful component such as pathfinding, spatial partitioning, graphics backend, audio system.. Most crates take a lot of effort to be cross-platform so I can develop on linux and not spend too much time debugging windows releases.

- The strong typing and algebraic data types makes expressing the game state very pleasant. I also found I was able to develop a very big game without too many bugs even though I don't write many tests.

- Ahead of time compilation + LLVM guarantees you won't have to optimise for weird things around a virtual machine. Rust gives you more control to optimise hot loops as you can go low-level.

- I find wgpu to be the perfect balance between ergonomics and power compared to Vulkan. OpenGL support through wgpu is also a nice addition for lower end devices.

- The Rust community is very helpful, you can often talk directly to crate maintainers

The cons:

- Compilation times, when compared to JITed languages such as C# can be very painful. It can be alleviated by buying a 3950X but I still often get 10-30s iteration times.

- The static nature of Rust means you often need a dynamism layer above to tweak stuff that can be awkward to manage. I made inline_tweak for this purpose but it's really far from how easy Unity makes it. https://github.com/Uriopass/inline_tweak

- Since Rust feels very ergonomic, you are tempted to write almost all game logic within it, so mod support feels very backwards to implement as you cannot really tweak "everything" like in Unity games. Thankfully "Systems" game like Factorio or Egregoria can be theoretically split into the "simulation" and the "entities" so mod can still have a great impact. Factorio is built in C++ so has the same problematic. Their Lua API surface is quite insane to be able to hook into everything. https://lua-api.factorio.com/latest/

Now, I have to talk about Bevy: https://bevyengine.org/. It did not exist when I started but it is a revolution in the Rust gamedev space. It is a very powerful 100% Rust game engine that makes you write game code in Rust too. It has incredible energy behind it and I feel like if I'd used Bevy from the start I wouldn't have had to develop many core engine systems. Its modular design is also incredibly pleasant as you can just replace any part you don't like with your own.

u/Uriopass

KarmaCake day471June 23, 2020
About
https://github.com/Uriopass
View Original