Reddeet

51 readers
0 users here now

Welcome !

This instance is open to ideas as to where it should go. Contact the admin at admin@reddeet.com if you have any suggestions/issues.

Like the old Reddit style ?

Cool links !

Technical

This instance is hosted on an ARM based server (Hetzner CAX Server) :

Analytics

You can check out the data we collect when you visit this instance right there : analytics.kawa.zip/reddeet.com

None of this data is sold to anyone, it is used for educational purposes only.

founded 1 year ago
ADMINS
76
 
 
77
 
 

On today’s episode of Uncanny Valley, we discuss how WIRED was able to legally 3D-print the same gun allegedly used by Luigi Mangione, and where US law stands on the technology.

78
79
80
81
 
 

Partially Solved

While I haven't found a native solution on how to integrate NTFY to glance, I did build up something that actually send basic text streams to glance in an automated way. It's very rudimentary and probably error prone, but that's the best I could do right now... Maybe someone else will chime in and give some better advice/solution.

For those interested postgREST allows to build a simple docker container postgres database you can query for the custom api in glance. It DOES work, but If like myself, your database/json/postgre knowlege is very limited, it only allows basic text response like: "Update Failed".

I did try to get a little further into the rabbit hole, but it does come with the necessity to have a good database and query/response background ? Not a very good solution and will probably not go one or try to improve on that right now... But feel free to give better advice or another lead to follow :)

Further notes:

On a final note, I do see a lot of interest in the Glance community and alot of new and interesting updates:

  • Added .Options.JSON to the custom API widget which takes any nested option value and turns it into a JSON string v0.8.3
  • [Custom API] Synchronous API calls and options property v0.8.0

Hello everyone !

I kinda hit a roadblock here and I'm interested if someone actually have done something similar or an alternative to what I'm trying to achieve.

Some background

Right now I'm playing around with NTFY and works great. I even hooked some automated backup script to my server with stdout/stderr output:

(Please, no bash-shaming ! :P)

#!/bin/bash

$COMMAND

if [ $? -eq 0 ]; then
        echo "Success"
        issue=$(<stdout.txt)
        curl -H "Title: Hello world!" -H "Priority: urgent" -d "$issue" https://mydomain/glancy

else
        echo "Failure"
        issue=$(<stderr.txt)
        curl -H "Title: Hello world!" -H "Priority: urgent" -d "$issue" https://mydomain/glancy

fi

This works great and I receive my notification on every device subscribed to the topic

What I'm trying to achieve?

Send the NTFY notification to a visual dashboard like Glance. If there's no native way to achieve this, self-host a simple json api that get's populated by my server's script response?

What's the issue ?

After skimming all the GitHub repos, there's no mention on any self-hosted dashboard to integrate NTFY as a notification hook. I find it kinda strange because NTFY is just a simple HTTP PUT or POST requests so It should be rather easy no?

And after searching the whole day on the web, there wasn't any good results or resources. So I came to the conclusion that It wasn't that easy and probably needs a bit more of something I'm probably bad at (coding?).

In the glance documentation there's configuration to hook a custom api and looks rather simple, however now I hit a roadblock I'm not able to solve... I have no idea where or how to spin up a self-hosted and dynamic json api that communicates with my server and updates/populate that json file... Here's an example to show what I mean:

Json api: https://api.laut.fm/station/psytrancelicious/last_songs

Custom Glance API template:

- type: custom-api
  title: Random Fact
  cache: 6h
  url: https://api.laut.fm/station/psytrancelicious/last_songs
  template: |
    <p class="size-h4 color-paragraph">{{ .JSON.String "title" }}</p>
Questions

  1. Any native way to hook NTFY's notification to a dashboard like instance (Glance, Homer, Dashy?)

  2. If no, Is it possible to self-host a json api that gets populated by my script's response? A good pointer to the right direction would be very nice, preferably a Docker solution !

  3. Another solution to have a visual dashboard (not the native NTFY dashboard) and visualize all my script response notification in one place ?


Thank in advance for all your responses :) and sorry for my bad wording, web development terminology is not really my cup of tea !

82
 
 

cross-posted from: https://programming.dev/post/30928631

Given Mozilla’s recent development push to remove support for bookmark keywords & bookmarklets, I wanted to discuss how I use these features of Firefox and why, in a hope that the new system will support important use cases.

83
13
submitted 1 day ago* (last edited 1 day ago) by tomydenger@lemmy.world to c/france@jlai.lu
 
 

