Better HN
topnewbestaskshowjobs
Log inSign up

zakj

94 karma · joined Apr 11, 2008 (18y ago) · 18 submissions

https://zakj.net/
Submissions

comment 13y ago · link · parent

Due to https://github.com/angular/angular.js/commit/5599b55b, you'll now need to explicitly include angular-route.js and add a dependency on ngRoute.

2.

PHP, Python and Persuasion(lukeplant.me.uk ↗)

14 points · by zakj · 14y ago · 2 comments

comment 14y ago · link · parent

${VARIABLE:-value} expands to the contents of $VARIABLE, if it exists, or to "value" otherwise. In this case value is ":", a bash builtin that does nothing. Effectively, the above sets PROMPT_COMMAND to run the autojump command, then to run the pre-existing PROMPT_COMMAND, if any, or a no-op.

comment 14y ago · link · parent

(I responded to the email address in your profile.)

comment 14y ago · link · parent

Thanks so much for taking the time to critique!

1 & 2: Great ideas.

3: We obviously dropped the ball on Windows QA. On the Mac, the Downloads window is cmd-shift-j, so I figured it was similar on Windows. Ideally we should make the keyboard shortcut configurable, but could you suggest a good unused Windows shortcut for the meantime?

4. Absolutely. It's on our list!

comment 14y ago · link · parent

That is indeed the "auth failed" error. Only two things I can think of: either you toggled the service slider to "Pinboard" without noticing, or Delicious authentication was down briefly. There was at least one other report of that:

https://twitter.com/#!/egebhardt/status/176776297106771968

Are you still getting that error?

comment 14y ago · link · parent

Clickable links:

https://chrome.google.com/webstore/detail/ndjggnnohdkheiijjh...

https://github.com/cabin/linkhunter

8.

Show HN: A Chrome extension for Delicious/Pinboard

7 points · by zakj · 14y ago · 9 comments

comment 14y ago · link · parent

Thank you for the pack target! I should have known Chrome would have a command-line flag for this, but never thought to check.

My extension is also on GitHub: https://github.com/cabin/linkhunter

comment 15y ago · link · parent

Yep, the API documentation is gone; http://delicious.com/help/tools claims that developer documentation is coming soon. In the meantime, Pinboard's API almost exactly matches Delicious's, and its documentation is still up: http://pinboard.in/api.

Incidentally, the Delicious API is still working correctly (albeit slowly) for me.

comment 15y ago · link · parent

Moviefone's response: http://blog.moviefone.com/2011/03/15/moviefones-response-to-...

comment 16y ago · link · parent

It seems not to work with existing labels whose names contain a slash, even if you rename those labels. Also note that the parent label must exist, e.g. to have "people/friend-a" and "people/friend-b" appear in a hierarchy, you must also have a "people" label.

comment 16y ago · link · parent

Command-T is a relatively new Vim plugin that does fuzzy matching on the entire path, giving greater weight to characters immediately following slashes or other word separators in the pathname. I've been using it for a few days now and can attest that it is extremely fast and seems to "know" exactly which file I want after just a few keystrokes.

http://www.vim.org/scripts/script.php?script_id=3025 | http://github.com/wincent/Command-T

comment 16y ago · link · parent

While this is a beautiful interface, I often read things like "traversing a long source file trying to look for a specific method’s implementation" or "sick and tired of having to scroll through a raw copy of jQuery..." and am confused. Why don't more people use their text editors' search functionality to find a specific piece of code? I never find myself scrolling through long source files.

15.

Classic computer science problems solved in JavaScript(github.com ↗)

33 points · by zakj · 16y ago · 12 comments

comment 16y ago · link · parent

Previous discussion here: http://news.ycombinator.com/item?id=990136

comment 16y ago · link · parent

Yep: http://news.ycombinator.com/item?id=1038889