Friday, August 16, 2024

I am still alive

But I am completely another man these fucking nazi days. Hope you too.

Tuesday, July 26, 2016

Thank you, my readers!

Now 33% from you are from Russia and 77% of you are using the Mozilla Firefox and 70% are under UNIX (yes, not Linux but a real UNIX, and the other 9% - MAC OS X). You are returning my faith in people, my dear readers ;)
P.S.: I think the big amount of UNIX users (mainly BSD of course) and less then 1% of Linux users is exactly what would be expected after they've made a shit instead of GNOME in near all Linux distros? Am I wrong? ;)

Monday, July 25, 2016

American pragmatism was an attack on European metaphysics on the grounds of impracticality. American culture was obsessed with the practical and contemptuous of the metaphysical. The computer and computer language are the perfect manifestations of the pragmatic notion of reason. Every line of code must have a practical consequence. Functionality is the only standard. That a line of code could be appreciated not for its use but for its intrinsic beauty is inconceivable. The idea of pragmatism, as it has evolved into languages like C++, is a radical simplification and contraction of the sphere of reason. Reason now deals only with some things, all of which are measured by their practical consequences. Everything that lacks practical consequence is excluded from the sphere of reason and sent to another, inferior sphere. In other words, American culture does not deal easily with the true and beautiful. It values getting things done and not worrying too much about why whatever thing you are doing is important. [...] Computing culture [...] constitutes not reason contemplating its complexity, but reason reducing itself to its simplest expression and justifying itself through practical achievement.

© 2009 George Friedman, "The Next 100 Years: A Forecast for the 21st Century"


My attitude to different programming languages

Let's consider the different programming languages used by me in a real work and my attitude towards them (that's what you need to know for sure ;)

Well, I love so much:
pure JavaScript (before CS6)
pure C


I like:
Lua
Ruby
Erlang
Qt (not a language but anyway)
Shell scripting like BASH etc
C++ early standards
MASM
XML


I'm indifferent to:
C#
Objective-C
Pascal
NASM
ARM
Basic
HTML
CSS


I don't like:
Swift
CoffeeScript
SQL (any alternatives?)
PHP
JavaScript CS6
Perl
Python
Object Pascal
Visual Basic
XUL/XBL/XPCOM


I really hate:
Java
C++ > 11 standard
XAML


Have I forgotten some?..

P.S.: no miracle that for the money you always will be asked to write in Java ;)

Tuesday, May 24, 2016

One more piece of shit discovered

Unfortunately I've discovered the one more shit "tool" that can ruin your code in 1 minute —F... JADE. And yes, I hate all tabulation dependent languages, so fuck all these Python, Ruby, Stylus, CoffeeScript etc. CoffeeScript btw is probably the most unreasonable shit invention. These days every fucking jerk invents his own "programming language" and hundreds of other nerds are applauding - "wow! cool! its great! because... its NEW" :)

Tuesday, May 17, 2016

Zeplin

 — the brilliant tool to collaborate between designers and coders within the distributed development team.

Sunday, May 8, 2016

fucking MASTERPIECE garbage collectors I ever seen :)

1.
while(1) free(rand());


2.
typedef unsigned long long ull;
for( ull i = 0; i < std::numeric_limits<ull>::max(); ++i )
{
    free( (void*)i );
}

Tuesday, April 19, 2016

WHY JAVASCRIPT DEVELOPMENT IS CRAZY — I appreciate it. Thank you, Sean. Although actually not the JS development is crazy but the so called front-end development (btw who is that idiot who invented this term?) is crazy.

Thursday, January 28, 2016

Интервью кандидата на вакансию senior frontend-developer в 21 веке

– Откуда вы узнали о нашей компании?
– Да просто вакансию увидел. Не слышал никогда раньше про вашу компанию, если честно.
– Наша компания бла-бла-бла пиздец крутая бла-бла-бла бороздят бла-бла-бла просторы больших театров [и так далее на полчаса] Теперь давайте поговорим о вас? Вот у меня тут лежит ваше резюме, там написано, что вы работали c Evernote, Barnes&Noble и другими всемирно известными брендами?
– Да, работал. И с ними в том числе.
– А что вы там делали?? [читаем между строк: а на хер ты тогда к нам-то пришёл, если такой крутой?]
– Программировал.
– А почему больше не программируете там?
– Потому что всё написали, что требовалось, контракт закончился.
– А можно посмотреть на код вот того модуля, который, как указано в вашем резюме вы написали?
– Нет, нельзя.
– Почему?
– Потому что копирайт.
– У вас есть диплом прогроммизда? [а у меня есть!!!]
– Нет.
– Как?! И как же вы без него?
– Да очень просто. Бьют-то ведь не по паспорту, а по морде. К тому же во времена моей юности нигде на прогроммиздов не учили.
– ОК. С какими фреймворками вам приходилось работать?
– Видел многие. Не работал ни с какими.
– Почему?
– Потому, что все они — говно и на фиг не нужны.
– Но как же вы можете говорить, что, скажем, фреймворк N — говно, если вы его даже не пробовали?
– Не всем нужно попробовать говно на вкус, чтобы понять, что это говно. Суть абсолютно любого из существующих на сегодняшний день фронтенд-говнофреймворков одна и та же: нагромоздить горы неотрезанных Оккамом сущностей для того, чтобы китайская кухарка смогла нарисовать кнопку для нажимания. Пожрать при этом невтрахенное количество машинных ресурсов — благо сейчас машины зверски мощные. Засунуть всё в глобал-скоп. Параллельно можно придумать еще один никому на хрен не нужный идиотский как бы язык как бы программирования (благо тулзы для их создания есть на халяву) и вонзить его в недра. Выступать на модных фрикерских тусовках, чтобы показать себя как бы гениальным. Когда всё напиленное таиландскими скотоводами говнище станет окончательно неподдерживаемым — наконец-то нанять какого-нибудь программиста по имени Геракл разгребать потихоньку, самому же красиво отойти в сторону, внезапно обнаружив в себе зов к служению Будде в горах Тибета или что-то типа того (благо бабло с инвесторов вытянуто нормальное). Попутно пусть все заметят, как без Тебя всё стало разрабатываться не быстро.
– А как же вы без фреймворка организуете, скажем, большой проект, состоящий из пятидесяти модулей??
– Головой и руками, естественно.
– А вы, случайно, не Геракл?
– Уже не он.
– Жаль… Тогда, может быть, поговорим о дизайн-паттернах?
– Ну, давайте попробуем. Можем сразу с поведенческих начать.
– Вам знаком такой паттерн MVC?
– Извините, идите на хуй…

