On.Programming

For most of us, programming (or more generally – software development) is all the life is about.

IT Hares are not different. And they have more than just quite a few bits to share about programming…

UDP from MOG Perspective

April 18, 2016 by “No Bugs” Bunny

UDP: Unreliable Transfers

Quote:

you may think of UDP as of an analog of good old C: you can do pretty much everything, but it is not because the language helps you – it is rather because it doesn’t stand in the way :-)

Another Quote:

As most of the routers (including pretty much every backbone router out there) are not configured to support multicast, it makes multicast over the public Internet hopeless :-(

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more

Avoiding ugly afterthoughts. Part b. Coding for Security, Coding for i18n, Testing as a Part of Development

April 4, 2016 by “No Bugs” Bunny

i18n, error handling, DfT, security, cross-platform while coding

Quote:

Doing sanitization at IDL level automates quite a bit of tedious-and-error-prone work, which is always a Good Thing™

Another Quote:

Hey, this whole thing can be made MUCH simpler, the only thing we need to acknowledge is that the best identifier for a string is the string itself!

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingDebuggingOn.SecurityBest Practices

Read more

Avoiding Ugly Afterthoughts. Part a. From Writing for Cross-Platform, to Writing for Debugging and Production Post-Mortem, with Error Handling in between

March 28, 2016 by “No Bugs” Bunny

An Ugly Afterthought

Quote:

It is strongly recommended to have your build server to compile your game for at least two sufficiently-different platforms from the very beginning

Another Quote:

If allocation of 50 bytes causes an “out of memory” error, we’re probably already long dead because of unacceptable swapping. And even if we disabled swap file – chances that we will recover from this condition, are infinitesimally small

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System Architecture(Re)ActorsOn.ProgrammingDebugging

Read more

Once Again on TCP vs UDP

March 21, 2016 by “No Bugs” Bunny

Themis weighing TCP vs UDP

Abstract:

The choice of TCP over UDP (or vice versa) might not always be obvious. In a sense, replacing TCP with UDP is trading off reliability for interactivity.

Quote:

The most critical factor in selection of TCP over UDP or vice versa is usually related to acceptable delays

Filed under: On.ProgrammingNetwork Programming

Read more