Показаны сообщения с ярлыком English. Показать все сообщения
Показаны сообщения с ярлыком English. Показать все сообщения

вторник, 10 мая 2016 г.

Gson: Deserialization of Generic Types

Let's imagine that we are developing a wrapper library for an API, which returns JSON documents as a response. And there are many endpoints that have similar structures, except some fragment and may have a different structure.

Continue reading...

среда, 20 ноября 2013 г.

Folding@home

"Help Stanford University scientists studying Alzheimer's, Huntington's, Parkinson's, and many cancers by simply running a piece of software on your computer.

The problems we are trying to solve require so many calculations, we ask people to donate their unused computer power to crunch some of the numbers."

http://folding.stanford.edu

воскресенье, 30 сентября 2012 г.

Something About CASE, NVL And DECODE

Sometimes the programming language constructions which seem to be well known and usual, can behave in odd way. Here is the PL/SQL function for the simpliest example of the situation:
create or replace function get_number_five
return number
is
begin
  dbms_output.put_line('function get_number_five is invoked');
  return 5;
end;
As we can see, this function just returns the number 5 and outputs some string to standard buffer. So, here is an example of function which not only returns the result, but also performs some action, in other words it has some side effect. We need this quality to trace the function executons.

Let's try to guess the result of the following code:

declare
 x number;
 p number;
begin
  p :=5;
  x := nvl(p,get_number_five);
end;

воскресенье, 25 сентября 2011 г.

Лет ми спик фром май хард

I have decided to begin blogging in two languages. Russian and English. It means that some of my posts will be translated into English.
The advantages of this decision are following:

Primo. It will be a good practise for me, and my poor English will have a chance to be improved
Secundo. My blog will not be bounded by Russian audience.
Tertio. In case I want to write something but there are no any new thoughts, I always can translate some early post.

Captain Obvious notes:
All posts in English will have tag "English". All post in Russian will be marked as "Russian"