Technologie - 🤖

553 readers
15 users here now

Ici concerne le champs de domaine large de la technologie : actualités sur l'informatique, partage de programme informatique et de code, montrer vos projets Arduino, ect.

MĂ©gafil ici

founded 1 year ago
MODERATORS
301
302
 
 

cross-posted from: https://lemm.ee/post/27356044

Hello, friends!

TL;DR: I am working on a new Lemmy frontend in nextJS. There is still much work to be done, but you can already have an early look at https://next.lemm.ee

First of all, quick note to lemm.ee users: I am making this announcement post in !meta@lemm.ee, as this is also a notice that I will be hosting an alternative frontend (lemmy-ui-next) for the first time on lemm.ee. Going forward, I will post updates about lemmy-ui-next in a separate dedicated community: !lemmy_ui_next@lemm.ee. If you're interested in future updates, please subscribe there!

What is lemmy-ui-next?

Lemmy is generally accessed through some kind of frontend UI. By default, Lemmy provides its own web interface (lemmy-ui), which you can find on the front page of most Lemmy instances (including lemm.ee). There are also several other independent frontends, for both the web and different mobile platforms, which I'm sure many of you are familiar with.

Lemmy-ui-next is a brand new alternative frontend, built from the ground up with modern and popular tooling - a framework known as NextJS. Lemmy-ui-next has (or aims to have) the following high-level features:

  • Open source (AGPL)
  • Drop-in replacement for lemmy-ui - same exact URL structure, so all existing links will continue working
  • Very plain & minimalistic UI, strongly inspired by other link aggregator sites (of course including the original lemmy-ui!)
  • Very basic and "typical" NextJS architecture, to encourage open source contributions
  • Fully functional even when JavaScript is disabled (but works better with JS enabled!)
  • Optimized data transfer between your browser and the server (filtering out only relevant data from the Lemmy API, caching, memoization)
  • Strong focus on privacy and security (all authentication with the Lemmy API is done through secure httpOnly cookies, user IP addresses are not leaked to external image hosts, etc)

What is the current status of lemmy-ui-next?

I have mentally split the initial work I want to complete into 3 milestones:

  1. Lurk - All read-only features of Lemmy
  2. Participate - Voting/posting/commenting/DMs/reports, etc
  3. Moderate - Handling reports, creating & managing communities, etc

I am now nearing completion of the first milestone. It's not 100% there yet, but you can already log in, browse, subscribe to communities and even vote. Some things may still look a bit wonky, and some features are still missing, but the core experience is getting there.

In terms of code contributions, I would ask anybody who is interested in getting involved to contact me first before working on anything. I am not looking for PRs just yet - the code structure is still a bit loose, and I am redefining it as I add more stuff. I would ideally really like to complete the first 3 milestones before opening things up for external contributors.

Who can use lemmy-ui-next?

At the moment, it is only hosted on this instance, at https://next.lemm.ee. I do not yet have any formal instructions for running it on other instances, but generally speaking, it is a simple NextJS app - to deploy it, you just need to do: npm install, npm run build and LEMMY_BACKEND=https://<your lemmy api here> npm run start.

Why not just improve lemmy-ui instead?

Lemmy-ui is an extremely important and valuable project. There has been a significant amount of hard effort put into it so far, and nobody can refute that it is the frontend which has really carried Lemmy to this point.

Unfortunately, there are some architectural problems with lemmy-ui (mostly related to how data is fetched and how sessions are stored in memory), all of which would require quite a significant rewrite to fix. Additionally, I think that the core technical solution used for lemmy-ui is just a bit too obscure, which has been an obstacle to my own contributions, as well as to contributions by others. If a rewrite is on the table anyway, then I believe a different technology is the best way forward.

Why not work on lemmy-ui-leptos instead?

Lemmy-ui-leptos is another rewrite of lemmy-ui, which is being lead by Lemmy maintainers. It is based around a Rust web framework called Leptos. I think this is really cool tech, and will be happy to host lemmy-ui-leptos on lemm.ee in the future as well.

There are a two key reasons why I personally decided to start working on another alternative, though:

  • I have heard from several people on Lemmy that they feel like Leptos is a big barrier to entry in terms of them contributing
  • Even for myself personally, I am very comfortable (and think I can move very fast) when working on something like NextJS, but with Leptos, I think the learning curve would be quite big and I would get much less done with any time I invest into it

My hope is that by providing a very vanilla alternative, I can provide an outlet for potential open source contributors who would like to work on Lemmy, but aren't prepared to do it with Leptos.

Does this mean that lemm.ee will change in ways I don't like?

First, let me be clear: lemm.ee will always host the default Lemmy frontend. This means lemmy-ui for now, and most likely lemmy-ui-leptos in the future.

