24
submitted 4 months ago by otl@lemmy.sdf.org to c/lemmy@lemmy.ml

My replies via Mastodon to Lemmy posts don't get distributed as expected. For example:

It seems my reply only shows in these Lemmy servers:

  • lemmy.ml (the server of the group to which the post was made)
  • lemmy.world (the server of the post's author)
  • ttrpg.network (the server of the comment's author)

From some other lemmy servers, my comment is not present:

I expected that my reply would show on any other Lemmy server with subscriptions to !privacy@lemmy.ml. Does that make sense? I'm hoping to help troubleshoot federation like this as I'm super excited about ActivityPub and what it means for the internet! :)

[-] otl@lemmy.sdf.org 26 points 8 months ago* (last edited 8 months ago)

Something not mentioned yet: Forgejo, the software running Codeberg, has a smaller feature set and narrower scope than GitLab ("GitLab is the most comprehensive AI-powered DevSecOps Platform" from their website).

Forgejo is much easier to administrate for smaller groups. For example compare the dependencies mentioned in the Forgejo installation documentation and the Gitlab installation documentation.

[-] otl@lemmy.sdf.org 74 points 8 months ago

Ironically this site serves koko analytics, which now ignores the Do Not Track header (as per Mozilla's recommendation, mind you). See commit 6890f3c.

Thankfully uBlock Origin blocks loading the scripts.

[-] otl@lemmy.sdf.org 45 points 8 months ago

They even have a term for this — local-first software — and point to apps like Obsidian as proof that it can work.

This touches on something that I've been struggling to put into words. I feel like some of the ideas that led to the separation of files and applications to manipulate them have been forgotten.

There's also a common misunderstanding that files only exist in blocks on physical devices. But files are more of an interface to data than an actual "thing". I want to present my files - wherever they may be - to all sorts of different applications which let me interact with them in different ways.

Only some self-hosted software grants us this portability.

[-] otl@lemmy.sdf.org 38 points 8 months ago

Looks like that will happen later. From Mozilla's original article:

Following a period of testing, these packages will become available on the beta, esr, and release branches of Firefox.

36

One of my favourite talks on programming. Just wanted to share for others who haven't seen this before.

43
[-] otl@lemmy.sdf.org 100 points 8 months ago* (last edited 8 months ago)

Thankfully uBlock Origin removes those parameters for us. The default filters include a whole bunch of removeparam filters; e.g. privacy.txt See also removeparam.

Maybe you could help your friends and family install Firefox and/or uBlock Origin? Every little bit helps :)

[-] otl@lemmy.sdf.org 59 points 10 months ago

and log files eating up storage space was a common culprit.

Another classic symptom of poorly maintained software. Constant announcements of trivial nonsense, like [INFO]: Sum(1, 1) - got result 2! filling up disks.

I don't know if the systems you're talking about are like this, but it wouldn't surprise me!

[-] otl@lemmy.sdf.org 26 points 10 months ago* (last edited 10 months ago)

I worked in a big German car maker's EV division. The waste of resources put in to not actually developing a good electric vehicle was staggering.

I was part of a 100 person team who was responsible for one cog of a data ingestion pipeline which read in analytics data from each EV car. It was already about 2 years' in when I joined and it was a total failure. Why the fuck they were spending so much money on something so inconsequential to making a car was initially frustrating; now I think it's just sad.

The reality is that the leadership didn't really care. The brands are so strong that they can afford to move slowly on this. There is also a gravy train going on where money is being pumped into these projects and middle leadership are happy to sit back, do nothing, and still earn free $$$ rather than develop good tech.

Here's one of the stories from my experience (software development perspective): https://www.srcbeat.com/2023/08/sbt/

[-] otl@lemmy.sdf.org 47 points 10 months ago

The article argues for a reworked IT education industry in the hopes of a more skilled workforce:

The result would solve the industry's most pressing need, for good people doing good work, and through expansion into other areas benefit us more than AI will ever manage.

Most IT today exists as a means to support business and commerce. Corporations post absurd profits year over year. They don't need more knowledgeable IT staff. What is "good" for the IT industry employers may be more staff willing to say "yes, sir" and kick the can down the road. Business doesn't care about efficient systems if their systems are profitable.

So why is IT bad at getting brains? Because it is against most leadership's interests. Progress, change, automation all introduce risk which can hurt profitability.

[-] otl@lemmy.sdf.org 39 points 10 months ago* (last edited 10 months ago)

Yes, by design: https://docs.joinmastodon.org/methods/accounts/

IMO, the problem is not them taking the information per se, but in abusing that info to further the massive surveillance apparatus that harms society.

14
submitted 10 months ago* (last edited 10 months ago) by otl@lemmy.sdf.org to c/git@programming.dev

With Github so popular now, not everyone is aware of the workflows that git provides out-of-the-box for collaboration. Thought this may pique some people's curiosity :)

46
Rejected automation? (www.srcbeat.com)

Let’s share stories where your automation efforts have been rejected and you can’t quite understand why! Here’s mine.

5
submitted 10 months ago by otl@lemmy.sdf.org to c/mlemapp@lemmy.ml

I’m in Indonesia at the moment and my internet connections are poor. So having an app that weighs just 20MB is fantastic!

That’s all I really wanted to say. Congrats to the devs on the progress so far!

[-] otl@lemmy.sdf.org 39 points 11 months ago

Absolutely agree with you. The point I wanted to make is that there are different ways to summarise, say, in this example, a 50-page memo. The sad thing here is how the official needed to resort to the good versus evil false dichotomy. This oversimplification to have been required because, unfortunately, Trump is stupid.

I guess I'm saying that it's a shame that there are probably a lot of smart people trying to make sense of all the geopolitics, picking things apart, critical thinking... but in the end it was all for nought; they had to appeal to someone - Trump - who never really wanted to, nor was able to, internalise or contextualise it.

13
submitted 11 months ago by otl@lemmy.sdf.org to c/general@lemmy.world

TL;DR Seeking any advice on making documentaries about things around me!

I've done a couple of short videos as a hobby between jobs. I'm a programmer by trade. It was really fun to make these in particular:

But these take time that I don't really have any more; I've got a girlfriend and we don't want to spend all that time on the road! I tried to shoot a couple of 90-second news packages for a local news website but it was really hard. I hate politics and I hate that breaking news cycle.

Off the top of my head, here are some things that I think would be fun to shoot and edit:

  • Documenting local organised events. Not just the highlights; from setting up and packing down again, mishaps along the way.
  • From bin to...? Where our rubbish goes
  • Cancelled buses: why bus drivers are so hard to find

I feel embarassed to speak to people about these things. The word "imposter" comes to mind. I don't have any political agenda and I don't care about getting clicks via outrage. It's about discovering how things work - how things really are - and sharing that discovery.

Alternatively I thought about shooting footage and uploading it "raw" to YouTube and/or editorial footage stock sites. From there I could pass it on to local news publications.

Keen to hear any advice on what I could do next. Any YouTube channels which cover this kind of thing in a similar tone?

1
submitted 11 months ago by otl@lemmy.sdf.org to c/support@lemmy.world

I recently wrote a command-line utility lemmyverse to find communities indexed by Lemmy Explorer. A quick count shows almost 14%(!) of all communities indexed by lemmyverse are junk communities created by a single user @LMAO (reported here):

% lemmyverse . | wc -l
  30376
% lemmyverse enoweiooe | wc -l
   4206

Here's a python script, using no external dependencies, which uses Lemmy's HTTP API to delete all communities that @LMAO moderates:

#!/usr/bin/env python

import json
import urllib.parse
import urllib.request

baseurl = "https://lemmy.world"
username = "admin"
password = "password"

def login(user, passwd):
	url = baseurl+"/api/v3/user/login"
	body = urllib.parse.urlencode({
		"username_or_email": user,
		"password": passwd,
	})
	resp = urllib.request.urlopen(url, body.encode())
	j = json.load(resp)
	return j["jwt"]

def get_user(name):
	query = urllib.parse.urlencode({"username": name})
	resp = urllib.request.urlopen(baseurl+"/api/v3/user?"+query)
	return json.load(resp)

def delete_community(token, id):
	url = baseurl+"/api/v3/community/delete"
	params = {
		"auth": token,
		"community_id": id,
	}
	body = urllib.parse.urlencode(params)
	urllib.request.urlopen(url, body.encode())

token = login(username, password)
user = get_user("LMAO")
for community in user["moderates"]:
	id = community["community"]["id"]
	try:
		delete_community(token, id)
	except Exception as err:
		print("delete community id %d: %s" % (id, err))

Change username and password on lines 8 and 9 to suit.

Hope that helps! :) Thanks for the work you all put in to running this popular instance.

