tag:blogger.com,1999:blog-19526313583529197192024-03-05T04:25:06.914+00:00willslabSyntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.comBlogger83125tag:blogger.com,1999:blog-1952631358352919719.post-68277993332174058372021-05-14T17:51:00.002+01:002021-05-14T17:51:44.648+01:00Now blogging on personal website<p> All future blog posts will be at <a href="http://andywills.info">andywills.info</a><br /></p>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-35835508972586708752021-04-09T20:42:00.001+01:002021-04-09T20:42:07.584+01:00Post-Brexit bullsh*t<p> A week ago, I bought a second-hand cassette deck on eBay, from a seller in Germany, for €59 (about £51). Given the model, this was a pretty good price. Shipping was quoted as €22 (£19) - OK. Then, the post-Brexit shit started to hit the fan.</p><p>First, <a href="https://www.ebay.co.uk/help/buying/paying-items/paying-tax-ebay-purchases?id=4771">eBay charged VAT at 20% on the purchase</a>, as apparently they now have do for items bought from the EU for under £135. So, that's <b>another £14.</b><br /></p><p>Then the seller got in touch to say the courier had increased their prices as a result of the UK leaving the EU. So, that was <b>another £11</b>. </p><p>Then, today, the courier got in contact to say they wouldn't deliver the parcel until I paid another £10 in import VAT and a £12 clearance fee. So, <b>another £22.</b></p><p>All told, Brexit cost me an additional £47 on a item that cost £51. </p><p>I did not vote for this. Those of you who did, welcome to the new world, I hope you feel it was all worth it.</p><p><br /></p><p><br /></p>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-69000306258252427492021-02-06T15:56:00.004+00:002021-02-06T15:57:10.240+00:00h = 25<p> My Google Scholar h-index just ticked over to 25; five months since the last uptick. Minorly faster steady progress ;-)</p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7_Ie-9JliSleJTLfNIWLLsBbAYM75pZYSWHKi7WAhTLhlyxKxR_XZNz3NSYpSp8ZelX7wkM2O2w23Kh83vacdI2Rb42_jDNa6kTFoH7vosirFd-mn9r-b_TpAp7L5lFJEv2hNcSIJtvQ/s1265/h25.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="176" data-original-width="1265" height="56" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7_Ie-9JliSleJTLfNIWLLsBbAYM75pZYSWHKi7WAhTLhlyxKxR_XZNz3NSYpSp8ZelX7wkM2O2w23Kh83vacdI2Rb42_jDNa6kTFoH7vosirFd-mn9r-b_TpAp7L5lFJEv2hNcSIJtvQ/w400-h56/h25.png" width="400" /></a></p><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><p></p>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-26218084528104208622020-11-28T08:12:00.000+00:002020-11-28T08:12:05.766+00:00The Five Years of the Linux Desktop<p> I've been using Linux exclusively - desktop, laptop, and server - for about five years now. It's been a really great experience, and it's been fun to see the world move in the same direction. Microsoft bought github, introduced WSL, and "loves Linux" now, apparently. Well, better than the "Linux is a cancer" MS view of old. We now teach R on a web server rather than SPSS on Windows, and test using OpenSesame on JATOS, rather than E-prime on Windows. I made some new friends at the local LUG and Tech Jam. It's been quite a ride. Looking forward to the next five years.<br /></p>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-49560404370170765072020-09-07T10:04:00.003+01:002020-09-07T10:05:09.425+01:00h = 24<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW5WvV4pbuOg0bUBvL8OPB4ZifCuS56AYXfENXJWRkHhMKvL6N2OhtpgYa0FEs6gRdFM65vTaYROWfHLBC_AHNNUKMfsxEW1hJ98scBIm7cLsG-5rtUXpEybwWDyiw6yJTm50CZBZKxm4/s1077/Screenshot+from+2020-09-07+10-02-32.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="155" data-original-width="1077" height="58" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW5WvV4pbuOg0bUBvL8OPB4ZifCuS56AYXfENXJWRkHhMKvL6N2OhtpgYa0FEs6gRdFM65vTaYROWfHLBC_AHNNUKMfsxEW1hJ98scBIm7cLsG-5rtUXpEybwWDyiw6yJTm50CZBZKxm4/w400-h58/Screenshot+from+2020-09-07+10-02-32.png" width="400" /></a></div><p></p><p>Nine months after reaching 23, my Google Scholar h-index is now 24. The steady progress of this index continues.<br /></p>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-36715103628348862342020-05-11T21:50:00.002+01:002020-05-11T21:50:54.113+01:00Computers: 20 years on<div class="separator" style="clear: both; text-align: center;">
</div>
Just added 32GB of memory to my home desktop, bringing the total to 40GB. This is 300 times more memory than my top-end work desktop in 2000. And it's twice the size of that machine's hard drive. Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-50010360313429516082020-01-29T20:22:00.001+00:002020-01-30T12:01:03.471+00:00Define 'Highly Cited'<br />
<div class="gs_citr" tabindex="0">
It might be this:</div>
<div class="gs_citr" tabindex="0">
</div>
<div class="gs_citr" tabindex="0">
<div class="gs_citr" tabindex="0">
LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). <a href="https://ieeexplore.ieee.org/abstract/document/726791">Gradient-based learning applied to document recognition</a>. <i>Proceedings of the IEEE</i>, <i>86</i>(11), 2278-2324.</div>
</div>
<div class="gs_citr" tabindex="0">
</div>
<div class="gs_citr" tabindex="0">
This paper introduced convolutional (weight-sharing) networks - now popularly known as Deep Neural Networks - and showed they could be used in real-world problems. Cited 24,100 times, according to Google Scholar (2020-01-29) - over 1,000 citations per year on average.</div>
<div class="gs_citr" tabindex="0">
<br /></div>
<div class="gs_citr" tabindex="0">
Oh and - psychologists take note - published in conference proceedings.</div>
<div class="gs_citr" tabindex="0">
</div>
Not a one off. How about this <a href="https://arxiv.org/pdf/1409.1556.pdf%20http://arxiv.org/abs/1409.1556.pdf">conference paper. </a>It's by Simonman & Zisserman, it's a development of the LeCun paper, it was published in 2009, and has averaged 5,500 citations per year.<br />
<br />Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-63806442710632423902020-01-14T16:55:00.004+00:002020-01-14T16:55:44.774+00:00h = 23My Google scholar h-index just hit 23, about 8 months since the <a href="http://willslabblog.blogspot.com/2019/05/h-22.html">last rise</a>. Steady progress, I guess...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhyphenhyphen0U2GMdBekRJx4wvKKexZgVQ2olQcHSPrqA6sYis1MKWi_vS3qPTeYACjnOOErTrPIe9ZwUCBhTYAP9H6k7gvGD0O0YXPhJtjQFVeaweYWvf0GwdbGPrpO0jsJVm6Pkino1J8osap3Y/s1600/h23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="241" data-original-width="1068" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhyphenhyphen0U2GMdBekRJx4wvKKexZgVQ2olQcHSPrqA6sYis1MKWi_vS3qPTeYACjnOOErTrPIe9ZwUCBhTYAP9H6k7gvGD0O0YXPhJtjQFVeaweYWvf0GwdbGPrpO0jsJVm6Pkino1J8osap3Y/s400/h23.png" width="400" /></a></div>
<br />Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-84544889353956072582019-11-09T15:01:00.001+00:002019-11-09T15:01:21.861+00:00Donation to GNU OctaveDonated $10 to <a href="https://www.gnu.org/software/octave/">GNU Octave</a>, a free software replacement for MATLAB. A key resource to liberate scientific code from proprietary software.Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com1tag:blogger.com,1999:blog-1952631358352919719.post-2001498617840240132019-07-02T10:13:00.002+01:002019-07-02T10:13:46.661+01:00Science is not advertising...or shouldn't be<div class="testimonial-section">
<i>“Six stone lighter now. I have more energy and feel healthier than I have for a long time”</i> </div>
<div class="testimonial-section">
<span class="author">- Shirley Hardy</span>, <a href="https://uk.atkins.com/why-atkins/people-about-atkins/weight-wellness-the-low-carb-way.html"><span>Atkins diet</span></a></div>
<span></span> <br />
Back in November 2018, a few of my colleagues read a recently-published article in <i>Psychonomic Bulletin & Review</i>. The article concerned the evidence for <a href="https://link.springer.com/article/10.3758/s13423-017-1353-1">dissociable learning processes in comparative and cognitive psychology</a>. We had all previously critiqued, in print, some part of the evidence presented. We had no particular reason to assume that the authors would agree with our critiques --- and that's fine, it's all part of the continuing debate and dialogue of science. What was perturbing was that the review had largely been written as if no such critiques existed.<br />
<br />
In our <a href="http://www.willslab.org.uk/pubs/wills2019postprint.pdf">response</a>, (now accepted by PB&R) we coined the term <i>testimonial review</i> for this type of article. The term refers to a well-known technique in advertising where one promotes a product by highlighting cases that put your product in a good light.<span> Of course, you can't scientifically evidence a claim simply by reporting the data that supports it. One has to consider both the evidence for, and against. You weigh the evidence and come to a conclusion. Good science involves showing your working, so one would expect this process of weighing evidence to be part of any scientific review paper. We call this a <i>balanced</i> review.</span><span></span><br />
<div class="tesimonial-outer">
<div class="testimonial-section">
<span> </span></div>
<div class="testimonial-section">
<span>Testimonial reviews are not good science. They are potentially misleading, and may result in others basing their own work around the incorrect assumption that a particular issue is resolved. Science isn't advertising ... or, at least, it shouldn't be.</span></div>
<div class="testimonial-section">
<span> </span>
</div>
</div>
Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-57327246840339703252019-05-02T08:29:00.001+01:002019-05-02T08:30:40.200+01:00h = 22<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyRCB6V1FYz3l38vetBdzitCDgjN60d0DjfB7lBXTwUJoXXCxcQwQJrAgxWFr_Ja0NPVlpHrrzSR9cLkvFkJH-3a6iO9PZ-G9weK-tipc0Gwj-0xxvsh2Ij0VUtA33eVknGjtCg4Wg-EY/s1600/Screenshot+from+2019-05-02+08-26-08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="208" data-original-width="1600" height="50" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyRCB6V1FYz3l38vetBdzitCDgjN60d0DjfB7lBXTwUJoXXCxcQwQJrAgxWFr_Ja0NPVlpHrrzSR9cLkvFkJH-3a6iO9PZ-G9weK-tipc0Gwj-0xxvsh2Ij0VUtA33eVknGjtCg4Wg-EY/s400/Screenshot+from+2019-05-02+08-26-08.png" width="400" /></a></div>
My Google Scholar h-index reaches 22, about 10 months after it reached 21. Steady progress, I guess :-)Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-48383862591723102202019-02-14T11:15:00.001+00:002019-02-14T11:19:59.633+00:00Seven ways to fix the replication crisisI gave a talk yesterday that was an opinionated survey of seven causes of the replication crisis in psychology, and seven actions we could all take today to avoid it in future. All the slides are on <a href="https://github.com/ajwills72/fix-replication-crisis/blob/master/fix-replication-crisis.pdf">github</a>. In brief:<br />
<br />
<b>1. Publication bias</b><br />
Publication bias comes in part from null results being meaningless with traditional statistics. <i>Use Bayes Factors instead</i>, they can provide evidence for the null, and are easy to do in R.<br />
<br />
<b>2. Small sample size</b><br />
Most of us do not collect enough data in our experiments. <i>Use a power calculation</i> to work out an appropriate sample size. This is easy to do in R.<br />
<br />
<b>3. Misunderstanding statistics</b><br />
No-one in psychology really understands p values<b>. </b>Also, a p value between .04 and .05 is strangely common in psychology, yet p-values in this range provide only very weak evidence. <i>Use Bayes Factors instead</i><br />
<b></b><br />
<b>4. Low reproducibility</b><br />
If you run a different experiment to me, and do different analysis, is it that surprising you get a different answer? Ensure your work is reproducible by <i>publishing your raw data, analysis scripts, stimuli, and experiment code.</i><b><i> </i></b><br />
<br />
<b>5. ‘p’ hacking</b><br />
Common practices in flexible analysis, like testing for significance after every 10 participants, and stopping when it's significant, can lead to false positive rates of about 60%. <i>Pre-register your next big study</i>, so you don't fool yourself.<br />
<b><br />6. Poor project management</b><br />
Most psychologists do not have adequate private archiving and recording within their own labs. <i>Use a version control system </i>(e.g. github) to improve project management in your lab. <br />
<br />
<b>7. Publication norms</b><br />
Pressure to publish lots of papers leads to lots of poor outputs, rather than a few good ones. <i>Publish fewer, better papers.</i> If you are a manager, focus hiring, promotion, and appraisal less on volume and more on quality.<br />
<br />
CC-BY-SA 4.0Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-87799461168804862942019-02-11T18:20:00.001+00:002019-02-11T18:20:02.773+00:00PsychoPy on Raspberry Pi<i>The problem</i><br />
<i> </i> <br />
My department is fortunate to have several multi-seat testing rooms for psychological research. The downside is the computers inside them are slightly ageing. They're several-year-old desktop machines with integrated graphics that were originally Windows 7, but have been converted to Windows 10.<br />
<br />
Since that conversion, <a href="https://www.psychopy.org/">Psychopy</a>, a great open-source experiment generator has been experiencing intermittent issues with graphics-related freezes. It's not all machines, and not all the time, but sporadically they hang for 4-5 seconds before updating the screen. This is bad news for some experiments. Psychopy does not officially support integrated graphics, so our attempts to get this resolved with the developers have so far met with limited success.<br />
<br />
<i>Some solutions I didn't go for</i><br />
<br />
1. Upgrade the machines<br />
<br />
A £30 discrete graphics card would probably do the trick, but with the number of machines we have across the department, that's still quite a cost overall.<br />
<br />
2. Boot to Linux<br />
<br />
We've never been able to replicate this hanging issue on any Linux machine, so it seems Windows specific. Unfortunately, booting from USB is disabled on these machines.<br />
<br />
<br />
3. Use Linux laptops<br />
<br />
Our lab is probably only testing six people at any one time, so we could buy a set of laptops for this purpose and just move them into the testing rooms when we test. This would work, but is potentially a bit expensive (perhaps £2000).<br />
<br />
<i><b>The solution I'm now trying:</b></i><br />
<br />
4. Use Raspberry Pis<br />
<br />
Raspberry Pis are cheap, and the testing rooms already have monitors, keyboards and mice in them (connected to the desktop machines). So, total cost per seat is £51.75. That's for a Raspberry Pi 3, case, power supply, 8GB SD card, official power supply, and HDMI to DVI cable. <br />
<br />
The Psychopy programs I've tested so far on this setup work fine.<br />
<br />
<br />Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com1tag:blogger.com,1999:blog-1952631358352919719.post-10236248844110505112019-01-21T12:23:00.001+00:002019-01-21T22:21:51.273+00:00Please stop using this graph to argue your topic is popularIt seems to have become quite common to use this sort of "number of publications" graph to argue for the importance of one's own research area:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTWUDqaLYEd5UGlVAxhvl88pe8oB9zuxiVUl9nUEyJqA9eU-ZmrDnFpYRi1IPagOK6G-QW7mGBmkf1w9ZxF69GowUlMe9tauvH5IGroaTHJiGmpBDxi8xY7m_dkSqBvWeNNiUtMwgOjq8/s1600/mindful.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1600" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTWUDqaLYEd5UGlVAxhvl88pe8oB9zuxiVUl9nUEyJqA9eU-ZmrDnFpYRi1IPagOK6G-QW7mGBmkf1w9ZxF69GowUlMe9tauvH5IGroaTHJiGmpBDxi8xY7m_dkSqBvWeNNiUtMwgOjq8/s400/mindful.png" width="400" /></a> </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The graph shows that the number of papers including a particular search term in their title, abstract, or keywords, has risen dramatically over the last few decades. In the example above, the search term in this case is "meditation OR mindfulness", following an analysis reported by <a href="https://doi.org/10.1177/174569161770958">Van Dam et al. (2017).</a></div>
<div class="separator" style="clear: both; text-align: left;">
These were just some data I had easily to hand - there's no intention to imply here that mindfulness research is particularly prone to this kind of analysis.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
One problem with this kind of analysis is that the number of scientific publications per year is also increasing for most disciplines. It's fairly easy to add this information to such a graph. For example, let's plot the number of papers including the word "psychology" in their title, abstract, or keywords, on the same axes:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9wvl7zGovgdhFoe6cLn6GbhJcd_2jIydZ6fK39OO4d5Yr_8cFxf4Ppkb7OhzQdJdziW7nM1K2pmX3NhYwGIa9iecQeoD4P8n11NsIWwOLxXt6Lv0nCscnTtwbggfewXZU_NP2JX6LEhk/s1600/mindfulpsych.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1600" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9wvl7zGovgdhFoe6cLn6GbhJcd_2jIydZ6fK39OO4d5Yr_8cFxf4Ppkb7OhzQdJdziW7nM1K2pmX3NhYwGIa9iecQeoD4P8n11NsIWwOLxXt6Lv0nCscnTtwbggfewXZU_NP2JX6LEhk/s640/mindfulpsych.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
This puts a slightly different perspective on things, and provides little support for Van Dam's claim that: "Over the past two decades, writings on mindfulness and meditation practices have saturated the public news media and scientific literature". The literature seems very far from saturated on this particular topic (depending on what 'saturated' is taken to mean - clearly not saturated in the same way that e.g. the US market for refrigerators is saturated). <br />
<br />
If we express the number of "mindfulness OR meditation" papers as a percentage of the number of "psychology" papers, we get the following:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi35Io7pzkJ9eHUhCEs0_Nj9QyiFJwf6jOLrzrS-2RO73zbWmU2meXLzlmoHtGN3quOGydrkihgADdzJOubjHlQCK8M7SjXpckUFhodPyJZ4A5LOK62V32vy3T4_40b6APXegk2KNK3CxA/s1600/mindfulpc.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1600" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi35Io7pzkJ9eHUhCEs0_Nj9QyiFJwf6jOLrzrS-2RO73zbWmU2meXLzlmoHtGN3quOGydrkihgADdzJOubjHlQCK8M7SjXpckUFhodPyJZ4A5LOK62V32vy3T4_40b6APXegk2KNK3CxA/s400/mindfulpc.png" width="400" /></a></div>
<br />
This graph gives us a different perspective to the one offered by Van Dam. The 'saturation' of mindfulness research in psychology was around a fairly stable low level of 1-2% from 1975 to 2000. It rose to a peak of about 6% in 2012, but has been declining since.<br />
<br />
Of course, there would be other, probably better ways, of calculating the 'market share' of a concept in the scientific literature than the method used here. The main point here is simply to demonstrate that raw counts are a very poor measure.<br />
<br />
<div style="text-align: right;">
<span style="font-family: "courier new" , "courier" , monospace;">pu067</span></div>
Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com4tag:blogger.com,1999:blog-1952631358352919719.post-25939689369393883902018-12-12T12:51:00.001+00:002018-12-16T17:16:01.403+00:00PsychoPy on Linux<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD3Ti2YsUmQXduGpKFqFetUf8b8mHKbd0G5gwNbv86Veod-XYPuDrQwPQlY7CzvstL4aVTYkfHyxlAFUkZWzxZ3VKCzY0703TCnWNsHLcLGnC9QeN2z-0hgmOCDeFOdE29tGw2OXkVPh4/s1600/psychopyDocBanner2.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="114" data-original-width="360" height="101" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD3Ti2YsUmQXduGpKFqFetUf8b8mHKbd0G5gwNbv86Veod-XYPuDrQwPQlY7CzvstL4aVTYkfHyxlAFUkZWzxZ3VKCzY0703TCnWNsHLcLGnC9QeN2z-0hgmOCDeFOdE29tGw2OXkVPh4/s320/psychopyDocBanner2.gif" width="320" /></a></div>
We've been using PsychoPy in our lab for a few years now, developing mainly on Linux, but often collecting data on Windows (shared testing facilities). On the basis of this experience, I recommend installing PsychoPy on Linux thus:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;">sudo apt install psychopy</span><br />
<br />
<span style="font-family: inherit;">This gives you quite an out of date version (1.85.3, released Aug 2017, for Ubuntu 18.04, as of Dec 2018), but trying to build it from source, or with <i>pip</i>, is just a huge time sink, often fails, and can kinda mess up your system in the process. </span><br />
<br />
<span style="font-family: inherit;">This leads to a further recommendation. For archive purposes, archive your <span style="font-family: "courier new" , "courier" , monospace;">.py</span> file as well as your <span style="font-family: "courier new" , "courier" , monospace;">.psyexp</span> file, as more recent versions of Builder produce <span style="font-family: "courier new" , "courier" , monospace;">.psyexp</span> files that are not backwards compatible! </span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">In fact, for portability, seriously consider treating PsychoPy mainly as a Python library, and develop experiments entirely as <span style="font-family: "courier new" , "courier" , monospace;">.py</span> files, i.e. avoid Builder entirely. Builder is a good teaching tool, but anyone who can write R scripts can also learn how to write experiments directly in Python.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-85765485038548727362018-12-08T13:18:00.000+00:002018-12-08T13:18:07.660+00:00Renewed my FSFE donation
<div class="post-header">
</div>
<div class="post-body entry-content" id="post-body-2441402819110484056" itemprop="description articleBody">
I renewed my <a href="https://fsfe.org/">Free Software Foundation Europe</a> supporter donation (60 EUR annually).</div>
Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com1tag:blogger.com,1999:blog-1952631358352919719.post-30000641897451957272018-11-16T19:09:00.002+00:002018-11-16T19:09:58.904+00:00Donating to EFFDonated $65 to the <a href="https://www.eff.org/">Electronic Frontier Foundation.</a>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-58729950518646027942018-11-16T18:48:00.002+00:002018-11-16T18:48:47.958+00:00Donating to TORJust donated $75 to the <a href="https://donate.torproject.org/">TOR project.</a>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-19361071424740815062018-09-20T08:38:00.002+01:002018-09-20T08:38:57.226+01:00Plymouth University to open Brain Imaging Centre in 2020<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwKLmDGTDSG-OWjgnGV6xBZmrFaNc_jx1VOJw07IE8RRSpjPeW148eTLCqOj7rqUU8d3JaKHGnaV4wdfngSat9SzyxSlw-DiPmdtYl1faETYlUZ-gKvxfI5aKk_s3BLRFAOgiWVs1ZL24/s1600/BRIC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="640" data-original-width="1243" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwKLmDGTDSG-OWjgnGV6xBZmrFaNc_jx1VOJw07IE8RRSpjPeW148eTLCqOj7rqUU8d3JaKHGnaV4wdfngSat9SzyxSlw-DiPmdtYl1faETYlUZ-gKvxfI5aKk_s3BLRFAOgiWVs1ZL24/s320/BRIC.png" width="320" /></a></div>
Many years in the planning, yesterday we bought a 3T Siemens scanner to put in our new Brain Imaging Centre building (picture above). Due to open for business in Spring 2020.<br /><br />Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-85993889421907094962018-09-04T21:46:00.000+01:002018-09-04T21:46:22.063+01:00Doom (2016) on Linux<br />
<div style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;">
<img alt="https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.videogamesblogger.com%2Fwp-content%2Fuploads%2F2016%2F05%2Fdoom-2016-walkthrough-640x325.jpg&f=1" height="162" src="https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.videogamesblogger.com%2Fwp-content%2Fuploads%2F2016%2F05%2Fdoom-2016-walkthrough-640x325.jpg&f=1" width="320" /> </div>
<br />
Valve recently announced <i>Steam Play</i>, a system that allows previously Windows-only games to be played on Linux. It's in beta at the moment, but I thought I'd give it a go with <b>Doom (2016). </b>After a bit of a faff, it seems to work pretty well. The faff was that, on initially running, you just get a black screen. A search through the forums revealed that ALT+Enter brings it into a window on the desktop (rather than fullscreen), and it then works. From there, you can press ESC to bring up the game options, and set it back to fullscreen. Played for about an hour - works pretty well!<br />
<br />
Of course,<b> </b>Doom 2016 not open source ... but it's still interesting how good Linux is getting as a games platform.Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-31058791721354333412018-07-13T18:31:00.002+01:002018-07-13T18:31:53.114+01:00Goodbye Hush Coffee<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2bnn0W9DoD14GUUQ2FO02zxUWW5vacIvF5xpDOmUoBsbaqXst2B0mCRbEQf5H66kbn7n9cwT-DDsntxdGf3CweO2LDeO27hVgbN-01KBFDD_JJnqYfCsDDngaKXxqbtsGmRXb9aCFYTk/s1600/hush.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="748" data-original-width="577" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2bnn0W9DoD14GUUQ2FO02zxUWW5vacIvF5xpDOmUoBsbaqXst2B0mCRbEQf5H66kbn7n9cwT-DDsntxdGf3CweO2LDeO27hVgbN-01KBFDD_JJnqYfCsDDngaKXxqbtsGmRXb9aCFYTk/s320/hush.png" width="246" /></a></div>
<br />
Hush Coffee, Plymouth -- where the Plymouth meetings of the <a href="http://www.dcglug.org.uk/">Devon & Cornwall Linux User Group</a> started, perhaps 20 years ago - just closed its doors for the last time. Very sad. Now on the hunt for a new home...Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-71081410591525154882018-07-13T18:20:00.002+01:002018-07-13T18:20:42.498+01:00H-21<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0PxGfpFayBAirEI2Pp1MwUrvBSRW3FEjFhxp9DDUlswuCNe3yRktwFhZ5M61JDUcBzHH2wgMNwsgsNL2o1emNqSKXpOIJWCpgDp6W517NaOQOOcSjxgmNM9zyYCHZrkOnP9g7qBqCH00/s1600/h21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="150" data-original-width="1213" height="48" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0PxGfpFayBAirEI2Pp1MwUrvBSRW3FEjFhxp9DDUlswuCNe3yRktwFhZ5M61JDUcBzHH2wgMNwsgsNL2o1emNqSKXpOIJWCpgDp6W517NaOQOOcSjxgmNM9zyYCHZrkOnP9g7qBqCH00/s400/h21.png" width="400" /></a></div>
Shortly after leaving my h-teens, now 21. Yey.Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-63268228988439412652018-05-27T17:55:00.001+01:002018-05-27T17:58:23.406+01:00Second archival appearance<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMH143e5FPlyc3grRK-nDHXvcZwJntqZ7qTElnra5njqZi-2a0FJrf-bFr9fTKZUZ4D-6hvsOxv_JHKU_-TuPb4sONOlWRbCdIBkHfQpcMMQII_v2CfTu3oOg88nEATNrNzlcR9A4RJ1M/s1600/me.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="422" data-original-width="240" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMH143e5FPlyc3grRK-nDHXvcZwJntqZ7qTElnra5njqZi-2a0FJrf-bFr9fTKZUZ4D-6hvsOxv_JHKU_-TuPb4sONOlWRbCdIBkHfQpcMMQII_v2CfTu3oOg88nEATNrNzlcR9A4RJ1M/s320/me.png" width="181" /></a></div>
<br />
After posting that Acorn Programs link (see last post), I thought I'd also link to the first psychology publication I appeared in ... <a href="http://www.willslab.org.uk/pubs/1997valenti.pdf">as a stimulus</a>...Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-84213015606236695552018-05-27T09:58:00.001+01:002018-05-27T17:57:57.334+01:0050 years of BASIC<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjX2y-WH0ePx_kvQSA1NdyQHQ0N2ve2L33bS9NVGCaDBUNRCJCJc_OVs3An3D6jWbF2C9mVwTo7ilByO5mNv-DZm_HuG-kb-juRGKHH8Oz3jVDsMdz_w5AGfMHlXWcH08X0YwY4buEU4Q/s1600/ap.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="618" data-original-width="431" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjX2y-WH0ePx_kvQSA1NdyQHQ0N2ve2L33bS9NVGCaDBUNRCJCJc_OVs3An3D6jWbF2C9mVwTo7ilByO5mNv-DZm_HuG-kb-juRGKHH8Oz3jVDsMdz_w5AGfMHlXWcH08X0YwY4buEU4Q/s320/ap.png" width="223" /></a></div>
<br />
This month marks the <a href="http://time.com/69316/basic/">50th anniversary of BASIC</a> -- the programming language that taught me and millions of other people how to code. For me, <a href="https://en.wikipedia.org/wiki/BBC_BASIC">BBC BASIC</a>. I first made some money writing a BASIC program in 1984, publishing a listing in <a href="https://archive.org/details/Acorn_Programs_1984-12_ECC_Publication_GB">Acorn Programs.</a>Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0tag:blogger.com,1999:blog-1952631358352919719.post-49405899030419367842018-05-23T10:22:00.002+01:002018-05-27T09:49:39.320+01:00Cargo cult writingRichard Feynman coined the term <a href="https://en.wikipedia.org/wiki/Cargo_cult_science">cargo cult science</a>, which can be defined thus: <br />
<br />
<a href="https://en.wikipedia.org/wiki/Cargo_cult" title="Cargo cult">"Cargo cults</a> ... focus on obtaining the material wealth (the "cargo") of the advanced
culture by imitating the actions they believe cause the appearance of
cargo ... Similarly, although cargo cult sciences employ the trappings of the
scientific method, like an airplane with no motor they fail to deliver
anything of value." https://en.wikipedia.org/wiki/Cargo_cult_science<br />
<br />
Increasingly, I'm seeing in undergraduate student writing something that I think is best described as "cargo-cult writing". By this, I mean the construction of phrases that seem focussed on sounding scientific rather than communicating clearly. If you skim cargo-cult writing, it can appear scientific, but when you read it for meaning, it is unclear, often ungrammatical, and says very little of substance. <br />
<br />
Somehow, we need to focus students back on the idea that science is about communicating clearly, in the plainest English possible. Using complex, difficult-to-read language is sometimes a byproduct of talking about complex issues with precision -- but it's not a goal in itself!<br />
<br />
<br />Syntexishttp://www.blogger.com/profile/15356707841049765555noreply@blogger.com0