• 14 Posts
  • 58 Comments
Joined 5 months ago
cake
Cake day: December 11th, 2024

help-circle






  • m_f@discuss.onlinetoFediverse@lemmy.worldBeckn Protocol
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 days ago

    Create, enable and scale economic and digital exchange across and between diverse sectors.

    Seems cryptocurrency related. Lot of marketing fluff.

    Beckn Protocol is perhaps the least well-known project outside of tech circles, but is likely the most impactful of all work Nilekani has championed since Aadhaar

    Who and what are those?

    The github repo is slightly better, but not by much:

    Beckn is an open protocol that allows local businesses across any industry to be discovered and engaged by any beckn-enabled application. Beckn protocol helps businesses co-create solutions for the masses seamlessly, by combining services of any form or provider.

    Beckn protocol is a collection of open specifications consisting of protocol APIs, message formats, network design and reference architectures to allow any two entities to execute commercial transactions without being on the same platform.

    This server-to-server communication protocol allows any consumer facing online platform to discover and transact with any business with minimal implementation overhead. The server-to-server nature of the protocol allows rich user experiences to be built by bundling services from multiple independent platforms.

    Beckn protocol decouples the demand side digital infrastructure in the form of apps and other channels from the supply side service provisioning infrastructure. It does this by making integratedservices available not just on a single platform but potentially on any online consumer interface, (online maps, messaging, wallets, voice assistant apps and devices) that have mainstream adoption in a city.

    Beckn is a protocol, not a platform. It adopts a decentralized architecture that obviates the need for creating a centralised platform in order to integrate services from multiple providers simultaneously ensuring privacy and security by design by enabling secure, encrypted iteractions.

    The project could really use a “What problem is this trying to solve?” section. Is it aiming to replace something existing like HTTPS/Visa/etc?


  • Yeah, they’re definitely still the standard. They’re not really replaced by comments, comments are more for explaining why bits of code are the way they are. Docstrings are kind of like comments for functions/classes/etc that Python knows how to handle specially. The interpreter will parse the docstrings and make help text out of them available to the help builtin function




  • I have multiple accounts, but only really for moderation purposes. Cross-instance moderation is semi-broken, so it’s easier to do it that way. Other than that, having an alt is useful in case your main instance goes down.

    I wouldn’t generally worry about impersonation, if someone tries it you could contact the admin of that instance and they’re generally pretty responsive.


  • Pixelfed/Mastodon/etc sort of work with Lemmy, in that they can see Lemmy posts. Lemmy can see posts from them if you tag them appropriately, which rarely happens. They only sort of federate properly. And yeah, Loops is like TikTok for the Fediverse.

    I’m not saying PieFed is better than Lemmy, just saying that apart from Lemmy, your best option is probably PieFed atm.









  • m_f@discuss.onlinetoPython@programming.devFind the bug (a classic)
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    Yeah, I discovered this when a coworker wrote code like def foo(timestamp = now()) and had fun debugging why there were a bunch of duplicate timestamps.

    PEP 671 would add new syntax to ease the pain, but it’s not accepted yet. It would allow for writing function definitions like one of these:

    def bisect_right(a, x, lo=0, hi=>len(a), *, key=None):
    def connect(timeout=>default_timeout):
    def add_item(item, target=>[]):
    def format_time(fmt, time_t=>time.time()):
    



  • Even non-profits aren’t immune to hostile takeovers. OpenAI is a for-profit company controlled by a non-profit, and that hasn’t stopped them from turning into something indistinguishable from a regular for-profit company. They’ve also been making noise about abandoning the fig leaf of the non-profit.

    Mozilla is another one where nominally they’re a for-profit controlled by a non-profit, but they’re now getting into shoving ads in your face just like any other company.

    It is harder to turn bad when you’re a non-profit but not impossible, without something of a poison pill that makes it unacceptable to for-profit takeovers.