Re: [Discuss] Your advice. Python lesson for really novice students

2017-11-30 Thread Steven Haddock
Hi Javier: A very talented artist took a SWC course, and this was the project that she created afterwards. https://software-carpentry.org/blog/2016/12/art-with-python.html The linked repo might be a source of inspiration. Steve > On Nov 29, 2017, at 06:44 , Javier García Algarra

Re: [Discuss] What are some fun ways you use coding/scripting in your daily life?

2017-05-04 Thread Steven Haddock
Fun topic Jonas. When we were trying to decide on a name for our baby, I downloaded a huge file of all the boy names ever used (pretty much) and wrote a python interface that would present 3 names at a time, and you had to choose one (or zero) of them to keep. That name got thrown back into

Re: [Discuss] nano clean the window scrool in Windows (was Re: nano not found after installing gitbash (Raniere Silva))

2017-03-30 Thread Steven Haddock
___ Steven Haddock, PhD : hadd...@mbari.org Monterey Bay Aquarium Research Institute 7700 Sandholdt Rd., Moss Landing, CA 95039-9644 831-775-1793 (office) 831-775-2095 (lab) 831-775-1620 (fax) * Practical Computing textbook: http://practicalcomputing.org/mbari * Scientific

Re: [Discuss] Excel errors....

2016-08-26 Thread Steven Haddock
I was going to post that article too, but I dug into it (read the paper), and it is really just conversion of gene names (like SEPT5) in supplementary files. That was reported long ago as affecting some quantifications, but I would call it analytical errors as we have seen in the past. A bit of

Re: [Discuss] Motivating Tidy Data practices to early stage researchers

2016-05-09 Thread Steven Haddock
HI Titus. The thing about dates and locations is a clever demo (I thought you were going to predict their passwords). How did you follow up on that? Did you read off of the cards and show how many different ways the dates and locations were formatted? -Steve > On May 9, 2016, at 09:18 ,

Re: [Discuss] Workshop with locked-down machines

2016-03-29 Thread Steven Haddock
I bet this is a common problem, but I think Andrea has made the key point here. If they are using computer-lab machines, it doesn’t matter that whether they can install / configure the machines, or convince the sysadmin to do it, or use a pre-packaged virtual environment or one of these other

Re: [Discuss] Phrases to avoid when teaching

2016-03-25 Thread Steven Haddock
> It seems like you are using an appeal to reason with your collaborator and > that appeal is not working. I don’t have a suggestion for your specific case, > but you might consider what concerns/fears your collaborator might have for > sticking with perl; i.e. what is your collaborator's

Re: [Discuss] Phrases to avoid when teaching

2016-03-24 Thread Steven Haddock
9-motivation.html > > Lex > >> On 24 Mar 2016, at 22:02, Steven Haddock <hadd...@mbari.org> wrote: >> >> TL;dr Can someone point me to the post about teaching guidelines? >> >> A little while ago Greg or somebody posted a set of examples of thi

[Discuss] Phrases to avoid when teaching

2016-03-24 Thread Steven Haddock
TL;dr Can someone point me to the post about teaching guidelines? A little while ago Greg or somebody posted a set of examples of things to avoid saying (“You can simply…”, etc). A friend of mine (really!) is teaching a class and she realized she should avoid saying “You have probably all done

Re: [Discuss] 2-page "quick guides" for teachers and TAs

2016-03-12 Thread Steven Haddock
> aside: > i'd appreciate if people don't use url shorteners when there is no need to. > it reduces the risk for link rot, and makes pages easier to search for, should > the urls ever change. As an aside to the aside, I didn’t know that anti-url-shorteners was a cause..! I can see the points

Re: [Discuss] From scripts to executable scripts

2016-03-10 Thread Steven Haddock
> The reason I'm teaching this stuff is that I am encouraging our postgrads to > have a "script collection". Currently I find that most people collect their > code together with their data, without the code being under version control. Exactly! thus a ~/scripts folder in your PATH and under

Re: [Discuss] From scripts to executable scripts

2016-03-09 Thread Steven Haddock
> On Mar 9, 2016, at 22:42 , Martin Bähr > wrote: > copy the script to ~/bin/ or to /usr/local/bin/ which should be in the PATH > On Mar 9, 2016, at 22:53 , W. Trevor King wrote: > $ python my/script.py These are both good suggestions that