I am however considering the possibility of switching things around at some point in the future, so that lemmy-ui-next will be hosted directly on lemm.ee, and lemmy-ui will be accessible on a different subdomain (like ui.lemm.ee). This would only happen once I have completed all 3 milestones for lemmy-ui-next. The main reason I am considering this is that I feel like I will always be in the best position to offer technical support to users on the frontend which I am myself maintaining. If you have any thoughts about this potential change, please let me know in the comments below!

That's about it for now!

This is something I've been thinking of doing for a while now, and I'm very excited to finally get the ball rolling! If you have a chance, please feel free to check out what https://next.lemm.ee looks like so far, and please let me know if you have any thoughts or feedback!

303
 
 

​:youtube:​ Les piles RECHARGEABLES sont elles vraiment RENTABLES ? – Bricolage c'est cool

Après ces deux vidéos de comparaison de #piles jetable, Joffrey a comparé les piles rechargeables pour savoir lesquels sont les plus rentables.
Il parle aussi de l’aspect écologique et confirme qu’il y a un réel intérêt pour les rechargeables !

yewtu.be/watch?v=f1cDtPSvImM

@technologie

304
 
 

acces libre aujourd'hui dimanche,

305
306
 
 

La SF d'hier dans la com des labos d'aujourd'hui

307
 
 

cross-posted from: https://lemmy.ml/post/13230517

Cette partie j'ai kiffee,

Il ya un scenario "gendarme / voleur" qui est vraiment pas mal.
C'est un film de 18mn40, qui se deroule sur les deux ecrans.
L'attaquant et la "victime".

Ca montre que le point de depart est l'emotionnel.
Dommage que je ne puisse y amener certaine personne.

Et l'ASMR en meme temps que l'on voit le scenario se derouler en rajoute GRAVE. On est dedans.

https://kamel-mennour.imgix.net/pages/exhibitions/mennour-emergence-2023/4a44ae5b27-1708682034/20.jpg?auto=format%2Ccompress&crop=faces%2Centropy&cs=tinysrgb&fit=crop&ixlib=php-2.3.0&w=1024&s=bc891a06710f92ca79b7be60a13828e6

308
309
310
311
312
313
 
 

publication croisée depuis : https://lemmy.world/post/13074836

XR France à propos de ses choix en matière d'outils numériques :

Utiliser les GAFAM ou des logiciels propriétaires dans nos luttes, c’est se déposséder de nos outils de lutte. Être soumis à des outils qui ne visent pas le succès de nos luttes, mais leur rentabilité.

Les solutions des GAFAM ne sont meilleures que tant qu'on les prend comme référence :

Il ne faut pas chercher un logiciel libre comme une alternative à un logiciel propriétaire, mais plutôt chercher un logiciel libre pour répondre à un besoin.

Là où le bât blesse, c'est lorsqu'il s'agit de médiatiser :

Réseaux sociaux : On reste chez les GAFAM car c’est essentiel pour notre audience.

Comment en sortir ?

314
 
 

Extract

Original Hope

Three and a half decades ago, when I invented the web, its trajectory was impossible to imagine. There was no roadmap to predict the course of its evolution, it was a captivating odyssey filled with unforeseen opportunities and challenges. Underlying its whole infrastructure was the intention to allow for collaboration, foster compassion and generate creativity – what I term the 3 C’s. It was to be a tool to empower humanity

315
 
 

cross-posted from: https://lemmy.world/post/13022564

Stolen data rule

4 panel System32Comics comic 1: "Oh no! The virus is stealing my personal data!" 2: "Free Anti-Virus Software Help!" 3: Free Anti-Virus Software to the rescue! 4: Free Anti-Virus Software is stealing his personal data

316
 
 

Article partagé, lien valide pour 48H

317
318
319
320
321
322
323
16
submitted 8 months ago* (last edited 8 months ago) by obercail@jlai.lu to c/technologie@jlai.lu
 
 

La version 7 de Signal est sortie, et elle règle enfin un des plus gros problèmes : Vous n'êtes plus obligé·e de donner votre numéro de téléphone à quelqu'un pour communiquer avec.

Il y a donc désormais deux réglages dans Signal : le "username" et le "phone number privacy". Quelques explications pour bien comprendre:

324
11
submitted 8 months ago* (last edited 8 months ago) by Camus@jlai.lu to c/technologie@jlai.lu
 
 

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

Another update on some progress. Been working on implementing popovers that will show information when you hover over things for long enough. This gives an easy way to get certain information without needing to leave the post feed

Moving your mouse off of the chip or popover closes it so you can keep browsing

Community chips (with the icon and gradient) replace links to communities in markdown. It makes sure that everything is a link relative to your instance and that it can trigger a popover for the community

This is shown in the video below with nested community chips (the description of these communities in lemmy currently link to other communities and those have all been replaced with chips)

More sidebar progress coming tomorrow

325
 
 

Nostr n’est donc pas un réseau social mais un protocole utilisé par des logiciels client (mobile, web, desktop) et des relais. Pour l’instant il est plus connu comme un usage de micro-blogging mais voyons ça en détail.

view more: ‹ prev next ›