-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathArbtt-Learning.html
More file actions
111 lines (99 loc) · 6.51 KB
/
Arbtt-Learning.html
File metadata and controls
111 lines (99 loc) · 6.51 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="icon" type="image/png" href="./images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./images/favicon-16x16.png" sizes="16x16" />
<title>Arbtt Notes - SPK's Rationality Essays</title>
<link rel="stylesheet" type="text/css" href="./css/default.css" />
<link rel="stylesheet" type="text/css" href="./css/highlight.css" />
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> -->
<!-- <script type="text/javascript" src="/js/header-links.js"></script> -->
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link href="atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM/RSS Feed" />
<!-- Google Analytics stuff -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DEWF2J5BG8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DEWF2J5BG8');
</script>
<script type="text/javascript" src="https://fast.fonts.net/jsapi/f7f47a40-b25b-44ee-9f9c-cfdfc8bb2741.js"></script>
</head>
<body>
<div id="header">
<div id="logo">
<a href="./">SPK's Rationality Essays</a>
</div>
<div id="navigation">
<a href="./">Home</a>
<a href="./notes.html">Notes</a>
<!-- <a href="/about.html">About</a> -->
<a href="./archive.html">Archive</a>
<a href="./atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM/RSS Feed">RSS</a>
</div>
</div>
<div id="content">
<h1 id="post-title">Arbtt Notes</h1>
<!-- <center><img src="https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-prn1/t31.0-8/p600x600/10257116_10202295769100492_2438594605053717342_o.jpg" height="400" width="300" class="sujeet-pic" alt="Sujeet pic" /></center> -->
<p><strong>Note</strong>: Installation Notes are at the end of the page.</p>
<h1 id="principles">Principles</h1>
<p>I use arbtt to tell me how much time I’m wasting. So, I should be able to tell that at a look. On a bad day, it should be crystal clear that I’ve got nothing done. I shouldn’t have to decipher some complex report. So, for now, I just want a simple binary classification of my time: Work or Junk.</p>
<p>Note that arbtt measures only how I spend my time on the computer. So, to the best of my knowledge, I can’t tell whether I was goofing off AFK.</p>
<p>How do I waste time on my computer? I browse random sites, I watch videos, or read unrelated books. Cool. I’ve tagged all of them with the “Junk” category.</p>
<p>How do I waste time otherwise? I browse the web on my tablet. So, I want another stat: Time on computer / Total time. I can use the total time logged by the <code>last</code> command. After subtracting my gym time, household chores time, and reading time, what is left must have been spent sleeping or surfing videos on my tablet.</p>
<p>Also, I need to stop using other tools like my very own <code>bscl</code>, so that arbtt gets the TLC it needs to match my needs. Bring the pain forward, as the XP people say.</p>
<h1 id="useful-commands">Useful commands</h1>
<p>Note: I use tab-separated values (tsv) as the output format because the raw data will have long names (especially Firefox titles) and you have to scroll right to see much of the data in the table.</p>
<p>To find out untagged data from the last 24 hours:</p>
<pre><code>arbtt-stats -m 0 --output-format tsv -x Work: -x Junk: -x Life: -f '$sampleage < 24:00'</code></pre>
<p>To find out general data from the last 3 hours (to see the actual programs you used):</p>
<pre><code>arbtt-stats -m 0 --output-format tsv -f '$sampleage < 3:00'</code></pre>
<h1 id="features-i-want">Features I want</h1>
<p>Tag time spent reading PG’s essays somehow.</p>
<p>Maybe get Firefox to show the url in the title.</p>
<hr />
<h1 id="installation-and-setup">Installation and Setup</h1>
<ul>
<li><p>[2015-07-30 Thu] Your window manager must set EWMH hints.</p>
<p>For XMonad, use XMonad.Hooks.EwmhDesktops. (h/t <a href="http://notes.srck.cz/tool-spotlight-arbtt-the-automatic-rule-based-time-tracker.html">srck.cz</a>)</p>
<p>Had to change xmonad.hs as suggested <a href="http://hackage.haskell.org/package/xmonad-contrib-0.11.4/docs/XMonad-Hooks-EwmhDesktops.html">here</a></p></li>
</ul>
<h1 id="usage-log">Usage Log</h1>
<ul>
<li>[2015-04-23 Thu] I started using arbtt on April 23, 2015</li>
<li>[2015-07-22 Wed] Had to run arbtt in .xsessionrc cos of the change to xmonad.</li>
<li>[2015-07-30 Thu] Specified sample-rate in xsessionrc.</li>
<li>[2015-07-30 Thu] I didn’t specify the config file in the arbtt-stats command.</li>
</ul>
<div class="info">Created: August 5, 2015</div>
<div class="info">Last modified: August 24, 2015</div>
<div class="info">Status: in-progress notes</div>
<div class="info"><b>Tags</b>: notes, arbtt</div>
<br />
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'spkrationalitytrainingground'; // required: replace example with your forum shortname
var disqus_identifier = '/Arbtt-Learning.html';
var disqus_title = 'Arbtt Notes';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<script type="text/javascript" src="https://fast.fonts.net/jsapi/f7f47a40-b25b-44ee-9f9c-cfdfc8bb2741.js"></script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
<div id="footer">
Site proudly generated by
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
</div>
</body>
</html>