HNHacker News
TopNewBestAskShowJobs

gurraman

746 karma · joined October 14, 2008

trell.se
submissionscomments
gurraman··on A Starting Guide to VIM from Textmate
I started writing the basic commands in a comment, but it got kind of long. You'd best look at a reference.

http://tnerual.eriogerg.free.fr/vimqrc.html http://www.pixelbeat.org/vim.tips.html http://www.rayninfo.co.uk/vimtips.html

I'd start with looking at commands that allow you to quickly move around in buffers first (/, f, t, w, e, b etc). Then start combining those with actions (ct", dw etc). Then "timesavers" such as macros and built-in conveniences (q, gqq, marks etc). The rest will come to you.

gurraman··on PDFed Hacker News Daily
You might want to have a look at the source of readability:

http://code.google.com/p/arc90labs-readability/source/browse...

gurraman··on Smart People Sleep Late
Work at night, sleep late: check

Drink alcohol[1]: check

Just waiting for smart people never get anything done and I'm ready to take over the world.

[1] http://news.ycombinator.com/item?id=1815901

gurraman··on Two weeks with Vim
I too like to have code from multiple logical sections of my projects visible on the same screen at times.

Splitting windows in vim works nicely for this purpose.

gurraman··on An Open Question to Path: What distinguishes your app from Instagram?
https://www.path.com/about

13 listed on their about-page.

gurraman··on Peter Martin: Google does something really good.
They haven't gotten around to adding this feature for Swedish searches -- the first hit is the Swedish suicide guide (talks about mental preparation, choosing a location, how to find the courage, practical details etc). Made me feel ill at ease.
gurraman··on Fullscreen for GVIM in Linux
My solution on OS X: Run console vim in a full screen iTerm2.

You can multiplex the terminal with screen or tmux, giving you some of the benefits of a tiling window manager. I find it great to have a shell or two next to my editor to track changes, run tests etc. iTerm2 also supports 256 colors and sends mouse events, so you can enable many of the features of the gui-versions of vim.

gurraman··on What is your opinion about feedback tabs?
It depends on the current state of the project I guess. It might be quite important that your visitors quickly spot the feedback-button when they have not yet discovered the full value of the service provided, IE when there's no incitement for them to scan for a way to send feedback.

In a later stage when feedback from users -- as opposed to visitors -- is more important the feedback-button could move down into the footer instead to make other calls-to-action more prominent.

Having that said, I'm also a little allergic to these feedback-buttons.

gurraman··on Help me start a FOSS Tithing movement
No need to wait for this to take off if you're eager -- many FOSS projects accept donations already.
gurraman··on Ask HN: Hosting personal site on a VPS, or in the cloud?
I'd go for a simple static site (on a VPS) containing a brief introduction -- a main profile if you will -- and then let your actions on other services (github, bitbucket, facebook, twitter, flickr, tumblr, posterous etc) describe you.

You'd remove all the must-dos and still be able to learn a lot by administrating your own server. You can, for example, simplify deployment of your static site (fabric, capistrano, git-hooks etc), tweak performance (try different web servers, different settings and benchmark), increase security (keep up-to-date with best practices, patch software), set up ssh tunnels, a backup server, a closed version control repository and a lot more.

gurraman··on Ask HN: Any good math jokes?
I found this one particularly amusing :)
gurraman··on Node-canvas. Server side HTML5 canvas implementation in node.js
Visiting site consistently crashes safari ipad here (3.2.2).
gurraman··on Replace make with Rake
As we've started to name other alternatives to make: waf[1]

[1] http://code.google.com/p/waf/

gurraman··on Use Vim Like A Pro
It's the same in terminal vim. A fix could be to change the background of the linenumbering to something less obtrusive.

Example: http://tinypic.com/r/f0u84/7

gurraman··on Use Vim Like A Pro
Ah, I was too quick to reply. Sorry.

