Salta al contenuto principale

Friendica Developers ha ricondiviso questo.


!Friendica Developers

I was playing with my "FediBadge" generator I created some time ago

I noticed that it doesn't show Person avatar of People from Friendica.
The thing uses webfinger to find the ActivitiyStream json representation of the acct from the user, and it get it's data from there.
Now I noticed that "icon" and 'image' properties are missing when I request a user profile with 'Accept:application/activity+json" from Friendica.

I looked at code and I found there:
https://github.com/friendica/friendica/blob/2024.03-rc/src/Protocol/ActivityPub/Transmitter.php#L405-L406

that 'icon' and 'image' and other profile proprties are behind $full flag, that for what I understand, is true if request is http-signed and from a 'live' contact of the profile.
(so, false for any anonymous get)

Why?

If the profile is public, that data is present on the html version of the profile.

This break my code, which is unfortunate, but also looks like it has the consequence that on mastodon (and others I think), when searching for a profile that is not already cached locally, ther

in reply to Michael Vogel Friendica Developers ha ricondiviso questo.

@Michael Vogel
no, the point was to work for every AS implementation, using standard AS.
But ok, it's only a toy, it's not important.

Still all data is available, in machine-parsable format, in html rendering, as hCard microformat. If anyone want to scrape my public avatar from my public profile, they can do it anyway.

in reply to Fabio Friendica Developers ha ricondiviso questo.

Yeah, sure, the data can be fetched in different ways. It is only meant for this whole "Threads" situation.

Alessandro ha ricondiviso questo.


You have performance problems in your app.
You think "I know, I can fix them using threads".
Now yuo hvea npareermcof smloprbe in uoyr app.

Fabio ha ricondiviso questo.


"Take us to your leader", the alien demands.

Well, we don't really have a leader any more.

"We noticed your total thermonuclear war," the alien continues, "and we've brought your backup to restore."

Is that ... the Voyager Record?

"It was more practical to bring it than transmitting the data over parsecs. Have you got a reader for this media?"

Um.

"Damn, we didn't think of that. Stay there, we'll be back in a few years with the spaceship."

#MicroFiction

reshared this




Trying to do some coding in Vala live

https://live.gl-como.it/view.html#codenight

The goal is to write a Glib implementation of lesana as a library in Vala....

in reply to Fabio

@Fabio just as we were leaving the computer for dinner :D

so, we're probably not going to watch this time (unless you're still there later)


Diego Roversi ha ricondiviso questo.




Fabio ha ricondiviso questo.


Questa voce è stata modificata (1 mese fa)

Fabio reshared this.

in reply to Alessandro

Shirt does not enable the wearer to fly, just possibly make awesome open source contributions.

Fabio ha ricondiviso questo.


Some strong winds in San Francisco this weekend!
Questa voce è stata modificata (1 mese fa)

reshared this




Here I am one again #fighting against #appstreamcli validate

given this (image urls are not important here)

[...]
    <screenshots>
        <screenshot>
            <image type="source" xml:lang="en">https://[...].png</image>
        </screenshot>
        <screenshot type="default">
            <image type="source" xml:lang="en">https://[...].png</image>
        </screenshot>
    </screenshots>
[...]

appstreamcli validate complains
E: [...]: screenshot-image-source-missing
   A screenshot must have at least one image of type `source`.

... ok?

this works:

[...]
    <image type="source">https://[...].png</image>
[...]

but them flathub validation will complains that a lang attribute is required.

So here I am once again commenting out ninja test from PKGBUILD

End note:

$ appstreamcli --version
AppStream version: 1.0.1
in reply to Fabio

Oh, also:

https://puri.sm/posts/specify-form-factors-in-your-librem-5-apps/

E: [...]: custom-key-duplicated Purism::form_factor
   A key can only be used once.

Diego Roversi ha ricondiviso questo.


Confy 0.7.1


Version 0.7.1 of #Confy, the #gtk4 / #libadwaita conference companion, has been tagged.

This release brings small fixes.
Main highlights are:

  • New German translation.
  • Flatpak now will use GNOME Runtime 45

#Arch #AUR packages are updated, #flatpak on #Flathub should be on its way.