Derrière cette immonde carte qui est juste là pour attraper votre regard, se présente un minidossier pour qui trouvera intéressant ce que j'ai fait. Commençons par l'expliquer, cette chose affreuse. Ce sont 7 433 lignes géodésiques reliant 4 212 communes françaises à leurs 6 604 villes jumelles présentes dans 97 pays. C'est pour ça qu'elle est illisible.

Passons donc à des cartes plus lisibles.

Parlons alors de qui se jumelle avec qui. Deux dynamiques ressortent, les villes françaises se jumellent avec des villes qui partagent un patrimoine culturel proche ou lointaine, que ce soit par proximité géographique, peu présente, ou par un rapprochement à travers notamment une population et une histoire. Carte de chaleur montrant les villes françaises jumelées aux villes irlandaises Comme vous pouvez l'observer, les villes françaises intéressées par ce jumelage se trouvent principalement dans notre région bretonne, probablement pour le côté celte. L'histoire joue également dans le passé colonial. Que ce soit par exemple Saint-Barthélémy (collectivité d'outre-mer) qui se jumelle à la Suède, alors que les autres DROM COM restent généralement jumelées dans leur continent.

La population de la commune issue d'une immigration peut par ailleurs jouer. Des villes industrielles (et de taille plus importante) se jumellent ainsi avec le pays d'origine carte de chaleur montrant les villes françaises jumelées aux villes tchèques et polonaises

Carte de chaleur montrant les villes françaises jumelées aux villes portugaises

Ce n'est pas aussi marqué que vis-à-vis de la carte de chaleur des villes irlandaises (il y a moins de communes jumelées, ce qui limite cette représentation). Cette proximité est par ailleurs visible pour le jumelage avec des villes arméniennes (hotspot autour de Paris et Lyon), et les jumelages aux russes sont (ou bien étaient... la donnée peut dater) à Paris et sur la Riviera.

Parlons désormais de proximité géographique en prenant nos voisins frontaliers. La majorité des jumelages ont lieux avec 4 pays : l'Allemagne (2315 jumelages), le Royaume-Uni (1058 jumelages), l'Italie (971 jumelages), l'Espagne (598). Malgré ses différences, on peut visualiser une légère dominance du rôle de la proximité. L'Italie est plus présente en AURA et PACA

L'Espagne en Aquitaine et en Occitanie

Le Royaume-Uni est présent tout le long de la Manche.

L'Allemagne est présente un peu partout en Métropole, donc il est plus difficile d'affirmer une telle proximité géographique qui serait plus importante que culturelle. Comme vous avez pu le remarquer, il y a des points chauds italiens dans les zones industriels comme l'ouest de la Moselle (immigration), et l'Espagne est très présente dans notre pays basque et catalan. L'Allemagne est alors bien plus présente dans l'Alsace par rapport aux autres pays jumelés.

En dehors de ça, la langue joue pour beaucoup (breton, basque, catalan)... mais aussi le français. En effet, en Suisse, en Belgique, au Luxembourg, et au Canada. Les villes francophones sont surreprésentées : le sillon wallon, Québec, frontière luxembourgeoise (aussi plus peuplé). En Afrique, la majorité des jumelages sont avec des villes francophones (Afrique subsaharienne francophone, devant le Maghreb)... et même Pondichéry (désormais Puducherry) avec Basse-Terre (Guadeloupe).

En dehors de ses petites cartes, il y a des phénomènes, des villes se jumellent à des villes possédant le même nom. La Ville de Cissé (86) a le plus de jumelages, une par pays de l'EU, devant Saint-Etienne (19), et Marseille, Paris et Nice (18). Parlons des blagues, Nice s'est jumelé à Lurenberg, la capitale du Listenbourg en 2022 ; et selon la source des données, non, Y n'est pas jumelé à Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.

Point méthodo ! J'ai obtenu les données en les important depuis https://www.annuaire-mairie.fr/jumelage.html Problème, il liste les villes seulement par leurs noms et le pays d'origine ou le département pour le côté français. J'ai ensuite obtenu les coordonnées des communes à l'étranger en les joignant à des coordonnées obtenues depuis le site Geoname ou à l'aide de l'API de géocodage d'OpenCage. Ce qui m'a valu de corriger pas mal de points (comme les villes israéliennes qui se trouvaient en Illinois, ou tunisiennes au Tennessee par exemple). En plus de ces soucis, la base de donnée peut dater ou renseigner + ou - des jumelages. Cissé par exemple est jumelé à une ville du Luxembourg selon Wikipédia, ce qui n'est pas le cas ici. Pour faire ces cartes sur QGIS, je suis passé par quelques scripts python. Si quelqu'un à une méthode pour fusionner des rasters (les heatmap) pour faire ressortir les données dominantes et les colorier, je suis preneur. Ce projet m'a pris bien trop de temps (je suis dessus depuis jeudi), je m'excuse donc pour le rendu des cartes (pas de titre, pas de projections adaptées, mais je suis fatigué.) Bye

84
85
 
 
86
87
 
 

That sucks. I heard good things from the open beta.

88
 
 
89
 
 

TL;DR: EV cars & SUVs will face an average 16% effective price increase, with the lowest cost model up more than 28%, if the law passes the Senate and goes into effect as written.

It's hard to imagine any way this doesn't throw a huge wrench into the adoption of sustainable car technology for the USA.

Only about 8% of new cars sold last year in the USA were electric, compared to 13% for the EU or 25% for China. Seems like exactly the wrong moment to cut tax incentives for the tech.

90
91
 
 
92
 
 

Robert Kevin Rose (born 1977) is an American Internet entrepreneur who co-founded Revision3, Digg, Pownce, and Milk. He also served as production assistant and co-host at TechTV's The Screen Savers. From 2012 to 2015, he was a venture partner at GV.

Source Wiki

93
71
submitted 1 day ago* (last edited 1 day ago) by Elevator7009@lemmy.zip to c/games@lemmy.world
 
 

I thought of this post entirely because I have the Pokémon Center theme from Pokémon HeartGold SoulSilver stuck in my head, and it has wriggled in over and over for months despite me hearing and actively playing other music.

94
 
 

- I've just bought a #BananaPi R3. As an avid user of #Openwrt and #Yunohost I'm thinking that it would make sense to have the capabilities of both on that device since it has space for an #SSD - Does any one know of any projects that are bringing the features of both types of services together into one solution. i.e a lightweight home server and configurable router in one?

95
96
submitted 1 day ago* (last edited 1 day ago) by HiddenLayer555@lemmy.ml to c/memes@lemmy.ml
 
 
96
 
 

Popular torrent site uploader Will1869, known for releases tagged as 'COLLECTiVE', has been arrested by police in the UK. He specialized in distributing recent movies that were typically sourced elsewhere. COLLECTiVE torrents were shared on public portals including 1337x and also appeared on the home site, Laidbackmanor, which was also shut down by police.

Torrent site uploaders come in various shapes and sizes. Only a few become so popular that their ‘brand’ is widely recognized by online pirates.

COLLECTiVE falls into the latter category. The uploader operating under this tag, Will1869, shared many high-profile titles, mostly films. He purportedly operated as a one-man team.

These releases appeared on major torrent sites including 1337x and the recently defunct TorrentGalaxy. COLLECTiVE reportedly ran a small torrent portal, Laidbackmanor, where these releases often appeared first.

Unlike regular release groups, which are often the origin of leaks, Will1869 (as COLLECTiVE) typically sourced his releases from elsewhere. This included cams with embedded ads that were carefully stripped before they were shared further.

UK Police Arrest Will1869, Shut Down Laidbackmanor
For a long time, COLLECTiVE uploads appeared at a steady pace, but that changed at the end of last month, when they suddenly stopped. At the same time, the Laidbackmanor site was taken offline and redirected to a GoDaddy landing page.

In the immediate wake of these events, rumors started to spread that Will1869, a.k.a. COLLECTiVE, had been arrested. This was reported by several unconfirmed sources and corroborated by a message sent through his website hours before it disappeared.

After reaching out to a trusted source, who asked to remain anonymous, we can now report that UK police arrested Will1869 at the end of April. He has since been released on bail but remains under investigation.

At this point, no further information on the case is available, but we are informed that additional details are expected to be released in due course. What is clear, however, is that the arrest effectively means the end for COLLECTiVE and the associated website.

It’s unknown how the authorities eventually pinpointed Will1869, but his operation under the COLLECTiVE tag has been a high-profile target for a while, as its releases have been downloaded through pirate sites many millions of times.

In January, COLLECTiVE made headlines when two Oscar-nominated screeners started to leak across various torrent sites. The most popular releases were tagged by COLLECTiVE but Will1869 wasn’t the original source. Instead, the leaks were obtained elsewhere on the open web.

These pass-through releases were typical of how COLLECTiVE operated. Instead of ripping content directly, Will1869 picked up other releases which, after some ‘improvements’, were uploaded to the public.

The arrest of Will1869 by UK police effectively puts an end to this stream of uploads.

97
98
 
 
99
 
 
100
 
 
view more: ‹ prev next ›