[-] kglitch@kglitch.social 27 points 8 months ago

If going vegan is too much for you, just stop eating beef and switch to soy milk.

The emissions per calorie from beef are way way higher than any other form of meat.

[-] kglitch@kglitch.social 29 points 9 months ago

Context:

Elon Musk’s X has instructed staff not to suspend users that post explicitly racist, sexist and homophobic content, or who send sexual material to another person, as part of a new policy that has radically stripped back the company’s moderation of abusive material.

https://www.businesspost.ie/news/exclusive-the-x-files-how-elon-musks-new-rules-allow-hate-to-flourish/

X is so fucked.

[-] kglitch@kglitch.social 48 points 10 months ago* (last edited 10 months ago)

You know how if your email app stops working you can just install another one and still communicate with anyone else with an email address? The fediverse is like that except it's not email it's twitter and reddit and YouTube all rolled into one. So if twitter was part of the fediverse when Musk bought it and destroyed it you could move to another server with a better moderation policy and pick up where you left off.

[-] kglitch@kglitch.social 146 points 10 months ago

A convicted rapist (also charged with 91 other felonies) running for president, with as much chance as winning as the other guy.

[-] kglitch@kglitch.social 85 points 11 months ago* (last edited 11 months ago)

Egypt already has 12 million homeless people. https://en.wikipedia.org/wiki/List_of_sovereign_states_by_homeless_population

1.2 out of 10 people in Egypt is homeless.

Jordan, with a population of 11 million people, already has 2.1 million Palestinian refugees and 1.4 million Syrian refugees.

Those countries are in no position to help.

Look elsewhere for solutions.

32

this collection of thoughts on software development gathered by grug brain developer

grug brain developer not so smart, but grug brain developer program many long year and learn some things although mostly still confused

grug brain developer try collect learns into small, easily digestible and funny page, not only for you, the young grug, but also for him because as grug brain developer get older he forget important things, like what had for breakfast or if put pants on

32

In this video, we adapt a clumsy, non-Pythonic API into an easy to use, easy to understand Pythonic one. We use magic methods such as getitem_, len, enter, and _exit to make our objects a context manager and support the len() function and square bracket indexing. And in the end, we turn what once was ugly, difficult to maintain code into something that other developers would actually want to use.

[-] kglitch@kglitch.social 84 points 1 year ago

Interesting that Zoom is not making an attempt to build features that increase trust, enable innovation and encourage robust debates in their app. Seems like a missed opportunity.

[-] kglitch@kglitch.social 28 points 1 year ago

The ActivityPub protocol makes it possible, but most apps only make use of the pieces of ActivityPub that suit them. For example, in Lemmy they lean heavily on the Group actor type as the basis for Communities, which Mastodon doesn't use at all. Peertube creates content using the Video activity type, while Mastodon only creates content in the form of a Note activity. Lemmy produces a lot of Link activities, which get rendered into a Note when viewed in Mastodon. And so on.

It's all a work in progress and I'm confident integration will get better over time. The framework is there.

Kbin has limited support for Mastodon posts but it's UI is still very much focused on the reddit-style functionality.

237
The Web Is Fucked (thewebisfucked.com)

The web is fucked and there’s nothing we can do about it. Kev Quirk looks back fondly at Web 1.0.

[-] kglitch@kglitch.social 44 points 1 year ago

Recently I was doing some Azure integration work, with OAuth, Teams and Outlook. At one point I noticed that logging in with a MS account causes my browser to do ~10 redirects between different services while downloading over 30 MB of Javascript and thought "Huh, this looks like decades of technical debt. Either MS devs are waaay smarter than me or this is a pile of garbage". I guess both could be true.

44

In this article, we will explore the use of the tqdm package to create beautiful progress bars in the console while downloading large files from the internet.

11

Watch 80 talks, tutorials, and socials from Python Web Conf 2023 on Six Feet Up's YouTube channel. Explore videos about Python, Django, Kubernetes, AI/ML, Big Data, CI/CD, Serverless, Security, Climate Tech, and more.

[-] kglitch@kglitch.social 61 points 1 year ago

Instances with

more than one admin
clear policies and active moderation
engaged user base
regular backups
no porn

...will stand a better chance than most.

[-] kglitch@kglitch.social 27 points 1 year ago

Firefish is federated so you're not limited to content and people on Firefish. You can see Mastodon (and Akkoma, and Lemmy, etc etc) content inside Firefish.

42

Hi, I’m David, a Python developer at Kraken Technologies. I work on Kraken: a Python application which has, at last count, 27,637 modules. Yes, you read that right: nearly 28k separate Python files - not including tests. I do this along with 400 other developers worldwide, constantly merging in code. And all anyone needs to make a change - and kick start a deployment of the software that runs 17 different energy and utility companies, with many millions of customers - is one single approval from a colleague on Github.

Now you may be thinking this sounds like a recipe for chaos. Honestly, I would have said the same. But it turns out that large numbers of developers can, at least in the domain we work in, work effectively on a large Python monolith. There are lots of reasons why this is possible, many of them cultural rather than technical, but in this blog post I want to explain about how the organisation of our code helps to make this possible.

5

To crop an image effectively, it’s important to prioritize a specific part of the image and preserve the essential content around it. One way to achieve this is by identifying the image’s ‘focal point’ - the part of the image that is most important - and cropping the image around it.

In this post, I’ll walk you through my technique for cropping images with CSS while preserving the image’s focal point.

[-] kglitch@kglitch.social 52 points 1 year ago

Proton Mail has been around for a long time and has a good reputation.

If you want to try self-hosting email (lol), mailcow is supposed to be very easy to set up.

[-] kglitch@kglitch.social 28 points 1 year ago

There are over 70 kbin instances. If kbin.social is not to your liking, you can find another. https://fedidb.org/software/kbin

https://kglitch.social has defederated from Meta (well, blocked the domains that meta is expected to use). Registrations are open.

view more: next ›

kglitch

joined 1 year ago