13
4

Hello,

I'm able to make texts fade in and out sequentially, like the following :

F
Fi
Fir
Firs
First
 irst
  rst
   st
    t
S
Se
Sec
Seco
Secon
Second
 econd
  cond
   ond
    nd
     d
T
Th
Thi
Thir
Third

Demo : https://jsfiddle.net/KaKi87/t3jm8yhx/2/

But I'd like to to make these fade in and out simultaneously, like the following :

F
Fi
Fir
Firs
First
S rst
Se st
Sec t
Seco
Secon
Second
T cond
Th ond
Thi nd
Thir d
Third

How to do that ?

Thanks !

5

On Reddit, ^^ requires escaping, because of that character being used for superscript, but on Lemmy, it should be displayed normally, because of using standard Markdown.

Thanks

[-] KaKi87@sh.itjust.works 6 points 1 year ago

Aucune : créer des équivalents français d'expressions étrangères c'est bien, mais faisons-le en respectant notre étymologie, pas la leur.

En revanche, il n'y a pas plus français que la numération québécoise, on devrait l'utiliser.

Mais pour le moment, la priorité devrait être la recherche sur la neutralisation du langage, car les néo-pronoms ne font vraiment pas l'affaire.

[-] KaKi87@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

COVID = maladie est correct, mais différent de Wi-Fi et Fediverse étant des noms propres, ainsi non traduisibles par "fidélité sans-fil" ou "fédivers", non genrables donc non précédables par un article "le" ou "la", et nécessitant une majuscule.

Wi-Fi est une marque nommée pour sonner comme Hi-Fi mais sans rapport : Fi ne signifie pas "fidelity". C'est comme JavaScript qui a été nommé pour sonner comme Java mais sans rapport non plus.

Wi-Fi devrait alors être précédé par un autre terme, comme réseau Wi-Fi, point d'accès Wi-Fi, signal Wi-Fi, ou autre selon le contexte. Et si l'on veut absolument utiliser et genrer Wi-Fi tout court, ça devrait être un raccourci masculin de le réseau Wi-Fi.

Fediverse devrait être utilisé tel quel car se suffit, comme Internet : il y a plein de réseaux Wi-Fi, mais Fediverse et Internet sont uniques.

En revanche, Fediverse peut être substitué (pas précédé) par la fédération, tout comme Internet par la toile.

[-] KaKi87@sh.itjust.works 3 points 1 year ago

The advantage of being Ubuntu-based is faster updates.

The drawback is Snap, but it can be disabled.

Therefore, I think Pop and Mint should continue being so and doing that.

On a side note :

CalVer might be better for a more general audience

I disagree with this nevertheless, because when users learn what major/minor/patch mean, they can better understand how developers work and why should they upgrade.

Also, coincidentally but relevantly, CalVer is an homonym of the French calvaire which means misery.

14

Infinity's maintainer wouldn't try doing it. Would you ?

Thanks

22
6
[-] KaKi87@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

Je lis très mal le sarcasme, merci de bien vouloir réécrire ce passage de façon normale, ensuite seulement je pourrai comprendre et répondre.

Concernant la sécurité et les mises à jour (ces deux sujets étant liés), débloatwariser son smartphone permet justement d'outre-passer l'obsolescence programmée du constructeur.

Par exemple, mon appareil actuel est le Xiaomi Mi 8, qui a été mis à jour par le constructeur pour la dernière fois fin 2021 sous Android 10. Mais grâce à la débloatwarisation, mon appareil a été mis à jour par la communauté pour la dernière fois le 16 août sous Android 13.

[-] KaKi87@sh.itjust.works 12 points 1 year ago

Le smartphone en soi n'est pas un problème, mais comment on le fabrique et l'utilise, sont les problèmes.

C'est effectivement un outil, destiné à servir ses utilisateurs, mais que l'on nous vend avec des éléments néfastes au service des constructeurs, opérateurs et autres sociétés big tech.

Plutôt que de nous désmartphoniser, j'appelle à débloatwariser nos appareils.

C'est exactement ce que je fais chaque fois que j'effectue un dépannage : j'incite à passer son smartphone à LineageOS, à passer son PC à Linux, à utiliser son navigateur avec uBlock Origin, etc.

39
submitted 1 year ago* (last edited 1 year ago) by KaKi87@sh.itjust.works to c/eternityapp@lemdro.id

Hello,

In many places, community mentions are prefixed by an exclamation point.

But when pasting these mentions in the go to community dialog, an error will appear, requiring the user to manually remve that exclamation point before submitting.

It would be nice, instead, to handle it automatically without error.

Thanks

10
submitted 1 year ago* (last edited 1 year ago) by KaKi87@sh.itjust.works to c/lemmy@lemmy.ml

I tried the the conversation continues here button but it doesn't work for me :

