792 karma · joined February 4, 2012
Incidentally, we should also discard `this`, unless directly inside an instance method of a class.
> The lesson for me here is that I now have a responsibility towards our community and supporters to be kind and model better behavior. I'm sorry I let you down and I promise to do better in the future.
Fixed it for ya!
TLDR: Massively rushed changes, pushed by people with a lot of power on the network (miners and corporations), which ended up being largely antithetical to Bitcoin's decentralization thesis.
Bitcoin's value is in its stability, its decentralization, and its lack of hurried change. It is in the control of everyone, not just the powerful actors in the system. Its value is not in its ability to pivot every few years like a startup to fulfill some new purpose.
Building regexes programmatically does seem to take a lot of the pain out of it.
Referenda are great for when you have a specific plan of action, and the question is just "implement this plan: yes or no".
Anything less, and nobody is clear what anybody was actually voting for. There's a reason Parliament votes on legislation after it's written, rather than before.
I wish the latest round of privacy restrictions (which I think are overall a decent idea) would take these use cases into account, or at least allow a mechanism to request the user's permission to use third party cookies for sites they trust.
Native apps have pretty robust permissioning systems. Why shouldn't websites?
(For context, these are some of the things we use at PayPal to build embeddable cross-domain components: https://medium.com/@bluepnume/introducing-paypals-open-sourc...)
As an example: https://cheatsheetseries.owasp.org/cheatsheets/AJAX_Security...
I'm fascinated to know how this could actually be exploited. But there's no hint or reference to that. It's just "don't do this".
Looking for mid-level and senior engineers to join the PayPal Checkout team.
We're building out the next generation of checkout products and SDKs in node.js, javascript, graphql, ios/android, and whatever awesome tech you bring to the table. We're really trying to innovate around what it means to checkout online, and we're all about hiring engineers who are interested in shaping both our technology, and our products.
Shoot me an email at dbrain [at] paypal [dot] com and let me know the kind of role you're interested in, and I'll let you know if there's a good fit for you!
We took Michael's feedback from his original article at https://fman.io/blog/paypal-for-saas-99-problems/ very seriously. We're not all of the way there yet; but if anyone has any remaining concerns about the integration, I'd be glad to take them onboard!
I was going for unique keywords with no repetitions.
async function* foo() {
return yield delete void await null in this instanceof typeof new class extends async function () {} {}
}
(not sure whether the code needs to successfully run? But it at least parses)What's really fun is seeing how babel transpiled the above function:
https://babeljs.io/repl/#?babili=false&browsers=&build=&buil...
EDIT: here's an explanation https://medium.com/@bluepnume/how-many-keywords-can-you-plac...
[0]: https://medium.com/@bluepnume/introducing-paypals-open-sourc...
[1]: https://medium.com/@bluepnume/jsx-is-a-stellar-invention-eve...
https://github.com/krakenjs/zoid
Admittedly Flow, not TypeScript -- but 99% the same thing syntax-wise. And yes -- it was difficult to set up and get working comprehensively, but now it's there, it's fairly easy to maintain, and it's invaluable when refactoring, accepting PRs, or adding new features.
Most people using `any` should really be using `mixed` (flow) or `unknown` (ts) which at least force you to check before you use some property of those types.
It acts as a `fetch` implementation that allows you to declare cross-origin policies in advance, then channel the requests through an iframe which enforces those policies.
All requests are channelled through an iframe on the domain you want to make requests to; then the iframe publishes a policy for which requests are allowed to go through.