133 reputation
7
bio website chil.rice.edu/stanley
location Houston, TX
age 28
visits member for 11 months
seen 20 hours ago
stats profile views 5

I am a cognitive scientist / software engineer working towards my PhD in Psychology at Rice University.

I aim to leverage the best programming languages / tools / technologies to help solve hard technical research problems. My current interests are centered in Human Computer Interaction and Analysis & Modeling of Large-Scale Human Behavioral Datasets

So my programming-language interests are wide ranging. Some of my current favorite tools are Common Lisp, Bash, vim, git, Make, R, LaTeX, and PostgreSQL.


May
9
awarded  Commentator
May
9
comment Is it common to split larger script into multiple scripts and source them in the main script?
Aha! Someone else that uses the simple cat approach :)
Apr
24
awarded  Critic
Apr
24
comment Combining multiple process substitution
+1 for proper eval. Your first version is completely fine (and the cleanest and most easy to maintain) since in this scenario you have full control over the string passed to eval.
Mar
12
comment How do I set an environment variable for sudo in MacOS?
Why not sudo chmod the start.sh file so that the program can run at user-level privileges
Feb
8
awarded  Excavator
Feb
8
revised How to speed my too-slow ssh login?
emphasized that this is a server-side change. I misread this the first time, and it ended up being my issue too.
Feb
8
suggested suggested edit on How to speed my too-slow ssh login?
Jan
10
comment How to defer variable expansion
Nice work using a function to delay evaluation, and to avoid the explicit eval call.
Nov
27
comment How to run a Python script in Makefile
@Hamideh. What Dennis is suggesting is to get your script to work as a pure bash .sh file first. Then take the additional step of embedding it in the Makefile. I recommend this approach too. 'get it working, then get it right, then get it fast'.
Sep
12
answered Bash commands inside vi
Aug
30
comment How do you colorize only some keywords for a bash script?
Have you thought about supressing stdout/stderr of tests that pass, and only printing stdout/stderr for failed tests? PHPUnit does this, or is configurable to do this. I've found that this approach works quite well, YMMV.
Aug
24
comment How to make and apply (patch) one side diff?
Oh, and you found one; wow; this just might be possible. If it ends up as a weekend project, I'll make sure to post actual code that compiles.
Aug
24
comment How to make and apply (patch) one side diff?
Ah; you said you do know CL; yeah there are XML parser packages; I've messed around with Closure XML, but this config isn't XML. I've found JSON parsers for CL, but this config isn't JSON either. I dunno' if there's a lisp package to parse this one. I'd have to do a bit of research; and if not, I'd just use python :)
Aug
24
awarded  Teacher
Aug
24
comment How to make and apply (patch) one side diff?
Yeah; the python solutions here are much more practical. But if you can get to the point in python where you are expressing set-diff, union, intersection, etc., then I think you have a more general case of this problem solved. Which might be useful.
Aug
24
comment How to make and apply (patch) one side diff?
Not anything that will compile, other than the sketch above. I figured if you went this route, you wouldn't use common lisp, so I wanted to just convey the idea.
Aug
24
awarded  Editor
Aug
24
revised How to make and apply (patch) one side diff?
added 37 characters in body
Aug
24
answered How to make and apply (patch) one side diff?