hywan , to A Test Magazine/Community/Group/Subreddit
@hywan@fosstodon.org avatar

cargo mutants, https://mutants.rs/

A useful tool to do mutation-based testing on Rust projects.

Reminder: mutants aim at testing your test suites —whether they catch all your code details—, not your code itself.

e-five , to A Test Magazine/Community/Group/Subreddit
@e-five@kbin.run avatar

@debounced testing

godotengine , to A Test Magazine/Community/Group/Subreddit
@godotengine@mastodon.gamedev.place avatar

Do you want to help us test the newest for the ? 🛠️

Why not give them a spin during this weekend’s gamejam!💫

https://godotengine.org/article/release-candidate-godot-4-1-4-and-4-2-2-rc-3/

“Sunken Shadows” utilizes the same trial & error technique - since that is what roguelikes do, don’t they? ☠️

mro , to News from fediverse German
@mro@digitalcourage.social avatar

🐍 🛠 Early(est) access to work in progress on FediTest and the suite | @feditest
https://feditest.org/blog/2024-04-09-earliest-access/
@J12t
¹ https://mro.name/az49b65

Penguinflight , to A Test Magazine/Community/Group/Subreddit
@Penguinflight@mastodon.scot avatar

I have a friend in the south of England. He works for . He is sure he and a co-worker have (again..).

I texted: your work should have kits. You need to confirm.

He replied: Sainsburys don't want us testing. Regard Covid as the or heavy cold.

Corporate UK, promoting the denialist line and enforcing it on their staff, and (as such) customers.

kills.

team , to News from fediverse
@team@social.meissa-gmbh.de avatar

Forgejo-Federated-⭐s

There is now an (intermediate) option for setting federated repos via UI.
Based on that we are currently developing the sending of activities to distribute stars to the federated repos.

We also noticed that there are some things to consider, regarding activity sending. Feel invited to share your thoughts on this. 🙂

A more detailed description can be found here: https://domaindrivenarchitecture.org/posts/2024-03-27-state-of-federation/

michabbb , to A Test Magazine/Community/Group/Subreddit German
@michabbb@vivaldi.net avatar

A discrete event simulator in

How do you designed to run on a large and expensive computing cluster? How do you reproduce complex, time-dependent emergent behaviour of a cluster of network components?
https://tstarling.com/blog/2024/03/a-discrete-event-simulator-in-php/

gibson , to Privacy in ISP junk generator

It usually isn't super hard to tell apart randomized junk like this from real human patterns. That is why Tor Browser for example tries its best to make everyone look the same instead of randomizing everything.

That said, for the mere purpose of throwing off the ISPs profiling algorithms, you could make a relatively simple python program to solve this. A naive solution would just do an http GET to each site, but a better solution would mimic human web browsing:

If you have no programming capability this will be rough. If you have at least a little you can follow tutorials and use an LLM to help you.

The main issue with this goal is that it isn't possible to tell how advanced your ISP's profiling is, so you have no way to know if your solution is effective.

Feel free to DM me if you go this route.

kuketzblog , to A Test Magazine/Community/Group/Subreddit German
@kuketzblog@social.tchncs.de avatar

Ich teste gerade die Signal Username-Funktion und habe einen Benutzernamen erstellt, unter dem ich vorübergehend erreichbar bin. 👇

https://signal.me/#eu/NZOOWfYOPNPzJ79GF3QJyp0OxgfEQMN_H9PYU50eHCu7uLpP8NxH7rWgQJ9ywu-A

team , to News from fediverse
@team@social.meissa-gmbh.de avatar

Next step on our way to federated-stars in was "reliable mapping for federated users". Even if this is something under the hood, that was an important milestone.

Just imagine, did you want to contribute when the honour ends up with someone else?

You can find the details here: https://codeberg.org/meissa/forgejo/src/branch/forgejo-federated-star/docs/unsure-where-to-put/blog.md#2024-02-considerations-on-mapping-and-architectural-decisions

We provisioned the new development state on our test server. Feel invited to test and give feedback 🙂

caos , to A Test Magazine/Community/Group/Subreddit German
@caos@metalhead.club avatar

noch ein
@test @test
diesmal nur zwei: 1. Lemmy 2. aguppe

jwr1 , to A Test Magazine/Community/Group/Subreddit
@jwr1@kbin.earth avatar

Test post

sabreW4K3 OP , to Python in Help trying to extract some data
@sabreW4K3@lemmy.tf avatar

I'm getting 0.66 when I do get a rating. But I'm definitely not getting that to print. Here's the full file

import os
import mutagen
import requests
import urllib.parse
from mutagen.easyid3 import EasyID3
from mutagen.id3 import ID3
from pprint import pprint

# Navidrome credentials
navidrome_url = "http://navidrome.local:4533"
navidrome_username = "your-username"
navidrome_password = "your-password"
hex_encoded_pass = navidrome_password.encode().hex()
headers = None

# Directory containing MP3 files
mp3_directory = "/nfs"