Re: [Discuss] RajLab: From reproducibility to over-reproducibility

2016-03-02 Thread Steven Haddock
It is interesting how this has morphed into a discussion of ways to convince / teach git to skeptics, but I must say I agreed with a lot of the points in the RajLab post. Taking a realistic and practical approach to use of computing tools is not something that needs to be shot down (people

[Discuss] Best current python testing library

2016-02-10 Thread Steven Haddock
Hi all… I think this has been discussed before (maybe even raised by me?), but what is the current favorite test library for python, since that nose and nose2 are not being maintained. https://nose.readthedocs.org/en/latest/ A priority would be minimal boilerplate required… Thanks, Steve

Re: [Discuss] commenting with hypothes.is

2015-11-23 Thread Steven Haddock
> https://via.hypothes.is/swcarpentry.github.io/good-enough-practices-in-scientific-computing/ > > (Look in the upper right of your browser for a '<' button, then click on that > to expand the sidebar to see comments.) Probably everyone already figured this out, but as mentioned in Titus’s

[Discuss] Feedback from our PCfB course

2015-10-27 Thread Steven Haddock
___ Steven Haddock, PhD : hadd...@mbari.org Monterey Bay Aquarium Research Institute 7700 Sandholdt Rd., Moss Landing, CA 95039-9644 831-775-1793 (office) 831-775-2095 (lab) 831-775-1620 (fax) * Practical Computing textbook

Re: [Discuss] Feedback from our PCfB course

2015-10-27 Thread Steven Haddock
Hi Nelle: We told them at the beginning to start thinking about a project that might be relevant to their work, and that would benefit from automation. Then after a week of the class, when they had passing familiarity with the tool set, we had them discuss in class what they were thinking of

[Discuss] Feedback from our PCfB course

2015-10-27 Thread Steven Haddock
!). There was also a lot of peer-teaching going on after the ~7 hours of planned lectures and exercises. Students would work into the night on their projects and teach/learn from their classmates. -Steve ___ Steven Haddock, PhD

Re: [Discuss] Problem with nano on Windows32

2015-08-22 Thread Steven Haddock
We just finished a 2-week workshop and although we did have some problems with MSYS2, nano was not one of them. After some updates, we used the `pacman` installer with this command and it worked fine.. pacman -S gcc python2 man nano sqlite vim git bc tar Rudimentary instructions (not

[Discuss] Editable tables in repos?

2015-06-24 Thread Steven Haddock
), or having a database file (but then you would not get the formatted web preview and easy editing). Any silver bullets? -Steve ___ Steven Haddock, PhD : hadd...@mbari.org Monterey Bay Aquarium Research Institute 7700 Sandholdt

Re: [Discuss] Editable tables in repos?

2015-06-24 Thread Steven Haddock
Thanks for the tips so far. I should clarify that we primarily use bitbucket for internal collaboration, and formula support is not a hard requirement. Most an editable and rendered table. CSV rendering in github looks good though. -Steve On Jun 24, 2015, 10:12 AM, Steven Haddock wrote

Re: [Discuss] Food for thought for the Python 2 vs 3 debate

2015-06-16 Thread Steven Haddock
Great that people are finding the transition smooth. It was about a year ago that I `ln -s -f /usr/local/bin/python3.4 /usr/local/bin/python`, and I haven't looked back since. Brave man. I have 490 scripts, though, that would cause me to look back until I had re-factored all of them...

Re: [Discuss] Food for thought for the Python 2 vs 3 debate

2015-06-15 Thread Steven Haddock
This was a timely post by Maxime, because I was just thinking of surveying instructors about what they use for their own work and what were the thoughts about porting SWC lessons to Python 3. I can’t remember if there was a recent thread on this… Worth creating an issue (or something even more

Re: [Discuss] Are we bloating our lessons?

2015-04-01 Thread Steven Haddock
Did I just hear you volunteer to help write a more accurate advertising blurb for our workshops? I think I just heard that... :-) In reading the minutes, it sounds like SWC has ceded the novice education to Data Carpentry? If that is the case, maybe my comments are off-base, and I should go