1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-06-29 10:36:48 +02:00

* added explanation of epistemic states

* added basic techne/episteme to categories
* port categorie template to erb
This commit is contained in:
muflax 2011-09-04 14:30:09 +02:00
parent 32344efc00
commit 8ba3958797
11 changed files with 183 additions and 62 deletions

25
content/episteme.mkd Normal file
View file

@ -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.

View file

@ -1,7 +1,7 @@
--- ---
title: Speed Reading title: Speed Reading
date: 2010-06-23 date: 2010-06-23
status: :rough techne: :rough
episteme: :believed episteme: :believed
--- ---
@ -393,9 +393,9 @@ Reading nonlinearly
------------------- -------------------
Finally, it's time to fully exploit the parallel processing and to do more 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, aggressive pattern prediction. It's time to throw away the chains of
comrade!~~ intended text flow that the author gave us and to read in any order <del>oppression, comrade!</del> intended text flow that the author gave us and
and any direction that gets to the meaning faster. 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 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 jump to the points that look most interesting, figure out the context around

View file

@ -21,12 +21,21 @@ is_hidden: true
<!-- Wikipedia articles --> <!-- Wikipedia articles -->
[DXM]: http://en.wikipedia.org/wiki/DXM [DXM]: http://en.wikipedia.org/wiki/DXM
[Epistemology]: http://en.wikipedia.org/wiki/Epistemology
<!-- internal links --> <!-- internal links -->
[RSS]: /rss.xml [RSS]: /rss.xml
<!-- automatic content --> <!-- automatic content -->
<%= 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 %>
<!-- abbreviations --> <!-- abbreviations -->
*[PCT]: Perceptual Control Theory *[PCT]: Perceptual Control Theory
@ -34,4 +43,5 @@ is_hidden: true
*[SIA]: Self-Indication Assumption *[SIA]: Self-Indication Assumption
*[SSA]: Self-Sampling Assumption *[SSA]: Self-Sampling Assumption
*[SRS]: Spaced Repetition Software (e.g. Anki) *[SRS]: Spaced Repetition Software (e.g. Anki)
*[RAW]: Robert Anton Wilson

View file

@ -1,7 +1,7 @@
--- ---
title: Gospel of Muflax title: Gospel of Muflax
date: 2010-11-12 date: 2010-11-12
status: :done techne: :done
episteme: :believed episteme: :believed
--- ---

View file

@ -1,7 +1,7 @@
--- ---
title: There Is Only Quale title: There Is Only Quale
date: 2010-09-23 date: 2010-09-23
status: :done techne: :done
episteme: :fiction episteme: :fiction
--- ---

View file

@ -1,11 +1,12 @@
--- ---
title: vim title: vim
date: 2010-11-17 date: 2010-11-17
status: :done techne: :done
episteme: :discredited episteme: :deprecated
--- ---
~~~ ~~~
#!sh
alias evil="for s in {1..3}; do alias evil="for s in {1..3}; do
echo -n 'VI! '; echo -n 'VI! ';
sleep .666; sleep .666;

View file

@ -1,7 +1,7 @@
--- ---
title: Meditation on XMonad title: Meditation on XMonad
date: 2010-05-03 date: 2010-05-03
status: :done techne: :done
episteme: :discredited episteme: :discredited
--- ---

View file

@ -29,6 +29,11 @@ div.footnotes {
border-top: 10px solid #7D9B3E; 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 { a:link.crumb, a:hover.crumb, a:visited.crumb, a:active.crumb {
color: #d9d9d9; color: #d9d9d9;
font-size: 1.3em; font-size: 1.3em;
@ -40,8 +45,73 @@ a:hover {
color: #fff; 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 { 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 { em {
@ -96,19 +166,10 @@ blockquote {
padding-left: 0; padding-left: 0;
} }
ol { /* fix indentation if blockquote is already indented */
margin-left: 1em; li blockquote {
padding-left: 1em; padding-left: 1em;
} margin-right: 2em;
ul {
margin-left: 0;
padding-left: 1em;
}
a.footnoteRef {
margin-left: 0.1em;
font-size: 1.3em;
} }
pre { pre {

34
layouts/category.erb Normal file
View file

@ -0,0 +1,34 @@
<!-- print all items in a category, nicely formatted -->
<!-- find category index -->
<% cat_match = %r{^/#{@category}/}
cat_index = printed_items.find{|i| i.path.match(cat_match) and i[:is_category]} %>
<!-- header -->
# [<%= cat_index[:title] %>][]
<!-- find items in category -->
<% items = printed_items.select do |i|
not i[:is_category] and
i.path.match cat_match
end %>
<!-- print items in nice list -->
<% items.sort_by{|i| i[:date]}.reverse.each do |i|
techne = "<span class='techne_#{i[:techne]}'>#{i[:date]}</span>"
status = "(#{episteme i[:episteme]}) (#{techne})"
%>
{:.table}
- <span class='align_left'>[<%= i[:title]%>][]</span>
<span class='align_right'><%=status%></span>
<div style='clear: both'></div>
<% end %>
<!-- <div class='category_item'> -->

View file

@ -19,7 +19,11 @@
<!-- actual content --> <!-- actual content -->
<div class="main"> <div class="main">
<%= yield %> <% if @item[:episteme] %>
<p>muflax' epistemic state: <%= @item[:episteme] %>.</p>
<% end %>
<%= yield %>
</div> </div>
</body> </body>

View file

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