www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dpldocs now has cross-package search (experimental)

reply Adam D. Ruppe <destructionator gmail.com> writes:
Looking for http libs? Behold:

http://search.dpldocs.info/?q=http


Oh my. Eats 2 GB of ram but with the newest patrons 
<https://www.patreon.com/adam_d_ruppe> I sprung for the beefier 
host. Only searches projects already on the site as of the 
beginning of each day (it loads what has already been generated, 
it doesn't seek to generate more at this time).

It loads one of my own deprecated modules as the top result. lol, 
it could still use some work. But it is started now.
Mar 09 2018
next sibling parent Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
 Looking for http libs? Behold:

 http://search.dpldocs.info/?q=http


 Oh my. Eats 2 GB of ram but with the newest patrons 
 <https://www.patreon.com/adam_d_ruppe> I sprung for the beefier 
 host. Only searches projects already on the site as of the 
 beginning of each day (it loads what has already been 
 generated, it doesn't seek to generate more at this time).

 It loads one of my own deprecated modules as the top result. 
 lol, it could still use some work. But it is started now.
That is so great. Thanks. A little feature request. Could you group the found modules by dub package. Then the same license information can be shown once per dub package. Kind regards André
Mar 09 2018
prev sibling next sibling parent =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
 Looking for http libs? Behold:

 http://search.dpldocs.info/?q=http
Nice!
Mar 10 2018
prev sibling next sibling parent reply Martin Tschierschke <mt smartdolphin.de> writes:
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
 Looking for http libs? Behold:

 http://search.dpldocs.info/?q=http


 Oh my. Eats 2 GB of ram but with the newest patrons 
 <https://www.patreon.com/adam_d_ruppe> I sprung for the beefier 
 host. Only searches projects already on the site as of the 
 beginning of each day (it loads what has already been 
 generated, it doesn't seek to generate more at this time).

 It loads one of my own deprecated modules as the top result. 
 lol, it could still use some work. But it is started now.
Cool, and if you are in the mood of using only arsd, for example find an example for a trigger on mouse request: http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse
Mar 10 2018
parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Saturday, 10 March 2018 at 16:03:39 UTC, Martin Tschierschke 
wrote:
 Cool, and if you are in the mood of using only arsd, for 
 example find an example for a trigger on mouse request:
 http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse
Yup. You can also search inside a particular package/version by going to it and using the upper right search box there. for example will just search v2.0.0 of the arsd-official package. and i just hit a huge module on my thing: core.exception.OutOfMemoryError core/exception.d(702): Memory allocation failed uh oh, the search went up to 3.2 GB now. That shouldn't have happened - even the beefier hardware can't support all that! So I still need to do some more optimizations before promoting this from "experimental" but we'll get there.
Mar 10 2018
parent reply Martin Tschierschke <mt smartdolphin.de> writes:
On Saturday, 10 March 2018 at 16:35:56 UTC, Adam D. Ruppe wrote:
 On Saturday, 10 March 2018 at 16:03:39 UTC, Martin Tschierschke 
 wrote:
 Cool, and if you are in the mood of using only arsd, for 
 example find an example for a trigger on mouse request:
 http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse
Yup. You can also search inside a particular package/version by going to it and using the upper right search box there. for example will just search v2.0.0 of the arsd-official package.
There is a bug, I just tried "mouse event" in the search box and got a strange result.
Mar 10 2018
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Saturday, 10 March 2018 at 16:49:44 UTC, Martin Tschierschke 
wrote:
 There is a bug, I just tried "mouse event" in the search box 
 and got a strange result.
oh yikes a recursive javascript redirect. fixed that. The search still kinda sucks, but it is better than nothing. If you put in a full name, it should be the first result. Otherwise, it tries a full text search that is a bit spotty.
Mar 10 2018
prev sibling parent Adam D. Ruppe <destructionator gmail.com> writes:
I probably released this a bit too soon... it seems to have a 
memory leak and eventually pushes all other server functions out 
if I leave it running.

So I took the search back down for now until I can debug that, or 
maybe just rewrite the program to something fundamentally more 
memory-efficient.
Mar 11 2018