Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkrumins
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
901.
▲
by
pkrumins
18y ago
That is just not my style on that blog. I started posting links and keep doing it that way.
902.
▲
by
pkrumins
18y ago
Ooops... I thought I had linked to that post. Thanks for pasting it here!
903.
▲
Richard Feynman Videos (I just collected as many as I could find)
(freescienceonline.blogspot.com)
80 points
by
pkrumins
18y ago
|
12 comments
904.
▲
by
pkrumins
18y ago
Here is how I would do the puzzle about barometer: PV = nRT; n = m/M PV = mRT/M; V = m/(rho) p*m/(rho) = mRT/M p/(rho) = RT/M (rho) = pM/RT p + (dp) = p + (rho)g(dh) (dp) = (rho)g(dh) (dp) = pMg(dh)/RT (dp)/p = Mg(dh)/RT integrate 0 to p (d
905.
▲
by
pkrumins
18y ago
Because it's very stressful.
906.
▲
by
pkrumins
18y ago
What this document basically means is - You Don't Want To Be A Consulant.
907.
▲
Christmas Tree in Your Unix Shell
(catonmat.net)
16 points
by
pkrumins
18y ago
|
3 comments
908.
▲
Have You Experienced Flow?
(seoblackhat.com)
1 points
by
pkrumins
18y ago
|
0 comments
909.
▲
by
pkrumins
18y ago
right :)
910.
▲
by
pkrumins
18y ago
> Your "How to install" blurb needs a couple s/surround/repeat ;) fixed: s/surround/repeat/g > Thanks for another useful plugin I was completely unaware of! you're very welcome :)
911.
▲
by
pkrumins
18y ago
No! That will "move 4 words" and then "repeat" instead of "move word" and "repeat", "move word" and "repeat", "move word" and "repeat", "move word" and "repeat".
912.
▲
by
pkrumins
18y ago
Because books do not teach writing concise scripts, they would expand on multi-line functions, etc.
913.
▲
by
pkrumins
18y ago
Yep, some of them can be done much better with sed and tr. The goal of this article, however, was not to illustrate the best practices but to document all Awk one-liners in awk1line.txt file.
914.
▲
by
pkrumins
18y ago
Thank you! :)
915.
▲
by
pkrumins
18y ago
this works for me: viwstp> turns foo into <p>foo</p> Edit: (30 mins later) Now I understood fully what was happening. ;)
916.
▲
by
pkrumins
18y ago
You must have a different surround.vim script. Perhaps someone else wrote a script and called "surround.vim" as well. The one I am talking about does not define stp and requires < > between tags. What does your 'stp' do? Edit: I see
917.
▲
by
pkrumins
18y ago
Try 'R' instead of 's' that you were used to. OR Edit surround.vim and comment out the 's' mappings in visual mode. Like this: " if !hasmapto("<Plug>Vsurround","v") " if exists(":xmap") " xm
918.
▲
by
pkrumins
18y ago
This plugin does not define 'stp'. You must be using some other plugin that has this mapping. The plugin I wrote about wraps HTML around perfectly. Try: ysiWt<p> Or if you knew the tag you were going to wrap your "Hello!" i
919.
▲
Vim Plugins You Should Know About, Part I: surround.vim
(catonmat.net)
77 points
by
pkrumins
18y ago
|
18 comments
920.
▲
by
pkrumins
18y ago
I am on my way to becoming a hacker :) My blog: http://www.catonmat.net
921.
▲
by
pkrumins
18y ago
haha :)
922.
▲
by
pkrumins
18y ago
No idea, pal.
923.
▲
by
pkrumins
18y ago
Life goes on, why should I worry!
924.
▲
My Job Interview at Google
(catonmat.net)
86 points
by
pkrumins
18y ago
|
107 comments
925.
▲
by
pkrumins
18y ago
Please don't do that.
926.
▲
by
pkrumins
18y ago
Not just vote -- vote for Obama!!!
927.
▲
by
pkrumins
18y ago
hard to call HTML the "source code" :)
928.
▲
by
pkrumins
18y ago
I study/work/hack 15 hours a day 7 days a week == 105 hours a week.
929.
▲
by
pkrumins
18y ago
"The 2nd rule for getting rich is getting smart. Investing your time in yourself and becoming knowledgeable about the business of something you really love to do" and "Before or after work and on weekends, every single day, read everything
930.
▲
Did you know you could access hacker news via http://www.hackerne.ws?
10 points
by
pkrumins
18y ago
|
11 comments
More ›