1/ Yet another thread on Emacs. One of the most important points in the life of an Emacs "user" (the quotes will become clear in a moment) is the moment where you realise that Emacs is not an editor but a framework to build editors, which happens to have a sample for you to try.
2/ I mean, most of us know this, but even then, its difficult to appreciate its logical consequences. Anyway, lets do a simple example for those not in the know. Say I start a project in VS Code, and create a new class. It prompts me to install extensions, and stuff happens...
3/ Then I go back to my class and if by magic, my environment is entirely configured to use C#. Now, as a regular developer I don't even bother distinguishing the different services the environment is giving me - I don't really care, all I care about is that my C# needs are met.
4/ Not lets imagine you do the same thing on Emacs. The first and most important distinction is, "Vanilla Emacs" is not the Emacs any Emacs "users" uses. But you are to to know that, of course. So you have a very spartan, --nodepad like experience.
5/ Now, of course, everyone will say - "but you installed extensions in VS Code! You must do the same for Emacs, to compare like with like!" And this, I say, is where we start to miss the point. The Emacs "extensions" are not extensions in the same sense VS Code has extensions.
6/ And an Emacs "user" is not really a user as we know. All Emacs "users" must be, by necessity, developers of Emacs. There is just no getting away from it. If you try (and I did for many years) you will have a very painful experience, and you will only be scratching its surface.
7/ On Emacs, you need to decompose that VS Code screen into many, many different components (syntax highlighting, LSP server, completion framework, etc.), all of which with many, many options which require configuring and experimenting with. And yes, there is a package manager.
8/ But its only useful if you know what your are looking for. In the hands of a more experienced Emacs user, of course, its extremely useful. But really, you only begin to appreciate Emacs' power once you have built some kind of mastery over the framework and that takes time.
9/ "OK, fine, you may say. Once you finally know what you are doing, you get to do what I can do with VS Code. And yes, your environment looks lovely, but it just seems like a *lot of work* just to get to the starting point I get with other editors."
10/ True; but this is where you get to the moment of enlightenment, to the "why" you become an Emacs developer. Once you know the framework, you start to apply it to _all_ text editing tasks. Turns out most developers work is editing, in one way or another...
11/ But that would require a whole new thread. Next time, on Emacs rants :-)
1/ Bem, sextou, e já à muito tempo que não faço um daqueles rants, de modo que tá na hora né. Hoje queria falar um pouco de energia, realpolitik e o futuro desse nosso laboratório de sobrevivência chamado Angola. Quem tá interessado, melhor pegar aquela cuca...
2/ Acho que até o mais desatento entre nós reparou nas várias e diversas notícias que têm aparecido sobre projectos de energias não renováveis em Angola. De repente, depois de muito tempo com tudo parado, agora parece está tudo em movimento.
3/ No contexto dos mercados financeiros, isto é bastante estranho: já é do conhecimento geral que nenhum pais desenvolvido vai fazer ou financiar projectos novos no campo das energias não renováveis. Há mesmo uma grande pressão para desinvestir, de todos os lados.
1/ Devo de começar por dizer que eu não sou um "saudosista" e que pouco - ou melhor, nada - conheci da Angola colonial. A independência para mim foi uma das nossas maiores vitórias alcançadas. Mas este post no Facebook mostra um lado interessante da nossa capacidade productiva.
2/ É importante comparar laranjas com laranjas: a economia colonial não era uma economia de mercado, o que significa que a viabilidade de muitos destes negocios não é fácil de aferir; seriam estas fábricas e fazendas produtivas apenas por usarem trabalhadores mal remunerados?
3/ Mas o que não se pode negar é que, comparando esta lista com o que foi feito desde 2002, não andámos muito para a frente desde o fim da guerra. E pior, se quisermos comparar alguém mais próximo temos só que ver o Rwanda (já nem falo do Botswana).
1/ After many years of thinking that hydrogen was a waste of time, it suddenly hit me: in the absence of a *major* breakthrough to allows us to create cheap batteries at will, hydrogen is going to be _the battery_.
2/ The growth of the solar and wind capacity will be much, much faster than the battery capacity and soon - as it always happens with capitalism - it will overshoot demand. Then it'll overshoot battery capacity. At that point you need to store energy by any means - even if lossy.
3/ That's where hydrogen comes in. It may be wildly inefficient when compared to lithium batteries, but if energy has a marginal cost close to zero, hey who cares? Better to store the energy in hydrogen than to throw it away.