Today, I am going to talk about how you can hide the “spare" assembler commands in the regular code. This method is useful for complexity of disassembling the code, especially if the generation of "hidden" commands to automate. Tools: debugger - OllyDbg.
KlauS 2 august 2012, 11:11

Over a year ago one user of StackOverflow programming site asked for help concerning this issue. Namely, they have the employee with the last name Null at the firm. The problem is that because of his name falls a corporate search application, if the employee’s name will be used as search query (it has happened very often recently). Error:

<faultstring>coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]</faultstring>
Tags: humor, NaN, Null
MeLavi 12 may 2012, 5:49

I have little experience (summarily I have been working as a programmer nearly for 16 months), nevertheless, I would like to give some tips to myself in the past, or in other words, to those who are studding now at the university and planning to become a software developer. I do not have a claim on wisdom or experience on no account. While thinking a little, I understand that all these tips are very actual for me more than ever too. I published the first note in my blog last year, and now I am publishing here the list expanded with tips of the readers of this blog.

All tips are independent and their order does not matter.
KlauS 8 may 2012, 15:19

The recent Visual Studio 11 Beta version has a new and major built-in feature of the future C # 5 - asynchronous programming using async/await. In this article I would like to structure and examine this quite interesting new tool and share the results with you.

Why is it needed?

C# is actively developing language. Each its version has interesting features that really simplify the writing quality of understandable code. For example, Linq considerably simplified the writing of filters for collections and sql queries in the code. Now the turn came for asynchrony.
MeLavi 28 april 2012, 6:53

1. Learn a new programming language

Learning the new programming language will develop new ways of thinking, especially if the new language uses a paradigm that you do not know yet. Many of the acquired ways of thinking could be applied to the languages that are already known. Perhaps, you might even like the new programming language, and you will start using it for new serious projects.

Here are some good languages that give the great educational experience and cognitive effect: Lisp (Scheme is good), Forth, PostScript or Factor (stack-oriented programming languages), J (wonderful array programming language), Haskell (strongly typed purely functional programming language), Prolog (logic programming) and Erlang (concurrent programming goodness).

2. Read a good programming book

A lot of knowledge could be found in the books. Undoubtedly, a practice is also important, but reading one challenging programming book might help you to challenge your thinking and to enrich your knowledge. Here is a list of such challenging books: The Art of Computer Programming (if you want a real challenge), Structure and Interpretation of Computer Programs (SICP), A Discipline of Programming or the famous dragon book.
Of course, you can read less complicated books as well, but you try to go around books such as “For Dummies” that promise to teach you in 24 hours or 3 weeks. These books will not do any good for you in terms of improving programming skills.
Sparks 23 february 2012, 14:22

Here are some comments about time:

  • UTC: The time at the Prime Meridian is called Universal Coordinated Time (UTC). A mismatch was caused by the acronym of its universal necessity for all languages.

  • GMT: Before UTC was called Greenwich Mean Time (GMT), because the Prime Meridian was chosen to pass through the Royal Observatory in Greenwich.

  • Other timezones can be written as an offset from UTC. For example, Australian Eastern Standard Time is written UTC+1000, namely 10:00 UTC is 20:00 EST on the same day.

  • Summer time does not affect UTC. It's just a political decision to change its time-zone (offset from UTC). For example, GMT is still used: it's the British national time-zone in winter. In summer it becomes BST.

  • Leap seconds: By international agreement, UTC is kept within 0.9 seconds of physical reality (UT1, which is a measure of solar time) by introducing a "leap second" in the last minute of the UTC year, or in the last minute of June.

  • Leap seconds are not required to be declared (by astronomers) more than 6 months prior to their introduction. This presents a problem if you need any planning with second accuracy for more than 6 months.
Pirat 22 february 2012, 16:02

imageThere arises a question why tabs are better than spaces, so today I am going to discuss the most significant misconceptions about the tabs and how to use them properly.

Let's start with the fact that most people (at least on umumble) prefer tabs.
In fact, it is strange that many people still do not see the difference between indentation and alignment. Well, here it is - indentation:

for (int i = 0; i < 10; i++) {
if (a[i] == 0)
And this is - alignment:

int some_variable = 0;
int v1 = 0;

The first one can be done by both tabs and spaces, but when you use the tabs the width of indent could be adjusted as you like. The the second one is strictly done by the spaces.
KlauS 26 january 2012, 13:56

A question recently posted on stackoverflow.com asked for people to submit programming terms that they or their team have coined and have come into regular use in their own circles.

Below are the most popular answers

Yoda Conditions
The act of using if (constant == variable) instead of natural if (variable == constant),; for example, if (4 == foo). Because it is like "if it is the blue – this is the sky" or "if that is tall – this is a man."

KlauS 1 january 2012, 16:15

Many are looking for such studies, which would have been pleasant for the person, and useful in the development of certain skills for the programmers, and people with an office work.

1) Juggling

imageA Juggling is a wonderful thing that is healthy for health and for the soul. What benefit can we get from the juggling?
First of all, it is a good exercise for the eyes that removing the stress from them, which is important for the people that have been working at the computer. Then, this is the physical exercise (even if it is a small) as for the hands, so for the feet (at the beginning we will have to constantly bend over to pick up the falling objects). Finally, it is a moral satisfaction from the fact that you get to manipulate objects in the air. The juggling did not require any accessories. Only three (initially two) objects of such form that would be convenient catch and toss up preferably not too light or too heavy.

The Internet has many videos on how to learn to juggle, for example:
Well, the sweetest is juggling, which activates the mutual work of both hemispheres that stimulates the creative process and allows us to write a good code. The last thing is the speculation.
KlauS 19 september 2011, 12:24
1 2