@bocops@fosstodon.org
@bocops@fosstodon.org avatar

bocops

@bocops@fosstodon.org

IT guy with a whole host of often changing interests, currently including #photography, #climatescience, #dutchoven, playing #dwarffortress and listening to #modularambient music.

Not migrating from Twitter - but was on #googleplus a long time ago.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bocops, to android
@bocops@fosstodon.org avatar

Weird bug of the day: #Android code to retrieve location, untouched for months, suddenly stopped working apparently(?) because of a permission problem, sending the Activity into an infinite loop of pausing/resuming.

Force-stopping the app as well as manually giving necessary permissions did not solve the issue, and no amount of debugging helped me identify the actual cause of the problem.

After a device restart, the problem is gone as quickly as it appeared, and I'm none the wiser.

bocops, to Youtube
@bocops@fosstodon.org avatar

YouTube pretends to offer me a "reactivation" of a previously used service - but must know exactly that I've never paid for it before, because the small print states something about this offer being for "new users only".

#DarkPattern #YouTube #YouTubeMusic #Google

bocops,
@bocops@fosstodon.org avatar

@torsten True, but I think I've seen similar wording in a notification of the YouTube Android app in the past, predating any of the recent layoff shenanigans.

bocops, to android
@bocops@fosstodon.org avatar

#Android #development: Is there really no combination for an InputType value that leads to an EditText that offers suggestions, but does NOT auto-correct entered text?

This is driving me crazy.

https://developer.android.com/reference/android/text/InputType

publictorsten, to random German
@publictorsten@mastodon.social avatar

Wow, da bemüht sich aber jemand, die Entscheidung des EUGH zum Tracking schönzureden. Da ja die Werbeorganisation IAB Europe durch das Gericht zum Joint Controller gemacht wird, könnte man ja jede Standardisierungsorganisation und auch die Datenschutzbehörden zum Joint Controller ernennen.

https://blog.didomi.io/cjeu-decision-iab-europes-tcf-march-2024

bocops,
@bocops@fosstodon.org avatar

@publictorsten Tritt denn IAB Europe tatsächlich irgendwo selbst als diejenige Akteurin auf, die Daten für den TC String abfragt/erzeugt, speichert und später wieder ausliest?

Ich habe bis jetzt nur Dritte gesehen, die als sog. Consent Management Platform den Standard implementieren.

bocops,
@bocops@fosstodon.org avatar

@publictorsten Eine koordinierende Funktion für den Standard ist aber nicht das Gleiche wie die "Datenweitergabe an Hunderte von Organisationen" - dazu müsste IAB Europe ja eben nicht nur "koordinieren", sondern Daten überhaupt erst selber erfassen.

bocops,
@bocops@fosstodon.org avatar

@publictorsten Das Problem von Napster war aber doch gerade die zentrale Datenbank unter Kontrolle von Napster selbst.

Wenn es etwas Vergleichbares (also z.B. "alle von CMPs erfassten Daten werden auf einem von IAB Europe kontrollierten Server gespeichert") hier nicht gibt, hinkt der Vergleich.

Mir ist tatsächlich nur bekannt, dass einzelne CMPs den TCString lokal speichern und maximal per Speicherung eines anonymen Hashwerts gegen Veränderung schützen. Weißt du mehr?

bocops,
@bocops@fosstodon.org avatar

@publictorsten Ja, der EuGH hat entschieden, dass IAB Europe "gemeinsam verantwortlich", also ein "Joint Controller", ist.

Das hat der von dir im Ursprungspost verlinkte Artikel kritisiert, und diese Kritik wurde von dir als Mumpitz bezeichnet, weil "IAB Europe Daten weitergibt".

Wenn du jetzt das Urteil als Begründung für deine Behauptung heranziehst, haben wir uns einmal vollständig im Kreis bewegt und irgendwie nichts erreicht. :D

bocops,
@bocops@fosstodon.org avatar

@publictorsten So versteckt ist der Punkt nicht. Du hast die Behauptung aufgestellt, dass "IAB Europe [...] Daten an hunderte von Organisationen" weitergibt.

Dafür habe ich nach Belegen gefragt - übrigens nicht, weil ich großer Fan des ganzen Vorgangs IAB/TCF bin, sondern aus Interesse - und bis jetzt nicht bekommen.

Allein die Tatsache, dass jemand als (Mit)Verantwortlicher im Sinne der DSGVO gilt, ist kein Beleg. Auch das steht in allgemeiner Form übrigens in der Urteilsbegründung drin.

bocops,
@bocops@fosstodon.org avatar

@publictorsten Ist das ein Zitat von irgendwoher, oder eine neue Definition von dir? Aus dem Urteilstext stammt das auf jeden Fall nicht.

Außerdem ist das ein Stück weit ein Strohmannargument: Wenn mit "System" nur "Standard zur Implementierung durch Andere" gemeint ist, dann ist das natürlich etwas ganz Anderes - aber die Behauptung, dass nicht nur das Eine sondern auch das Andere stattfindet, ist ja gerade deine, für die ich um irgendwelche Belege gebeten habe. 1/2

bocops,
@bocops@fosstodon.org avatar

@publictorsten Aber ist tatsächlich auch ganz egal. Ich will mich nicht weiter im Kreis drehen, also weitere Antwort nicht nötig.

bocops, to ama
@bocops@fosstodon.org avatar

The #GoogleHome #AMA over on Reddit is doing great already, although it only starts in twenty minutes.

Much well-deserved criticism of the whole failing ecosystem, although the poor Googlers just wanted to talk about some new feature. :D

https://www.reddit.com/r/googlehome/comments/1bpxro1/were_the_team_behind_the_latest_updates_to_nest/