def extract_rating(mp3_file):
    global rating
    audio = mutagen.File(mp3_file)
    tags = ID3(mp3_file)

    print(tags["TXXX:FMPS_Rating_AMarok_Score"]) #Gives KeyError

    for frame in tags.getall("TXXX"):
      rating = frame #This is terrible. The last key is the rating and since I can't call it by the key, I'm just refilling the variable
      print(rating)

# It was moaning about strings and floats, so commented out
#    if rating >= 1.0:
#      return 5
#    elif rating >= 0.8:
#      return 4
#    elif rating >= 0.6:
#      return 3
#    elif rating >= 0.4:
#      return 2
#    elif rating >= 0.2:
#      return 1
#    else:
#      return 0

#    return rating

def update_rating_on_navidrome(track_id, rating):
    url = f"{navidrome_url}/rest/setRating?id={track_id}&u={navidrome_username}&p=enc: {hex_encoded_pass}&v=1.12.0&rating={rating}"
    data = {"rating": rating}
    response = requests.get(url, headers=headers, json=data)

def find_track_id_on_navidrome(mp3_file):
    url = urllib.parse(url)
    url = f"{navidrome_url}/rest/getSong?path={mp3_file.encode()}&u={navidrome_username}&p=enc: {hex_encoded_pass}&v=1.12.0"
    response = requests.get(url, headers=headers, json=data)
    return url[track_id]

    if response.status_code == 204:
        print(f"Rating updated successfully for track {track_id}")
    else:
        print(f"Failed to update rating for track {track_id}: {response.text}")

print("hello")
#test = 
print(os.listdir(mp3_directory))

for foldername in os.listdir(mp3_directory):
  folderpath = "/".join([mp3_directory, foldername])
  for filename in os.listdir(folderpath):
    if filename.endswith(".mp3"):
        mp3_file = "/".join([folderpath, filename])
        rating = extract_rating(mp3_file)
        print(mp3_file, rating, sep= "_____")
        print(rating)
#
#        # Implement logic to find the track ID on Navidrome based on filename or other metadata
#        track_id = find_track_id_on_navidrome(filename)  # Replace with your implementation#
#
#        if track_id:
#            update_rating_on_navidrome(track_id, rating)
#        else:
#            print(f"Track ID not found on Navidrome for {filename}")

Have I called something erroneously that would mess it up?

Sorry if it's terrible to read, up until I started trying to do this, I had never touched Python before and haven't attempted to code for years.

SCZoomers , to A Test Magazine/Community/Group/Subreddit
@SCZoomers@mstdn.ca avatar
ALT
  • Reply
  • Loading...
  • ekis , to A Test Magazine/Community/Group/Subreddit
    @ekis@mastodon.social avatar

    Found another solution beyond images to create long-form, more academic style posts while keeping my account.

    A aggregator using the protocol; with a terrible name and limited features but no character limit +

    May not work my long-form posts b/c I can't disable comments to force discussion on

    This is mainly a will be looking for another a working temporary solution until I build something

    Join us + experiment + post

    https://lemmy.world/c/shehackedyou

    mastodonmigration , (edited ) to Random stuff
    @mastodonmigration@mastodon.online avatar

    Threads account view test.

    Can anyone see this account yet:

    @mosseri

    Reply with a screenshot if it works for you.

    Doesn't seem to work here.

    FanchTheSystem , to Photography
    @FanchTheSystem@foto.libre.bzh avatar
    testing , to A Test Magazine/Community/Group/Subreddit
    @testing@kbin.social avatar

    testing keeps on testing, using some hashtags > let's see whether these hashtags help to improve visibility of kbin posts on other fedi platforms

    rtp , to A Test Magazine/Community/Group/Subreddit
    @rtp@unfufadoo.net avatar

    should I make available the AI image generator we hobbled together?

    GeorgiaOnMyMind , to A Test Magazine/Community/Group/Subreddit
    @GeorgiaOnMyMind@zeroes.ca avatar

    I used this technique on a 10yo who normally HATES testing. She giggled, said it felt funny and tickled. I highly recommend showing this video to young and old. https://youtu.be/sE-DBdz1itw?feature=shared

    PossiblyAutistic , to A Test Magazine/Community/Group/Subreddit
    PossiblyAutistic , to A Test Magazine/Community/Group/Subreddit

    Going through a autism screening test @actuallyautistic

    https://embrace-autism.com/aq-10/#test

    sarahjelm , to A Test Magazine/Community/Group/Subreddit Swedish
    @sarahjelm@mastodon.social avatar

    This just dropped into my mailbox
    Thanks to Adam Grant (and Larry Cuban for reposting).
    To fairly judge student learning is tricky. And even trickier if you set a time limit testing…
    https://larrycuban.wordpress.com/2023/10/05/students-taking-timed-tests-adam-grant/

    @edutooters @edutooter @education

    testing , to A Test Magazine/Community/Group/Subreddit

    another kbin visibility test

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Mordhau
  • WatchParties
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • supersentai
  • WarhammerFantasy
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • electropalaeography
  • khanate
  • neondivide
  • fandic
  • All magazines