Sunday, July 12, 2015

A memory leaking code example (for best practice with AngularJS) ?

GO HERE.
At the bottom ("Accessing the backend") let's look into the file "finance3.js".
Do you see there this line: usdToForeignRates = newUsdToForeignRates; ?
If I understood the things correctly, this is a good memory-leak, huh? Or not?

Thursday, July 9, 2015

"We are a team of college students working on this project like it's our full time job."

Guys, guys, guys... Take it easy! I have a full time job and am working as if I am a college student ;)


Sunday, June 28, 2015

Programmer's thoughts at Sunday

When Java-coder writes even one line in C there will be always memory leak. I have no idea why and what for do they climb into the C.

Saturday, June 6, 2015

I love you again, Mozilla Firefox :)

"Pocket" and "Reader View" are really great and long-awaited features!

Sunday, May 31, 2015

Цитата из этих ваших Интернетов. "Не в бровь, а в глаз":

Если ты не заметил, то за последние 5 лет вообще всё программирование превратилось в унылое говно по большому счету. Сейчас эра законченных решений, которых тьма. Действительно интересных задач, где требуется программирование как таковое, в последее время - ноль. У меня есть отличный пример - товарищ, который в профессиональном развитии не далеко от hello world ушел, прекрасно ориентируется в куче CMS-ок и всяких там модулях, так он на этой хрени очень быстро и дешево приличные системы собирает и бизнес хавает за милую душу! Про разные 1С-ки и сапы думаю и говорить не стоит.
Неоднократно об этом говорил - все точно так, как было в электронике 10 лет назад - откатывали платы утюгом, лепили микроконтроллеры, чего-то там на Си кодили... Сейчас это нафиг никому не нужно, ибо на любой случай в жизни найдется готовая китайская коробка с готовым функционалом и обвязкой. На фоне таких трендов уже Java уныло смотрится, - сильно она низкоуровневая по нынешним меркам.


Sunday, May 17, 2015

C vs Python

The same algorythm on the same input data solves the same task in 3.5 sec coded in Python, in 0.22 sec coded in Cython, but in 0.08 sec coded in C99 and compiled with an old good GCC ;) No extra libraries - just some math with final print(f).

Sunday, May 3, 2015

The New iMac: A Real Thing

Contrary to my expectations, 8GB of RAM is enough to make iMac working' "at supersonic speed."
No program is "slow."
Compilation of huge projects: very quickly.
All games are played at maximum settings.
Pleasant surrounding sound.
Appearance and convenience: just brilliant (except the wireless mouse which is still not the best fit).
Image quality: could not be better for today.

JUDGMENT: A real Thing! No PC better (though I haven't tested Mac Pro).
Thank you Apple, you still rulez.

PS .: Yes, it's not cheap ...

Thursday, April 30, 2015

LLVM bug? Or Yosemite another bug?

Just try to use strncpy() in C and then to compile with:
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix

Btw. there is still no possibility to use the old good Valgrind under Yosemite... Cry, cry, cry...

Sunday, April 26, 2015

    As soon as completed, it will be possible for a business man in New York to dictate instructions, and have them instantly appear in type at his office in London or elsewhere. He will be able to call up, from his desk, and talk to any telephone subscriber on the globe, without any change whatever in the existing equipment. An inexpensive instrument, not bigger than a watch, will enable its bearer to hear anywhere, on sea or land, music or song, the speech of a political leader, the address of an eminent man of science, or the sermon of an eloquent clergyman, delivered in some other place, however distant. In the same manner any picture, character, drawing, or print can be transferred from one to another place. Millions of such instruments can be operated from but one plant of this kind.
    More important than all of this, however, will be the transmission of power, without wires…

© Nikola Tesla