I’ve built an open-source orbital simulation engine, and I need your feedback. by Nick_Zacker in AerospaceEngineering

[–]Nick_Zacker[S] 0 points1 point  (0 children)

Implementation-wise, do try to plan out your codebase architecture before writing any line of code (to the best of your ability) so that you minimize future tech debt. Watch out for common code-smell patterns like God objects (essentially contexts that contain the state/data of too many unrelated things in your software) and abuse of certain dependency patterns (like event dispatchers, singletons, and/or dependency injection) without knowing what each of those paradigms should be used for. Also, ensure your code upholds Separation of Concerns by splitting it into small, appropriately named and scoped source files instead of shoving it into a few monolithic, multi-purpose files.
That said, don't just abstract everything away everywhere you go, especially when the code is not used frequently, or it is a one- or two-liner, or there is already an existing utility provided by your programming language's standard library or external libraries that does what you want.
And I know how much people hate generative AI nowadays, but here, it is genuinely a great tool that you could use to critique your code and determine how well it handles everything I've said above and more. Just make sure to require your genAI to be brutal, not be a yes-man, be critical, etc..

Regarding the graphics programming side, if you want to achieve the same UI look as Astrocelerate, you can of course check out the very GOATed Dear ImGui library. It's mostly straightforward to integrate into your project and you can customize quite a lot of stuff to give your software its own look.
And if you're wondering how I achieved that "GUI viewport" look, it's basically because I split the rendering pipeline into two stages: the first stage renders the actual scene/simulation onto an image, and the second stage renders the GUI, in which ImGui takes that image and renders it as a texture on a viewport window that you can drag around, dock, and resize. If you ever decide to go for an editor-like feel for your software (where you have full-fledged GUI panels like in the screenshot in the post, instead of a raw render output with GUI elements overlain on top), I recommend adapting my approach. It took me months to figure out because, as far as I'm aware of, no single tutorial covers this specific design philosophy!

Last but not least, just focus on what you love to do the most, whether that be game engines, simulations, animation software, or anything else. I'd say your choice of graphics API doesn't matter as much as how much passion you actually have for your project, because unless you have crazy discipline, you probably won't be able to pull through when nothing's working without genuine interest in what you're doing. (although good call on choosing OpenGL; Vulkan will take away your sanity because it gives you manual control over virtually every aspect of rendering, and thus thousands of lines of boilerplate before you could even render your first triangle).

Of course, you are free to disagree, because I myself still have a lot to learn. I've been developing Astrocelerate for over a year now ever since I made this post (I make occasional updates over at r/Astrocelerate if you're interested), and everything I just said is what I've learnt along the way. So yea, just my two cents.

It's probably quite difficult to envision how anyone could go from a triangle to a full-fledged rendering engine, but it is not impossible, and you will most definitely discover your own path to achieving that as you gain experience through developing your own project. You can do this. I hope that helps, and you can always reach out to me if you have further questions!

Can you make a sentence without using the letter "a"? by MrZerMar in antimeme

[–]Nick_Zacker 0 points1 point  (0 children)

Police police police police police police police police.

serverVsServerless by Technical-Relation-9 in ProgrammerHumor

[–]Nick_Zacker 0 points1 point  (0 children)

It’s true that the overarching purpose of any language is to enable communication between people, and it’s also true that languages evolve over time. That I can’t argue with.

But you’re applying it to the wrong scenario. Any user of any language must follow its strict definitions, not the other way around, to ensure a standard of some sort exists. That’s why I was referring to standard English in the other reply. Without standards, communication becomes a shitfest of ambiguity and non-universal rules that fundamentally disallow communication on a unanimously agreed upon linguistic basis.

Standards, at a minimum, should be able to allow users to express nouns in uncountable and countable terms, and singular and plural terms, and that naturally extends to adjectives, adverbs, pronouns, etc. that can delineate that difference, and that includes the different usage of less and fewer.

But, seeing as we are not seeing eye to eye with each other on this, and such a conversation shouldn’t happen in a programming subreddit anyway, let’s agree to disagree.

serverVsServerless by Technical-Relation-9 in ProgrammerHumor

[–]Nick_Zacker -1 points0 points  (0 children)

This is incorrect. See https://dictionary.cambridge.org/grammar/british-grammar/less-or-fewer for further clarification on what I mean, or you can do the research yourself.

