![](/static/253f0d9/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
Thanks indeed I misunderstood the problem
Thanks indeed I misunderstood the problem
I misunderstood the problem. I thought the thieve came on bike to steal something. I did not get that the bike itself was what got stolen.
I do not get why it would work in that case. I assume the scenario is someone with a bike coming, doing theft, then leaving with the same bike.
Therefore there will be a period without bike, then a period with bike, then a period without bike again.
Let’s assume there is no bike on the particular moment viewed. How do you know whether it occured before or after the theft? If you make the wrong decision, you get stuck on an endless binary search… Unless you take note at each timestamp where you made the decision, draw a tree of timestamps, and go back the tree if your search is fruitless but that’s much more complicated than what this post says.
On the world’s roads last year, there were over 20 million electric vehicles and 1.3 million commercial EVs such as buses, delivery vans, and trucks.
But these numbers of four or more wheel vehicles are wholly eclipsed by two- and three-wheelers. There were over 280 million electric mopeds, scooters, motorcycles, and three-wheelers on the road last year
There are about 20x more e-bikes than electric cars. Of course its going to demand more oil.
The real question is what is best in terms of oil demand between electric cars and e-bikes
Agreed that some people can find it easier with explicit names - however some people find it easier with short meaningless names as it makes them focus on the abstraction rather than the naming. There is no right or wrong here. It all depends on the reader.
A specialized architecture will always be better than a general purpose processor no matter how advanced the tech gets.
So you will always need a GPU as a GPU is quite literally a Graphical Programming Unit, that is a specialised architecture for Graphical computations
A friend of mine got asked if she had a boyfriend. She asked back “why that question”. It was to know whether she would be likely to get pregnant and miss work.
What a horrifying mentality some companies have
Étant donné cette différence de croyance, est ce que tu sais si les Francs Maçons du GO sont acceptés parmi les autres branches déistes ?
Oui je voulais dire secte dans ce sens là
C’est une secte oui.
De ce que j’ai compris, les Francs-Maçons encouragent le travail sur soi même ; n’importe qui peut y aller, la seule condition c’est de vouloir améliorer l’humanité (au sens large) et de vouloir travailler sur soi (accepter qu’on est imparfait et qu’on peut déjà s’améliorer soi-même). Ils partent du principe qu’il est toujours possible d’améliorer les choses : je pense que c’est plutôt un courant perfectionniste.
Ils promeuvent l’écoute des autres ce qui n’est pas vraiment le cas des réseaux sociaux en vogue aujourd’hui. Par exemple ils ont des règles en place pour ne pas couper la parôle et entendre ce que chacun a à dire.
Hot take: Git is hard for people who do not know how to read a documentation.
The Git book is very easy to read and only takes a couple of hours to read the most significant chapters. That’s how I learnt it myself.
Git is meant for developers, i.e. people who are supposed to be good at looking up online how stuff works.
Ça n’arrivera jamais. Il n’est pas de notre monde
Ben le iel est proposé, mais la résistance est forte, et assez peu argumentée amha.
Je vois deux problèmes :
Est-ce qu’il y a une forme COD de iel ? Par exemple pour l’anglais c’est them.
En fait, ce n’est pas la raison, la raison on la connaît, elle est dans les grammaires les plus anciennes: « Le genre masculin est réputé plus noble que le féminin à cause de la supériorité du mâle sur la femelle » article WP. La règle étant explicitement sexiste, je trouve légitime les appels à la changer.
L’existence de la raison historique n’empêche pas que j’ai une préférence personnelle à rédiger au masculin pour des raisons de brièveté
Je suis complètement OK pour changer la règle en la règle de la brièveté de mon côté.
Le sexisme n’est pas de marquer une différence, c’est de transformer la différence en hiérarchie.
Dans ce cas on pourrait décréter de pouvoir utiliser le genre que l’on veut à valeur de neutre, c’est à dire que l’auteur pourrait, au choix, dire “les étudiants” ou “les étudiantes”.
Concrètement, ça voudrait dire que le masculin et le féminin pourraient être utilisés à valeur de neutre.
Comme ça la différence existe, mais il n’y a plus de hiérarchie. Grammaticalement en tout cas.
Ouais mais être galant ne résout pas vraiment le problème en fait.
Ce que je vais dire est très controversé, mais en disant “étudiantes et étudiants” au lieu de “étudiants et étudiantes”, on échange le masculinisme pour du féminisme. Je ne pense pas qu’il y en ait un qui soit mieux que l’autre très honnêtement.
Je suis assez frustré qu’on n’ait pas un “they” ou “them” en français.
Si on veut vraiment l’égalité des genres, il faudrait soit tout rapporter au masculin actuel, ou tout rapporter au féminin actuel - puis enfin supprimer le genre complètement. Disons qu’on rapporte tout au masculin actuel parce que les mots sont plus courts au masculin.
ça impliquerait de ne plus dire “je suis sorti avec elle” mais “je suis sorti avec lui”, peu importe si on parle d’un mec ou d’une nana.
Le souci c’est qu’on reste malgré tout attaché au genre. Si on dit “lui” pour une femme devant elle, il est fort probable que la femme s’indigne. De même, si on dit “elle” pour un homme, il est tout aussi probable qu’il s’indigne.
Je pense que tant qu’on aura cette nécessité de s’identifier comme homme ou femme il y aura du sexisme.
Pour ndlr je prononce “Note de Rédaction”, “Note de la Rédaction” ou juste “N D L R” Pour Mme je prononce “Madame”
Pour étudiant·e·s si je dis “étudiants et étudiantes” je privilégie le masculin, si je dis “étudiantes et étudiants” je privilégie le féminin… mais si je prononce “étudiants” en utilisant le masculin à valeur de neutre, on peut me reprocher de privilégier le masculin.
D’où ma question : comment prononcez-vous le point médian ?
Pour comprendre ce qui est écrit, certaines personnes prononcent dans leur tête la phrase.
Comment tu prononces quelque chose avec un point médian ?
When I first got daily access to internet (back in 2009), I got curious about how programs are built. Like, if I wanted to make my own application, what should I do?
I googled something along that direction and it linked me to a famous french website for learning programming (site du zéro) where I learnt C language.
After the course I made a 2D Snake game with SDL2. How naive was I to think I could write it in one go without testing anything in between! I scrapped the 1st attempt because it was a disaster and randomly inserting/removing *
was not helping.
I started again from scratch, testing in smaller steps, and I really liked it. After a couple of weeks I had my Snake game working! I was so proud of it that I showed it to my mom. I do not have the source files anymore but I still have the binary somewhere
Afterwards I sticked with it and continued programming - I was back in school without much access to internet so I programmed on my TI-83+ instead. Eventually I pursued computer science studies then a PhD… It got me hooked real good.
Qu’est ce que ça veut dire OQTF ?
I feel like all the points you raise could be replied by : if you do not like it, no one is forcing you into doing it.
It is my understanding that people do this for fun - to take the occasion to get into a new language and/or exercise their problem resolution skills.
Personally, although I love coding (it is a passion), after a whole day of coding I do not feel the energy to partake in a coding event. And during holidays I am busy doing other stuff. So I do not participate in the Advent of Code. But I am still glad that the event exists for people who enjoy it and have the time for it