khatus.git
5 years agoCombine mpd status and use symbolic state indicators
Siraaj Khandkar [Mon, 11 Feb 2019 00:34:32 +0000 (19:34 -0500)] 
Combine mpd status and use symbolic state indicators

5 years agoBegin X4 prototype
Siraaj Khandkar [Fri, 8 Feb 2019 22:36:58 +0000 (17:36 -0500)] 
Begin X4 prototype

5 years agoHide curl progress meter, but still show errors
Siraaj Khandkar [Fri, 8 Feb 2019 03:57:39 +0000 (22:57 -0500)] 
Hide curl progress meter, but still show errors

5 years agoAdd rebuild recipe
Siraaj Khandkar [Fri, 8 Feb 2019 03:57:15 +0000 (22:57 -0500)] 
Add rebuild recipe

5 years agoAdd uninstall and reinstall recipes
Siraaj Khandkar [Fri, 8 Feb 2019 03:47:41 +0000 (22:47 -0500)] 
Add uninstall and reinstall recipes

5 years agoUse newer mpd API
Siraaj Khandkar [Fri, 8 Feb 2019 03:33:00 +0000 (22:33 -0500)] 
Use newer mpd API

5 years agoReplace `metar` with custom parser of NOAA XML API
Siraaj Khandkar [Thu, 7 Feb 2019 22:00:21 +0000 (17:00 -0500)] 
Replace `metar` with custom parser of NOAA XML API

5 years agoSimplify bluetoothctl command
Siraaj Khandkar [Thu, 7 Feb 2019 21:15:11 +0000 (16:15 -0500)] 
Simplify bluetoothctl command

5 years agoFix close mpd connection
Siraaj Khandkar [Tue, 5 Feb 2019 01:16:56 +0000 (20:16 -0500)] 
Fix close mpd connection

5 years agoImprove overview and experiment naming
Siraaj Khandkar [Sun, 3 Feb 2019 23:41:20 +0000 (18:41 -0500)] 
Improve overview and experiment naming

5 years agoNote the meaning of version numbers
Siraaj Khandkar [Fri, 18 Jan 2019 14:08:23 +0000 (09:08 -0500)] 
Note the meaning of version numbers

5 years agoSplit and update README
Siraaj Khandkar [Fri, 18 Jan 2019 00:05:09 +0000 (19:05 -0500)] 
Split and update README

5 years agoBring back v1 from the dead
Siraaj Khandkar [Thu, 17 Jan 2019 23:36:09 +0000 (18:36 -0500)] 
Bring back v1 from the dead

5 years agoSeparate v2 and v3 into dedicated directories
Siraaj Khandkar [Thu, 17 Jan 2019 22:13:56 +0000 (17:13 -0500)] 
Separate v2 and v3 into dedicated directories

5 years agoIndex volume by alsa.device property
Siraaj Khandkar [Sat, 8 Dec 2018 17:53:06 +0000 (12:53 -0500)] 
Index volume by alsa.device property

instead of pulseaudio sink number, which keeps changing upon
plugging/unplugging of speakers

6 years agoHandle multiple batteries
Siraaj Khandkar [Thu, 15 Nov 2018 00:34:39 +0000 (19:34 -0500)] 
Handle multiple batteries

6 years agoAdd a TODO item - track energy usage rate
Siraaj Khandkar [Tue, 13 Nov 2018 00:30:36 +0000 (19:30 -0500)] 
Add a TODO item - track energy usage rate

6 years agoAdd issue to fix - handle multiple batteries
Siraaj Khandkar [Tue, 13 Nov 2018 00:24:21 +0000 (19:24 -0500)] 
Add issue to fix - handle multiple batteries

6 years agoFix incorrectly organized AWK source file
Siraaj Khandkar [Thu, 13 Sep 2018 12:26:06 +0000 (08:26 -0400)] 
Fix incorrectly organized AWK source file

6 years agoDo not rely on FS for msg parsing
Siraaj Khandkar [Mon, 10 Sep 2018 23:09:14 +0000 (19:09 -0400)] 
Do not rely on FS for msg parsing

- makes patterns easier to read (no more field addressing by number)
- allows inclusion of the whole msg lib without conflicting with existing FS

