rimu 5mo ago • 100%
It doesn't work for me, on Firefox or Chrome. Chrome reports ERR_HTTP2_PROTOCOL_ERROR
rimu 1y ago • 100%
When I say "optional", I mean you can just create a filename.php and start putting lines of code into it, and it'll work fine. But, these days OOP is favored by most and pretty much everyone is using it. So if you are working on code that other people have written, classes are everywhere.
A lot of Wordpress code is non-OOP, though.
rimu 1y ago • 100%
No, OOP is optional in PHP.
rimu 1y ago • 100%
PHP is huge and more relevant than you realise. There are many many PHP developers.
IMO one of the things holding the fediverse back is that not much of it is written in Python or PHP. Neither are "good" languages but there is a massive pool of developers and they're easy to get up and running.
rimu 1y ago • 100%
Seems like 'top' is based on the number of boosts instead of upvotes.
rimu 1y ago • 100%
Go to https://kbin.social/settings/general and choose the Subscribed home page.
rimu 1y ago • 100%
Often, the option to downvote is the only thing stopping me from getting sucked into some stupid argument with an idiot. It is a massive productivity booster. Downvote and move on.
I wish kbin would hide posts with lots of downvotes...
rimu 1y ago • 100%
I expect it will be - it seems to almost work already. For example, take this peertube channel - https://tube.arthack.nz/c/intertwingled/videos?s=1.
I tried a few different things in the kbin search and @intertwingled@tube.arthack.nz
got a result that I could subscribe to. If that channel posts another video, it might show up in kbin. Will it be a microblog? A thread? A magazine? Who knows! kbin seems very confused about all of this.
rimu 1y ago • 100%
When things are working properly, it does.
rimu 1y ago • 0%
Very cool!
rimu 1y ago • 100%
You don't need to read much history to find plenty of bad things done by non-commercial entities, e.g. governments. Or churches.
It's not commerce that is the problem, it is oppression. Use of my code for oppressive purposes is the thing I want to avoid.
Gevent seems pretty straightforward. Check out [this example](http://www.gevent.org/examples/concurrent_download.html): Here is [a tutorial](http://sdiehl.github.io/gevent-tutorial/). Unlike asyncio, with gevent you can continue to use the libraries you're familiar with, and the exact same codebase can be run with or without gevent "enabled". You don't need special async versions of each library, as you do with async/await code. What are the issues you ran in to while using gevent, that asyncio solved? Why did AsyncIO take off when we already had gevent?
rimu 1y ago • 100%
Wanna see something that makes even Perl look elegant and readable? Check out any sed script. Here's tetris, in sed: https://github.com/uuner/sedtris/blob/master/sedtris.sed
It's really important for those of us who've lived through previous megacorp attacks on free software ecosystems to TEACH that history. This article rehashes a lot of relevant stuff in some detail. Regardless of what you feel about the decisions around the fediverse and Facebook, knowing the history can only help. When we learn from history, we are NOT NECESSARILY condemned to repeat it.
rimu 1y ago • 100%
I wonder if Gab was invited. It would be hilarious if the only instances willing to federate with Meta were Nazis.
ChatGPT-based chatbots can now call your custom code to get information it doesn't know. e.g. current weather, scrape the web, access APIs, etc. I've added a [#Python](https://kbin.social/tag/Python) ( [#Flask](https://kbin.social/tag/Flask) ) demo of this to my chatbot quickstart repository.
rimu 1y ago • 100%
This seems ideal for something like ActivityPub where data is flowing between different people and places all the time. Looks like the tooling isn't there yet, though.
rimu 1y ago • 100%
Content from before you subscribe is not sent, only from that point onwards (unless someone else on the same server already subscribed to it).
rimu 1y ago • 100%
Lemmy has a bug where when you search it won't show any results at first, and then 10 seconds later it'll show your magazine. Are you waiting 10+ seconds?
rimu 1y ago • 100%
Yup. There needs to be some de-duplication code, somehow.
rimu 1y ago • 100%
I have a Yoga 530, running KDE 5.24.4. The touch functionality is really broken, basically unusable. Try Gnome, anything is better than this.