107
submitted 11 months ago by otl@lemmy.sdf.org to c/linux@lemmy.ml

lemmyverse: search lemmy communities from the command-line. Thanks to the data HTTP API from lemmyverse.net! This is not really as polished as I like but, hey, in the interest of having a lively Lemmy I thought I'd share anyway :)

Usage

lemmyverse searches community names and descriptions using a regular expression:

lemmyverse pattern

Find communities about motorcycles:

$ lemmyverse motorcycle
120024@lemmy.world      All Things motorcycles
20hirnzelle@feddit.ch   All Things motorcycles
7810322@lemmy.world     All Things motorcycles
bmwmotorrad@lemmy.world Community for BMW motorcycles. A place to share
bootstrappable@slrpnk.net       A community to discuss all things BMW cars & motorcycles.\nFeel free to show off your new vehicle/parts
buell@lemmy.world       A discussion area for Buell motorcycles.
motorcycle_logistics@lemmy.world        A community for pictures and videos of people using motorcycles to transport things in a creative manner.\n\nThis includes
motorcycles@feddit.de   This community is for all things motorcycle related. At a later point and with enough traction gained
...

Find communities for the Plan 9 operating system:

$ lemmyverse '(plan9)|(Plan 9)'
plan9@lemmy.sdf.org     Discussions on the Plan9 operating system.

