KaKi87

joined 1 year ago
[–] [email protected] 2 points 1 year ago

Tous les autres commentaires sont valides, mais voici mon alternative : aucune réponse.

Car une personne disant « tout le monde s'en fiche », dit plutôt « j'm'en fiche et ne parle qu'avec qui s'en fiche également ».

Ainsi, autant conserver ton énergie et parler avec des personnes qui sont réellement intéressées.

[–] [email protected] 3 points 1 year ago

L'informatique et tout ce qui tourne autour, c'est ma passion, mais pour les autres c'est parfois de la magie et souvent de l'emmerdement.

[–] [email protected] 2 points 1 year ago (1 children)

No, it freezes : clicking anywhere doesn't work, trying to go back doesn't work, the only possible action is opening recent apps and kill it.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I set such delays so that I have time to watch things happening in devtools, that's all.

However, reducing delays still doesn't allow the next text to appear simultaneously with the previous text disappearing.

The solution is figuring out how to overlay the texts without requiring a background color.

[–] [email protected] 2 points 1 year ago

+1, ça fait un an maintenant que mes ami·e·s et moi recherchons un logement mais nous faisons rejeter par les proprios car sans garants, sans CDI et sans gagner trois fois le loyer, alors qu'on a le budget.

 

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 !

[–] [email protected] 2 points 1 year ago

Moi je suis la personne qui trouve souvent le moyen de se faire remarquer, et donc rarement se faire oublier. 😅

Le plus souvent par mes demandes précises et/ou hors du commun, mais parfois aussi pour une "mauvaise" raison comme le reproche d'un tarif ou d'une pratique absurde, etc.

Quant à l'autre sens, je l'ai jamais vécu donc chais pas, mais en dehors de ça, il m'arrive souvent de mettre longtemps à retenir les noms, et de les oublier quand même.

[–] [email protected] 7 points 1 year ago (1 children)

Dans cette situation, je ne dévie pas, je m'arrête, forçant les personnes en face à réaliser et réagir.

[–] [email protected] 3 points 1 year ago (1 children)

Je dirais plutôt perception de l'espace.

Greetings, Professor Falken.

 

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

[–] [email protected] 3 points 1 year ago

Perso je fais mes documents en Markdown ou en HTML selon la quantité de formatage requise. ^^

[–] [email protected] 1 points 1 year ago

Si tu savais que ces travaux seraient à faire, tu aurais pu les faire faire toi-même avant ton départ, et ainsi ne pas être surpris·e par le montant, t'aurais également eu l'opportunité de passer par une plateforme de services entre particuliers.

[–] [email protected] 1 points 1 year ago

Les cas d'usage sont juste vraiment pas compatibles, en fait.

Si tu veux suivre une communauté Lemmy, mieux vaut utiliser un client compatible Lemmy.

[–] [email protected] 2 points 1 year ago (2 children)

Ou éduquez-le, surtout.

 

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

Thanks

 
 
39
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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 [email protected] to c/[email protected]
 

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.

8
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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

view more: next ›