issue136:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue136:c_c [2018/09/05 08:14] – créée d52fr | issue136:c_c [2018/09/14 14:55] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Over the last month, I’ve been on holidays and haven’t spent too much time working on my various devices. As such, I’ll be covering some updates to past topics, and also give a sneak peek at some articles that are in progress. | + | **Over the last month, I’ve been on holidays and haven’t spent too much time working on my various devices. As such, I’ll be covering some updates to past topics, and also give a sneak peek at some articles that are in progress. |
Updates | Updates | ||
Ligne 5: | Ligne 5: | ||
Exercism | Exercism | ||
- | I previously mentioned Exercism in my “learning to code” articles, and alongside similar topics. Specifically, | + | I previously mentioned Exercism in my “learning to code” articles, and alongside similar topics. Specifically, |
- | Codefights | + | Au cours du dernier mois, je suis parti en vacances et je n'ai pas passé beaucoup de temps à travailler sur mes différents appareils. Ainsi, je traiterai de quelques mises à jour sur des sujets déjà abordés, et je donnerai également un aperçu de certains articles qui sont en cours. |
- | I previously mentioned this website in issue 122. It’s a site that essentially offers coding challenges that were user-submitted. They also offer problems from companies, and even offer an interview preparation course. I’ve recently started working through their interview problems, and the results have been quite interesting. Most of the problems I’ve done so far aren’t terribly difficult - the difficulty (for me) comes from the runtime constraints (memory limits, maximum runtime, etc). They also always mention which company has previously had similar questions in interviews. So if you’re looking to prep for an interview (or, like me, just want to practice something different), I highly recommend giving it a shot. Before you do, I’d also recommend working your way up to it a bit with other programming challenges or things like the Euler Project. Or simply plan out every problem with pen and paper to optimize your process as much as possible before coding. | + | Mises à jour |
+ | |||
+ | Exercism | ||
+ | |||
+ | J'ai déjà mentionné Exercism dans mes articles « Apprendre à coder » et dans ceux avec des sujets similaires. Je l'ai mentionné plus précisément dans les numéros 73, 99, 110 et 135. Il convient toutefois de le souligner une fois de plus, car le site Web a été récemment mis à jour. Exercism offre maintenant deux voies : l' | ||
+ | |||
+ | |||
+ | **Codefights | ||
+ | |||
+ | I previously mentioned this website in issue 122. It’s a site that essentially offers coding challenges that were user-submitted. They also offer problems from companies, and even offer an interview preparation course. I’ve recently started working through their interview problems, and the results have been quite interesting. Most of the problems I’ve done so far aren’t terribly difficult - the difficulty (for me) comes from the runtime constraints (memory limits, maximum runtime, etc). They also always mention which company has previously had similar questions in interviews. So if you’re looking to prep for an interview (or, like me, just want to practice something different), I highly recommend giving it a shot. Before you do, I’d also recommend working your way up to it a bit with other programming challenges or things like the Euler Project. Or simply plan out every problem with pen and paper to optimize your process as much as possible before coding.** | ||
+ | |||
+ | |||
+ | Codefights [NdT: Cf. CodeSignal] | ||
+ | |||
+ | J'ai précédemment mentionné ce site Web dans le numéro 122. C'est un site qui offre essentiellement des défis de codage soumis par les utilisateurs. Sont également proposés des problèmes amenés par des entreprises, | ||
+ | |||
+ | |||
+ | **Hugo | ||
+ | |||
+ | I mentioned Hugo last month (issue 135). A brief recap - it’s a static site generator written in Go. Since then, there have been a few major updates to the application - it now supports PostCSS, SASS, and resizing images using Resources.Get. However - if you use Netlify, you will need to include your resources folder in the git repository as Netlify does not currently regenerate these assets or CSS files. Last I heard, they are currently investigating options for supporting both versions of Hugo.** | ||
Hugo | Hugo | ||
- | I mentioned | + | J'ai mentionné |
- | Tailwind CSS | + | |
+ | **Tailwind CSS | ||
I mentioned this in my last two articles - issues 134 and 135. Just a small update though - I recently used Tailwind on a project, and had to spend some time optimizing the file size. I originally edited the configuration file, until I discovered the official documentation on using Tailwind CSS with PurgeCSS. This article, specifically. The key part there is their TailwindExtractor function, which adds support for special characters (as Tailwind uses : in CSS classes). I had to check a few other articles to get it working in my workflow, so here (on the next page, top right) is what my postcss.config.js looks like. | I mentioned this in my last two articles - issues 134 and 135. Just a small update though - I recently used Tailwind on a project, and had to spend some time optimizing the file size. I originally edited the configuration file, until I discovered the official documentation on using Tailwind CSS with PurgeCSS. This article, specifically. The key part there is their TailwindExtractor function, which adds support for special characters (as Tailwind uses : in CSS classes). I had to check a few other articles to get it working in my workflow, so here (on the next page, top right) is what my postcss.config.js looks like. | ||
- | This file is then utilized by webpack and npm to generate my CSS. I haven’t had any issues with @apply support, or classes utilized in my templates. This is because PostCSS processes the file after tailwind, meaning the @apply sections are executed first and converted to CSS. I wouldn’t recommend trying to utilize purgecss outside of your actual build pipeline unless you’re doing a one-off optimization. I also wouldn’t recommend purging stuff from your CSS file while you’re still developing (just comment out the purgecss lines while you’re working). | + | This file is then utilized by webpack and npm to generate my CSS. I haven’t had any issues with @apply support, or classes utilized in my templates. This is because PostCSS processes the file after tailwind, meaning the @apply sections are executed first and converted to CSS. I wouldn’t recommend trying to utilize purgecss outside of your actual build pipeline unless you’re doing a one-off optimization. I also wouldn’t recommend purging stuff from your CSS file while you’re still developing (just comment out the purgecss lines while you’re working).** |
+ | |||
+ | Tailwind CSS | ||
+ | |||
+ | J'en ai parlé dans mes deux derniers articles, dans les numéros 134 et 135. Juste une petite mise à jour cependant, car j'ai récemment utilisé Tailwind sur un projet et j'ai dû passer un peu de temps à optimiser la taille du fichier. J'ai d' | ||
+ | |||
+ | Ce fichier est ensuite utilisé par webpack et npm pour générer mon CSS. Je n'ai eu aucun problème avec le support @apply ou les classes utilisées dans mes modèles. C'est parce que PostCSS traite le fichier après Tailwind, ce qui signifie que les sections @apply sont exécutées en premier et converties en CSS. Je ne recommanderais pas d' | ||
+ | |||
+ | |||
+ | **The Future | ||
+ | |||
+ | My intention is to order (and possibly assemble, depending on how much time I want to spend on this) a Redox keyboard (a slightly “reduced” Ergodox). Once I’ve ordered and received it, I’ll be covering setup for the keyboard under Linux, and most likely also doing a review. For those readers who don’t know what an Ergodox keyboard is - it’s a split keyboard (roughly hand-shaped) that is programmable. Essentially my goal is to have a split keyboard that is comfortable to use that will use some custom layout (probably inspired by a US layout), while having multiple layers for special characters (such as German umlaut like äöü). I’d also have a layer that will just be a numpad (as I do tend to use it). The reasoning behind this is to improve my programming efficiency and typing speed (on DE layouts, the curly braces and square brackets are hidden behind alt-gr keyboard combinations, | ||
+ | |||
+ | |||
+ | Prochainement | ||
+ | |||
+ | Mon intention est de commander (et éventuellement d' | ||
- | The Future | + | **Conclusion |
- | My intention is to order (and possibly assemble, depending on how much time I want to spend on this) a Redox keyboard (a slightly “reduced” Ergodox). Once I’ve ordered and received it, I’ll be covering setup for the keyboard under Linux, | + | I hope that my updates |
- | Conclusion | + | Conclusion |
- | I hope that my updates to previous | + | J' |
issue136/c_c.1536128092.txt.gz · Dernière modification : 2018/09/05 08:14 de d52fr