71 karma · joined Jul 24, 2011 (15y ago) · 19 submissions
comment 7y ago · link · parent
The "Elon Musk" persona is no doubt annoying, but is that a reason to undermine and shoot down new ideas? Don't let your schadenfreude get in the way of recognizing real achievements.
comment 7y ago · link · parent
If you wanna call out Elon Musk for something, call him out for his abusive management practices and erratic/abusive behavior on twitter. Calling him out for trying out bold ideas (with all the trial and error that entails) is really petty and counterproductive.
comment 8y ago · link · parent
Not precisely, because you're sometimes predicting whether a keypress should be rendered as a letter on the screen or not (e.g. if you click 'j' in vim command mode it doesn't actually print j). mosh, at least from my experimentation, seems smart enough to do that reliably.
comment 8y ago · link · parent
In other words, imagine typing ssh somebox.typo.com and waiting 1 second before the text renders and discovering the typo, then pressing backspace, waiting a while for the backspaces to render, then going through all of this again. With mosh you'll be able to instantly see what you typed and fix it. On high latency connections it makes a huge difference in quality of life.
comment 12y ago · link · parent
The fix is simple, make your whole site https and redirect all http traffic over to https. There are cheap SSL certificates out there (as low as $99 a year) and its pretty easy to setup.
comment 14y ago · link · parent
setopt no_nomatch # if there are no matches for globs, leave them alone and execute the command
zsh also tries to autocomplete directory names using variables in global namespace that point to directories. I found that behavior maddening and can be turned off with: setopt no_cdable_vars # don't use named directories in cd autocompletioncomment 15y ago · link · parent
That's why they are restrictive, they have to choose only a narrow set of methods to expose to the users. By narrowing their available functionality they also become useful for a smaller domain of problems.
Codify does not try to replace text-based programming, but instead to make it easier and sometimes more efficient for graphics-intensive programming. For example, the easy to reach color selector is much faster than having to use a separate tool to get the numbers for the color you want. Same thing for the image selector.
comment 15y ago · link · parent
find . -name "*.css"
is: ls -d **/*.css
in zsh. Other examples, all derived from the article: find . -type f -name "*.css" ==> ls **/*.css(.)
find . -name "*.css" -exec grep -l "#content" {} \;
==> grep -l "#content" **/*.css
find . -ctime -1 -type f ==> ls **/*(.c-1)
find . \! -path "*CVS*" -type f -name "*.css"
==> ls **/*.css(.e{'echo $REPLY | grep -v "CVS"'})
More can be found in the "Glob Qualifiers" section of the zshexpn(1) man page.