tweak: Changes and content.

This commit is contained in:
Nuno Sempere 2022-04-11 02:15:19 +00:00
parent 3d5b2e237e
commit a42e55d3a6
5 changed files with 8 additions and 68 deletions

View File

@ -1,2 +1,2 @@
# conf_enable_comments -n
# conf_enable_blog
conf_enable_blog

View File

@ -1,64 +0,0 @@
#!/bin/rc
path=( $PLAN9/bin $path )
base=.
if(~ $#user 0)
user=`{whoami}
file=(); title=();
bloguser=$user
while(! ~ $#* 0) {
switch($1) {
case -u
base=/gsoc/www/people/$user/blog/
case -b
shift
base=$1
case -f
shift
file=$1
}
shift
}
if(~ $"EDITOR '')
EDITOR=vi
if(~ $#file 0 || ! test -f $file) {
file=/tmp/blogtmp.$pid
rm $file >[2]/dev/null
touch $file
}
$EDITOR $file
# ispell $file
rm $file.bak >[2]/dev/null
fn mkbpost {
umask 002 # Let group write
bptext=$1
if(! ~ $#2 0)
bpid=`{echo -n '-'^$"bpid | sed 's/'$forbidden_uri_chars'+/_/g; 1q'}
d=`{/bin/date +%F|sed 's,-,/,g'}
ddir=$blagh_root^$d^'/'
n=`{ls $ddir >[2]/dev/null |wc -l}
mkdir -p $ddir/$"n^$"bpid/
{
# TODO: Enable metadata
#echo '* Posted:' `{date}
#if(! ~ $#logged_user 0)
# echo '* Author: '$logged_user
cat $bptext
}> $ddir/$"n^$"bpid/index.md
}
forbidden_uri_chars='[^a-zA-Z0-9_+\-\/\.]'
blagh_root=$base
if(test -s $file)
mkbpost $file
if not
echo Empty file!

View File

@ -2,6 +2,8 @@
### Most recent pieces
- 2022/04/07: [Open Philanthopys allocation by cause area](https://nunosempere.com/blog/2022/04/07/openphil-allocation/).
- 2022/04/06: [A quick note on the value of donations](https://nunosempere.com/blog/2022/04/06/note-donations/), written at the request of someone who wanted a reference on why donations are not a total waste of time.
- 2022/04/05: [Forecasting Newsletter: March 2022](https://nunosempere.com/blog/2022/04/05/forecasting-newsletter-march-2022/)
- 2022/04/01: [Forecasting Newsletter: April 2222](https://nunosempere.com/blog/2022/04/01/forecasting-newsletter-april-2222/) (april fools)
- 2022/03/17: [Valuing research works by eliciting comparisons from EA researchers](https://nunosempere.com/blog/2022/03/17/valuing-research-works-by-eliciting-comparisons-from-ea/)
@ -14,8 +16,6 @@
- [External Evaluation of the EA Wiki](https://forum.effectivealtruism.org/posts/kTLR23dFRB5pJryvZ/external-evaluation-of-the-ea-wiki)
- [Pathways to impact for forecasting and evaluation](https://forum.effectivealtruism.org/posts/oXrTQpZyXkEbTBfB6/pathways-to-impact-for-forecasting-and-evaluation)
- [Simple comparison polling to create utility functions](https://forum.effectivealtruism.org/posts/9hQFfmbEiAoodstDA/simple-comparison-polling-to-create-utility-functions)
- [A Model of Patient Spending and Movement Building](https://forum.effectivealtruism.org/posts/FXPaccMDPaEZNyyre/a-model-of-patient-spending-and-movement-building)
- [An estimate of the value of Metaculus questions](https://forum.effectivealtruism.org/posts/zyfeDfqRyWhamwTiL/an-estimate-of-the-value-of-metaculus-questions)
### 2022/02/20

View File

@ -1,3 +1,7 @@
_2022/04/01_: [Here](https://nunosempere.com/blog/2022/04/07/openphil-allocation/) is a visualization of OpenPhil's grant allocation so far:
![](https://i.imgur.com/PwBI0rk.png)
_2022/04/01_: I post a really inside-jokeish [April fools' newsletter](https://nunosempere.com/blog/2022/04/01/forecasting-newsletter-april-2222).
_2022/03/17_: I am working on a doc outlining things I'm confused about w/r to OpenPhil. If this is something which may interest you feel free to [reach out](mailto:nunosempere@protonmail.com).

View File

@ -11,4 +11,4 @@ I'm Nuño Sempere. I do research, write software and predict the future. Thi
### Readers might also enjoy...
...reading the [gossip](/gossip) page, browsing the [changelog](/changelog) to see what's new.
...reading the [gossip](/gossip) page, seeing the latest on my [blog](https://nunosempere.com/blog/), or browsing the [changelog](/changelog) to see what's new.