Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-29 | hlint configuration | jao | |
2017-01-23 | Fix Net monitor for large uptimes/bytecounts | Tomas Janousek | |
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> let x = (50 * 2^30 :: Float) in (x + 2000) - x 0.0 Prelude> 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. | |||
2014-09-24 | Rename dynamic string to icon pattern | Alexander Shabalin | |
2014-09-14 | Implement DynamicString for Monitors supporting vbar. | Alexander Shabalin | |
* Batt * Bright * Cpu * Disk * MPD * Mem * MultiCpu * Net * Volume * Wireless | |||
2014-08-29 | hlint improvements | Tony Morris | |
2014-08-09 | hlint refactorings | Reto Hablützel | |
2014-07-30 | Implement adaptive units for Net plugin | Axel Angel | |
Adaptive units are computed only if suffix is enabled Otherwise we fall back to the old computation (KB) | |||
2014-05-04 | Accepting "unknown" as network device state | Jose Antonio Ortega Ruiz | |
Cf. discussion of issue #98 | |||
2014-03-15 | Net plugin has txvbar and rxvbar | Eric Mrak | |
2013-10-27 | New N/A string monitor option (cf. #119) | Jose Antonio Ortega Ruiz | |
2012-09-14 | better readable code | Reto Habluetzel | |
2012-09-14 | removed todo comments | Reto Habluetzel | |
2012-09-04 | automatic detection of devices using /sys/class/net directory | Reto Habluetzel | |
2012-08-29 | cleaned up imports, renamed variable | Reto Habluetzel | |
2012-08-29 | added dynnetwork, which selects the busiest network of a list and displays it | Reto Habluetzel | |
2012-04-15 | Net: distinguishing between faulty and not active interfaces | Jose Antonio Ortega Ruiz | |
2012-04-14 | Removed the N/A text, when interface is not found. | Peter Kasza | |
2012-04-14 | net: hide output when interface is down. | Peter Kasza | |
2011-12-18 | New -d (decimal digits) monitor option (issue #58) | Jose Antonio Ortega Ruiz | |
2011-02-13 | Cpu and MultiCpu should also be more accurate now | Jose Antonio Ortega Ruiz | |
2011-02-13 | More accurate net monitor rates (issue 42) | Jose Antonio Ortega Ruiz | |
2010-12-21 | Haskell sources moved to src/ to unclutter toplevel | Jose Antonio Ortega Ruiz | |