6 years agoRemove superfluous string concatenation
Siraaj Khandkar [Mon, 10 Sep 2018 21:42:18 +0000 (17:42 -0400)] 
Remove superfluous string concatenation

6 years agoRefactor cache dumper
Siraaj Khandkar [Mon, 10 Sep 2018 21:38:08 +0000 (17:38 -0400)] 
Refactor cache dumper

6 years agoMerge branch 'cache-dumper'
Siraaj Khandkar [Sun, 9 Sep 2018 01:56:45 +0000 (21:56 -0400)] 
Merge branch 'cache-dumper'

6 years agoClean after ocamlbuild
Siraaj Khandkar [Sun, 9 Sep 2018 01:54:59 +0000 (21:54 -0400)] 
Clean after ocamlbuild

6 years agoRemove executable permission from AWK source files
Siraaj Khandkar [Sun, 9 Sep 2018 01:53:23 +0000 (21:53 -0400)] 
Remove executable permission from AWK source files

6 years agoMove remaining code out of bin
Siraaj Khandkar [Fri, 7 Sep 2018 00:45:22 +0000 (20:45 -0400)] 
Move remaining code out of bin

and reserve it for built files from now on

6 years agoImplement a basic cache dumper
Siraaj Khandkar [Mon, 3 Sep 2018 19:47:12 +0000 (15:47 -0400)] 
Implement a basic cache dumper

6 years agoMerge branch 'redesign-msg-format'
Siraaj Khandkar [Wed, 5 Sep 2018 20:52:20 +0000 (16:52 -0400)] 
Merge branch 'redesign-msg-format'

6 years agoRedesign message format
Siraaj Khandkar [Wed, 5 Sep 2018 20:48:23 +0000 (16:48 -0400)] 
Redesign message format

- supports distributed khatus (adds node field)
- separates messages into types (data, error, alert, log)

6 years agoNormalize alert msg
Siraaj Khandkar [Mon, 3 Sep 2018 19:33:38 +0000 (15:33 -0400)] 
Normalize alert msg

6 years agoUpdate README
Siraaj Khandkar [Thu, 30 Aug 2018 16:52:35 +0000 (12:52 -0400)] 
Update README

6 years agoMove (most of) bar formatting to the user
Siraaj Khandkar [Thu, 30 Aug 2018 14:42:43 +0000 (10:42 -0400)] 
Move (most of) bar formatting to the user

6 years agoBreak out status component values from formatting
Siraaj Khandkar [Wed, 29 Aug 2018 23:57:31 +0000 (19:57 -0400)] 
Break out status component values from formatting

first step in giving user more fine-grained bar control

6 years agoFix alert to include src module in msg
Siraaj Khandkar [Wed, 29 Aug 2018 21:47:53 +0000 (17:47 -0400)] 
Fix alert to include src module in msg

6 years agoAdd build instructions
Siraaj Khandkar [Wed, 29 Aug 2018 21:36:08 +0000 (17:36 -0400)] 
Add build instructions

6 years agoMove install script to make
Siraaj Khandkar [Wed, 29 Aug 2018 21:33:12 +0000 (17:33 -0400)] 
Move install script to make

6 years agoBring back src module name in messages
Siraaj Khandkar [Wed, 29 Aug 2018 21:13:10 +0000 (17:13 -0400)] 
Bring back src module name in messages

6 years agoDon't complain if cleaning pre-emptively
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:53 +0000 (14:39 -0400)] 
Don't complain if cleaning pre-emptively

6 years agoRe-use AWK build recipe
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:26 +0000 (14:39 -0400)] 
Re-use AWK build recipe

6 years agoRe-use AWK components
Siraaj Khandkar [Wed, 29 Aug 2018 18:19:59 +0000 (14:19 -0400)] 
Re-use AWK components

6 years agoAdd summary of process state meanings
Siraaj Khandkar [Wed, 29 Aug 2018 15:25:22 +0000 (11:25 -0400)] 
Add summary of process state meanings

6 years agoImplement user-selected status bar components
Siraaj Khandkar [Wed, 29 Aug 2018 15:09:29 +0000 (11:09 -0400)] 
Implement user-selected status bar components

