<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src, branch 0.24.4</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=0.24.4</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=0.24.4'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2017-04-29T02:23:08Z</updated>
<entry>
<title>Preprocessor nits</title>
<updated>2017-04-29T02:23:08Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T02:23:08Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=a68ee89c43ea9fe49ddf19c4f5d889f9319b9995'/>
<id>urn:sha1:a68ee89c43ea9fe49ddf19c4f5d889f9319b9995</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preprocessor nits</title>
<updated>2017-04-29T02:02:50Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T02:02:50Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=1f9555f4549a64235ba24a11b59a5b5621dd9048'/>
<id>urn:sha1:1f9555f4549a64235ba24a11b59a5b5621dd9048</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CPP for GHC 8.0</title>
<updated>2017-04-29T01:41:05Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T01:41:05Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=308bd1b83e07d2418ee512ee1fcaeda609907669'/>
<id>urn:sha1:308bd1b83e07d2418ee512ee1fcaeda609907669</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Compilation warnings (redundant imports) in GHC 8.0</title>
<updated>2017-04-29T01:23:00Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T01:23:00Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=2939cee44cf2ab18e2627754d19bcd8b6c9e96fb'/>
<id>urn:sha1:2939cee44cf2ab18e2627754d19bcd8b6c9e96fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hlint warning fixed</title>
<updated>2017-04-29T00:26:58Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T00:26:58Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=54c2d5bc5958331a4658a3ea22708e78758f7e11'/>
<id>urn:sha1:54c2d5bc5958331a4658a3ea22708e78758f7e11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hlint configuration</title>
<updated>2017-04-29T00:09:24Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-04-29T00:09:24Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=e41fd61bdeac8779fa24050cc0d44714f7c90f1d'/>
<id>urn:sha1:e41fd61bdeac8779fa24050cc0d44714f7c90f1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More paths for CoreTemp (issue #291)</title>
<updated>2017-03-03T01:31:24Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2017-03-03T01:31:24Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=938a8d8307c1c4794c5fcf269c587c3c5c5e70df'/>
<id>urn:sha1:938a8d8307c1c4794c5fcf269c587c3c5c5e70df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Net monitor for large uptimes/bytecounts</title>
<updated>2017-01-23T13:53:43Z</updated>
<author>
<name>Tomas Janousek</name>
<email>tomi@nomi.cz</email>
</author>
<published>2017-01-23T13:40:20Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=94b74da9de8d79d74769c7937ef9c969d89ba42f'/>
<id>urn:sha1:94b74da9de8d79d74769c7937ef9c969d89ba42f</id>
<content type='text'>
My laptop currently has rx/tx bytes in 10s of gigabytes and it's only
been up for 20 days. Normally it's several times more. At this point,
Float can only tell the difference of 4KB and up:

Prelude&gt; let x = (50 * 2^30 :: Float) in (x + 2000) - x
0.0
Prelude&gt; let x = (50 * 2^30 :: Float) in (x + 3000) - x
4096.0

This commit makes the Net monitor read Word64 which is exactly what the
kernel prints into /proc/net/dev [1] and converts to Float only after
subtracting the two numbers.

[1] https://github.com/torvalds/linux/blob/7a308bb3016f57e5be11a677d15b821536419d36/net/core/net-procfs.c#L82

Still, I think it's time to switch from Float to Double. At half-gigabit
speeds (easily attainable at home while rsyncing over a direct UTP cable
between two post-2010 laptops), Float can only tell the difference of
8 bytes and up (and I'm not even considering takeDigits!). That's
probably okay for a Net monitor in xmobar, but we're so close to the
limit it makes sense to move to Double just in case.
</content>
</entry>
<entry>
<title>Bug fix: off-by-one drawing borders</title>
<updated>2016-11-21T20:20:15Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2016-11-21T20:19:47Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=fd10cff3c73cb6fc99c3c34473685bf8b95dccdb'/>
<id>urn:sha1:fd10cff3c73cb6fc99c3c34473685bf8b95dccdb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix MultiCpu monitor for large uptimes</title>
<updated>2016-11-04T19:36:04Z</updated>
<author>
<name>Zev Weiss</name>
<email>zev@bewilderbeest.net</email>
</author>
<published>2016-11-04T19:36:04Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=35ca0c36f251003a2123433035b6f3a838cff4a4'/>
<id>urn:sha1:35ca0c36f251003a2123433035b6f3a838cff4a4</id>
<content type='text'>
This is essentially commit a0397ad2 applied to MultiCpu.
</content>
</entry>
</feed>
