This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* Ваня: я решил набросать свой вариант программы и на нём показать, как всё | |
| делается. Можешь сохранить его на будущее как далеко не идеальный, но неплохой | |
| пример для подражания.*) | |
| (* Ваня: первый совет: в коде очень полезны комментарии. Если ты делаешь | |
| что-то неочевидное в какой-то строчке, поясни это в комментарии рядышком. Я | |
| покажу тебе примеры полезных комментариев ниже. Чтобы ты не путал мои советы с | |
| комментариями к коду, советы я пишу в круглых скобках и начинаю со своего | |
| имени, а комментарии - в фигурных скобках. Так что если захочешь использовать | |
| этот код, советы удаляй, они только для тебя, а комментарии оставь: они |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| public void testAccountsInitialization() { | |
| AccountTree.Account expenses; | |
| assertNotNull( expenses = findAccount("expenses", journal.getRootAccounts()) ); | |
| assertNotNull( findAccount("food", expenses.getChildren()) ); | |
| } | |
| @Test | |
| public void testTransactionsInitialization() throws Exception { | |
| List<Transaction> ts = journal.getTransactions(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private <T> T[] arr(T... items) { | |
| return items; | |
| } | |
| //String[] strings = new String[] { | |
| // "1", "2", "3" | |
| //}; | |
| String[] strings = arr("1", "2", "3"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Отчёт: | |
| - фиксы для Дениса | |
| - картинки | |
| - графики для MT | |
| - не та страница у "литературы" в оглавлении? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \subsection{Оптимальные значения параметров}\label{ssec:optimal_parameters} | |
| Характерным свойством геометрических алгоритмов является большое число параметров, изменяя | |
| которые, можно существенно влиять на процесс моделирования. В данном случае такими | |
| параметрами для представления объекта являются распределение плотности точек в | |
| пространстве, форма и число кластеров, размер и положение недеформируемых частей, а также | |
| численный параметр~--- коэффициент затухания колебаний (см. п.~\ref{sssec:proposed_changes}). | |
| Каждый кластер также имеет свой набор параметров, влияющих на моделирование неупругости. | |
| Они упоминались в п.~\ref{sssec:original_algorithm}: порог деформации, после которого начинает | |
| проявляться неупругость, скорость изменения формы при этом, а также максимальная |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Last.fm | |
| Grooveshark | |
| Hype Machine | |
| We7 | |
| Turntable.fm | |
| Яндекс музыка | |
| ПростоПлеер | |
| SoundCloud | |
| F!DEL.RU | |
| OUTLOUD.FM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tracing route to hypem.com [205.251.139.43] | |
| over a maximum of 30 hops: | |
| 1 1 ms <1 ms 2 ms pptp2.nsu.ru [193.124.222.4] | |
| 2 1 ms 1 ms 1 ms 193.124.222.1 | |
| 3 2 ms 1 ms 1 ms 193.124.212.6 | |
| 4 * * * Request timed out. | |
| 5 2 ms 2 ms 1 ms 193.124.212.9 | |
| 6 2 ms 2 ms 2 ms nsk253ar-ge0-1-1380.ll-nsk.zsttk.ru [80.89.131.205] | |
| 7 3 ms 2 ms 2 ms nsk15.nsk25.transtelecom.net [217.150.59.118] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface CodeBlock { | |
| public void invoke(); | |
| } | |
| public class Preprocessor { | |
| public static void invokeIfAssertsEnabled(CodeBlock block) { | |
| boolean assertsEnabled = false; | |
| assert assertsEnabled = true; | |
| if (assertsEnabled) { | |
| block.invoke(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # apts with filtering | |
| apts() { | |
| apt-cache search $* | ack "$(echo $*|sed 's/ /|/g')" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [~] Пн. июля 25, 23:51:44 | |
| nia@nia-laptop$ traceroute grooveshark.com | |
| traceroute to grooveshark.com (8.19.240.53), 30 hops max, 60 byte packets | |
| 1 193.124.222.7 (193.124.222.7) 9.510 ms 9.444 ms 7.454 ms | |
| 2 * * * | |
| 3 * * * | |
| 4 * * * | |
| 5 * * * | |
| 6 nsk253ar-ge0-1-1380.ll-nsk.zsttk.ru (80.89.131.205) 7.204 ms 12.779 ms 12.707 ms | |
| 7 nsk15.nsk25.transtelecom.net (217.150.59.118) 12.666 ms 12.623 ms 12.796 ms |