<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for temoto</title><link>http://disqus.com/by/temoto/</link><description></description><atom:link href="http://disqus.com/temoto/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 25 Sep 2018 15:07:05 -0000</lastBuildDate><item><title>Re: Bring Your Custom Image to DigitalOcean</title><link>https://blog.digitalocean.com/custom-images/#comment-4113866235</link><description>&lt;p&gt;This is awesome! Special huge thanks for raw disk image format as opposed to d-word.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 25 Sep 2018 15:07:05 -0000</pubDate></item><item><title>Re: Rust on RTL8710 running FreeRTOS</title><link>https://polyfractal.com/post/rustl8710/#comment-3242611794</link><description>&lt;p&gt;Thank you for all great work and special thanks for open sourcing it.&lt;/p&gt;&lt;p&gt;The loop{} in `__exidx_start` serves very important role, that is: when your main_entry finishes, what other instructions CPU has to execute? It will go to next instruction in memory, which will be zero bytes or some garbage or your data in linked firmware. Empty loop is a safety net to avoid executing unknown bytes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Thu, 06 Apr 2017 06:14:33 -0000</pubDate></item><item><title>Re: Посадка первой ступени CRS-10</title><link>https://blog.not-a-kernel-guy.com/2017/02/19/crs10-landing/#comment-3170916982</link><description>&lt;p&gt;Поздравляю, это выглядит просто невероятно, я не знаю как вы там не взрываетесь от счастья.&lt;/p&gt;&lt;p&gt;По поводу оценки.&lt;/p&gt;&lt;p&gt;Застопил два кадра, ютуб показывает 6 и 9 секунда.&lt;br&gt;Высоту ракеты взял с википедии 70м, может вернулась не вся, извините.&lt;br&gt;На кадре T6 высота (по дну ракеты) 612±10px от примерно центра площадки. Высота ракеты 58±2px.&lt;br&gt;На кадре T9 высота 275±10px. Высоту определить сложно за облаками, допустим не изменилась. Извините, перспективу игнорирую.&lt;br&gt;Оценки высоты:&lt;br&gt;T6 (612±10)*70/(58±2) = 702..725..752..777&lt;br&gt;Т9 (275±10)*70/(58±2) = 309..331..332..356&lt;br&gt;Соответственно, разница высот 346..468м.&lt;br&gt;Оценки длительности, с учетом 30fps:&lt;br&gt;d1 9-6.96=2.04&lt;br&gt;d2 9.96-6=3.96&lt;br&gt;Оценка скорости: от 234м/с до 87м/с.&lt;br&gt;Если допустить, что ютуб ставит паузы на ровных секундах, разброс скорости сводится только к разбросу высоты: 115..156м/с.&lt;/p&gt;&lt;p&gt;Оценка ускорения это очень интересно.&lt;/p&gt;&lt;p&gt;Возьмем третью точку полной остановки на 19-й секунде, когда исчез огонь.&lt;br&gt;Значит, за время 19-9=10с ракета сбросила скорость с 115..156 до 0, ускорение торможения 11-15.&lt;/p&gt;&lt;p&gt;Если учесть, что масса возврата в районе 100т (я прикинул 90% веса всей ракеты это топливо и 90% топлива сжигают в полезную работу, а 10% оставляют на запас). Придать такой массе такое ускорение, это конечно, космическая тяга. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Thu, 23 Feb 2017 08:37:51 -0000</pubDate></item><item><title>Re: 
        Different ways to get memory consumption or lessons learned from ``memory_profiler``</title><link>http://fa.bianp.net/blog/2013/different-ways-to-get-memory-consumption-or-lessons-learned-from-memory_profiler/#comment-2889598449</link><description>&lt;p&gt;And now should have `process.memory_full_info().uss / float(1 &amp;lt;&amp;lt; 20)`, USS is "amount of memory that would become immediately available should the process terminate".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Mon, 12 Sep 2016 13:26:01 -0000</pubDate></item><item><title>Re: You Should Be Using Nginx + UWSGI - David Cramer's Blog</title><link>http://cramer.io/2013/06/27/serving-python-web-applications#comment-945040683</link><description>&lt;p&gt;There is a difference between request and response. Indeed, nginx always buffers *request* full before sending it to backend. You can disable buffering of *response* for any kind of backends: proxy, fastcgi, uwsgi.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 28 Jun 2013 03:37:34 -0000</pubDate></item><item><title>Re: You Should Be Using Nginx + UWSGI - David Cramer's Blog</title><link>http://cramer.io/2013/06/27/serving-python-web-applications#comment-945013665</link><description>&lt;p&gt;I know several companies that run Django, Pylons and traditional code base with gunicorn/Eventlet. In fact, the whole point of that project was to have concurrent network IO while writing traditional code.&lt;/p&gt;&lt;p&gt;I'm not defending gunicorn, it doesn't meet certain criterion to process handling and robustness. Neither does uwsgi, as you have shown. But Eventlet actually works.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 28 Jun 2013 02:34:44 -0000</pubDate></item><item><title>Re: Scaling Schema Changes - David Cramer's Blog</title><link>http://cramer.io/2011/11/10/scaling-schema-changes#comment-929140870</link><description>&lt;p&gt;Can promoting be done without read only mode?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Thu, 13 Jun 2013 10:15:01 -0000</pubDate></item><item><title>Re: WSGI and truncated chunked response bodies</title><link>http://rhodesmill.org/brandon/2013/chunked-wsgi/#comment-808222662</link><description>&lt;p&gt;Thanks for post, Brandon.&lt;/p&gt;&lt;p&gt;I am happy to say that eventlet builtin wsgi server also does everything right in this regard. You may wish to give Eventlet a try. It does same thing as Gevent and has mostly same API.&lt;/p&gt;&lt;p&gt;&lt;a href="http://eventlet.net/" rel="nofollow noopener" target="_blank" title="http://eventlet.net/"&gt;http://eventlet.net/&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 22 Feb 2013 05:56:29 -0000</pubDate></item><item><title>Re: Numba vs Cython - Pythonic Perambulations</title><link>http://jakevdp.github.io/blog/2012/08/24/numba-vs-cython/#comment-646262419</link><description>&lt;p&gt;Thank you for article. It's good to have more choice in the field of fast computing on Python.&lt;/p&gt;&lt;p&gt;Though, please consider that for many applications 30% Cython over numba speed up is not "marginally slower". It is quite a difference. Where numba shined, to be fair, is at amount of changes in code.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Mon, 10 Sep 2012 19:40:35 -0000</pubDate></item><item><title>Re: DUMP – Redis</title><link>http://redis.io/commands/dump#comment-575276007</link><description>&lt;p&gt;Time complexity: O(1) to access the key and additional O(N*M) to serialized* it&lt;br&gt;'to serialize it'&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 03 Jul 2012 10:59:27 -0000</pubDate></item><item><title>Re: SORT – Redis</title><link>http://redis.io/commands/sort#comment-386055945</link><description>&lt;p&gt;Is it valid to  SORT foo LIMIT 0 2 STORE foo  ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 13 Dec 2011 20:47:40 -0000</pubDate></item><item><title>Re: Как нужно верстать?</title><link>http://www.insight-it.ru/set/kak-nuzhno-verstat/#comment-158745380</link><description>&lt;p&gt;Если б мне такие требования ставили - я б не пошел в программисты.&lt;/p&gt;&lt;p&gt;Приятное чтение на ночь. Спасибо.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 01 Mar 2011 20:53:02 -0000</pubDate></item><item><title>Re: Binary format show down: some differences between ELF and Mach-O</title><link>http://timetobleed.com/#comment-52221667</link><description>&lt;p&gt;Sure, SSL is easy and why not. Probably, it's just much less important for me than for you. My intent was rather sarcastic, not trolling actually.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Wed, 26 May 2010 09:01:07 -0000</pubDate></item><item><title>Re: Binary format show down: some differences between ELF and Mach-O</title><link>http://timetobleed.com/#comment-52003857</link><description>&lt;p&gt;WOW!!! Credit card number is sent via plain socket! Evil guy "only" needs to stand between you and American Express server to know your card number and your name.&lt;/p&gt;&lt;p&gt;It's far easier to get that info when you pay for something in the supermarket or in the bar.&lt;/p&gt;&lt;p&gt;Yes, they suck at security. Yes, page lies saying that form is secure. But that's not an issue. Someone must be really paranoid to be concerned about that (and it seems you are). And if one is so paranoid, then he, probably, should take tons of active precautions about sending any of his data over internet anyway. So you're picking on a really little thing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 25 May 2010 15:45:53 -0000</pubDate></item><item><title>Re: Какой язык выбрать для concurrency?</title><link>http://blog.braintrace.ru/post/273525564#comment-26794688</link><description>&lt;p&gt;И trampoline это не фича языка, а просто возврат лямбды. Такое можно сделать в любом языке с лямбдой и заявить претензию на замену TCO.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Mon, 21 Dec 2009 15:14:05 -0000</pubDate></item><item><title>Re: What&amp;#039;s wrong with Haskell</title><link>http://blog.braintrace.ru/post/274517021#comment-26794197</link><description>&lt;p&gt;&amp;gt; невозможно сделать fork [...] Для меня это значит, что я не могу использовать Haskell для написания сетевых приложений — ведь я не смогу их демонизировать&lt;/p&gt;&lt;p&gt;Извините за грубость, ENOSENSE. Сетевая направленность приложений абсолютно никак не связана с вашим [неправильным] желанием самому демонизироваться. Во-первых, для этого есть start-stop-daemon. Или [bash] nohup program&amp;amp; + disown. Во-вторых, когда умные админы ваше приложение будут запускать под супервизором типа upstart/daemontools/supervisord/launchd, то демонизация будет только мешать.&lt;/p&gt;&lt;p&gt;Конечно, глупо, что хацкель не умеет fork. Но конкретно для демонизации fork не нужен. Потому что сама демонизация [в каждой программе] не нужна.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Mon, 21 Dec 2009 15:05:31 -0000</pubDate></item><item><title>Re: Всему, что нужно знать, чтобы быть хорошим программистом, я научился в детском саду</title><link>http://www.developers.org.ua/archives/spariev/2009/03/05/all-i-need-to-know-to-be-a-better-programmer-i-learned-in-kindergarten/#comment-79627075</link><description>&lt;p&gt;Все сравнения хороши.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt; Работа 24 часа в сутки не делает более продуктивным.&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;Все татары кроме я.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 17 Nov 2009 12:49:58 -0000</pubDate></item><item><title>Re: ReWiredState: Гики встречаются с государством</title><link>http://ivan.begtin.name/2009/08/31/rewiredstate/#comment-16071058</link><description>&lt;p&gt;Иван, это не ваш перевод, правда? Больше похоже на "машинный перевод".&lt;/p&gt;&lt;p&gt;Вариант с несколькими исправлениями:&lt;/p&gt;&lt;p&gt;Власти не особенно хороши с компьютерами.&lt;br&gt;Они тратят миллионы, чтобы создавать посредственные веб-сайты, скрывают действительно полезную публичную информацию, и, в целом, делают неправильно. И это позор.&lt;/p&gt;&lt;p&gt;Созываем людей, которые способны создавать, мы собираемся показать им [властям] как это делается [правильно].&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Sun, 06 Sep 2009 15:07:57 -0000</pubDate></item><item><title>Re: memcached на пальцах</title><link>http://www.insight-it.ru/programmirovanie/memcached-na-palcakh/#comment-158081908</link><description>&lt;p&gt;@Владимиру:&lt;br&gt;Как мемкеш обрабатывает конкурентные запросы? Превосходно. Особенно отлично конкурентные запросы обрабатывает фейсбуковский мемкеш, переписанный на UDP. 300К запросов в секунду обрабатывает.&lt;/p&gt;&lt;p&gt;В однопоточном мемкеше блокировок, конечно нет, т.к. запросы обрабатываются последовательно.&lt;/p&gt;&lt;p&gt;А в многопоточном может быть есть блокировки на работу с аллокатором. Один клиент сделал set x foo. Другой сделал set x bar. Какое значение будет в x? Может быть одно, может быть другое. Какая вам разница? Клиентам разницы нет, они это показали, когда использовали безусловный set.&lt;/p&gt;&lt;p&gt;@Ивану:&lt;br&gt;Клиент (например, упомянутый в статье libmemcached) работает еще как синхронно, к сожалению, почти всегда. Для чего вы там упомянули асинхронного клиента - непонятно.&lt;/p&gt;&lt;p&gt;Транзакции в мемкеше не нужны, т.к. все операции, включая CAS (check-and-set, про которую, почему-то умолчали) атомичные, то есть выполняются в один шаг.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Tue, 11 Aug 2009 17:05:15 -0000</pubDate></item><item><title>Re: Русские буквы в Django</title><link>http://artamonov.ru/2006/02/07/russkie-bukvyi-v-django/#comment-583985687</link><description>&lt;p&gt;У вас опечатка: cp-1251 надо исправить на utf-8. :)&lt;/p&gt;&lt;p&gt;Ведет себя отлично. Несколько лет пишу любые тексты (почта, IM, код, HTML) только в этой кодировке. Никаких проблем нигде не было.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 01 May 2009 11:02:48 -0000</pubDate></item><item><title>Re: Компьютер в клавиатуре</title><link>http://hrenovina.net/4056#comment-238285220</link><description>&lt;p&gt;Клавиша "выкл" это кнопка на корпусе вашего компа и ничего особенного в этой клавише искать не стоит.&lt;/p&gt;&lt;p&gt;Настраивается она точно так же, как кнопка на корпусе вашего компа (да, она настраивается).&lt;/p&gt;&lt;p&gt;И длительное удержание точно так же приводит к холодному выключению, с потерей всех несохраненных данных.&lt;/p&gt;&lt;p&gt;Автору спасибо, штука интересная.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Mon, 30 Mar 2009 16:23:24 -0000</pubDate></item><item><title>Re: A Quirk in List.Find()</title><link>http://buffered.io/posts/a-quirk-in-listfind/#comment-20599805</link><description>&lt;p&gt;C# is impossible without .NET. And i believe, C# is nearly all code written for .NET. Is there a point to distinguish them so much? If there is, let me rephrase - .NET implementation of generic list sucks.&lt;/p&gt;&lt;p&gt;It's good to agree on using same therms, but this didn't change the point - C# sucks, because it's underlying (.NET) implementation of generic list sucks. It would be wrong if there was alternative implementation usable from C#. There isn't one, right?&lt;/p&gt;&lt;p&gt;I think difference is big for .NET developer (i mean those guys who write the actual framework). For end user (developer who uses .NET framework)... Find()-ing item in list is just that tricky and hard to do right way as you wrote. It doesn't matter, whether is it framework or language problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Wed, 25 Mar 2009 07:40:56 -0000</pubDate></item><item><title>Re: A Quirk in List.Find()</title><link>http://buffered.io/posts/a-quirk-in-listfind/#comment-20599802</link><description>&lt;p&gt;I think you just perfectly proved another point why C# sucks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Wed, 25 Mar 2009 06:52:52 -0000</pubDate></item><item><title>Re: How FriendFeed uses MySQL to store schema-less data - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/how-friendfeed-uses-mysql#comment-6948425</link><description>&lt;p&gt;But can you say how many shards involved?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 06 Mar 2009 12:55:10 -0000</pubDate></item><item><title>Re: How FriendFeed uses MySQL to store schema-less data - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/how-friendfeed-uses-mysql#comment-6948349</link><description>&lt;p&gt;Do you really use memcachedb as your datastore in real project?&lt;/p&gt;&lt;p&gt;I was wondering how to get over 1MB max value size for mecachedb user_index key. Splitting?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Shepelev</dc:creator><pubDate>Fri, 06 Mar 2009 12:52:23 -0000</pubDate></item></channel></rss>