summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Kyle Spaans [Tue, 21 Apr 2009 13:19:27 +0000 (09:19 -0400)]
Work on data, threading and printing of threads
Refactored code in various places. Started to move data collection into a single
data structure that can be processed by multiple functions. Lots of cleanup of
the cleaned up code, so that everything works from nntp-to-dot.ss. For
threading, printing and DOT code generation is now done with some simple helper
functions in thread.ss. Some extra stats are also generated in userstats.ss
using the new data structure.
The data struct lets threads be stored as a tree-like structure in memory, which
is easy to play with. Threading appears to be working, but needs more careful
testing with larger input (read: longer threads) to make sure everything jives
since I no longer trust what SLRN shows me.
Kyle Spaans [Mon, 20 Apr 2009 19:36:48 +0000 (15:36 -0400)]
working new users per day
Simple extra function added to the end of userstats.ss
that will printed properly formatted data that counts the number
of "first posts" per day.
Kyle Spaans [Mon, 20 Apr 2009 17:46:42 +0000 (13:46 -0400)]
userstats function initial implementation
Created new file for "userstats" code. Also refactored date-getting
code from ppd.ss into common.ss for use with userstats.
Currently, the total number of users, times of first and last posts
and average number of posts per day are calculated.
All data is saved in a hash table of data stuctures.
Kyle Spaans [Fri, 17 Apr 2009 18:10:58 +0000 (14:10 -0400)]
Cleanup: moved major functions into their own modules
Major functions can now sit nicely in their own files/modules. Also
renamed connect.ss to nntp-to-dot.ss
Kyle Spaans [Fri, 17 Apr 2009 15:27:25 +0000 (11:27 -0400)]
posts-per-day plus .gitignore cleanup
Finished ppd function using SRFI-19, and moved all data and generated files
into a "data" directory, which is ignored.
Kyle Spaans [Wed, 15 Apr 2009 20:16:05 +0000 (16:16 -0400)]
posts-per-day function, plus minor cleanups
Using SRFI-19 for dates. It does the parson for me, then I can
count the number of posts per dar, and print this for gnuplot
to plot.
Kyle Spaans [Mon, 13 Apr 2009 16:00:20 +0000 (12:00 -0400)]
prep for pushing to github
Added license, and minor cleanups
Kyle Spaans [Sat, 11 Apr 2009 00:57:08 +0000 (20:57 -0400)]
ideas for next steps
Kyle Spaans [Fri, 10 Apr 2009 21:46:18 +0000 (17:46 -0400)]
prettier DOT graphs
Kyle Spaans [Fri, 10 Apr 2009 21:19:42 +0000 (17:19 -0400)]
fixed bug with new posts from existing users
Kyle Spaans [Fri, 10 Apr 2009 19:24:45 +0000 (15:24 -0400)]
fixed "ref to user that DNE" bug
could probably use some refactoring though
Kyle Spaans [Fri, 10 Apr 2009 19:12:26 +0000 (15:12 -0400)]
moved helper into ref-helper.ss and pretty printing for easy debugging
Kyle Spaans [Thu, 9 Apr 2009 17:02:31 +0000 (13:02 -0400)]
working output using twopi
Still a couple issues, like extra nodes being made when they shouldn't
if there are references. Lots of ironing and verification still left.
Also, how to make twopi put more space between nodes?
Kyle Spaans [Thu, 9 Apr 2009 02:41:32 +0000 (22:41 -0400)]
Working user post-count
Need to figure out more things though, see line 175
Kyle Spaans [Wed, 8 Apr 2009 21:53:57 +0000 (17:53 -0400)]
prettier printing for thread-hash
Kyle Spaans [Wed, 8 Apr 2009 19:11:41 +0000 (15:11 -0400)]
Threading works, make-dot-id is fixed, but starts at "B"?
Kyle Spaans [Wed, 8 Apr 2009 17:49:06 +0000 (13:49 -0400)]
working dot output, with gitignore for dot output file
Have error when make-dot-id rolls over to "AA".
Kyle Spaans [Mon, 6 Apr 2009 22:17:45 +0000 (18:17 -0400)]
properly correlating references with message IDs
Kyle Spaans [Sun, 5 Apr 2009 18:48:41 +0000 (14:48 -0400)]
Helper function to generate unique IDs for DOT code generation
Kyle Spaans [Sun, 5 Apr 2009 04:51:23 +0000 (00:51 -0400)]
ready to start putting reference headers into a hash table
Kyle Spaans [Sun, 5 Apr 2009 03:39:31 +0000 (23:39 -0400)]
helper function for finding references
Kyle Spaans [Sat, 4 Apr 2009 20:28:49 +0000 (16:28 -0400)]
quick try at an "nntp-map" function. no go though
Kyle Spaans [Tue, 31 Mar 2009 02:13:58 +0000 (22:13 -0400)]
refactored message retreival into a helper function
Kyle Spaans [Fri, 20 Mar 2009 02:55:42 +0000 (22:55 -0400)]
Keep post count for each user in hash table
Kyle Spaans [Fri, 20 Mar 2009 02:24:32 +0000 (22:24 -0400)]
reading FROM headers into a hash table
Kyle Spaans [Mon, 16 Mar 2009 01:41:44 +0000 (21:41 -0400)]
good ideas for hash table to store users and their relationship data
Kyle Spaans [Sat, 14 Mar 2009 17:48:54 +0000 (13:48 -0400)]
Working read from every newsgroup post
Kyle Spaans [Sat, 14 Mar 2009 17:15:38 +0000 (13:15 -0400)]
Some small line length cleanups and a first attempt at catching exceptions.
Turns out call-with-exception-handler isn't the right choice.
Perhaps with-handler, or something else.
Kyle Spaans [Thu, 12 Mar 2009 02:10:34 +0000 (22:10 -0400)]
prototype for touching each message in the group
Kyle Spaans [Sat, 7 Mar 2009 20:19:43 +0000 (15:19 -0500)]
working file for initial connections and header reading.
Now need to figure out how to loop over all messages and an
appropriate structure to put them all in, so that dot code
can be generated.
Kyle Spaans [Sat, 7 Mar 2009 18:19:19 +0000 (13:19 -0500)]
Purpose of this repo/project