163 reputation
7
bio website chil.rice.edu/stanley
location Houston, TX
age 30
visits member for 2 years, 4 months
seen Oct 20 at 21:05

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

My current research interests are centered in Human Computer Interaction and modeling large-scale declarative memory.


Apr
2
comment How do I copy multiple files by wildcard?
nice touch using the : as the separator to avoid escaping.
Mar
31
comment Force Bash normal tab completion if intelligent completion fails
@ChrisDown and how would you do that? I'm still looking for the clean .bashrc solution.
Feb
5
comment Repeated commands in a bash pipeline
+1; Nice bash macro
Aug
10
comment What configuration can insert lines between commands?
Can you use this technique to print time statements between each line of a bash script?
Jun
10
answered How can I remove duplicates in my .bash_history, preserving order?
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