Why?

I run relatively slow hardware and I'm travelling in Bali, Indonesia at the moment. Loading lemmyverse.net in a web browser takes ages and gets the laptop fans spinning (it's hot here!). So I had some fun creating a tiny command-line program to find Lemmy communities using classic UNIX tools awk(1), tr(1), grep(1) etc.

More info

See the man page:

LEMMYVERSE(1)               General Commands Manual              LEMMYVERSE(1)

NAME
     lemmyverse - find lemmy communities

SYNOPSIS
     lemmyverse pattern

DESCRIPTION
     lemmyverse finds Lemmy communities indexed by lemmyverse.net using the
     given regular expression as interpreted by grep(1).  Both the names and
     descriptions of the communities are searched.

     On first run, a local community database must be generated.  The full
     community index is downloaded from https://lemmyverse.net using curl(1),
     transformed, then stored in the user cache directory.  To regenerate the
     database, remove the file and run lemmyverse again.

FILES
     communities
             Community database from lemmyverse.net.

ENVIRONMENT
     lemmyverse uses the following environment variables:

     XDG_CACHE_DIR
             The directory to store the community database.  If unset,
             $HOME/.cache/lemmyverse is used.

EXAMPLES
     Find communities for the Plan 9 operating system:
           lemmyverse '(plan9)|(Plan 9)'

     List all communities from the instance lemmy.sdf.org:
           lemmyverse '@lemmy.sdf.org'

EXIT STATUS
     The lemmyverse utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     grep(1), curl(1), https://lemmyverse.net
1

Go project tech lead Russ Cox talks about a technique to make programs clearer using concurrency.

1
(mac)OStalgia (www.youtube.com)

There's something about the consistency that is missing nowadays.

view more: next ›

otl

joined 1 year ago