HNHacker News
TopNewBestAskShowJobs

jasonl99

110 karma · joined December 10, 2014

[ my public key: https://keybase.io/jasonl99; my proof: https://keybase.io/jasonl99/sigs/ywEkMgK-gBylvQgMx3uzXHyNxzFFyk4krDj_Jm8QqhY ]
submissionscomments
jasonl99··on A dead man's switch for your computer?
How about a lanyard that has a magnetic connector (like Apple charging ports). So it just a small amount of force to disconnect, but easy to stick back together if you forget it was there when you got up to visit the rest room.

Another thought, what about a little coin-sized watch battery device that does bluetooth low-energy. Press a button it locks your computer (or triple click wipes something, etc).

jasonl99··on Speeding Up PostgreSQL with Partial Indexes
How about a multiple column AND partial index? (that may have been what you are suggesting). Best of both worlds? I just tried it, and it does work (at least on 9.4). Here's an extremely contrived example with a rails 'users' table

create index test_index on users (name, email) where name > 'A' and email > 'B'

← PreviousPage 2 of 2