-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
296 lines (267 loc) · 19.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html prefix="
og: http://ogp.me/ns# article: http://ogp.me/ns/article#
" vocab="http://ogp.me/ns" lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Work hard - die Pythonic">
<meta name="viewport" content="width=device-width">
<title>Pavel Karateev</title>
<link href="assets/css/baguetteBox.min.css" rel="stylesheet" type="text/css">
<link href="assets/css/rst_base.css" rel="stylesheet" type="text/css">
<link href="assets/css/nikola_rst.css" rel="stylesheet" type="text/css">
<link href="assets/css/code.css" rel="stylesheet" type="text/css">
<link href="assets/css/theme.css" rel="stylesheet" type="text/css">
<link href="assets/css/custom.css" rel="stylesheet" type="text/css">
<meta name="theme-color" content="#5670d4">
<meta name="generator" content="Nikola (getnikola.com)">
<link rel="alternate" type="application/rss+xml" title="RSS" hreflang="en" href="rss.xml">
<link rel="canonical" href="http://pavelkarateev.com/">
<link rel="next" href="index-1.html" type="text/html">
<!--[if lt IE 9]><script src="assets/js/html5shiv-printshiv.min.js"></script><![endif]--><link rel="prefetch" href="posts/2020/06/30/freecodecamp-rebirth/" type="text/html">
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
<div id="container">
<header id="header"><h1 id="brand"><a href="." title="Pavel Karateev" rel="home">
<span id="blog-title">Pavel Karateev</span>
</a></h1>
<nav id="menu"><ul>
<li><a href="pages/about">About</a></li>
<li><a href="https://twitter.com/Lancel0te">Twitter</a></li>
<li><a href="https://github.com/lancelote/lancelote.github.io">Source</a></li>
<li><a href="archive.html">Archive</a></li>
<li><a href="categories/">Tags</a></li>
<li><a href="rss.xml">RSS feed</a></li>
</ul></nav></header><main id="content"><div class="postindex">
<article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2020/06/30/freecodecamp-rebirth/" class="u-url">Freecodecamp Rebirth</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2020/06/30/freecodecamp-rebirth/" rel="bookmark">
<time class="published dt-published" datetime="2020-07-06T19:09:09+03:00" itemprop="datePublished" title="2020-07-06 19:09">2020-07-06 19:09</time></a>
</p>
<p class="commentline"> <a href="posts/2020/06/30/freecodecamp-rebirth/#disqus_thread" data-disqus-identifier="cache/posts/2020/06/30/freecodecamp-rebirth.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>In <a class="reference external" href="posts/2016/02/18/freecodecamp-start/">2016</a>, I attempted to go through the <a class="reference external" href="https://www.freecodecamp.org/">Freecodecamp</a> curriculum. Unfortunately, it was not a very successful attempt as I stopped right after the <a class="reference external" href="https://codepen.io/lancelote/pen/OMqbMx">first project</a>. I guess the problem was a lack of motivation to learn Web Development in the first place. Long story short, I am now making a second attempt, and it is much more successful so far.</p>
<p class="more"><a href="posts/2020/06/30/freecodecamp-rebirth/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2019/02/06/xdist/" class="u-url">Parallel and Remote Test Execution with pytest-xdist</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2019/02/06/xdist/" rel="bookmark">
<time class="published dt-published" datetime="2019-03-10T01:00:00+03:00" itemprop="datePublished" title="2019-03-10 01:00">2019-03-10 01:00</time></a>
</p>
<p class="commentline"> <a href="posts/2019/02/06/xdist/#disqus_thread" data-disqus-identifier="cache/posts/2019/02/06/xdist.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>2019.1 PyCharm version will come with native <tt class="docutils literal"><span class="pre">pytest-xdist</span></tt> support so I
spent some time playing with it to discover a bunch of neat features. Some were
a bit hard to get working right away so here are some notes for future
references.</p>
<p class="more"><a href="posts/2019/02/06/xdist/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2019/01/17/hyperskill/" class="u-url">Hyperskill</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2019/01/17/hyperskill/" rel="bookmark">
<time class="published dt-published" datetime="2019-01-17T10:30:00+03:00" itemprop="datePublished" title="2019-01-17 10:30">2019-01-17 10:30</time></a>
</p>
<p class="commentline"> <a href="posts/2019/01/17/hyperskill/#disqus_thread" data-disqus-identifier="cache/posts/2019/01/17/hyperskill.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>I had a great chance to visit <a class="reference external" href="https://hi.hyperskill.org/about">Hyperskill</a> presentation last month, which is a
new MOOC (?) provider for Java and Kotlin (at the moment of writing). Few days
ago I also finished the first Java project there and want to quickly write my
impression.</p>
<p class="more"><a href="posts/2019/01/17/hyperskill/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2019/01/07/highlighting/" class="u-url">Custom Language Highlighting in PyCharm</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2019/01/07/highlighting/" rel="bookmark">
<time class="published dt-published" datetime="2019-01-07T14:30:00+03:00" itemprop="datePublished" title="2019-01-07 14:30">2019-01-07 14:30</time></a>
</p>
<p class="commentline"> <a href="posts/2019/01/07/highlighting/#disqus_thread" data-disqus-identifier="cache/posts/2019/01/07/highlighting.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>It is a quite common request to support new programming and config languages in
PyCharm. While some of them like (e.g. Markdown, JavaScript) are supported
from the box and for some (e.g. Makefile) you can install a third party
plugin, others have no support at all at the moment. Of course, you can write a
new plugin by yourself, but it is too time consuming in many cases, so I
present you a different approach, a bit harsh and not so feature-rich but
quite useful in many cases (I use it myself) - Custom File Types.</p>
<p class="more"><a href="posts/2019/01/07/highlighting/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2018/09/07/bytecode/" class="u-url">Runtime bytecode manipulations</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2018/09/07/bytecode/" rel="bookmark">
<time class="published dt-published" datetime="2018-09-07T14:30:00+03:00" itemprop="datePublished" title="2018-09-07 14:30">2018-09-07 14:30</time></a>
</p>
<p class="commentline"> <a href="posts/2018/09/07/bytecode/#disqus_thread" data-disqus-identifier="cache/posts/2018/09/07/bytecode.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Let's say you have a class with a method which raises an exception on the first
line and prints something on the second. Is it possible to reach print without
editing the source code or using <tt class="docutils literal">pdb</tt>? It is indeed, we will do it by
patching a method bytecode in the runtime.</p>
<p>Do not try this at home!</p>
<p class="more"><a href="posts/2018/09/07/bytecode/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2017/08/13/linters/" class="u-url">Linters and PyCharm</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2017/08/13/linters/" rel="bookmark">
<time class="published dt-published" datetime="2017-08-13T16:34:26+03:00" itemprop="datePublished" title="2017-08-13 16:34">2017-08-13 16:34</time></a>
</p>
<p class="commentline"> <a href="posts/2017/08/13/linters/#disqus_thread" data-disqus-identifier="cache/posts/2017/08/13/linters.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Today's topic is linters. Not sure about you but I'm a huge fun of linters in Python. As a PyCharm user I already have great inspections and stuff you may expect from a good IDE but as a code style maniac it's absolutely not enough for me. So my "standard" pack of linters include: <tt class="docutils literal">pylint</tt>, <tt class="docutils literal">pydocstyle</tt>, <tt class="docutils literal">pycodestyle</tt> and <tt class="docutils literal">mypy</tt>. Not sure if one can call <tt class="docutils literal">mypy</tt> a linter but let's live with it for now. I'll briefly describe each one of them, touch PyCharm integration via external tools and provide a live example from one of my repositories on github. Let's go.</p>
<p class="more"><a href="posts/2017/08/13/linters/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2016/06/16/python-basics-and-usage/" class="u-url">Завершен курс "Python основы и применение"</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2016/06/16/python-basics-and-usage/" rel="bookmark">
<time class="published dt-published" datetime="2016-06-15T00:00:00+03:00" itemprop="datePublished" title="2016-06-15 00:00">2016-06-15 00:00</time></a>
</p>
<p class="commentline"> <a href="posts/2016/06/16/python-basics-and-usage/#disqus_thread" data-disqus-identifier="cache/posts/2016/06/16/python-basics-and-usage.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Завершил курс "<a class="reference external" href="https://stepic.org/course/Python-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D1%8B-%D0%B8-%D0%BF%D1%80%D0%B8%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5-512">Python - Основы и применение</a>" от <a class="reference external" href="https://stepic.org/">Stepic.org</a>. Несмотря на название курс оказался весьма интересным и не таким уж и базовым - полные новички в Python могут столкнуться с проблемами. Мне очень понравилось, что были разобраны некоторые традиционно пропускаемые вопросы (пресловутый Method Resolution Order), которые как раз очень любят спрашивать на собеседованиях. Чуть подробнее о плюсах и минусах, а также краткое содержание внутри.</p>
<p class="more"><a href="posts/2016/06/16/python-basics-and-usage/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2016/06/15/intermediate-python/" class="u-url">Перевод книги "Intermediate Python"</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2016/06/15/intermediate-python/" rel="bookmark">
<time class="published dt-published" datetime="2016-06-15T00:00:00+03:00" itemprop="datePublished" title="2016-06-15 00:00">2016-06-15 00:00</time></a>
</p>
<p class="commentline"> <a href="posts/2016/06/15/intermediate-python/#disqus_thread" data-disqus-identifier="cache/posts/2016/06/15/intermediate-python.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Не так давно я закончил перевод небольшой книги от разработчика из
Пакистана - <a href="https://twitter.com/yasoobkhalid">Yasoob Khalid</a> -
"<a href="https://github.com/lancelote/interpy-ru">Intermediate Python</a>". Не уверен как
лучше перевести <em>Intermediate</em> в данном контексте, но смысл в том что книга для
уже освоивших базовый Python программистов. Её основная идея дать читателю краткий обзор
нюансов языка, которые остаются за кадром базовых курсов/книг/руководств, ведь в
Python при всей его интуитивности и простоте есть немало сложных, специфических,
да и просто традиционных решений, как впрочем и в любом другом языке.</p>
<p class="more"><a href="posts/2016/06/15/intermediate-python/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2016/02/18/freecodecamp-start/" class="u-url">First FreeCodeCamp project is complete</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2016/02/18/freecodecamp-start/" rel="bookmark">
<time class="published dt-published" datetime="2016-02-18T00:00:00+03:00" itemprop="datePublished" title="2016-02-18 00:00">2016-02-18 00:00</time></a>
</p>
<p class="commentline"> <a href="posts/2016/02/18/freecodecamp-start/#disqus_thread" data-disqus-identifier="cache/posts/2016/02/18/ayn-rand-tribute.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Not long ago I have started my <a class="reference external" href="http://www.freecodecamp.com/lancelote">FreeCodeCamp</a> path thanks to <a class="reference external" href="https://smartprogress.do/goal/162912/">smartprogress.do</a> to gain a better knowledge of frontend technology stack. I was somewhat sceptical that time about my capabilities in the area ("I am not a designer - I'm an engineer") and I did no like front end altogether. All that billions of JS-related technologies and HTML with CSS on top of the cake, gosh! Time has passed and I have catch myself today enjoining of frontend development. So, what is happened to me? Not much in reality.</p>
<p class="more"><a href="posts/2016/02/18/freecodecamp-start/">Read more…</a></p>
</div>
</div>
</article><article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/2016/01/11/oss-university-start/" class="u-url">OSS University Path</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
Pavel Karateev
</span></p>
<p class="dateline">
<a href="posts/2016/01/11/oss-university-start/" rel="bookmark">
<time class="published dt-published" datetime="2016-01-11T00:00:00+03:00" itemprop="datePublished" title="2016-01-11 00:00">2016-01-11 00:00</time></a>
</p>
<p class="commentline"> <a href="posts/2016/01/11/oss-university-start/#disqus_thread" data-disqus-identifier="cache/posts/2016/01/11/oss-university.html">Comments</a>
</p>
</div>
</header><div class="p-summary entry-summary">
<div>
<p>Sadly I have no solid background in CS. There were few CS-related courses in
the University (C++, Optimisation, math and so on), but the major part of my
expertise comes from the experience. My field knowledge is pretty broad, but it
is shallow in some places (in a lot of places) and has big holes here and there.
That is why I really hope Open Source Society University initiative will help
me build vast and complete CS "base".</p>
<p class="more"><a href="posts/2016/01/11/oss-university-start/">Read more…</a></p>
</div>
</div>
</article>
</div>
<nav class="postindexpager"><ul class="pager">
<li class="next">
<a href="index-1.html" rel="next">Older posts</a>
</li>
</ul></nav><script>var disqus_shortname="pavelkarateev";(function(){var a=document.createElement("script");a.async=true;a.src="https://"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script></main><footer id="footer"><p>Contents © 2020 <a href="mailto:[email protected]">Pavel Karateev</a> - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a> </p>
</footer>
</div>
<script src="assets/js/baguetteBox.min.js"></script><script>
baguetteBox.run('div#content', {
ignoreClass: 'islink',
captions: function(element) {
return element.getElementsByTagName('img')[0].alt;
}});
</script><!-- Global site tag (gtag.js) - Google Analytics --><script async src="https://www.googletagmanager.com/gtag/js?id=UA-57414412-1"></script><script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-57414412-1');
</script>
</body>
</html>