Nasa released the original code for Apollo 11 guidance computer, few hours later the first “issue” has been reported.

NASA released the original source code for Apollo 11 guidance computer (AGC) yesterday. The code was released on GitHub, and few hours later someone reported the first “issue“. A customer has had a fairly serious problem with stirring the cryogenic tanks with a circuit fault present. To reproduce: Build CSM Perform mission up to translunar […]

Read More

Solution to the gcc error: undefined reference to `ilogb’ (C/C++)

The ilogb( ) functions return the exponent of their floating-point argument as a signed integer. If the argument is not normalized, ilogb( ) returns the exponent of its normalized value. Here’s simple program that uses ilogb()

  Now, if You use this function and get the following gcc linker error: undefined reference to `ilogb’ […]

Read More

Random DateTime in the range (C#)

So You need a random DateTime value in some range, and C# Random class does not provide Random.NextDateTime(from, to). Here’s a simple solution for this problem…

  As this method is written as an extension method to Random class, you’ll be able to use it just as a static Random class method (Random.NextDateTime(startDateTime, endDateTime). […]

Read More

It’s all her parent’s fault

I already told this story on my blog before I got hacked and lost everything, and I wanted to bring it back to life, as I find it extremely entertaining and funny. Years back, I was working as a “promising” junior software engineer for a company that specializes in enterprise solutions and services for large […]

Read More