How to write a code like a NASA developer
NASA utilizes 10 set of coding standards known as the "Power of 10" designed to ensure code is easy to statically analyze and highly reliable for space missions.
1. Simple Control Flow: NASA restricts code to basic constructs, banning goto statements, setjmp, longjmp, and recursion. This prevents hard-to-follow code and runaway execution.
2. Fixed Loop Bounds: All loops must have a hard upper limit represented as an integer. This prevents infinite loops even if an end-condition (like a null pointer in a linked list) is never reached
3. No Dynamic Memory Allocation: The use of the "Heap" (and garbage collectors) is forbidden. By using only stack memory with predefined limits, developers can predict exact memory usage and eliminate leaks or "use-after-free" bugs.
4. Function Constraints: Functions should perform a single action and are recommended to be no longer than 60 lines. This ensures they are readable and easily testable as a single unit.
5. Data Hiding: Variables must be declared at the lowest possible scope to reduce the risk of unauthorized access and simplify debugging
6. Mandatory Return Checks: Every non-void function's return value must be checked. If a return value is intentionally ignored, it must be explicitly cast to void to show intent
7. Limited Preprocessor Use: The C preprocessor is limited to file inclusions and simple macros. Complex conditional compilation is avoided because it exponentially increases the number of versions that need testing.
8. Pointer Restrictions: Pointers cannot be dereferenced more than one layer deep (no "pointers to pointers"). Additionally, function pointers are generally avoided to keep the program's control flow clear.
9. Strict Compilation: Code must be compiled with all warnings enabled in "pedantic" mode. It must also pass through multiple static code analyzers with different rule sets.
10. No Undefined Behavior / Minimal Runtime Assertions: The code must not rely on undefined or unspecified behavior, and it should include assertions to catch errors early.
NASA utilizes 10 set of coding standards known as the "Power of 10" designed to ensure code is easy to statically analyze and highly reliable for space missions.
1. Simple Control Flow: NASA restricts code to basic constructs, banning goto statements, setjmp, longjmp, and recursion. This prevents hard-to-follow code and runaway execution.
2. Fixed Loop Bounds: All loops must have a hard upper limit represented as an integer. This prevents infinite loops even if an end-condition (like a null pointer in a linked list) is never reached
3. No Dynamic Memory Allocation: The use of the "Heap" (and garbage collectors) is forbidden. By using only stack memory with predefined limits, developers can predict exact memory usage and eliminate leaks or "use-after-free" bugs.
4. Function Constraints: Functions should perform a single action and are recommended to be no longer than 60 lines. This ensures they are readable and easily testable as a single unit.
5. Data Hiding: Variables must be declared at the lowest possible scope to reduce the risk of unauthorized access and simplify debugging
6. Mandatory Return Checks: Every non-void function's return value must be checked. If a return value is intentionally ignored, it must be explicitly cast to void to show intent
7. Limited Preprocessor Use: The C preprocessor is limited to file inclusions and simple macros. Complex conditional compilation is avoided because it exponentially increases the number of versions that need testing.
8. Pointer Restrictions: Pointers cannot be dereferenced more than one layer deep (no "pointers to pointers"). Additionally, function pointers are generally avoided to keep the program's control flow clear.
9. Strict Compilation: Code must be compiled with all warnings enabled in "pedantic" mode. It must also pass through multiple static code analyzers with different rule sets.
10. No Undefined Behavior / Minimal Runtime Assertions: The code must not rely on undefined or unspecified behavior, and it should include assertions to catch errors early.
Left: 1972 Apollo 17
Right: Arthemis 2
The only change is the camera quality I guess
Right: Arthemis 2
The only change is the camera quality I guess
Heyy, fam, how is it going?
I have published the 1st part of our series on rockets. (Ignition)
We try to see:
Intro
Why rockets?
Cases to be aware of when designing a new rocket!
In the next Session we will see Fundamentals of rockets.
https://telegra.ph/ROCKETS---1-04-05
I have published the 1st part of our series on rockets. (Ignition)
We try to see:
Intro
Why rockets?
Cases to be aware of when designing a new rocket!
In the next Session we will see Fundamentals of rockets.
https://telegra.ph/ROCKETS---1-04-05
Telegraph
ROCKETS - 1
Ignition (probably the zeroest basic thing you need to know before diving to rockets.) Why not planes, instead of Rockets? Space isn't just "high up"; itβs a different physical environment. A standard airplane is a "fluid" machine. It stays up by moving airβ¦
Thank you everyone for sharing and joining! We just hit 100 members β¨
Appreciate you all!
Appreciate you all!
π₯3
Update for Artemis 2
April 6, 2026.
Today's events:
Lunar Flyby/Closest Approach: April 6, 2026. Closest approach (~4,070 miles) occurs around 7:02 p.m. EDT / 2307 GMT. (2:02 PM our time)
Additionally, Loss of Signal: ~40 minutes behind the Moon.
During these 40 minutes of silence, the four astronauts operate independently, becoming totally disconnected from mother Earth, relying entirely on their training and Orion's onboard systems until the link with Mission Control in Houston is restored.
April 6, 2026.
Today's events:
Lunar Flyby/Closest Approach: April 6, 2026. Closest approach (~4,070 miles) occurs around 7:02 p.m. EDT / 2307 GMT. (2:02 PM our time)
Additionally, Loss of Signal: ~40 minutes behind the Moon.
During these 40 minutes of silence, the four astronauts operate independently, becoming totally disconnected from mother Earth, relying entirely on their training and Orion's onboard systems until the link with Mission Control in Houston is restored.
Ermi dev π§βπ» pinned Β«Thank you everyone for sharing and joining! We just hit 100 members β¨ Appreciate you all!Β»
Ermi dev π§βπ»
introducing @erzamrbot is an AI powered bot where you can interact with it, ask question, explanations and recommendations about our journey as a team. we are the next rocketeers for our country ππͺπΉπͺπΉ
-> @erzamrbot wasn't working due to technical issues, now it's working and will continue to work.
People say bro disappeared like it never existed.
I guess the purpose of DeepSeek wasn't market it was more focused on the research side.
In AI there is a concept known as CoT (Chain of Thought) which is a principle for the AI to think before speaking like humans are recommended to think out loud or to write down their thoughts on paper. This approach helps the AI to check if it has made a mistake then edit it before sending to the user.
Before DeepSeek CoT wasn't that much in focus of the researchers but when they were training DeepSeek-R1-Zero, they observed the model suddenly learning to reevaluate its own initial approach like a sudden frequent use of the word "Wait..." as it caught its own mistakes without being told to do so.
Then as we all saw when DeepSeek was released we were able to see the thinking process in thinking mode.
On top of this, even in recent days models of DeepSeek are beating other models like OpenAI's and Google's in different aspects such as mathematics and coding.
I guess the purpose of DeepSeek wasn't market it was more focused on the research side.
In AI there is a concept known as CoT (Chain of Thought) which is a principle for the AI to think before speaking like humans are recommended to think out loud or to write down their thoughts on paper. This approach helps the AI to check if it has made a mistake then edit it before sending to the user.
Before DeepSeek CoT wasn't that much in focus of the researchers but when they were training DeepSeek-R1-Zero, they observed the model suddenly learning to reevaluate its own initial approach like a sudden frequent use of the word "Wait..." as it caught its own mistakes without being told to do so.
Then as we all saw when DeepSeek was released we were able to see the thinking process in thinking mode.
On top of this, even in recent days models of DeepSeek are beating other models like OpenAI's and Google's in different aspects such as mathematics and coding.
β‘2
One of the things that make the Artemis mission interesting is how they used a concept called a free return trajectory which is a carefully designed path where the spacecraft travels to the Moon, swings around it, and naturally returns to Earth using gravity.
Why this is useful?
They could use gravity like a βnatural engineβ
They save a huge amount of fuel
They could use Built-in safety, even if systems fail, the spacecraft still comes back
This same principle once helped save astronauts during Apollo 13.
Why this is useful?
They could use gravity like a βnatural engineβ
They save a huge amount of fuel
They could use Built-in safety, even if systems fail, the spacecraft still comes back
This same principle once helped save astronauts during Apollo 13.
Forwarded from Ermi dev π§βπ»
This media is not supported in your browser
VIEW IN TELEGRAM
This is how it is planned.
To flyby by the moon.
To flyby by the moon.
π₯1
Ermi dev π§βπ»
Video message
Its been a while since I installed openclaw and today I was experimenting with its ability to use the browser on my PC.
As you can see it can talk to gemini with me infront of it
As you can see it can talk to gemini with me infront of it
π€―1