Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote a way to search these recently ... just paste this in your console: https://gist.github.com/kristopolous/19260ae54967c2219da8

There is both OR and AND support here. If you specify your function parameter as an ARRAY then it operates as an AND, otherwise each argument is an OR.

For instance, to see posts that are remote and python OR remote and ruby, you can do

query(['remote','python'],['remote','ruby']);

The return of the function shows how many jobs were shown versus in total. For instance, as of this writing, I get the following result when running the above function:

{ shown: 56, total: 827 }

btw, i still can't find a job. :-(




Just emailed you (using the address from your paypal donate link)


thanks ... just got back to you.


Great for job seekers and employers! I'm using this in the 'who wants to be hired' thread. Hopefully that will be a recurring post.


Uncaught SyntaxError: Invalid regular expression: /c++/: Nothing to repeat...

on query(['remote','c++'])


I love how I'm doing support on this!

query(['remote',/c\+\+/])

The lack of quotes in the above example is 100% intentional ... copy and paste that exactly ... (js is kinda weird sometimes).

If you are really interested (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) will tell you more about it.


just realized you can do a salary search with some regexs

e.g., query('1..k') works.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: