HNHacker News
TopNewBestAskShowJobs

stith

40 karma · joined October 28, 2013

submissionscomments
stith··on Ask HN: Who wants to be hired? (January 2021)

  Location: Oakland, CA
  Remote: Yes
  Willing to relocate: No
  Technologies: TypeScript/JavaScript, React, Go, GraphQL, Node, Linux, AWS, HTML, CSS
  Résumé/CV: https://stith.me/private/resume.pdf
  Email: anna@stith.me
I'm an experienced full-stack engineer looking for a part-time engineering position anywhere and/or everywhere on the stack (frontend, backend, systems) to work my way through school. Experienced building seamlessly scalable systems from the ground up with pleasant-to-use deployment systems :) I always put a keen eye on accessibility, inclusive design, and security.
stith··on Ask HN: TrueCrypt audit status?
Apparently none! Apparently that idea made it into my head somehow, I must've just jumped to conclusions and assumed I read it somewhere. Oops!
stith··on Ask HN: TrueCrypt audit status?
As far as I know the audit project was abandoned when the TrueCrypt developer did his dramatic exit. Cannot remember a source for that though.
stith··on Interview with Laura Poitras
Snowden has said many times that he is not the one deciding which documents to publish and when. He gave them all to the reporters, who make all of those decisions on their own. Replace "Snowden and his small team" with "The reporters who have the documents."
stith··on The Windows Incident – Day 0
That's not exactly "using a mac", though. That's running OS X in a VM.
stith··on How long do GUIDs really need to be?
I had a similar issue with an app I'm writing now. I wanted short IDs so my URLs wouldn't be fugly, but with a low chance of collisions. The solution I went with (in javascript) is:

    // Make a "pretty unique" ID for this session.
    // Since RethinkDB doesn't have a way for us to guarantee a _short_
    // random unique value (short of trying the insert and regenerating if it
    // doesn't save), we'll just have to rely on the unlikeliness of a collision
    // with both this time-based ID and the title-based slug.
    // I'm sure this will never ever cause any problems ʘ‿ʘ
    var alphabet = "0123456789abcdefghijklmnopqrstuvwxyz";
    var id = new Date().getTime().toString().match(/.{1,2}/g).map(function(val){return alphabet[val % alphabet.length];}).join('');
    var slugPart = slug((this.title || "").substring(0,60).toLowerCase());
    this.url_slug = id + "/" + slugPart;
That is, get a current timestamp (in milliseconds), and use every group of 2 digits to pull a letter out of an alphabet string. Then append "/title-of-the-thing-made-url-safe". This results in strings that look like "ee7zrm9/something-goes-here", which is then used as the primary key for the document. It's not perfect by any means, but it gets the job done, and I thing appending the title makes collisions extremely rare.
stith··on Please don't make us use iCloud anymore
Same. iCloud has worked perfectly fine for me. My experience has been pretty close to the "It Just Works" that Apple strives for.
stith··on ITerm2 2.0
It's labeled "Prompt for test-release updates" on the General tab.
stith··on TrueCrypt suggesting migration to BitLocker?
Extracting TrueCrypt passwords from memory dumps has been trivial for quite a while now.
stith··on BitPay introduces Bitcore
I find that really strange as well. I haven't seen a Node library that uses exceptions for flow control before this, I wonder why they decided to start here.
stith··on Fish shell 2.1
You can do that in bash with ctrl+r:

Type: ctrl+r

Type: ssh

Bash says:

(reverse-i-search)`ssh': ssh dude@somewhere.com

Type again: ctrl+r

(reverse-i-search)`ssh': ssh someoneelse@elsewhere.com