Live data from Hacker News

DevDocs API Documentation

devdocs.io

131–140 of 145 posts

Re: DevDocs API Documentation

#131
post #23

Due to some very annoying behaviour of gratipay (the donation service devdocs uses) I have donated over $100 to them last year of the course of a few months. Not what I wanted to donate, but then again there aren't many websites that I use more often in my day to day work. So I am not too bummed about it. Great work guys!

Interesting, I don't use the daily, but when I need, I REALLY need it. How come you use it that often is it your main go to? My day to day is mainly googling as a portal to stackoverflow for specific doubts.

It is my goto yes. I use it anywhere from checking how some method or function is named again to finding out what I can do with certain types of objects or classes. The search is really practical for me there. I also peek into the source code of functions etc. it is the only pinned tab I have usually.

Re: DevDocs API Documentation

#132

I can't recommend devdocs.io enough! It's such a fantastic resource. * It links to the real documentation * world class search * lets you pick and choose versions and languages/frameworks you want to have searchable * provides a consistent UI across all docs which is fantastic when you are switching between several while developing. * Is updated with terrifying frequency (I don't think I've ever opened it and NOT had…

Only receiving $16/week when all these Hacker News are pulling in 6 figures.

They would immediately be making more on OpenCollective

Re: DevDocs API Documentation

#134

Earlier quoted context omitted.

The Dash author engaged in unethical practices and then attacked Apple when they closed his account. http://www.loopinsight.com/2016/10/10/apple-responds-to-dash...

This a most irresponsible post. The situation was somewhat complex and not easy for outsiders to parse out of the crossfire. You state one side's position as fact, quoting only one highly tendentious Gruberish Apple protagonist in support. Is this how fairly you'd like to be treated in public if you got into a spat with a major company? Please have a little thought for the welfare of others before you type. In any ca…

Doesn't seem like a particularly complex case to me.

Facts not up for debate: the developer of Dash enrolled two accounts in the ADP with the same credit card, and these accounts shared at least one test device. One of these accounts participated in obvious fraudulent activity.

Unfortunately, nobody is around to corroborate Bogdan's side of the story. As far as we know, Bogdan made up his supposed relative/friend (ala "I didn't send that embarrassing text to my crush - it was my asshole friend!") to escape blame. And even if his side of the story is true, how is he not partially culpable for the fraud? By enrolling an account with his credit card and giving it to someone else, he enabled them to commit fraud on the App Store. If I buy a gun and give it to my brother and he shoots someone, am I not partially responsible for that outcome?

It's not quite damning enough for me to not use Dash, but it doesn't exactly give me faith in Dash's developer either.

Re: DevDocs API Documentation

#135
post #123
post #27

Earlier quoted context omitted.

If you live inside emacs, https://github.com/areina/helm-dash/ will use dash documentation and use emacs for the search and display of the docs. Also, works on GNU/Linux and Windows. Also, free software. Also, I'm the co-author.

I saw this a while back and it seemed amazing but I was wondering if there's any way to open the actual live documentation page. So for example if you choose the documentation for `Array.prototype.map` then it'll pull up that page on MDN, rather than the locally cached Dash page. I know the whole point of Dash is to have locally cached, offline documentation copies, but I was thinking it would be amazing to use that…

you definitely can do it because the only thing that is in the docsets is a uri starting with https?:// or file:/// .

It seems there are some docsets already doing that[1]. Creating your own docsets is dead easy. just a simple sqlite3 file with a single table.

You can find an example I hacked myself here[2] (very hackish).

It's basically creating a table:

    create table searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT); 
    CREATE UNIQUE INDEX anchr  ON searchIndex (name, type, path);
And filling it with data:

    insert into searchIndex(name,type,path) VALUES ('foo','function','https://example.com')


[1]. https://github.com/areina/helm-dash/issues/65 .

[2]. https://github.com/kidd/AllegroLisp.docset

Re: DevDocs API Documentation

#136
post #27

Reminds me of Dash[1] which is especially useful when configured in your editor: press a key to open documentation for the word under the cursor. 1: https://kapeli.com/dash

If you live inside emacs, https://github.com/areina/helm-dash/ will use dash documentation and use emacs for the search and display of the docs. Also, works on GNU/Linux and Windows. Also, free software. Also, I'm the co-author.

But isn't Dash just for Mac?

Re: DevDocs API Documentation

#137
post #27

Earlier quoted context omitted.

If you live inside emacs, https://github.com/areina/helm-dash/ will use dash documentation and use emacs for the search and display of the docs. Also, works on GNU/Linux and Windows. Also, free software. Also, I'm the co-author.

But isn't Dash just for Mac?

yup, "also" meaning "in addition". Dash is not free either, and I'm not its coauthor

Re: DevDocs API Documentation

#138
post #137

Earlier quoted context omitted.

But isn't Dash just for Mac?

yup, "also" meaning "in addition". Dash is not free either, and I'm not its coauthor

Of course, "also" means "in addition". I was wondering what I'd do with helm-dash on GNU/Linux if Dash is only for Mac.

The helm-dash repo tagline on GitHub says "Browse Dash docsets inside emacs", so I quickly dismissed it as I don't use Mac.

Reading a bit further, now I see that it doesn't need Dash to be installed. So that's great! I'll see if an ivy/counsel version is out there.

Re: DevDocs API Documentation

#139
post #137

Earlier quoted context omitted.

yup, "also" meaning "in addition". Dash is not free either, and I'm not its coauthor

Of course, "also" means "in addition". I was wondering what I'd do with helm-dash on GNU/Linux if Dash is only for Mac. The helm-dash repo tagline on GitHub says "Browse Dash docsets inside emacs", so I quickly dismissed it as I don't use Mac. Reading a bit further, now I see that it doesn't need Dash to be installed. So that's great! I'll see if an ivy/counsel version is out there.

Ah yes, sorry, I missunderstood your question :).

Yep, helm-dash can download docsets from dash servers and use them without the need of Dash whatsoever.

https://github.com/nathankot/counsel-dash .

Enjoy!

Re: DevDocs API Documentation

#140
post #122

I've used this off and on for a while, but the hardest thing for me is breaking the google habbit (or ddg as often as not in my case) and actually performing the search on that site. I can !dd with duckduckgo to get to devdocs, but I wish there was some natural language processing that knew I wanted to look up a cpp/rust what have you term and send me there. Additionally, C# doesn't seem to be included, which is a bi…

According to the docs ( http://devdocs.io/help#search ) you can actually integrate DevDocs into your search habits by using the browser bar search (on Google Chrome, at least). Go to search bar -> type in 'devdocs' -> hit tab ("Search DevDocs"). You can then search directly. It's pretty awesome.

If you use duckduckgo, adding !dd to your search does the same thing.
Post reply on HN