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…

Multi-threading at Business-logic Level is Considered Harmful

September 7, 2015 by “No Bugs” Bunny

Last Straw: Business Logic+Multithreading

Quote:

However, the window for triviality is very narrow: for example, even going into two interrelated mutexes instead of one, can easily make multi-threading non-trivial

Another Quote:

Technically you are able to jump to any point of your program, but the variables you see may (and if you have a multi-threaded bug – will) differ every time you jump there.

Filed under: On.System ArchitectureDesign decisionsOn.ProgrammingDebugging

Read more

If they wrote it in a book, it MUST BE GOOD CODE! Or How many mistakes can fit into 100 lines of book tutorial code? Part 2

August 31, 2015 by “No Bugs” Bunny

mistakes in a book

Quote:

Throwing away 1400 bytes for no reason for every single network message is an outrageous waste

Another Quote:

Having this kind of stuff in your code is like having a time bomb: it will explode, and for any sizeable project if will usually happen sooner rather than later (unless, of course, “later” is the worst possible time for the explosion to happen)

Filed under: On.ProgrammingNetwork Programming

Read more

If they wrote it in a book, it MUST BE GOOD CODE! Or How many mistakes can fit into 100 lines of book tutorial code. Part 1

August 24, 2015 by “No Bugs” Bunny

mistakes in a book

Quote:

Throwing away 1400 bytes for no reason for every single network message is an outrageous waste

Another Quote:

Having this kind of stuff in your code is like having a time bomb: it will explode, and for any sizeable project if will usually happen sooner rather than later (unless, of course, “later” is the worst possible time for the explosion to happen)

Filed under: On.ProgrammingNetwork Programming

Read more

2D Scaling Basics for Games and Web Design

August 3, 2015 by “No Bugs” Bunny

Mona Lisa Being Scaled using Crane

Abstract:

2D scaling is a headache.

Quote:

For us (as developers) it is important to know that the difference does exist, and that we should be ready to store graphics with larger sizes even when we personally don't see the need to do it.

Filed under: On.ProgrammingTips and Tricks

Tagged With: 2Dweb development
Read more