6 years agoAdd execute-on-mount option
Siraaj Khandkar [Sat, 25 Aug 2018 18:24:55 +0000 (14:24 -0400)] 
Add execute-on-mount option

mainly to launch a file manager on mount, but potentially anything

6 years agoImplement device auto-mounter
Siraaj Khandkar [Sat, 25 Aug 2018 17:25:36 +0000 (13:25 -0400)] 
Implement device auto-mounter

6 years agoAdd TODO - formalize message format and protocol
Siraaj Khandkar [Sat, 25 Aug 2018 16:46:30 +0000 (12:46 -0400)] 
Add TODO - formalize message format and protocol

6 years agoAdd device-tracking idea
Siraaj Khandkar [Sat, 25 Aug 2018 16:31:19 +0000 (12:31 -0400)] 
Add device-tracking idea

6 years agoDo not process collect data we do not use
Siraaj Khandkar [Fri, 24 Aug 2018 00:41:58 +0000 (20:41 -0400)] 
Do not process collect data we do not use

at least for now, since khatus_bar is now using a noticeable amount of CPU time
(~2-3%, up from ~0-0.7%)

Definitely need to be more-discriminate about who gets what data, instead of
forcing everyone to filter

6 years agoMonitor process states totals
Siraaj Khandkar [Wed, 22 Aug 2018 14:34:39 +0000 (10:34 -0400)] 
Monitor process states totals

6 years agoMoar ideas
Siraaj Khandkar [Wed, 22 Aug 2018 00:04:53 +0000 (20:04 -0400)] 
Moar ideas

6 years agoFix tabs to spaces
Siraaj Khandkar [Tue, 21 Aug 2018 16:39:04 +0000 (12:39 -0400)] 
Fix tabs to spaces

6 years agoAdd more Ideas and TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 04:52:59 +0000 (00:52 -0400)] 
Add more Ideas and TODOs

6 years agoExpose GC interval option
Siraaj Khandkar [Tue, 21 Aug 2018 02:28:12 +0000 (22:28 -0400)] 
Expose GC interval option

6 years agoAdd monitor idea: password digests against leaked databases
Siraaj Khandkar [Tue, 21 Aug 2018 02:12:47 +0000 (22:12 -0400)] 
Add monitor idea: password digests against leaked databases

6 years agoPromote detailed reporting from Ideas to TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:57:29 +0000 (21:57 -0400)] 
Promote detailed reporting from Ideas to TODOs

6 years agoPromote process monitoring from Ideas to TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:55:07 +0000 (21:55 -0400)] 
Promote process monitoring from Ideas to TODOs

6 years agoAdd some ideas and TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:51:59 +0000 (21:51 -0400)] 
Add some ideas and TODOs

6 years agoReport GCed src and key more-clearly
Siraaj Khandkar [Mon, 20 Aug 2018 22:29:55 +0000 (18:29 -0400)] 
Report GCed src and key more-clearly

6 years agoAdd block device event sensor and monitor
Siraaj Khandkar [Mon, 20 Aug 2018 19:11:53 +0000 (15:11 -0400)] 
Add block device event sensor and monitor

6 years agoAdd redesign note to decouple sleep from sensor
Siraaj Khandkar [Mon, 20 Aug 2018 17:47:56 +0000 (13:47 -0400)] 
Add redesign note to decouple sleep from sensor

6 years agoDrop each option down to its own line
Siraaj Khandkar [Mon, 20 Aug 2018 02:51:19 +0000 (22:51 -0400)] 
Drop each option down to its own line

6 years agoRemove stale option from sanity_check
Siraaj Khandkar [Mon, 20 Aug 2018 02:50:17 +0000 (22:50 -0400)] 
Remove stale option from sanity_check

6 years agoFix grammar
Siraaj Khandkar [Sun, 19 Aug 2018 16:46:05 +0000 (12:46 -0400)] 
Fix grammar

6 years agoFix missing backtick
Siraaj Khandkar [Sun, 19 Aug 2018 16:44:32 +0000 (12:44 -0400)] 
Fix missing backtick

6 years agoMerge branch 'uniform-interface'
Siraaj Khandkar [Sun, 19 Aug 2018 16:26:22 +0000 (12:26 -0400)] 
Merge branch 'uniform-interface'