https://sr.ht/~fabrixxm/Confy/



First short trek after months. With snow! Not bad!

https://kirgroup.net/~fabrixxm/trek/2024-01-21_orimento/


Fabio ha ricondiviso questo.


Cold is relative.

+10°C : Tenants of Helsinki turn off their heating.
+5°C : People in Lapland take a sunbath, if the sun still reaches over the horizon.
0°C : Destilled water freezes.
-1°C : Breath becomes visible. People in Lapland enjoy some ice cream and cold beer.
-4°C : Your cat wants under the blankets.
-12°C : Too cold for snowfall.
-18°C : Tenants of Helsinki turn the heating back on.
-20°C : Breath now becomes audible.
-23°C : Politicians start to claim sympathy for the homeless.
-26°C : Breath can now be used as material for ice sculptures.
-29°C : Your cat wants under your pajamas.
-31°C : Too cold for kissing, lips freeze together. The Lapland national soccer team begins training for spring season.
-39°C : Quicksilver freezes. Too cold to think. People of Lapland start closing their shirts.
-40°C : Your car wants under the blankets. People in Lapland think about wearing a sweater.
-44°C : Your dad is considering letting you use the thermostat. Maybe.
-50°C : Sea lions leave Greenland. People in Lapland start wearing some light mittens.
-70°C : Polar bears are leaving the north pole. At the university of Rovaniemi a field trip is getting planned.
-75°C : Santa is cancelling Christmas. People in Lapland start wearing wool hats.
-250°C : Alcohol freezes. People in Lapland are getting annoyed.
-268°C : Helium becomes fluid.
-270°C : Hell freezes over.
-273,15°C : Point Zero, no movement of elementary particles possible anymore. People in Lapland grudingly admit "yes, it's a bit chilly. Give me a schnapps to suck."



New little toy project in #vala #gtk4 / #libadwaita : Oliver, a simple GUI for PHPStan.

Select a folder, it runs phpstan found in vendor/bin subfolder, shows (searchable) results, monitors reported file for modification to automatically analyze project while coding.

It's called Oliver because, you know... Stan... Oliver...

Code here:
https://git.sr.ht/~fabrixxm/oliver


Elena ``of Valhalla'' ha ricondiviso questo.


It's been a while from my last post on behalf of the Department of Unnecessary Projects #DepUnPr

So here is the "UEFI bootable slide show"

https://git.sr.ht/~fabrixxm/uss

An UEFI executable that load tga uncompressed images from disk and display them as a slideshow in loop.


for when you feel the urge to show some photos and you can't wait for a full os to boot up.

(thanks to @Elena ``of Valhalla'' for inspiring this thing.)

reshared this



I'm doing some experiments with #tracker3 and #gtk4 model/view machinery.

So, for ease the test of #sparql queries against tracker, here it is Traqlr:

in reply to Fabio

(No repo yet, and, most importantly, no icon!)
in reply to Fabio Diego Roversi ha ricondiviso questo.

Got an icon. Yes, it looks like Tracker's icon, but look: the magnifying glass looks like a Q, with a text cursor. Because you can edit Queries... got it? Queries!

Ok.

No, still no repo. But now it uses GtkSourceView! How cool! 😎



#owlkitty

reshared this

in reply to Fabio

@Fedilab
@apps

update : #bugReport
upss, this was BS!
I missed the fact that simply ticking the boost button the boost get's "untoggled" and their for deleted,
sry!

Anyway, do you plan to create a
bugreport profile or something like that on: toot.fedilab.app

Also, have you thought about pinning a bug report and/or feature request template on your profile like for example:
https://tupambae.org/profile/admin

Questa voce è stata modificata (4 mesi fa)


Cory Henry #live @ Fabrique, Milan
#LIVE

in reply to Fabio

@Fabio non che io l'abbia letta per intero (ancora :D ), ho fatto passare un po' di pagine.

forse qualche affermazione corretta la fa. forse :D

in reply to Elena ``of Valhalla''

@Fabio e non glie ne si può fare una colpa, eh.

è più una considerazione su come faccia impressione quanto certe cose di linguistica che oggi sembrano universalmente note e scontate siano scoperte relativamente recenti




