Poll

Do you use labels in your geekhack PMs?

Yes
2 (28.6%)
No
5 (71.4%)

Total Members Voted: 7

Author Topic: swill's pm search tool  (Read 108374 times)

0 Members and 1 Guest are viewing this topic.

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: swill's pm search tool
« Reply #50 on: Mon, 26 October 2015, 16:44:00 »
If you are watching this thread, please submit an answer to the poll.  I am trying to figure out how useful this functionality would be.

Thanks...

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: swill's pm search tool
« Reply #51 on: Wed, 04 November 2015, 15:07:35 »
A little bump to see if people are using this and if they have any feedback at this point...

Offline CPTBadAss

  • Woke up like this
  • Posts: 14363
    • Tactile Zine
Re: swill's pm search tool
« Reply #52 on: Wed, 04 November 2015, 15:09:32 »
I still don't really understand how to get the search to sort by date. The help file is confusing for me.

Edit: Also your poll just educated me to the fact that there's labels in PMs. Really wish I knew about that before.
« Last Edit: Wed, 04 November 2015, 15:22:35 by CPTBadAss »

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: swill's pm search tool
« Reply #53 on: Wed, 04 November 2015, 21:40:53 »
I still don't really understand how to get the search to sort by date. The help file is confusing for me.

Edit: Also your poll just educated me to the fact that there's labels in PMs. Really wish I knew about that before.

Not being able to sort by date is probably the hardest thing to get used to, but it is that way for a reason.  You have to think of it more like google and less like a mail browser.  The order is determined by the relevance of the search terms (which you can modify).  If you want we can jump on Skype and I can try to help you understand how to get the most out of the tool.  :)

Offline CPTBadAss

  • Woke up like this
  • Posts: 14363
    • Tactile Zine
Re: swill's pm search tool
« Reply #54 on: Wed, 04 November 2015, 21:51:13 »
I'll take you up on the Skype session when I find some free time. Thanks for offering :)

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: swill's pm search tool
« Reply #55 on: Wed, 04 November 2015, 22:00:52 »
I'll take you up on the Skype session when I find some free time. Thanks for offering :)

Cool, PMed...  :)

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: swill's pm search tool
« Reply #56 on: Thu, 05 November 2015, 07:58:52 »
Starting as a daemon on boot...

This is something I am testing out and seeing if I like it.  Since this app actually functions as a web server locally, you can just start it and leave it running and then bookmark the URL.  This makes it much more convenient to use since you don't have to go find it, launch it and then search, you just open a new tab and click your bookmark.

On a Mac, the following is done in the terminal (Applications > Utilities > Terminal):

$ cd ~/Library/LaunchAgents
$ touch pm_search.plist
$ open -e pm_search.plist

Paste the following into the new text file that opens.  Be sure to modify the Program path to be the correct location.

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>Label</key>
        <string>pm_search</string>
        <key>Program</key>
        <string>/full/path/to/bin/pm_search</string>
        <key>RunAtLoad</key>
        <true/>
    </dict>
</plist>

Now every time you restart your computer, the pm_search app will start.  The only thing that may not be desired is a browser window with pm_search will open on boot.  I may add a config file option which would allow you to specify 'daemon = true' which would suppress this behavior, but we will see if other people actually use this first...

On Windows, you are on your own.  I don't use Windows and have no interest in digging in ****...  (I don't live on a farm anymore) :P

On Linux, you can easily make the app start at boot by doing the following:

$ sudo vim /etc/rc.local
   # add the following line before the `exit 0` line
   cd /full/path/to/the/bin/folder && ./pm_search &

Have fun people...  :P
« Last Edit: Thu, 05 November 2015, 08:05:46 by swill »