6 years agoUpdate README
Siraaj Khandkar [Sun, 19 Aug 2018 16:24:28 +0000 (12:24 -0400)] 
Update README

6 years agoDo not attach anything to the sensor output stream by default
Siraaj Khandkar [Sun, 19 Aug 2018 16:04:42 +0000 (12:04 -0400)] 
Do not attach anything to the sensor output stream by default

the subsequent redirections should be up to the user

6 years agoUpdate alignment
Siraaj Khandkar [Sun, 19 Aug 2018 16:01:01 +0000 (12:01 -0400)] 
Update alignment

6 years agoFix incorrect key for disk usage cache lookup
Siraaj Khandkar [Sun, 19 Aug 2018 16:00:11 +0000 (12:00 -0400)] 
Fix incorrect key for disk usage cache lookup

6 years agoAdd sanity_check scrip, for quick dev "testing"
Siraaj Khandkar [Sun, 19 Aug 2018 15:40:16 +0000 (11:40 -0400)] 
Add sanity_check scrip, for quick dev "testing"

so we can quickly observe the output of the monitors, without actuating it

6 years agoRemove debug prints and add TODOs
Siraaj Khandkar [Sun, 19 Aug 2018 02:19:48 +0000 (22:19 -0400)] 
Remove debug prints and add TODOs

6 years agoAdjust naming convention and fix usage
Siraaj Khandkar [Sat, 18 Aug 2018 15:01:07 +0000 (11:01 -0400)] 
Adjust naming convention and fix usage

(which was not even consistent with the previous convention)

6 years agoRemove the no-longer-used option: --debug
Siraaj Khandkar [Sat, 18 Aug 2018 14:42:57 +0000 (10:42 -0400)] 
Remove the no-longer-used option: --debug

Its sensible to have the debugging facilities, but not sensible to have an
option to turn-on a non-existent feature, so until debugging facilities are
back - the option has to go.

6 years agoSimplify setting default volume symbol
Siraaj Khandkar [Sat, 18 Aug 2018 14:29:13 +0000 (10:29 -0400)] 
Simplify setting default volume symbol

6 years agoFix missing default value when mute field is unknown
Siraaj Khandkar [Sat, 18 Aug 2018 14:21:18 +0000 (10:21 -0400)] 
Fix missing default value when mute field is unknown

6 years agoShorten some long lines
Siraaj Khandkar [Sat, 18 Aug 2018 14:08:12 +0000 (10:08 -0400)] 
Shorten some long lines

6 years agoMark GC messages as INFO rather than ERROR
Siraaj Khandkar [Fri, 17 Aug 2018 03:39:09 +0000 (23:39 -0400)] 
Mark GC messages as INFO rather than ERROR

6 years agoRemove the outdated "inp" from interval parameter names
Siraaj Khandkar [Fri, 17 Aug 2018 01:13:01 +0000 (21:13 -0400)] 
Remove the outdated "inp" from interval parameter names

it used to stand for input messages, differentiated from the output messages
(where an input msg _submitted_ data to the controller and output msg
_requested_ for data to be an outputted by the controller)

6 years agoRevise naming convention
Siraaj Khandkar [Fri, 17 Aug 2018 01:00:52 +0000 (21:00 -0400)] 
Revise naming convention

6 years agoFix missing subscript
Siraaj Khandkar [Thu, 16 Aug 2018 22:18:01 +0000 (18:18 -0400)] 
Fix missing subscript

6 years agoGeneralize unit scaling
Siraaj Khandkar [Thu, 16 Aug 2018 22:17:22 +0000 (18:17 -0400)] 
Generalize unit scaling

6 years agoDe-conflate value from expiration status
Siraaj Khandkar [Thu, 16 Aug 2018 21:21:19 +0000 (17:21 -0400)] 
De-conflate value from expiration status

6 years agoPass ttl explicitly
Siraaj Khandkar [Thu, 16 Aug 2018 17:03:35 +0000 (13:03 -0400)] 
Pass ttl explicitly

6 years agoComment on the effective meaning of ttl=0
Siraaj Khandkar [Thu, 16 Aug 2018 17:01:46 +0000 (13:01 -0400)] 
Comment on the effective meaning of ttl=0

