programming – Aperiodic Wanderings ../../../ astronomicalish musings Fri, 25 Nov 2016 05:13:48 +0000 en-US hourly 1 https://wordpress.org/?v=4.6.1 ../../../aperiodic/wp-content/uploads/CRTBsurface1-5512fb08v1_site_icon-32x32.pngprogramming – Aperiodic Wanderings../../../ 32 32 How to Move the BOINC Data Directory (Linux)../../../how-to-move-boinc-data-directory-linux/ ../../../how-to-move-boinc-data-directory-linux/#respond Sun, 17 Jul 2016 18:42:21 +0000 /?p=1716

Move your Linux machine’s BOINC data directory like this:

1. sudo service boinc-client stop
2. sudo mv /var/lib/boinc-client/* /path_to_new_dir/boinc-client/
3. sudo rm -rf /var/lib/boinc-client
4. sudo ln -s /path_to_new_dir/boinc-client /var/lib/boinc-client
5. sudo service boinc-client start

Works like a charm.

 

]]>
../../../how-to-move-boinc-data-directory-linux/feed/ 0
Fun with Python../../../fun-with-python/ ../../../fun-with-python/#respond Fri, 09 Oct 2015 06:51:06 +0000 /?p=1118

Draw your own conclusions:

Grammar vs. politics. Or, education vs. ideology.
Grammar vs. politics. Or, education vs. ideology. (click to embiggen)

[color-box]The red points are data from a grammar.com analysis of nonnegative Facebook comments on the pages of these presidential candidates. The black curve is the most-optimal least-squares fit of a polynomial (fourth-order, in this case) that, among the polynomials tested (orders zero through eight), minimizes the information loss of that model representation of the data. This information loss minimization is called the Akaike Information Criterion.[/color-box]

]]>
/fun-with-python/feed/ 0
Why I Use Python (part 1)../../../why-i-use-python-part-1/ ../../../why-i-use-python-part-1/#respond Sun, 14 Jun 2015 00:16:31 +0000 /?p=920

PHP needs a semicolon at the end of every statement. So does C. So does C++. So does Java. Why? So far as I can tell, for no other reason than laziness on the part of language designers.

(Note: stuffthathappens is no more.)

 

 

 

]]>
../../../why-i-use-python-part-1/feed/ 0