Skip to content

Commit

Permalink
Site updated at 2015-07-27 10:34:55 UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jul 27, 2015
1 parent 584e0f6 commit 3f8b346
Show file tree
Hide file tree
Showing 311 changed files with 2,839 additions and 2,591 deletions.
8 changes: 4 additions & 4 deletions about/index.html
Expand Up @@ -185,6 +185,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -221,10 +225,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
106 changes: 48 additions & 58 deletions atom.xml
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[atodorov.org - you can logoff, but you can never leave]]></title>
<link href="http://atodorov.org/atom.xml" rel="self"/>
<link href="http://atodorov.org/"/>
<updated>2015-07-01T12:17:16+03:00</updated>
<updated>2015-07-27T13:34:41+03:00</updated>
<id>http://atodorov.org/</id>
<author>
<name><![CDATA[Alexander Todorov]]></name>
Expand All @@ -13,6 +13,53 @@
<generator uri="http://octopress.org/">Octopress</generator>


<entry>
<title type="html"><![CDATA[Call for Ideas: Graphical Test Coverage Reports]]></title>
<link href="http://atodorov.org/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/"/>
<updated>2015-07-27T13:04:00+03:00</updated>
<id>http://atodorov.org/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports</id>
<content type="html"><![CDATA[<p>If you are working with Python and writing unit tests chances are you are
familiar with the <a href="http://nedbatchelder.com/code/coverage/">coverage</a> reporting
tool. However there are testing scenarios in which we either don&#8217;t use unit tests
or maybe execute different code paths(test cases) independent of each other.</p>
<p>For example, this is the case with installation testing in Fedora. Because anaconda
- the installer is very complex the easiest way is to test it live, not with unit tests.
Even though we can get a coverage report (anaconda is written in Python) it reflects
only the test case it was collected from.</p>
<p><code>coverage combine</code> can be used to combine several data files and produce an aggregate
report. This can tell you how much test coverage you have across all your tests.</p>
<p>As far as I can tell Python&#8217;s coverage doesn&#8217;t tell you how many times a particular
line of code has been executed. It also doesn&#8217;t tell you which test cases executed
a particular line
(see <a href="https://bitbucket.org/ned/coveragepy/pull-request/59">PR #59</a>).
In the Fedora example, I have the feeling many of our tests are touching the same
code base and not contributing that much to the overall test coverage.
So I started working on these items.</p>
<p>I imagine a script which will read coverage data from several test executions
(preferably in JSON format,
<a href="https://bitbucket.org/ned/coveragepy/pull-request/60">PR #60</a>) and produce a
graphical report similar to what GitHub does for your commit activity.</p>
<p>See an example <a href="https://s3.amazonaws.com/atodorov/blog/pykickstart_report.html">here</a>!</p>
<p>The example uses darker colors to indicate more line executions, lighter for less
executions. Check the HTML for the actual numbers b/c there are no hints yet.
The input JSON files are
<a href="https://s3.amazonaws.com/atodorov/blog/coverage_json_reports.tar.gz">here</a> and
the script to generate the above HTML is at
<a href="https://github.com/atodorov/fedora-scripts/blob/master/coverage-tool">GitHub</a>.</p>
<p>Now I need your ideas and comments!</p>
<p>What kinds of coverage reports are you using in your job ? How do you generate them ?
How do they look like ?</p>
]]></content>
</entry>

<entry>
<title type="html"><![CDATA[Open Data Event Coming to Sofia]]></title>
<link href="http://atodorov.org/blog/2015/07/01/open-data-event-coming-to-sofia/"/>
Expand Down Expand Up @@ -2173,63 +2220,6 @@ the system has. I&#8217;ve still not figured that out entirely.</li>
<p>For more information please read Chapter 25 from Red Hat&#8217;s
<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/ch25.html">Storage Administration Guide</a></p>
]]></content>
</entry>