6 years agoRename age_max to ttl
Siraaj Khandkar [Thu, 16 Aug 2018 16:59:04 +0000 (12:59 -0400)] 
Rename age_max to ttl

6 years agoLine-buffer upower output
Siraaj Khandkar [Thu, 16 Aug 2018 16:56:34 +0000 (12:56 -0400)] 
Line-buffer upower output

6 years agoRe-arrange redirections for better parallelism
Siraaj Khandkar [Thu, 16 Aug 2018 16:33:57 +0000 (12:33 -0400)] 
Re-arrange redirections for better parallelism

6 years agoMove total_to_diff transform from script to function
Siraaj Khandkar [Thu, 16 Aug 2018 16:20:26 +0000 (12:20 -0400)] 
Move total_to_diff transform from script to function

6 years agoIncrease TTL for most data points
Siraaj Khandkar [Thu, 16 Aug 2018 15:12:10 +0000 (11:12 -0400)] 
Increase TTL for most data points

6 years agoRedesign component interfaces
Siraaj Khandkar [Thu, 16 Aug 2018 00:47:00 +0000 (20:47 -0400)] 
Redesign component interfaces

to be consistent src/key/val triples

6 years agoClear MPD state on non-0 exit from MPD song sensor
Siraaj Khandkar [Mon, 13 Aug 2018 19:43:06 +0000 (15:43 -0400)] 
Clear MPD state on non-0 exit from MPD song sensor

This is only half-arse general solution - while it catches and propagates non-0
exits for all sensors, not all sensors will actually propagate failures from
middles of their pipelines; and controller only handles the mpd case here.

The right thing to do seems to be to save the current timestamp value and
mark every key in the db with it, then only use values that are fresh-enough.
This needs a re-organization of how values are formatted by the sensors and
stored by the controller.

For error-handling we need to enable pipefail option on all sensor scripts,
but, how to parse and handle errors _well_? It seems that shell/awk are no
longer an advantage...

6 years agoFix whitespace
Siraaj Khandkar [Sun, 12 Aug 2018 18:45:38 +0000 (14:45 -0400)] 
Fix whitespace

6 years agoFix iwconfig parser output to include interface
Siraaj Khandkar [Thu, 9 Aug 2018 17:36:11 +0000 (13:36 -0400)] 
Fix iwconfig parser output to include interface

6 years agoAdd TODO for controller k/v API
Siraaj Khandkar [Thu, 9 Aug 2018 17:33:32 +0000 (13:33 -0400)] 
Add TODO for controller k/v API

6 years agoAdd optional sensor performance logging
Siraaj Khandkar [Wed, 8 Aug 2018 17:17:58 +0000 (13:17 -0400)] 
Add optional sensor performance logging

6 years agoAdd redesign notes
Siraaj Khandkar [Wed, 8 Aug 2018 16:39:55 +0000 (12:39 -0400)] 
Add redesign notes

6 years agoFix weather alerts with empty phenomena
Siraaj Khandkar [Wed, 8 Aug 2018 14:06:08 +0000 (10:06 -0400)] 
Fix weather alerts with empty phenomena

6 years agoFix tab invader
Siraaj Khandkar [Wed, 8 Aug 2018 00:10:00 +0000 (20:10 -0400)] 
Fix tab invader

6 years agoAlert on reported weather phenomena
Siraaj Khandkar [Wed, 8 Aug 2018 00:05:00 +0000 (20:05 -0400)] 
Alert on reported weather phenomena

6 years agoGrab wifi status from iwconfig instead of nmcli
Siraaj Khandkar [Tue, 7 Aug 2018 23:04:56 +0000 (19:04 -0400)] 
Grab wifi status from iwconfig instead of nmcli

which reduces our resource footprint

6 years agoRevert "Simplify IPC - no need to name the pipe"
Siraaj Khandkar [Tue, 7 Aug 2018 22:16:00 +0000 (18:16 -0400)] 
Revert "Simplify IPC - no need to name the pipe"

This reverts commit 6ad7b3816d199eddc883bdda5205592f5f0442ae.

Sadly, it breaks the ERROR-tagging loop (which I want to keep) of a sensor's
stderr output (since it is now being unintentionally intercepted by the
OK-tagging loop - duh! :) )

This page took 0.063708 seconds and 4 git commands to generate.