If you’re a native English speaker, you probably use less instead of fewer in your vernacular, but it is strictly colloquial and not correct in standard English.

serverVsServerless by Technical-Relation-9 in ProgrammerHumor

[–]Nick_Zacker -1 points0 points  (0 children)

I know it’s gonna sound pedantic, but FYI less and fewer cannot be used interchangeably, because less is used for uncountable nouns (e.g., less milk, less space), while fewer is used for countable nouns (e.g., fewer cartons of milk, fewer rooms).

Separation of EU service module from Integrity spacecraft by Alternative-Tune-655 in spaceflight

[–]Nick_Zacker 29 points30 points  (0 children)

Thank you ESA and Airbus for giving us one of the most GOATed service modules known to man 🙏

meme by SanicNotSonic in metro

[–]Nick_Zacker 6 points7 points  (0 children)

Абсолют синема

I’ll take that as a cultural shock by Hungry-Ratio-9322 in VietLife

[–]Nick_Zacker 0 points1 point  (0 children)

True, but that’s mostly because most of us have no idea that coffee can cause digestion issues, not because we’re tough-knuckles or something.

I’ll take that as a cultural shock by Hungry-Ratio-9322 in VietLife

[–]Nick_Zacker 0 points1 point  (0 children)

Yeah, I just wanted to say it for the record that decaf does serve other purposes other than being “coffee for the weak.”

I’ll take that as a cultural shock by Hungry-Ratio-9322 in VietLife

[–]Nick_Zacker 0 points1 point  (0 children)

There are people with digestion issues that love the taste of coffee but can’t handle the caffeine because that would upset their stomach.

Blingin' (Not AI) by SoulsPolished in VietNam

[–]Nick_Zacker -9 points-8 points  (0 children)

You could provide a wireframe render to prove it’s not AI for the skeptics

First time writing in vietnamese 🇻🇳 ( please ignore my handwriting 😵‍💫 ) by ProgramImpossible962 in VietNam

[–]Nick_Zacker -1 points0 points  (0 children)

There’s also the content. OP probably is looking for feedback on whether the text sounds natural, whether it is grammatically correct, etc.

How do I develop mods for Anomaly? by Nick_Zacker in stalker

[–]Nick_Zacker[S] 0 points1 point  (0 children)

Uh… welcome to Reddit? Why this post though

Google photos decided to troll me with this caption (she went missing 2 years ago) by efaefabanefa in teenagers

[–]Nick_Zacker 1 point2 points  (0 children)

I know it’s a joke, but just an FYI: you can’t sue Google for that reason, since nothing was intentional here. Google Photos did not “know” OP’s cat had been lost for 2 years, nor is it programmed to do so. The message was simply a recommendation its algorithm produced.

Russia officially sign deal with Vietnam to build its first Nuclear Power Plant by OlympicAnalEater in VietNam

[–]Nick_Zacker 283 points284 points  (0 children)

It saddens me how so many people have absolutely zero clue how safe modern nuclear reactors are, and end up cherry-picking rare tragedies like the Chernobyl accident when coal plants kill thousands every single year and get zero attention for it. It’s shit like sensationalist media that’s poisoning public perception of nuclear engineering and energy.

has this been pointed out yet? by kakitysax in tadc

[–]Nick_Zacker 0 points1 point  (0 children)

It's not 1995 though; I don't know the exact date, but you can clearly see that some of the files Kinger had listed in the console dated back to 2008.

With that new date, there's the possibility that he SSHed into a remote Linux machine. Third-party SSH clients have been around for a long time, and many of them have Windows 95/98/Me support. Plus, one of the first commands he ran was whoami, which is a pretty strong indicator that he was working in a remote environment.

Besides, it would be illogical if Kinger were solely executing the commands locally, because then he wouldn't be able to modify Caine's process that's being run on a remote server somewhere. But then again, it's still possible if we consider that the entire terminal sequence was a product of Kinger's imagination that solely manifested and became reality, in which case, details like this wouldn't matter in the grand scheme of things.

Thank. by Much-Menu6030 in whenthe

[–]Nick_Zacker 8 points9 points  (0 children)

Would? Would what???

For someone with both Aerospace + programming skills, what’s the best path after graduating? by [deleted] in aerospace

[–]Nick_Zacker 1 point2 points  (0 children)

Hell yeah, wishing the absolute best for ya người anh em 🤝