Quando ti sembra che l'applicativo web che stai sviluppando sia troppo lento a rispondere, e ti disperi, non sai più dove mettere le mani e non ti senti all'altezza del compito...

apri il sito di youtube.

Nei 15 secondi che ci mette a caricarsi ritroverai tutta la fiducia in te stesso.



Hey @Cube Drone ! I liked "Detective Capilano and the Case of the Car Crash that Was Also Maybe A Murder? This Title is Too Long." 👍😀

https://cube-drone.com/capilano/index.html







E niente, ieri sera stavo facendo bollire delle patate e mi son detto: "mah, la temperatura è quella giusta, quello che serve ce l'ho..."

Elena ``of Valhalla'' ha ricondiviso questo.


Confy 0.7.0


Confy 0.7.0 has been released

This is the first release with a brand new UI written in Gtk4/libadwaita, using Blueprint for UI definition!

User interaction has been revisited, while being mostly similar to the previous version: gone is the tab switcher in headbar, now starred talks can be found in navbar. Gone is also the map view (for now, at least).
Adding new conferences from URL is now done via a nice dialog, and editing of user-added conferences is done directly in the conference list view. Which is now a window by it's own, used as an "open" dialog.
There are some new shortcuts, like the "<primay>-c" shortcuts to copy the current talk details as plain text in clipboard.
The talk search can now be filtered to match only starred talks and there are two search "mode": the global search, activated by the button over in the navigation header and by the '<primary>-f' shortcut, and the "current list" search, which search in current talk list for
day/room/track.

I'm sure I'm missing something and I'm sure I've missed more than something testing this, so please open tickets on the tracker (tickets can be opened also via email just sending a text/plain mail to ~fabrixxm/confy@todo.sr.ht or
u.fabrixxm.confy@todo.sr.ht)

There is also a fix from ~edwardbetts for events that are after UTC midnight. Thanks!

#confy #gtk4 #libadwaita #newrelease

reshared this




Tobias ha ricondiviso questo.


https://ploum.net/2023-07-06-stop-trying-to-make-social-networks-succeed.html

reshared this



New #inkplate 6 arrived and got https://git.sr.ht/~fabrixxm/inktoday running on it.

next: get the weather forecast data again (the service I was using vanished from the web some time ago)




Hei @PHP @PHP Foundation #php , what's up here?

How firefox is doing "unusual traffic from [my] computer network" (requiring a captcha to continue) , while GNOME Web isn't ?



A quanto pare i miei hanno una bottiglia di "Vin Beato".

Ci intingono gli angolini.




#trenord in ritardo mi fa fare tardi anche in bici...


A quick'n'dirty in-browser experiment to incorporate a profile header image in #friendica user profile and status pages



Regola del prendere il #treno una tantum: qualunque ora arrivi in stazione il tuo treno partiva 30 secondi prima. E devi ancora fare il biglietto.

Elena ``of Valhalla'' doesn't like this.

in reply to Fabio

@Fabio la navigazione laghi fa coincidenza coi treni, per caso? (nel senso che pianifica le corse in modo che partano nel momento in cui i treni sono appena arrivati)
in reply to Elena ``of Valhalla''

@Elena ``of Valhalla'' di sicuro fa viceversa..

arrivo all'imbarcadero a Torno ore 14.11. la corsa passa alle 14.09. prossima corsa 14.44, che arriva alle 14.57. ora che sbarca e imbarca partiamo che son da poco passate le 15.00. arrivo a Como ore 15.30, pontile di fronte alla stazione Nord. Il treno è partito alle 15.16, prossima corsa 16.16... ortomio!
Se tornavo a piedi probabilmente arrivavo prima.
in reply to Fabio

@Elena ``of Valhalla'' (pero' ne ho approfittato per prendere le chiacchiere dal Fuin: win)
in reply to Fabio

@Fabio ma sta sicuro che l'ora di arrivo prevista per il battello sarebbero state le 15:15 precise, così fai in tempo a scendere dal battello, arrivare tutto trafelato in stazione e vedere i fari rossi del treno che si allontanano.

mica questa cosa che arrivi un quarto d'ora dopo, che quasi quasi uno se ne fa una ragione!

Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.