Readit News logoReadit News
greener_grass commented on Stride Game Engine 4.3 with .NET 10 Support   stride3d.net/blog/announc... · Posted by u/bj-rn
eknkc · 13 days ago
Let's say I want to create a small 2D game. I'm no game dev so nothing fancy, just a PoC. I'm willing to take a code first approach and I love C#. What is my best best?

- Unity seems promising but they have a weird version of mono running things and not so recent C# features available. Might be a non issue.

- Godot seems more promising for my use case but I feel like they want you to use GDScript. I don't want to use GDScript while there is a perfectly capable C# engine there. Is .NET second class in Godot?

- MonoGame was basically abandoned for a long time. I wonder if it got any better. That might be a little too much "code first" though.

Stride.. I just heard it the first time ever. Its a shame. And apparently it is a proven engine especially in VR space. Jumped on it, unfortunately no macOS support available so can't dig in right now.

greener_grass · 13 days ago
MonoGame is stable and still receiving updates.

I would strongly suggest that for quick code-first prototypes. The boiler-plate of "load a texture and render to screen" is quite minimal - you could perhaps make a small library for yourself?

It also has no opinions about how you structure your game data. This means you can represent things like a Flappy Bird clone as just a `Vector2`, rather than having to bash a graph of entities in the shape you want.

greener_grass commented on Advent of Code 2025   adventofcode.com/2025/abo... · Posted by u/vismit2000
duxup · 14 days ago
On sorta the same topic:

In the programming world I feel like there's a lot of info "for beginners" and a lot of folks / activities for experts.

But that middle ground world is strange... a lot of it is a combo of filling in "basics" and also touching more advanced topics at the same time and the amount of content and just activities filling that in seems very low. I get it though, the middle ground skilled audience is a great mix of what they do or do not know / can or can not solve.

I don't know if that made any sense.

greener_grass · 14 days ago
CodeWars has a nice Kata grading system that features many intermediate level problems.
greener_grass commented on How/why to sweep async tasks under a Postgres table   taylor.town/pg-task... · Posted by u/ostler
koolba · 23 days ago
The article says:

> Never Handroll Your Own Two-Phase Commit

And then buried at the end:

> A few notable features of this snippet:

> Limiting number of retries makes the code more complicated, but definitely worth it for user-facing side-effects like emails.

This isn't two-phase commit. This is lock the DB indefinitely while remote system is processing and pray we don't crash saving the transaction after it completes. That locked also eats up a database connection so your concurrency is limited by the size of your DB pool.

More importantly, if the email sends but the transaction to update the task status fails, it will try again. And again. Forever. If you're going to track retries it would have to be before you start the attempt. Otherwise the "update the attempts count" logic itself could fail and lead to more retries.

The real answer to all this is to use a provider that supports idempotency keys. Then when you can retry the action repeatedly without it actually happening again. My favorite article on this subject: https://brandur.org/idempotency-keys

greener_grass · 18 days ago
> The real answer to all this is to use a provider that supports idempotency keys. Then when you can retry the action repeatedly without it actually happening again. My favorite article on this subject: https://brandur.org/idempotency-keys

Turtles all the way down?

Let's say you are the provider that must support idempotency keys? How should it be done?

greener_grass commented on AI has a deep understanding of how this code works   github.com/ocaml/ocaml/pu... · Posted by u/theresistor
autumnstwilight · 20 days ago
>>> Here's my question: why did the files that you submitted name Mark Shinwell as the author?

>>> Beats me. AI decided to do so and I didn't question it.

Really sums the whole thing up...

greener_grass · 19 days ago
Is the real Mark Shinwell on here?

https://github.com/mshinwell

greener_grass commented on Migrating to Bazel symbolic macros   tweag.io/blog/2025-11-20-... · Posted by u/todsacerdoti
diath · 20 days ago
I wish tools like CMake and Bazel simply used Lua, Python or JavaScript for their configuration instead of making their own languages with numerous quirks. There's literally no benefit of doing that.
greener_grass · 20 days ago
Buck 1 used Python directly and it had lots of issues compared to Starlark.
greener_grass commented on Brexit Hit to UK Economy Double Official Estimate, Study Finds   bloomberg.com/news/articl... · Posted by u/donohoe
JKCalhoun · 23 days ago
Not British but asking, is there anyone in the U.K. defending Brexit at this point? I mean it sounds like we're just debating how bad it was, not whether it was bad.
greener_grass · 23 days ago
There are. The rhetorical strategy is to argue that Brexit was a good idea, but it has not been implemented properly. Look for the phrases "Brexit means Brexit" and "proper Brexit".
greener_grass commented on 210 IQ Is Not Enough   taylor.town/iq-not-enough... · Posted by u/surprisetalk
herval · 24 days ago
> IQ probably doesn't mean much of anything. But it is one of only a handful of ways we have to benchmark intelligence.

IQ means a lot of things (higher IQ people are measurably better at making associations and generating original ideas, are more perceptive, learn faster, have better spatial awareness).

It doesn't give them the power to predict the future.

greener_grass · 24 days ago
How would you measure these?

- making associations

- generating original ideas

- more perceptive

...

"spatial awareness" I can see though

greener_grass commented on Listen to Database Changes Through the Postgres WAL   peterullrich.com/listen-t... · Posted by u/pjullrich
greener_grass · a month ago
This is how Debezium works.

It is probably best to use that unless there is a strong reason against.

greener_grass commented on AGI fantasy is a blocker to actual engineering   tomwphillips.co.uk/2025/1... · Posted by u/tomwphillips
asdfman123 · a month ago
I'm an atheist too. I grew up in the church, rejected it in my teens. The problem with organized religion was the "organized" part -- the centralized, inflexible human authority.

I'm increasingly convinced that spirituality is a vital part of the human experience and we should embrace it, not reject it. If you try to banish basic human impulses, they just resurface in worse, unexpected forms somewhere else.

We all need ways to find deep connection with other humans and the universe around us. We need basic moral principles to operate on. I think most atheists like myself have quietly found this or are in the process of finding this, but it's ok to say it out loud.

For me it means meditation, frugality, and strict guidelines on how I treat others. That's like a religion, I guess. But that's OK. I embrace it. By owning it and naming it, you have mastery over it.

greener_grass · a month ago
The EA / Rationalist / AI Safety crowd tend to think they can overcome these impulses
greener_grass commented on .NET 10   devblogs.microsoft.com/do... · Posted by u/runesoerensen
4rt · a month ago
They're self contained and native, but they're still massive.

There's been some work on CoreRT and a general thrust to remove all dependencies on any reflection (so that all metadata can be stripped) and to get tree-shaking working (e.g. in Blazor WASM).

It seems like in general they're going in this direction.

greener_grass · a month ago
Smaller is better, of course, but I've never found the size of .NET binaries to be an issue.

What problems does this cause?

u/greener_grass

KarmaCake day313August 5, 2024View Original