792 karma · joined February 4, 2012
"Even" just means "divisible by 2"
"2 is the only prime that is divisible by 2" "3 is the only prime that is divisible by 3" "5 is the only prime that is divisible by 5"
...
"N is the only prime that is divisible by N"
https://github.com/PostHog/posthog-js/blob/759829c67fcb8720f...
The biggest lesson here is, if you're writing a popular library that monkey-patches global functions, it needs to be really well tested.
There's a difference between "I'll throw posthog calls in a try/catch just in case" and "With posthog I literally can't make fetch() calls with POST"
The question on our application is "are you a fit for the JD"
For the most part, the answer is "obviously yes, that's why I'm applying", but we do get some really insightful answers here where people talk about their weaknesses too and we learn something.
But even in the call he seemed to acknowledge that was a bit of a joke, and I legit don't mind jokey bravado for the most part.
Probably the guy was just having a bad week, but all the same. Really bemused (and more than a little confused)
Complaining that you have to tune it for performance is like complaining that your runtime code isn't automatically maximally performant without a little tuning.
We're OneText (Y Combinator W23), and we've built a product anyone pay and make purchases with a single text message. We need you to help us keep up with massive demand and scale up to the next level!
We have two roles open:
- Lead TypeScript/Node Full Stack Engineer: https://gist.github.com/bluepnume/8f2376b0893bc6b85564e73593...
- Devops/DBA Engineer: https://gist.github.com/bluepnume/c1d5a8c9e825de82c6e56227cf...
Would love to hear from you and chat if you're interested in either (or both)!
Apply at: https://gist.github.com/bluepnume/33f2c4be93cc20215aafd55f80...
We're OneText (Y Combinator W23), and we're trying to let anyone pay and make purchases with a single text message.
We need someone with killer UX skills to own and redefine our user experiences, including our checkout flow and our merchant dashboard.
Apply at: https://gist.github.com/bluepnume/33f2c4be93cc20215aafd55f80...
We're OneText (Y Combinator W23), and we're trying to let anyone pay and make purchases with a single text message.
We need someone with killer UX skills to own and redefine our user experiences, including our checkout flow and our merchant dashboard.
So every time you call foo(); you anticipate that it might resolve immediately, or it might take some time, but it won't block any other function (unless it actually does some cpu bound operation)
And any time foo(); does something asynchronous, all of its callers, and its callers callers, become implicitly asynchronous too.
Of course you would have to have some primitive for when you actually want to do several things concurrently within the scope of a single function rather than blocking that function, but that doesn't sound too bad and in JavaScript you effectively need to use Promise.all most of the time anyway.
I'm sure there's some major downside I'm missing -- but what is it?
Definitely standard no. 15, but there's room for something better to win out here right?
You scan a QR code, that sends a text message. If you have a saved card, you pay in the text thread by replying 'pay now', if not you get a link to save a new card.
No apps required. Hoping that with enough adoption, it will obviate the need for experiences as bad as this.