460 karma · joined Jan 22, 2019 (7y ago) · 144 submissions
I'm a core developer of RustPython (https://github.com/RustPython/RustPython).
https://github.com/coolreader18
email: coolreader18 AT gmail DOT com
[ my public key: https://keybase.io/coolreader18; my proof: https://keybase.io/coolreader18/sigs/Su2GDvjtDUUEwvoh46jH6urxEk39D7-LCSgTRN5v56s ]
comment 5y ago · link · parent
comment 5y ago · link · parent
> I have been an Alpine user for almost a decade and it's one of my favorite linux distributions.
> This talk is intended to show how green the grass is on the other side and how Alpine can benefit from these basic ideas.
She's probably familiar with it.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
[0]: https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va...
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
But that's kind-of the point IMO - if we take a free-market approach to this, copying (or sort of "standardizing" onto) an API allows for more innovation, since it's not a prohibitive up-front cost to switching the implementation. We don't copyright (or I guess patent, and I know they're different) the user interface of a fridge. Any fridge can have 2 doors and a slide-out freezer, but it's the actual implementation that would matter to a user - how energy-efficient it is, how cold it can get, extra conveniences (maybe akin to API extensions) like a water/ice dispenser that still can be "copied"/used by other fridges. And I'm sure that maybe those "interfaces" were patented originally, but it seems absurd now that they're so commonplace to restrict who can implement them.
comment 5y ago · link · parent
import browser
from browser import window
document = window.get_prop('document')
document_body = document.get_prop('body')
document_body.set_prop('textContent', browser.jsstr('hi'))
[0]: https://rustpython.github.io/demo/comment 5y ago · link · parent