1/ Another Friday, another Emacs thread. So, you've seen me ranting and raving about Emacs, and by now you may be asking: "So, are you telling me I should abandon X and use Emacs?" Sadly, the answer is almost always... "no, don't do that". But let me try to explain why.
2/ If you are a new-ish dev, you should try to optimise for two things simultaneously: a) things you find interesting *and* b) things that will make you employable. Therefore, you should use whatever environment and languages employers want. Sadly, that won't be Emacs (or Vim).
3/ Experienced devs end up converging to a productive workflow, adapted to a myriad of languages. In my 20 or so years of dev, I faced C, C++, VB, C#, Java, Kotlin, Ruby, Powershell, Bash, Python... Far too many languages to recount. Each had a preferred corporate dev environment
4/ The experienced dev develops over time an ability to adapt to the vagaries of customer setups - Eclipse, far too many Visual Studios to recount, VS Code, and so on - and be reasonably productive. So therefore, since no customer is using Emacs, there is no need to adapt to it.
5/ So why would you learn an editor like Emacs? Its hard to justify these days, particularly because Lisp is not in fashion as it once was. In a way, this is similar to how things were when I started to use Linux over 20 years ago. In those days very few people were using Linux.
6/ As a new dev I faced the exact same dilemma new devs face today: I could (and did) learn Windows and become employable, and not have that much fun, or I could learn Linux and have lots of fun but nothing to show on my CV. I chose the later. It was hard going but lots of fun.
7/ Whilst it took me _at least_ a year to get my PC to boot in graphical mode - these were the times when you'd get easily working on Windows 95/98 - by the time I was finished I understood how a kernel worked, how drivers worked, how XFree (in those days) worked and so on.
8/ None of this seemed remotely useful at the time, but it was immense fun. And because the internet was not what it is today, you had almost no one to talk about -other than the local nerds. However, fast forward some 5 years and suddenly those skills made you very employable.
9/ There was a saying that went along the lines of "Free Software is only free if your time is worth nothing" and I get this often quoted whenever I mention Linux and Emacs. Not so much Linux these days but definitely Emacs. And it is true; if you have a business, time is money.
10/ The flip side of this argument is that Free and Open Source Software (FOSS) is a bit like a long term investment; it does not pay dividends straight away but it, very slowly, accrues. If you are in the thick of it, you will learn deep and unchanging truths about software.
11/ These truths will serve you in good stead for the rest of your developing life; but in order to learn them, you need to be able to afford to make the investment in the first place, and very few of us are that lucky. We need to learn something of practical use now, not later.
12/ This is why most will learn C# and Kotlin, not Lisp or Haskell; VS Code and Atom, not Emacs or Vim. Most of us cannot fight against the forcing function that is the market. But if you are lucky enough to be able to afford to be off the beaten track, the rewards can be great.
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.
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.