I do not know if it's possible to do what you want. I find that a slight variation in background color (:highlight LineNr) helps in distinguishing the numbers from the content.

gurraman··on Use Vim Like A Pro

  :help numberwidth
gurraman··on Pledging for unit tests
If you see no added value in unit tests you're already doing something to ensure that your programs run as expected when you refactor, try on different platforms, try different input data etc. It would be interesting to hear more about how you test your software. Either we can learn from you, or you can learn from us (we/us being people who use formalized tests).

Cheers!

gurraman··on Users Always Scan for Value First
I'm sorry, did not pass my scan test :)
gurraman··on Autocomplete in TextMate, TextEdit, and other OSX Apps
Wow. Weird that I've never accidentally triggered this; I'm a vim user.

Another nice, "hidden" feature:

CMD+SHIFT+G when in Finder opens a dialog in which you can manually enter a path with tab-completion. Also works in dialogs when opening/saving files.

gurraman··on Ask HN: Are you embarrassed by your failed projects?
Sooner embarrassed by the fact that I've programmed for for over a decade and haven't released anything of significance :)

I think I'm finally on the right path to finding ways of motivating myself to finish/release stuff, but that's another topic.

gurraman··on Poll: What programming language do you use for your app/startup?
I think that the languages used by people who voted for "Other" are the most interesting to see in this context.

Could you please post what language you're using in your project if you use a language that is not listed?

I use Erlang.

gurraman··on Reworder – A tale of learning Python and launching an app in five days.

  Traceback (most recent call last):
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
      handler.post(*groups)
    File "/base/data/home/apps/reworder/1.345779356045891791/reworder.py", line 122, in post
      headers={'Content-Type': 'application/x-www-form-urlencoded'}).content)
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/__init__.py", line 232, in loads
      return cls(encoding=encoding, **kw).decode(s)
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/decoder.py", line 251, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/decoder.py", line 270, in raw_decode
      raise ValueError("No JSON object could be decoded")
  ValueError: No JSON object could be decoded
Entered text "this is a test." and hit submit.
gurraman··on Review my Startup: jMockups - A Better Way to Web Design
PS will not be a better tool until their font rendering is identical to that of the browsers.
gurraman··on Mac OS X.7 "Lion" preview
I downloaded iTerm 2 and it's amazing. It's a totally new application compared to it's predecessor. I finally, truly have 256 colors in the terminal now.
gurraman··on Ask HN: Will you or anyone use this service?
You're the human Fabric (http://docs.fabfile.org/0.9.2/)!

I'd use your service if it was reasonably priced (and I hadn't invested a lot of time into automating this myself).

The fact that I have taken the time to automate this workflow totally gives your idea merit though.

Make a nice interface where I can select the most common options and allow me to save it for future use. Also make me add a public key, and send me a confirmation email containing an entry for .ssh/config when it's all up and running.

gurraman··on Bitly's command line utilities for data analysis
This is right up my alley; I wrote a command line gantt chart generator like two weeks ago :)

I'll definatly use asterisks instead of equal signs for the bars though.

gurraman··on Mac OS X.7 "Lion" preview
iTerm2. Interesting. iTerm(1) was really slow. I'll check the sequel out. Thank you for the tip!
gurraman··on Mac OS X.7 "Lion" preview
Because I don't like how X11.app behaves when tabbing in and out of it. And there are a few bugs in the version of X11 supplied by Apple.

I have Arch Linux installed on a VirtualBox instance, but then it's the hassle of moving files between computers.

I'll come up with something that works for me eventually, but right now Terminal.app is the best option.

gurraman··on Facetime for the Mac
Video chat is just one of those nice-to-haves in my opinion.

I work remotely a lot and always choose audio chat over video chat. Video chatting, in that context, just doesn't add anything for me.

Video chat was great when my girlfriend was living abroad for a couple of months though!

gurraman··on Programming is hard
Totally off topic: have you read PopCo by Scarlet Thomas? If not, you must.
← PreviousPage 5 of 7Next →