"As Haskell gains popularity, a dozen articles or more a month about them make the front page at the Programming reddit. Most deal with the necessity of using and understanding monads to control side-effects in Haskell. This is only natural and to be expected since, in Haskell, they're a language design decision, and as such as inescapable as laziness and as structural as the predefined operator precedence." - Mike Aizatsky
via Bookmarklet
Open Source is to Traditional Software as Terror Cells are to Large Standing Armies – if you gave a terrorist group a fighter jet, they wouldn't know what to do with it. - Mike Aizatsky
and as for unique search results presentation - i prefer searchme.com - they are really useful with certain searches (when you remember how the website looked but can't recollect its name) - sasha maximova
It's funny but this search works now. It seems that they found your complaint and quickly fixed it :) - Konstantin Solomatov
Some wicked macros in action:"static char example(struct pt *pt) { switch(pt->lc) { case 0: while(1) { pt->lc = 12; case 12: if(!(counter == 1000)) return 0; printf("Threshold reached\n"); counter = 0; } } pt->lc = 0; return 2; }" - Mike Aizatsky
via Bookmarklet
you can do strange things without macros, look in following code:) register n = (count + 7) / 8; /* count > 0 assumed */
switch (count % 8)
{
case 0: do { *to = *from++;
case 7: *to = *from++;
case 6: *to = *from++;
case 5: *to = *from++;
case 4: *to = *from++;
case 3: *to = *from++;
case 2: *to = *from++;
case 1: *to = *from++;
} while (--n > 0);
} - Maxim
Что-то мне кажется, что Линус по сравнению с Хани Сулейманом отдыхает :) - Alexey Pegov
Разница между ними в том, что Хани прикалывается, а этот говорит на полном серьезе, не в специальном блоге, а на публике, между делом. - Kirill Maximov
Что-то мне думается, что Хани если и прикалывается, то не всегда, да и Линус мне в какой-то мере симпатичен, в том числе, и по причине подобных высказываний :) - Alexey Pegov
@konstantin: Ага... "I can't believe how stupid these people are"... - Mike Aizatsky
самый младший друг "детства" Линуса, о котором он когда-либо вспоминал - это Lars Wirzenius... это как бы для начала... - silpol
что касаемо конструктивности Линуса - он практически всегда на 300% конструктивен, просто чувство юмора шведоговорящих граждан Финляндии понятно не всегда людям из других культур, по тем или иным причинам - silpol
I think the only problem is in absence of comments. It wouldn't have happend if developer has put at least some comments in his code. - Mike Aizatsky
@mike: I am not quite sure, although definitely having some comments around would decrease the probability of this happening... - Dmitry Lomov
@lomik: It would have been safe if only some comments were present. (damn english tenses... Am I right at least partially??? :) Do not try to smart out yourself!!! What's apparent after Google's code review practice, which is excellent btw: your code should be crystal clear for others. - Mike Aizatsky
@mike: "Do not try to smart out yourself!!!" is the first of the "lessons learned" in the article :) Anyway, what happened is wrong on too many levels. There should be some comments in the code; Debian package maintainer should have known better than to touch security-critical code; OpenSSL mailing list should have been more responsive; OpenSSL team should have run valgrind themselves; the lack of good coding practices in the most widely used (on Linux) encryption package is disturbing etc etc etc. - Dmitry Lomov
@mike: but you are dead right when you say that one's code should be crystal clear to others. I only say that this is not the only thing that has gone wrong in this case :) - Dmitry Lomov
OOM due to pooling of (potentially huge) JSP tag body buffers. Actual for 5.x, 6.x - Alexey Gopachenko
I do remember some JetBrains applicant fixed this as his test task. He was going to submit it, but later said his patch wasn't accepted. - Mike Aizatsky
Пищевые добавки для ваших подчиненных (соучастников в команде). У нас вот обед в офис заказывают - достаточно +1 добавку донести. - Volodymyr Vladymyrov