I also tried the community's sidebar link but it results in timeout.

Thanks

PS : I'm sorry the GIF URL is from Discord but Lemmy converts to JPG and Infinity converts to WEBP so I didn't seem to have a choice.

[-] KaKi87@sh.itjust.works 3 points 1 year ago

Not stable indeed, but pre-releases still are releases (of type preview), which means these are documented with changelogs, which I care about. Thanks

[-] KaKi87@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

Nice, thanks, but I prefer using stable versions. 😊

[-] KaKi87@sh.itjust.works 3 points 1 year ago

Oh, that's well-hidden. Thanks

[-] KaKi87@sh.itjust.works 3 points 1 year ago

You're implying thay Infinity has a settings import/export feature, where's that ? Thanks

[-] KaKi87@sh.itjust.works 27 points 1 year ago* (last edited 1 year ago)

I vote for keeping Infinity for Lemmy, because that's how Infinity for Reddit users will hear about Lemmy and get convinced to use it.

Also, it allows me to do this :

Screenshot_20230808-023406_Nova7

[-] KaKi87@sh.itjust.works 2 points 1 year ago

I just found two packages that do the same thing as I did :

The last one comes with a blog post explaining the same things I did !

8
submitted 1 year ago* (last edited 1 year ago) by KaKi87@sh.itjust.works to c/programming@programming.dev

Hi !

Given the following sample items :

| ID | First name | Age | | ---------- | ---------- |


| | xvZwiCpi | Naomi | 42 | | Nzd9UsGT | Naomi | 24 | | QiDXP2wA | Thea | 53 | | JpYeAY7H | Jeremy | 35 |

I can store these in an array :

const data = [
  { id: 'xvZwiCpi', firstName: 'Frederic', age: 42 },
  { id: 'Nzd9UsGT', firstName: 'Naomi', age: 24 },
  { id: 'QiDXP2wA', firstName: 'Thea', age: 53 },
  { id: 'JpYeAY7H', firstName: 'Mathew', age: 35 }
];

Thus access them the same way by ID :

console.log(data.find(item => item.id === 'xvZwiCpi'));

And by properties :

console.log(data.find(item => item.firstName === 'Frederic').id);

Or I can store these in an object :

const data = {
  'xvZwiCpi': { firstName: 'Frederic', age: 42 },
  'Nzd9UsGT': { firstName: 'Naomi', age: 24 },
  'QiDXP2wA': { firstName: 'Thea', age: 53 },
  'JpYeAY7H': { firstName: 'Mathew', age: 35 }
};

Thus more easily access properties by ID :

console.log(data['xvZwiCpi'].firstName);

But more hardly access ID by properties :

console.log(Object.entries(data).find(([id, item]) => item.firstName = 'Frederic')[0]);

I could duplicate IDs :

const data = {
  'xvZwiCpi': { id: 'xvZwiCpi', firstName: 'Frederic', age: 42 },
  'Nzd9UsGT': { id: 'Nzd9UsGT', firstName: 'Naomi', age: 24 },
  'QiDXP2wA': { id: 'QiDXP2wA', firstName: 'Thea', age: 53 },
  'JpYeAY7H': { id: 'JpYeAY7H', firstName: 'Mathew', age: 35 }
};

To slightly simplify that previous line :

console.log(Object.values(data).find(item => item.firstName = 'Frederic').id);

But what if a single variable type could allow doing both operations easily ?

console.log(data['xvZwiCpi'].firstName);
console.log(data.find(item => item.firstName === 'Frederic').id);

Does that exist ?

If not, I'm thinking about implementing it that way :

const data = new Proxy([
  { id: 'xvZwiCpi', firstName: 'Frederic', age: 42 },
  { id: 'Nzd9UsGT', firstName: 'Naomi', age: 24 },
  { id: 'QiDXP2wA', firstName: 'Thea', age: 53 },
  { id: 'JpYeAY7H', firstName: 'Mathew', age: 35 }
], {
    get: (array, property) =>
        array[property]
        ||
        array.find(item => item.id === property)
});

In which case I'd put it in a lib, but how would this be named ?

I'd also make a second implementation that would enforce ID uniqueness and use Map to map IDs with indexes instead of running find : while the first implementation would be fine for static data, the second one would be more suitable for dynamic data.

Would this make sense ?

Thanks

2
Multitask view on PopOS ? (sh.itjust.works)

Hello,

Does Pop OS have a multitask view feature that I could assign a shortcut to, like illustrated here on Linux Mint ?

Thanks

[-] KaKi87@sh.itjust.works 9 points 1 year ago

I didn't know it was an animal, thanks !

30
submitted 1 year ago by KaKi87@sh.itjust.works to c/jerboa@lemmy.ml
view more: next ›

KaKi87

joined 1 year ago