Better HN
topnewbestaskshowjobs
Log inSign up

divad12

591 karma · joined Mar 21, 2011 (15y ago) · 32 submissions

I'm a student at the University of Waterloo for Software Engineering.

Also a former two-time intern at Sift Science, Khan Academy (past work: http://david-hu.com/ka-ml.html), and Google.

Blog: http://david-hu.com

Submissions

comment 9y ago · link · parent

This seems like it could be really useful. How do you deal with sites that might block you?

comment 12y ago · link · parent

Yes, this is my bad. :) I added an issue to GitHub about it: https://github.com/divad12/vim-awesome/issues/14

Pull requests welcome!

comment 12y ago · link · parent

Thanks, these are great suggestions! Added two issues:

1. https://github.com/divad12/vim-awesome/issues/40

2. https://github.com/divad12/vim-awesome/issues/39

comment 12y ago · link · parent

Thank you! The color scheme used is Solarized, courtesy of Ethan Schoonover: http://ethanschoonover.com/solarized

comment 12y ago · link · parent

You're right that GitHub stars probably isn't the best metric of how good a plugin is. We try to use a more unbiased metric of relative # of actual users, and this we get by scraping dotfiles repos on GitHub, looking for references to Vim plugins. That's shown as the # users count to the left of stars on GitHub. It's also not perfect, but it's a useful source of relative usage statistics.

comment 12y ago · link · parent

Hi! Glad you like the j/k scrolling.

All it is is a call to `window.scrollTo()` with some logic to determine the position of the element we want to scroll to. See [1] for the code of the actual function that does the scrolling. Is there acceleration? There doesn't seem to be on Chrome for Mac. :/

Oh, if you meant the little arrow ("»") that slides to the right on focus of a plugin, that's just the CSS 3 transition `all 0.1s ease-out` applied to a changing `left` and `opacity`. See [2] for code.

Thanks for checking out the site!

[1]: https://github.com/divad12/vim-awesome/blob/13d576664aa88fe0... [2]: https://github.com/divad12/vim-awesome/blob/13d576664aa88fe0...

comment 12y ago · link · parent

In fact, this was the first React project that he worked on -- he rewrote our old angular app within a week of when React first came out, and had been hooked since.

comment 12y ago · link · parent

Indeed -- https://github.com/divad12/vim-awesome/pull/17

Thanks for pointing this out to us. Will merge when I get home.

comment 12y ago · link · parent

Oops, that's definitely a bug! Issue raised: https://github.com/divad12/vim-awesome/issues/16

Thanks for finding this.

comment 12y ago · link · parent

Thank you! Wanting such a thing is why we built it. :)

comment 12y ago · link · parent

Hi! Thank you for checking this out!

The reason for the mis-match between # of plugins and tags count is the tags count only counts plugins with that tag in the category the tag is nested under. I agree this is quite confusing, and should just make the two views consistent. I'll add an issue to GitHub about it.

Each category has a distinct color.

> Other->'manager x 3' shows no results

Oh, we hide plugin mangers right now, so no results are shown. :( Will fix this to be nicer, thanks.

12.

Show HN: Vim Awesome – Vim plugins(vimawesome.com ↗)

222 points · by divad12 · 12y ago · 52 comments

13.

Start with Mockups(david-hu.com ↗)

1 points · by divad12 · 13y ago · discuss

14.

The (un)usual suspects – global fraud by country(blog.siftscience.com ↗)

14 points · by divad12 · 13y ago · 4 comments

comment 13y ago · link · parent

We have seen fraudsters reinstall an app over and over, each time signing up with a new email and a new stolen credit card after their previous account was shut down. A persistent device ID allows our clients to block a new signup from a fraudster that is from the same physical phone the fraudster has used before. (This greatly increases the cost of committing fraud, by forcing the fraudster to root their phone or use a new phone each time.)

comment 13y ago · link · parent

(I work at Sift Science too.)

Just to clarify, we charge 10 cents per unique user that you query in a month, not per query. So, you can query the same user as many times as you like in a month and the cost will not exceed 10 cents for that user.

17.

Ex-Googlers Train Machine Army to Sift Out Crooks(wired.com ↗)

100 points · by divad12 · 13y ago · 31 comments

18.

Why Interns should Blog(david-hu.com ↗)

2 points · by divad12 · 14y ago · discuss

comment 14y ago · link · parent

There is now: click the "+ Add a trivia fact..." on http://numbersapi.com/

comment 14y ago · link · parent

Wolfram Alpha is great for mathematical properties of numbers, while we have trivia facts and are looking to gather more (eg. from world records, numbers in nature, statistics, almanacs, news).

comment 14y ago · link · parent

Ha, good catch. http://numbersapi.com/1729 (the trivia version) gives the Ramanujan fact, while we have multiple math facts for 6 (refresh a few times to get "smallest perfect number").

We're still working to build our database of facts. Feel free to send suggestions to numbersapi at google mail, and we may add a feature for user-submitted facts.

comment 14y ago · link · parent

Oops, terrible oversight. Fixed now - http://numbersapi.com/#1337 :)

Feel free to send entry suggestions to numbersapi at google mail. We may add a feature for this soon.

comment 14y ago · link · parent

Thanks for pointing that out. The ticker came from some work I did while interning at Khan Academy, and was not originally meant for negative numbers. If I get some time, I may make it into a jQuery plugin and make it work for more cases and be configurable.

comment 14y ago · link · parent

Not right now, but we're looking to possibly add this feature. For now, feel free to send any suggestions to numbersapi at google mail.

comment 14y ago · link · parent

Hi, I'm the co-creator of this service. Blog post with more info: http://david-hu.com/2012/03/05/announcing-numbers-api.html

We welcome any feedback and are willing to answer any questions. Thanks!

26.

Numbers API - An API for interesting facts about numbers(numbersapi.com ↗)

74 points · by divad12 · 14y ago · 29 comments

27.

Experiment in Daily Idea Generation: brainstorming 10 minutes a day for a month(david-hu.com ↗)

1 points · by divad12 · 14y ago · discuss

28.

John Resig's Computer Science Editor-Canvas for Khan Academy(youtube.com ↗)

3 points · by divad12 · 15y ago · discuss

12