diff --git a/content/episteme.mkd b/content/episteme.mkd new file mode 100644 index 0000000..1e70752 --- /dev/null +++ b/content/episteme.mkd @@ -0,0 +1,25 @@ +--- +title: Epistemic State +date: 2011-09-03 +status: :done +episteme: :believed +--- + +So, what's with these markers of [epistemic][Epistemology] states everywhere? + +They signal my attitude towards the content. I wanted a way to show whether I +still believe something I have written or not. Or only partially, or never at +all[^fiction]. I didn't want to throw away old texts just because I changed my mind, but I +also couldn't let them sit around without an annotation or someone might think I +still endorsed them. + +I'm not happy just going around like RAW, claiming I'm agnostic about +everything. And taking care to notice when you change your mind is very +valuable. Hence the markers. + +[^fiction]: It's complicated in the case of fiction. Generally speaking, *some* + aspects of it I do believe. Sometimes it represents a marginalized aspect of + me. Some days I just don't want to care about making my reasoning clear; I + just want to *write* something. Regardless, don't base your world-view on + fiction, please. Fiction is treason. + diff --git a/content/experiments/speedreading.mkd b/content/experiments/speedreading.mkd index 36a1f7c..11bc0f5 100644 --- a/content/experiments/speedreading.mkd +++ b/content/experiments/speedreading.mkd @@ -1,7 +1,7 @@ --- title: Speed Reading date: 2010-06-23 -status: :rough +techne: :rough episteme: :believed --- @@ -393,9 +393,9 @@ Reading nonlinearly ------------------- Finally, it's time to fully exploit the parallel processing and to do more -aggressive pattern prediction. It's time to throw away the chains of ~~oppression, -comrade!~~ intended text flow that the author gave us and to read in any order -and any direction that gets to the meaning faster. +aggressive pattern prediction. It's time to throw away the chains of +oppression, comrade! intended text flow that the author gave us and +to read in any order and any direction that gets to the meaning faster. Reading nonlinearly just means you read text the same way you look around. You jump to the points that look most interesting, figure out the context around diff --git a/content/references.mkd b/content/references.mkd index bd76aa9..0c6a648 100644 --- a/content/references.mkd +++ b/content/references.mkd @@ -21,12 +21,21 @@ is_hidden: true [DXM]: http://en.wikipedia.org/wiki/DXM +[Epistemology]: http://en.wikipedia.org/wiki/Epistemology [RSS]: /rss.xml -<%= page_references %> +<% printed_items.each do |i| %> +[<%= i[:title] %>]: <%= i.identifier %> + + <% unless i[:alt_titles].nil? + i[:alt_titles].each do |title| %> +[<%= title %>]: <%= i.identifier %> + <% end %> + <% end %> +<% end %> *[PCT]: Perceptual Control Theory @@ -34,4 +43,5 @@ is_hidden: true *[SIA]: Self-Indication Assumption *[SSA]: Self-Sampling Assumption *[SRS]: Spaced Repetition Software (e.g. Anki) +*[RAW]: Robert Anton Wilson diff --git a/content/reflections/gospel.mkd b/content/reflections/gospel.mkd index 314c086..44fe768 100644 --- a/content/reflections/gospel.mkd +++ b/content/reflections/gospel.mkd @@ -1,7 +1,7 @@ --- title: Gospel of Muflax date: 2010-11-12 -status: :done +techne: :done episteme: :believed --- diff --git a/content/reflections/quale.mkd b/content/reflections/quale.mkd index 3a411e7..b57e843 100644 --- a/content/reflections/quale.mkd +++ b/content/reflections/quale.mkd @@ -1,7 +1,7 @@ --- title: There Is Only Quale date: 2010-09-23 -status: :done +techne: :done episteme: :fiction --- diff --git a/content/software/vim.mkd b/content/software/vim.mkd index 5a88aa6..d4f9be8 100644 --- a/content/software/vim.mkd +++ b/content/software/vim.mkd @@ -1,11 +1,12 @@ --- title: vim date: 2010-11-17 -status: :done -episteme: :discredited +techne: :done +episteme: :deprecated --- ~~~ +#!sh alias evil="for s in {1..3}; do echo -n 'VI! '; sleep .666; diff --git a/content/software/xmonad.mkd b/content/software/xmonad.mkd index 0fd1764..89720f3 100644 --- a/content/software/xmonad.mkd +++ b/content/software/xmonad.mkd @@ -1,7 +1,7 @@ --- title: Meditation on XMonad date: 2010-05-03 -status: :done +techne: :done episteme: :discredited --- diff --git a/content/style.css b/content/style.css index 2bab2b2..9071139 100644 --- a/content/style.css +++ b/content/style.css @@ -29,6 +29,11 @@ div.footnotes { border-top: 10px solid #7D9B3E; } +sup { + margin-left: 0.2em; + /* font-size: 1em; */ +} + a:link.crumb, a:hover.crumb, a:visited.crumb, a:active.crumb { color: #d9d9d9; font-size: 1.3em; @@ -40,8 +45,73 @@ a:hover { color: #fff; } +/* epistemic states should stand out from normal links */ +a.episteme { + color: #057dff; +} + +a.episteme:hover { + background: #7D9B3E; + color: black; +} + +/* move paragraphs a bit closer to the center, with list exceptions */ p { - margin: 1em; + margin-left: 1em; + margin-right: 1em; +} + +ul p { + margin-left: 0; +} + +ol p { + margin-left: 0; +} + +/* category items */ +.align_left { + text-align: left; +} + +.align_right { + float: right; + text-align: right; + margin-right: 1em; +} + +ul.table li { + margin-left: 0; +} + +/* general lists */ +li { + margin-left: 1em; + padding-left: 0; +} + +ol { + margin-left: 1em; + margin-top: 0; + margin-bottom: 0; + padding-left: 1em; +} + +ul { + list-style-type: square; + margin-left: 1em; + margin-top: 0; + margin-bottom: 0; + padding-left: 1em; +} + +/* colors for techne states */ +span.techne_done { + color: green; +} + +span.techne_rough { + color: red; } em { @@ -96,19 +166,10 @@ blockquote { padding-left: 0; } -ol { - margin-left: 1em; +/* fix indentation if blockquote is already indented */ +li blockquote { padding-left: 1em; -} - -ul { - margin-left: 0; - padding-left: 1em; -} - -a.footnoteRef { - margin-left: 0.1em; - font-size: 1.3em; + margin-right: 2em; } pre { diff --git a/layouts/category.erb b/layouts/category.erb new file mode 100644 index 0000000..dbd8360 --- /dev/null +++ b/layouts/category.erb @@ -0,0 +1,34 @@ + + + + +<% cat_match = %r{^/#{@category}/} +cat_index = printed_items.find{|i| i.path.match(cat_match) and i[:is_category]} %> + + + +# [<%= cat_index[:title] %>][] + + + +<% items = printed_items.select do |i| + not i[:is_category] and + i.path.match cat_match +end %> + + + +<% items.sort_by{|i| i[:date]}.reverse.each do |i| + techne = "#{i[:date]}" + status = "(#{episteme i[:episteme]}) (#{techne})" +%> + +{:.table} +- [<%= i[:title]%>][] + <%=status%> + +
+ +<% end %> + + diff --git a/layouts/default.html b/layouts/default.erb similarity index 86% rename from layouts/default.html rename to layouts/default.erb index 3f09f42..5918eb4 100644 --- a/layouts/default.html +++ b/layouts/default.erb @@ -19,7 +19,11 @@
- <%= yield %> + <% if @item[:episteme] %> +