bocops, to random
@bocops@fosstodon.org avatar

#AppIdea

An app that allows to scan #barcodes while shopping, alerting the user to potential problems with the product.

Alert lists would be stored separately, allowing each user to configure what they want to be alerted about, or to create their own and share with others.

Does an app like this exist? If not, would it be worth building it?

bocops,
@bocops@fosstodon.org avatar

Random things users might want to be alerted about:

  • product contains unhealthy ingredients

  • product can be replaced with a more climate-friendly option

  • "This yoghurt is sold by someone who sponsors fascists in your parliament" 😮

PattaFeuFeu, to random German
@PattaFeuFeu@chaos.social avatar

Diese Erlebnisgastronomie nimmt immer extremere Züge an

bocops,
@bocops@fosstodon.org avatar

@PattaFeuFeu "Vorsicht Stufe" steht hoffentlich auch von innen an der Tür. ;)

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

Latest problem:
Special Abilities are stored as List<String>
Hand-knitted TypeConverter is splitting on comma when retrieved from database (as that is how Lists are stored)
Solutions?

  • convert using JSON or some other library
  • rewrite Converter
  • rebuild schema to make Abilities their own table, linked Many-to-Many (scoundrels have Many Abilities, Abilities can be had by Many Scoundrels). This is probably the better way, long term, but introduces a new layer of complexity...
bocops,
@bocops@fosstodon.org avatar

You could also change how the lists are stored in the first place, using .joinToString(separator = "...") on your list.

Unless you can really find a separator character that will never be used, JSON seems to be the safer bet, though. :)

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

...and I've run into the same problem I hit before...
I have 3 Entities (Scoundrels, Crews, Contacts)
I have "Scoundrel with Crew" working (Each scoundrel is in exactly 1 Crew. A Crew can have 0+ Scoundrels)
I need to add Contacts. Each Contact can be known to many Scoundrels, and Many Crews.
Each Contact also has a Rating ("Friend", "Neutral" or "Hostile") with each relationship.
I'd like to start by building adding Scoundrels/Contacts relationships

bocops,
@bocops@fosstodon.org avatar

@ArmouredWizard May I suggest that you might actually have more than those three entities?

If you add a Relationship entity that consists of a Contact, a ContactOwner (which can be Scoundrel or Crew) and a Rating, the resulting structure of the Room database seems relatively straightforward.

If that helps you, looking into UML class diagrams (if only doodling on a piece of paper) might be useful: https://en.wikipedia.org/wiki/Class_diagram

bocops,
@bocops@fosstodon.org avatar

@ArmouredWizard Sorry, wasn't trying to talk down. :)

It is just that, if I am struggling with getting a database to work, it is mostly the general modeling that's not quite there yet, and not anything that is really specific to Room.

In that case, just drawing some boxes and connecting them with arrows labeled "is a", "has a", "part of" etc. typically helps me understand the model I really need for the task.

bocops,
@bocops@fosstodon.org avatar

@ArmouredWizard "ContactOwner" could be a superclass of both Scoundrel and Crew that has an ID attribute - or it might not even be necessary as long as you are just keeping a "contact owner" ID in the Relationship entity, depending on which direction(s) you will need to look up.

bocops,
@bocops@fosstodon.org avatar

@ArmouredWizard Hmm, perhaps this is an issue with Room, after all.

In that case, it is often useful to keep your model classes and your database entity classes separate. Among other things, makes both of them easier to understand.

For example, your model Scoundrel might have an attribute crew:Crew?, while your database ScoundrelEntity would just have a crewId:String?

You would store and load your entities separately from each other, then build your model representation from that.

bocops,
@bocops@fosstodon.org avatar

@ArmouredWizard The accepted answer here is written in Java, but hopefully explains how you might get your "model" data from individual database entities: https://stackoverflow.com/questions/44330452/android-persistence-room-cannot-figure-out-how-to-read-this-field-from-a-curso/44424148#44424148

bocops, to random
@bocops@fosstodon.org avatar

I'm looking for a #mailclient that allows to automatically perform rules/filters on individual #imap folders other than just the inbox.

Does something like that exist?

bocops, to mastodon
@bocops@fosstodon.org avatar

@pfefferle I fear the answer is "No", but...

Is there any way to make a #Mastodon instance forget about posts from a Wordpress blog running your #ActivityPub plugin, if those posts are already deleted on the blog?

Apparently, when I tested some months ago, deletes weren't propagated properly, and now all those test posts linger on the instance of the account I followed my blog with. I wouldn't want actual blog followers to see the posts later.

bocops,
@bocops@fosstodon.org avatar

Alternatively, does anyone know the timeframe for Mastodon instances to remove posts from their cache after an account is no longer followed by anyone on the instance?

Since I am the only one currently following the other account, I could unfollow and wait - is that even a thing?

@feditips, do you have an idea?

bocops,
@bocops@fosstodon.org avatar

@adamsdesk The posts in question aren't strictly Mastodon posts, but part of a Wordpress blog that publishes via an Activity Pub plugin to Mastodon (and other platforms).

Because I've already deleted them on the blog, I can't repeat this - and I have no way of "logging in to Mastodon" as the post author to get them deleted any other way.

Whatever happens would have to happen either via Wordpress, or by some cache maintenance mechanism of the Mastodon instance, if such exists.

@feditips

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • Youngstown
  • InstantRegret
  • slotface
  • everett
  • rosin
  • ngwrru68w68
  • kavyap
  • PowerRangers
  • Leos
  • ethstaker
  • GTA5RPClips
  • Durango
  • cisconetworking
  • osvaldo12
  • vwfavf
  • khanakhh
  • mdbf
  • cubers
  • modclub
  • tacticalgear
  • tester
  • anitta
  • All magazines