<entry>
<title type="html"><![CDATA[Mining E-mail Identities with Gravatar]]></title>
<link href="http://atodorov.org/blog/2015/03/16/mining-e-mail-identities-with-gravatar/"/>
<updated>2015-03-16T23:16:00+02:00</updated>
<id>http://atodorov.org/blog/2015/03/16/mining-e-mail-identities-with-gravatar</id>
<content type="html"><![CDATA[<p>Recently I&#8217;ve laid my hands on a list of little over 7000 email addresses.
This begs the question how much of them are still in use and what for ?</p>
<p>My data is not fresh so I&#8217;ve uploaded the list to Facebook and created a custom
audience. 2400 of 7129 addresses were recognized - 30% of these addresses are
on Facebook and easy to target! Need to figure out which ones.</p>
<p>I could have tried some sort of batch search combined with the custom audience
functionality but I didn&#8217;t find an API for that and decided not to bother.
Instead I&#8217;ve opted for Gravatar.</p>
<figure class='code'><figcaption><span>gravatars.sh </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="c">#!/bin/bash</span>
</span><span class='line'>
</span><span class='line'><span class="k">while </span><span class="nb">read </span>LINE; <span class="k">do</span>
</span><span class='line'><span class="k"> </span><span class="nv">HASH</span><span class="o">=</span><span class="sb">`</span><span class="nb">echo</span> -n <span class="nv">$LINE</span> | md5sum | cut -f1 -d<span class="s1">&#39; &#39;</span><span class="sb">`</span>
</span><span class='line'> wget <span class="s2">&quot;http://gravatar.com/avatar/$HASH&quot;</span> -O <span class="s2">&quot;$LINE&quot;</span>
</span><span class='line'><span class="k">done</span> &lt; /dev/stdin
</span></code></pre></td></tr></table></div></figure>
<p>Feed <code>gravatars.sh</code> with the email list and it will download all images to the
current working directory and use the address as the file name. After
<code>md5sum *@* | cut -f1 -d' ' | sort | uniq -c</code> I quickly noticed the following:</p>
<ul>
<li>4563 addresses have the <code>a1719586837f0fdac8835f74cf4ef04a</code> check-sum; These are
not found on Gravatar.</li>
<li>2400 addresses have the <code>d5fe5cbcc31cff5f8ac010db72eb000c</code> check-sum. These are
addresses which are registered with Gravatar but didn&#8217;t bother to change the default
image.</li>
<li>166 remaining addresses, each with a different check-sum. These have their custom
pictures uploaded to Gravatar and probably much more actively used.</li>
</ul>
<p>A second check with Facebook reveals 900 out of these 2566 addresses were recognized.
This begs the question is Facebook showing incorrect stats or are there 1500 addresses
using Gravatar (or have used at some point) which are not on Facebook ?</p>
<p>At least some of the remaining 4000 addresses are still active and used to send emails.
Next I will be looking for ways to identify them. Any suggestions and comments are more
than welcome!</p>
]]></content>
</entry>

Expand Down
Expand Up @@ -494,6 +494,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -530,10 +534,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -399,6 +399,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -435,10 +439,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -250,6 +250,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -286,10 +290,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -328,6 +328,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -364,10 +368,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
8 changes: 4 additions & 4 deletions blog/2012/03/09/how-to-get-to-the-openshift-shell/index.html
Expand Up @@ -261,6 +261,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -297,10 +301,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -357,6 +357,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -393,10 +397,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -334,6 +334,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -370,10 +374,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
8 changes: 4 additions & 4 deletions blog/2012/05/19/cross-domain-ajax-served-from-cdn/index.html
Expand Up @@ -364,6 +364,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -400,10 +404,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -245,6 +245,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -281,10 +285,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
Expand Up @@ -285,6 +285,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -321,10 +325,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down
8 changes: 4 additions & 4 deletions blog/2013/01/28/hello-world/index.html
Expand Up @@ -237,6 +237,10 @@ <h1>
<h1>Recent Posts</h1>
<ul id="recent_posts">

<li class="post">
<a href="/blog/2015/07/27/call-for-ideas-graphical-test-coverage-reports/">Call for Ideas: Graphical Test Coverage Reports</a>
</li>

<li class="post">
<a href="/blog/2015/07/01/open-data-event-coming-to-sofia/">Open Data Event Coming to Sofia</a>
</li>
Expand Down Expand Up @@ -273,10 +277,6 @@ <h1>Recent Posts</h1>
<a href="/blog/2015/04/29/rhel-7-repository-for-macbook-air/">RHEL 7 Repository for MacBook Air</a>
</li>

<li class="post">
<a href="/blog/2015/04/29/fixing-display-brightness-on-macbook-air-with-rhel-7/">Fixing Display Brightness on MacBook Air with RHEL 7</a>
</li>

</ul>
</section>
<section>
Expand Down

0 comments on commit 3f8b346

Please sign in to comment.