issue122:courriers
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue122:courriers [2017/07/04 15:42] – créée auntiee | issue122:courriers [2017/07/08 17:11] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Should Linux drop 32-bit support? | + | ===== 1 ===== |
+ | |||
+ | **Should Linux drop 32-bit support? | ||
I don't think that it is a matter of " | I don't think that it is a matter of " | ||
Ligne 7: | Ligne 9: | ||
However, there are still many, many older devices in use throughout the world, and I'll bet that in poorer areas, replacing them is not the cheap option that it would be for those living in a rich society. Think about what is probably the most popular Linux distribution on Earth: Android. The old 32-bit smartphones will probably be around for at least the next five or six years! | However, there are still many, many older devices in use throughout the world, and I'll bet that in poorer areas, replacing them is not the cheap option that it would be for those living in a rich society. Think about what is probably the most popular Linux distribution on Earth: Android. The old 32-bit smartphones will probably be around for at least the next five or six years! | ||
- | For their sakes, we still need 32-bit support. It would be welcome for certain distros, such as Lubuntu, Puppy, Android, and so forth, to continue providing both 32-bit and 64-bit. | + | For their sakes, we still need 32-bit support. It would be welcome for certain distros, such as Lubuntu, Puppy, Android, and so forth, to continue providing both 32-bit and 64-bit.** |
+ | |||
+ | Linux devrait-il abandonner le support du 32-bit ? | ||
+ | |||
+ | Je ne pense pas que ce soit une question de « devrait » ou « ne devrait pas », mais plutôt une question de ce qui est utile. | ||
+ | |||
+ | Pour ce qui concerne les distributions modernes conçues pour des machines modernes, notamment Ubuntu, Mint, Kubuntu, Fedora, Red Hat et ainsi de suite - même Xubuntu - la situation est telle que supporter les machines | ||
+ | |||
+ | Cependant, de très, très nombreux appareils plus anciens sont encore utilisés partout dans le monde et je parie que, dans les endroits désavantagés, | ||
+ | |||
+ | À cause d'eux, nous avons toujours besoin du support du 32-bit. Ce serait une bonne chose si certaines distrib., comme Lubuntu, Puppy, Android, etc., continuaient à fournir des versions 64- et 32-bit. | ||
+ | |||
+ | ===== 2 ===== | ||
- | I realise that this is more work for the people who create these products, so naturally we cannot insist that they do so. However, I hope that they will manage to have the resources to continue to support both 32-bit and 64-bit, at least for the next (say) five years – until the relevant hardware becomes so cheap relative to today that replacing old devices becomes viable for the poor. | + | **I realise that this is more work for the people who create these products, so naturally we cannot insist that they do so. However, I hope that they will manage to have the resources to continue to support both 32-bit and 64-bit, at least for the next (say) five years – until the relevant hardware becomes so cheap relative to today that replacing old devices becomes viable for the poor. |
Paddy Landau | Paddy Landau | ||
Ligne 19: | Ligne 33: | ||
I'm beginning to learn programming and I thought about Python. Recently I found Full Circle, but I had some issues why try to apply, and when I asked I found out that the code in the magazine is for an older version, so I thought that if I asked you to make a new update for the 3.6 version, I may be lucky and have an answer. I'll be grateful. | I'm beginning to learn programming and I thought about Python. Recently I found Full Circle, but I had some issues why try to apply, and when I asked I found out that the code in the magazine is for an older version, so I thought that if I asked you to make a new update for the 3.6 version, I may be lucky and have an answer. I'll be grateful. | ||
+ | Ahmed EB-BANA** | ||
+ | |||
+ | Je me rends compte que cela signifie plus de travail pour les gens qui créent ces produits et nous ne pouvons, donc, évidemment pas insister pour qu'ils le fassent. Toutefois, j' | ||
+ | |||
+ | Paddy Landau | ||
+ | |||
+ | Python 2.x vers la 3.x ? | ||
+ | |||
+ | Je commence à apprendre la programmation et j'ai envisagé Python. J'ai récemment découvert le Full Circle, mais j'ai rencontré des problèmes quand j'ai essayé de mettre les tutoriels en pratique. Quand j'ai posé la question, on m'a répondu que le code dans le magazine est pour une version antérieure ; je pensais donc que, si je vous demandais une mise à jour pour la version 3.6, je pourrais être chanceux et avoir une réponse. Je vous en serais très reconnaissant. | ||
+ | |||
Ahmed EB-BANA | Ahmed EB-BANA | ||
+ | |||
+ | =====3===== | ||
- | + | **Greg replies: All the code from the early versions was produced for Python 2.x. After a while, I tried to stick to code that would support versions 3.x as well as 2.x. | |
- | Greg replies: All the code from the early versions was produced for Python 2.x. After a while, I tried to stick to code that would support versions 3.x as well as 2.x. | + | |
Not all code, however can easily support both major versions of Python. This is the reason for so many libraries not being available in 3.x. | Not all code, however can easily support both major versions of Python. This is the reason for so many libraries not being available in 3.x. | ||
Ligne 36: | Ligne 61: | ||
(in other words, try to enclose the statements following the word " | (in other words, try to enclose the statements following the word " | ||
- | There is one other thing you can try, There is a conversion utility that is included with Python 3.x which is called 2to3. I briefly touched on this in part 16 of the series which was in FCM#42. | + | There is one other thing you can try, There is a conversion utility that is included with Python 3.x which is called 2to3. I briefly touched on this in part 16 of the series which was in FCM#42.** |
- | + | ||
+ | Greg répond : Tout le code des premiers articles était écrit pour Python 2.x. Après un certain temps, j'ai essayé de rester avec du code qui supporterait aussi bien les versions 3.x que les 2.x. | ||
+ | |||
+ | Cependant, tout le code ne peut pas facilement supporter les deux versions majeures de Python. C'est la raison pour laquelle de si nombreuses bibliothèques ne sont pas disponibles pour la 3.x. | ||
+ | |||
+ | La faute incombe habituellement aux arguments print, puisque l' | ||
+ | |||
+ | print x | ||
+ | |||
+ | en | ||
+ | |||
+ | print(x) | ||
+ | |||
+ | (autrement dit, essayez de mettre entre parenthèses les arguments après le mot « print »). | ||
+ | |||
+ | Il y a un autre truc que vous pouvez essayer. Un utilitaire de conversion est inclus dans Python 3.x ; il s' | ||
+ | ===== 4 ===== | ||
- | Updating The Kernel | + | **Updating The Kernel |
I have recently acquired a Lenovo yoga 300. It is a nice laptop which lacks some power, but Xubuntu runs well on it and it does well for general stuff and image editing which is my thing. I like to use LTS versions of Ubuntu. Xubuntu 16.04 uses kernel 4.8 which lacks some drivers for this machine, the main one being for power and battery information and management. I read that it is easy to change kernels but, not having done that before, researched it a bit carefully. I tried the app for kernel management which some recommend as the easy way to do it but that failed. So I downloaded kernel 4.10.11 from http:// | I have recently acquired a Lenovo yoga 300. It is a nice laptop which lacks some power, but Xubuntu runs well on it and it does well for general stuff and image editing which is my thing. I like to use LTS versions of Ubuntu. Xubuntu 16.04 uses kernel 4.8 which lacks some drivers for this machine, the main one being for power and battery information and management. I read that it is easy to change kernels but, not having done that before, researched it a bit carefully. I tried the app for kernel management which some recommend as the easy way to do it but that failed. So I downloaded kernel 4.10.11 from http:// | ||
Ligne 48: | Ligne 89: | ||
I know that 17.04 has the 4.10 kernel but I did not want to reinstall unless I had to, and now I should be able to run 16.04 on this hardware through to the next LTS. These are the great things about Linux, and the community who share information out so that people like me can benefit. So thanks for all the work you do, it is appreciated. Full Circle is a great magazine which I look forward to receiving. | I know that 17.04 has the 4.10 kernel but I did not want to reinstall unless I had to, and now I should be able to run 16.04 on this hardware through to the next LTS. These are the great things about Linux, and the community who share information out so that people like me can benefit. So thanks for all the work you do, it is appreciated. Full Circle is a great magazine which I look forward to receiving. | ||
+ | Iain Mckeand** | ||
+ | |||
+ | Mettre à jour le noyau | ||
+ | |||
+ | J'ai récemment acquis un Yoga 300 de Lenovo. C'est un ordinateur portable sympa, auquel il manque un peu de puissance, mais Xubuntu fonctionne bien dessus et il convient tout à fait à des trucs généraux et à la retouche d' | ||
+ | |||
+ | Après un redémarrage, | ||
+ | |||
+ | Je sais que la 17.04 comporte le noyau 4.10, mais je ne voulais pas faire une ré-installation à moins d'y être obligé et, maintenant, je devrais pouvoir faire tourner la 16.04 jusqu' | ||
+ | |||
Iain Mckeand | Iain Mckeand | ||
issue122/courriers.1499175734.txt.gz · Dernière modification : 2017/07/04 15:42 de auntiee