3,918 reputation
83682
bio website
location
age
visits member for 5 years
seen Jul 25 at 12:47

I started learning web design to support my efforts as a singer/songwriter. I'm still doing that, but these days my actual job involves building intranet resources as well. My skillset is PHP, HTML, CSS, and Javascript (I'm a big fan of jQuery).


Feb
19
comment Electricity speed and data transfer
+1. Also, sound waves are similar: a sound wave moves through air at around 343 meters per second. If the air itself moved that fast, it would blow you away; instead, the air molecules knock against each other, one after another, transmitting energy from one to the next at that speed, while each individual molecule mostly stays put.
Feb
19
comment Electricity speed and data transfer
See also: programmers.stackexchange.com/a/132705/7217
Feb
19
comment Electricity speed and data transfer
@Delison - there is no such thing as transmitting 1s and 0s; those are a matter of interpreting something that is transmitted. If you vary the current on a wire, and we've agreed ahead of time that anything over X volts will be considered a 1 and anything under Y volts a 0, it's our mutual standard of interpretation (aka "protocol") for an analog, real-world thing which creates binary information. We could just as well throw sticks over a wall and measure them; anything longer than 10cm would be a 1; smaller would be a 0. Binary data is interpreted, not sent or stored.
Jan
30
comment How can I be totally invisible to Facebook?
Clever. For users who don't understand this, it would mean that when my computer tries to load an image or other resource from Facebook's site, it would look for it on its own network address, not find the resource, and give up. Facebook would never know about the request.
Jan
18
comment what is the command+k ( in mac ) equivalent in ubuntu
On my Mac, Control + l inserts a bunch of space below the last output so that the screen appears clear, but you can still scroll up and see the previous output. Command + K, on the other hand, makes it impossible to scroll back to the previous output. Sometimes that is preferable. Do you know how to do the latter on other Unix systems? (Also I don't think bash or zsh are relevant so much as the terminal emulator.)
Jan
18
comment what is the command+k ( in mac ) equivalent in ubuntu
FYI - apparently this is called "clear scrollback" or "clearing the scrollback buffer" and is a function of the terminal program (not the shell, such as bash or zsh).
Dec
16
comment Extend Monitors on Both Sides - Using Splitter
The problem is that the computer only "sees" one output for display, so it pushes one image out that pipe. The fact that you later split it and send it two places doesn't change that. You need the computer to "know" to send multiple images.
Dec
16
comment Extend Monitors on Both Sides - Using Splitter
Clever, if impractical. :)
Dec
8
comment Vim lint check - only show message if there's an error
Syntastic has become one of my biggest time-saving tools since you told me about it. Just wanted to note that generally the error-checking is done by calling out to an external program, which may need to be installed. You can find out what it needs by looking in the syntax_checker file. For example, for Javascript checking you need to have JSLint (jsl command line utility) installed: superuser.com/questions/247012/…
Dec
8
comment Is a file system just the layout of folders?
Great answer! Could you add some info about how file systems differ in behavior? For instance, I've heard some do "journaling". I've also heard that ext is less subject to fragmentation than FAT32.
Nov
18
comment How can I see the name of a process owner from the OSX prompt?
@DanielBeck - answer updated to clarify.
Nov
18
comment How to install vim with clipboard support on Fedora?
@garyjohn - ...and, your awesome tip about running graphical vim on the command line has come in handy yet again, this time on a Mac. mvim -v also gives access to the system clipboard. Thanks!
Nov
14
comment Macvim color scheme conflicting with .vimrc
Update - I am now using the Solarized color scheme, which is very easy to read and, among other things, sets a good highlighting color for me, so I don't have to do the above at all.
Oct
31
comment Printing background colours in Chrome
Doesn't work if it's more than one screen long. Also, most designers will set different styles for screen and print using the media attribute of the style tag: fonts that work better in each media, maybe removing images or ads from the printed version, etc. Printing from a screenshot defeats this effort.
Oct
14
comment What's the Unix command-line symbol for “the PID of the last suspended process”?
awesome, thanks for the clarification. :)
Oct
13
comment What's the Unix command-line symbol for “the PID of the last suspended process”?
I think kill % was what I was looking for. Though I suppose this is actually the last job started rather than the last one suspended, for me this is typically the same one.
Oct
7
comment Toggle between two different vim configurations?
@Michael Caron - you can keep your .vimrc and .vim anywhere you like, as long as you have symlinks in your home folder to wherever you put them. Personally, I use this trick to keep all my configs in a .dotfiles folder, which I can sync to Github.
Oct
7
comment Toggle between two different vim configurations?
I recently learned that vim -u "NONE" opens vanilla vim, with no configuration. That can be useful if you've got a complex configuration and want to know whether some behavior is native to Vim or not. (This also works for MacVim - I haven't tried Gvim on Linux.)
Sep
22
comment How can I add line breaks in an XML file from the Unix command line?
After reading your comment, I tried this with both single and double quotes from zsh, then I switched to bash and tried both ways. In every case, it just inserted n. I'm using OSX Snow Leopard - what are you using?
Sep
19
comment How can I add line breaks in an XML file from the Unix command line?
On my OSX machine using zshell, that command converts <foo><bar>stuff</bar></foo> to <foo>n<bar>nstuff</bar>n</foo>n.