-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
102 lines (93 loc) · 6.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>iv goes technical
</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/hljs.css">
</head>
<body class="big-logo">
<header>
<p><span class="logo"><a href="http://iv-m.github.io">iv goes technical</a></span> ⚫ <a href="/">home</a> ⚫ <a href="/about.html">about</a> ⚫ <a href="/notes/">pale of notes</a> ⚫ <a href="/articles/">articles by date</a></p>
</header>
<div id="content">
<div class="content-wrap"><p>Sometimes, iv goes technical. See <a href="/about.html">about page</a> for more details.</p>
<div class="article-list">
<h2><a href="/articles/gtk-custom-open-with/">Opening files with a custom application in GNOME and suchlike</a><small>2018, May 29</small></h2>
<div class="intro"><p>In effort to make things simper, the software developers often reach
quite an opposite goal. One such example I’ve suddenly stumbled upon
today is <span class="caps">GTK</span> <em>Open With</em> dialog: adding a custom item there is,
surprisingly, quite a technical task, in a sense that you have to use
google, read the docs and edit some files (with a text editor!). I simply
had to share the<span class="widont"> </span>details.</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/numba-vs-numpy-sums/">Numba vs Numpy: some sums</a><small>2018, March 28</small></h2>
<div class="intro"><p><a href="http://numba.pydata.org/">Numba</a> is open-source optimizing compiler for Python. It seems work like magic: just add a simple decorator to your pure-python function, and it immediately becomes 200 times faster – at least, so clames the <a href="https://en.wikipedia.org/w/index.php?title=Numba&oldid=831668946">Wikipedia article about Numba</a>. Even this is hard to believe, but Wikipedia goes further and claims that a vary naive implementation of a sum of a numpy array is 30% faster then <code>numpy.sum</code>. Somehow, I would expect that <code>numpy.sum</code> is as optimized as it can be, so this clame sounds even more ambitious. Let’s check this with some<span class="widont"> </span>benchmarks!</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/python-x-percent-one/">Division by 1: just when you thought you knew Python</a><small>2017, December 29</small></h2>
<div class="intro"><p>To the hard people that came from ruthless land of C, many things in
Python look like craziness. But with the years are passing,
you get to feel like at home with it… until you see something like
<code>x % 1</code>.</p>
<p>Why would anyone do that? In production<span class="widont"> </span>code?</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/python-colon-colon/">Colon colon: just when you thought you knew Python</a><small>2017, December 11</small></h2>
<div class="intro"><p>For a simple scripting language Python bears more then enough brain-exploding
magic, like metaclasses and descriptors. But what if a simple language
construct, in a simple code, just makes you stop and say <em>“<span class="caps">WAT</span>?”</em>.
That’s exactly what happened to me when I saw this: <code>x = x[::-1]</code>.
What does <em>that</em> mean? Let’s take a quick<span class="widont"> </span>look.</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/kafka-limit-disk-space/">Apache Kafka: how to limit the disk space</a><small>2017, February 26</small></h2>
<div class="intro"><p>Sometimes it is desirable to put an upper bound on how much space
<a href="http://kafka.apache.org">Apache Kafka</a> can use. But it turns out that this is not as trivial
as one might imagine — for me, it took several iterations to find
the correct settings. The details<span class="widont"> </span>below.</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/heatmaps-for-all/">Heatmaps for all!</a><small>2017, January 05</small></h2>
<div class="intro"><p>Heatmaps are awesome: in many cases, using color to represent an extra
dimension allows to get good insights on what’s really happening. But
how to draw them? Below, I’ll take a quick look onto a couple of<span class="widont"> </span>ways.</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/wintersmith-markdown-it/">Switching to markdown-it</a><small>2017, January 04</small></h2>
<div class="intro"><p>I’ve switched from <a href="https://github.com/chjj/marked">marked</a> to <a href="https://github.com/markdown-it/markdown-it">markdown-it</a> for this site.
Here are some hows and<span class="widont"> </span>whys.</p>
</div>
</div>
<div class="article-list">
<h2><a href="/articles/first-article/">First article, or how this site started</a><small>2016, December 25</small></h2>
<div class="intro"><p>Hi there!</p>
<p>Now, when I ductaped together quite a bit of infrastructure,
it’s time to write something <strong>for real</strong>. I’d also like to describe
how and what was done, and how I feel about<span class="widont"> </span>it.</p>
</div>
</div>
</div>
</div>
<footer>
<div class="content-wrap">
<div class="last-update">
<p>Last site update: 2022-02-18 11:31:20 +0400.</p>
</div>
<div class="copy">
<p>© 2016-2022 Ivan A. Melnikov — powered by <a href="https://github.com/jnordberg/wintersmith">Wintersmith</a> — <a href="https://github.com/iv-m/iv-m.github.io/tree/src">source on github</a></p>
</div>
</div>
</footer>
</body>
</html>