It’d be interesting to see if switching to pypy made any difference. It won’t beat the eventual exponential growth, but I’ve seen it be as fast as Rust code I’ve written for code like this.
- 14 Posts
- 58 Comments
m_f@discuss.onlineto New Communities@lemmy.world•Suspiciously strange correlationsEnglish6·4 days agoInstance-agnostic links:
Did you intend to make the community locked to only moderator posts btw?
m_f@discuss.onlineto New Communities@lemmy.world•Kitten Space Agency - A community for/about the game by the same name that aims to be the spiritual successor to Kerbal Space ProgramEnglish24·14 days agoWe do not talk about the Take2 Scam often referred to as KSP2
Is there some background reading on this? I’ve never played much KSP, so have no idea what would be bad about KSP2
m_f@discuss.onlineto Fediverse@lemmy.world•[Solved] What just happened to 4 million posts?English161·16 days agoIn case anyone hasn’t seen this bit:
Doesn’t really help much. Seems to be some spin on blockchain/cryptocurrency, and doesn’t really do a good job of explaining the value proposition.
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
m_f@discuss.onlineto Fediverse@lemmy.world•So, after using Lemmy for 1.5 Years. You are telling I am not even allowed to use Lemmy?English125·2 months agoNot really sure how that works with federation. You’re not “using” lemmy.world, you’re using lemm.ee, which has a copy of content from lemmy.world.
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.
Mostly Lemmy via discuss.online, with a little bit of Pixelfed via social.photo and Mastodon via utter.online.
I was using Loops pretty heavily for a while, but the most recent update made it not work right on my phone (and there’s no web version), so maybe I’ll try again when it’s out of beta. It’s also not truly federated atm, so only sort of counts.
I’ve tried out a bit of PieFed and it looks really nice. Probably the best Lemmy threadiverse alternative atm. The dev does some interesting experiments like Private Voting
Thanks (It was bothering me
It’s federated, just not to the ActivityPub universe, right? People have been able to join rooms on discuss.online using their matrix.org accounts, which to me counts as federated.
It seems like you’d say that Matrix isn’t included? It’s not ActivityPub/AT/nostr
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()):
Only one program can listen on a port at a given time usually. Something’s listening on port 443 (the standard HTTPS port), and when nginx starts up it tries to listen on that port and can’t. You can figure out what’s already listening on that port with commands like
lsof
ornetstat
, see here for examples:https://superuser.com/questions/42843/finding-the-process-that-is-using-a-certain-port-in-linux
m_f@discuss.onlineto Fediverse@lemmy.world•Mutual aid spam is becoming a problem on the Fediverse.English1302·2 months agoI don’t think mutual aid can work well like that on the internet. Works great in person, works OK for GoFundMe-type stuff like “I had something happen to me that will take a lot of money to fix”. Too easy to scam and grift for small stuff like this though, where for all you know they’re just a very clever dog on the internet.
m_f@discuss.onlineto Fediverse@lemmy.world•Big-tech is evil but could Fediverse benefit from more small/medium for-profit companies?English2·2 months agoEven 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.
m_f@discuss.onlineto Fediverse@lemmy.world•Big-tech is evil but could Fediverse benefit from more small/medium for-profit companies?English4·2 months agoI think supporter badges would be a good monetization model for each instance. ActivityPub could allow for an arbitrary “badge” field (to my knowledge it doesn’t currently have anything like this but I also haven’t read the spec), and each server could fill it in however it likes. Other servers/users could limit displaying them if they get abused, à la pig poop balls on hexbear (or whatever it’s moved on to being called now).
It’s a meme:
https://knowyourmeme.com/memes/jesse-what-the-fuck-are-you-talking-about