muflax' epistemic state: <%= @item[:episteme] %>.

+ <% end %> + +<%= yield %>
diff --git a/lib/default.rb b/lib/default.rb index 4b79ca1..3b0fee9 100644 --- a/lib/default.rb +++ b/lib/default.rb @@ -1,6 +1,7 @@ # Helper functions for site-building. include Nanoc3::Helpers::Breadcrumbs +include Nanoc3::Helpers::Rendering class Nanoc3::Item def add_content content @@ -16,51 +17,36 @@ class Nanoc3::Item end end -# print all items in a category, nicely formatted def category name - output = [] - cat_match = %r{^/#{name}/} - - # find category index - cat_index = printed_items.find{|i| i.path.match(cat_match) and i[:is_category]} + render "category", :category => name +end - # header - output << "# [#{cat_index[:title]}]" - - # find items in category - items = printed_items.select do |i| - ( not i[:is_category] and - i.path.match cat_match - ) +def techne status + case status + when :rough + "needs revisiting" + when :incomplete + "work in progress" + when :done + "finished" + else + status.to_s end +end - # items in nice list - items.sort_by{|i| i[:date]}.reverse.each do |i| - output << "- [#{i[:title]}]" - end - - # output - output.map{|i| "#{i}\n"}.join +def episteme status + s = case status + when :broken + "partly believed" + when :discredited + "not believed anymore" + else + status.to_s + end + "[#{s}][Epistemic State]{:.episteme}" end # only articles that actually get printed def printed_items @items.select { |i| not i[:is_hidden] and not i.binary? } end - -#automatic links for all pages, used by reference file -def page_references - output = [] - printed_items.each do |i| - output << "[#{i[:title]}]: #{i.identifier}" - - unless i[:alt_titles].nil? - i[:alt_titles].each do |title| - output << "[#{title}]: #{i.identifier}" - end - end - end - - # output - output.map{|i| "#{i}\n"}.join -end