Jekyll2022-12-31T18:46:50+00:00https://juanramirez.github.io/feed.xmlJuan RamírezLife and software development, from a different perspective.Juan Ramírez2022 update2022-12-31T18:30:00+00:002022-12-31T18:30:00+00:00https://juanramirez.github.io/2022-update<p>This year 2022 is leaving and a new one, 2023, is coming.</p> <p>At the beginning of this year the <em>medical tribune</em> denied declaring me <em>permanently disabled</em>, so as a consequence I had to rejoin my previous position as a software engineer in Telefonica. At the same time, I demanded them. The judgement will take place in 2024.</p> <p>I <strong>really</strong> tried to do it well, but in the end the secondary effects of my surgeries made my boss realize that something was wrong, so he had a talk with me that made me feel very anxious and stressed. Indeed, I had to take another leave because of this reason, but the <em>medical tribune</em> rejected, in a first take, to accept it as valid.</p> <p>I had to rejoin Telefonica again, but they seemed to understand the complexity of my case and told me to pass another medical recognition, more oriented to reflect my cognitive difficulties. A friend told us that there were a legal way to appeal the <em>medical tribune</em> resolution, so I thought about using it, attaching the medical recognition report as a probe of my difficulties to do my previous job.</p> <p>Anyway, as I saw that it was very difficult for me to properly explain to the people in the <em>medical tribune</em> the secondary effects I had (sometimes they asked me about those effects and I didn’t remember them, due to my amnesia), I could get from my neurologist a report which stated that it was recommended that my wife come with me to talk to the <em>medical tribune</em>. She could finally come with me and we could explain together my secondary effects to those people.</p> <p>After hearing us, the <em>medical tribune</em> finally decided to give me a new sick leave, and that’s the one I have today.</p> <h2 id="a-new-hope-a-new-challenge">A new hope, a new challenge</h2> <p>The final days of 2021 we also discovered that we were pregnant. It it a girl, and we decided to call her <strong>Ana</strong>. It’s not only a great news, but also a great challenge for us, especially for me taking into account the cognitive secondary effects of my surgeries. Blanca also thinks it will be a good stimulous to my mind.</p> <p>She finally came to this world finishing August. She’s a very good girl, and we’re definitely very happy with her.</p> <h2 id="happy-2023">Happy 2023</h2> <p>This will continue being my personal blog indefinitely, so I’ll try to improve it and I’ll try to continue writing here periodically.</p> <p>I wish you all a very happy 2023!</p>Juan RamírezThis year 2022 is leaving and a new one, 2023, is coming. At the beginning of this year the _medical tribune_ denied declaring me _permanently disabled_, so as a consequence I had to rejoin my previous position as a software engineer in Telefonica. At the same time, I demanded them. The judgement will take place in 2024.Goodbye and thank you, 2021! Welcome, 2022!2021-12-31T07:00:00+00:002021-12-31T07:00:00+00:00https://juanramirez.github.io/goodbye-and-thank-you-2021-welcome-2022<p><img src="/assets/images/posts/2021-12-31-goodbye-and-thank-you-2021-welcome-2022.png" alt="welcome-2022" /></p> <p>2021 has been the year when I started to accept (and even celebrate!) my new status as ABI affected (and survivor). It’s not a little thing. <strong>ABI is shocking</strong> for anyone who suffers from it, but it can also be the beginning of a different, new and better (yes, <strong>better</strong>!) life. A life where one can learn to identify his or her weaknesses and strenghts, how to transform weaknesses into strenghts and how to use the latter to compensate the former.</p> <p><strong>I’m thankful because I’m alive</strong> and because, during this year, I learned a lot of ways to overcome obstacles in my life and to be <strong>a better human being</strong> after all.</p> <p>2021 has been a <em>transition year</em>. During this year I started to be more independent. I started, somehow, <strong>to be me again</strong>. I hope 2022 to be the year when I can start to consider myself <em>recovered</em> from my ABI (at least when I can consider my rehabilitation more or less <em>over</em>) and when I can return to more or less <em>normal life</em>. Yes, I know I’m different after all this, but someway <strong>we’re always different</strong> as time doesn’t stops and every experience makes us different.</p> <p>Next year should be the year when I hopefully <strong>just go on with my life</strong> after this really overwhelming experience. I know it will not be exactly the same as before, but I want to think that <em>it doesn’t really matter so much</em> since I don’t really remember so exactly how my life was in the past ¯\_(ツ)_/¯</p> <p>So let’s go on! I wish you everyone a <strong>happy 2022!</strong> :)</p>Juan Ramírez2021 has been the year when I started to accept (and even celebrate!) my new status as ABI affected (and survivor). It's not a little thing. ABI is shocking for anyone who suffers from it, but it can be also the beginning of a different, new and better (yes, better!) life. 2022 should be the year when I can consider myself more or less _recovered_ from my ABI and be able to return to more or less _normal life_.7 tips to have your code better reviewed (recovered post)2021-08-29T11:30:00+00:002021-08-29T11:30:00+00:00https://juanramirez.github.io/7-tips-to-have-your-code-better-reviewed<p class="notice--info"><strong>Note:</strong> This post has been recovered from my archive after having been lost <a href="/abi/about-me/hello-and-welcome/">due to my brain injury</a>. It was originally posted in my old development blog on September 25, 2017.</p> <p><img src="/assets/images/posts/code_review.png" alt="code-review" class="img-responsive" /></p> <p>Code reviews take time. Of course. But they are helpful. <strong>Very</strong> helpful. They are a fantastic way to keep all the team on the same page and encourage everybody to do <em>the right things</em> and to do them <em>correctly</em>. Here you have some tips I’ve learn through the years to avoid my code reviews to become painful or useless:</p> <ol> <li> <p><strong>Create reviews for all the code you push</strong>. No, seriously: <strong>do it</strong>. Some companies or teams have this process semi-automated or very established as part of its tech culture. If they don’t, ask your manager to do so. And if she responds that it’s a bad idea, run out of that company!! <em>NOW!!</em>.</p> <p class="notice--warning"><strong>Remember:</strong> Most of the times <em>optional code reviews</em> means <em>no code reviews</em>.</p> </li> <li> <p><strong>Create your reviews <em>early and often</em></strong>. Don’t wait to have a monster with a million of lines of code. Several small, specific changesets, are way easier to review than one big changeset with lots of changes. Also, your changes will more likely be accepted if you divide them into several smaller steps.</p> </li> <li> <p><strong>Review your own code</strong> before showing it to your teammates. Imagine you receive that code from another person to be reviewed for the first time. <strong>Be your best reviewer</strong>, be critical with your code. Take your time.</p> </li> <li> <p>In order to avoid noise, use your IDE to identify possible bugs. Modern IDEs analyze your code in order to find possible warnings or bugs. If your IDE does not analyze it automatically, <strong>pass your code through a static code analyzer</strong>.</p> <p class="notice--info">If your team uses a code formatting standard, <strong>use an automatic formatting tool</strong> to format it. This will allow your teammates to concentrate on the really important things and avoid silly conversation threads about coding style.</p> </li> <li> <p><strong><em>Prepare</em> your review</strong>. I mean, not only add the code or the changesets you want to review. Link the review to the corresponding ticket and/or explain the feature you’re trying to add, focusing on implementation details that maybe are <em>not</em> in the ticket, but are relevant. If there is some piece of code which is not obvious, you should explain <em>why</em> you did it that way and not differently.</p> </li> <li> <p>Carefully <strong>select the people you want to review your code</strong>. If there is a policy for that, follow it. Most of the cases, however, not everybody in your team needs to review your code.</p> <p class="notice--success">People who probably needs to be included in your code review includes your manager, some people with experience in the related product domain, the original author of the piece of code you’re touching (or just someone who touched the code before) and anyone who is developing another related feature in parallel (ask for that if necessary).</p> </li> <li> <p><strong>Don’t take it personally</strong>. It’s <em>your code</em> what is being reviewed, not <em>you</em>. Long comment threads in a review doesn’t mean someone hates you or wants to annoy you. More probably, it will mean she disagrees with you in some specific technical thing. Be nice, <strong>assume the best intentions</strong> on the reviewer and answer all the comments pleasantly.</p> <p class="notice--info"><strong>Be ready to learn from others</strong>. Be grateful on the good suggestions and express your arguments clearly, but with politeness, if there’s something you honestly don’t agree with.</p> </li> </ol>Juan RamírezCode reviews are a fantastic way to keep all the team on the same page and encourage everybody to follow best coding practices. Here you have tips to avoid your code reviews to become painful or useless.How to tell Git to ignore files locally (recovered post)2021-08-29T11:00:00+00:002021-08-29T11:00:00+00:00https://juanramirez.github.io/how-to-tell-git-to-ignore-files-locally<p class="notice--info"><strong>Note:</strong> This post has been recovered from my archive after having been lost <a href="http://localhost:4000/abi/about-me/hello-and-welcome/">due to my brain injury</a>. It was originally posted in my old development blog on August 1st, 2017.</p> <p><img src="/assets/images/posts/how-to-tell-git-to-ignore-files-locally-solid.png" alt="git" /></p> <p>Excluding files for being versioned in Git is easy <a href="https://git-scm.com/docs/gitignore">through the use of the widely known <code class="language-plaintext highlighter-rouge">.gitignore</code> file</a>.</p> <p>This <code class="language-plaintext highlighter-rouge">.gitignore</code> file is normally <strong>versioned</strong>.</p> <p>That’s <em>clever</em>, because most software sources will generate binaries or intermediate code when being run or compiled. Also, if you’re working in a virtual environment (Python <a href="https://virtualenv.pypa.io"><code class="language-plaintext highlighter-rouge">virtualenv</code></a>, for instance) or with a package manager (<a href="https://www.npmjs.com/"><code class="language-plaintext highlighter-rouge">npm</code></a> or <a href="https://rubygems.org/">RubyGems</a>, for instance), you’ll likely have your project dependencies in a directory inside your repo.</p> <p>Adding those generated files or directories in <code class="language-plaintext highlighter-rouge">.gitignore</code> will benefit everyone involved in the project, because having git ignoring them will prevent people to <em>add</em> those files to the project, so those files will be autogenerated uniquely for each one.</p> <p class="notice--info"><strong>By the way:</strong> You can place multiple <code class="language-plaintext highlighter-rouge">.gitignore</code> files, inside each directory, to establish directory-specific rules.</p> <h2 id="so-why-in-the-world-would-we-want-to-exclude-files-only-for-us">So why in the world would we want to exclude files <em>only for us</em>?</h2> <p>Well, there may be several reasons.</p> <p>First (and this is a very typical case), imagine you have generated <strong>files that are specific to your IDE or your OS</strong>. Typical examples are <code class="language-plaintext highlighter-rouge">.DS_Store</code> files on MacOS, the <code class="language-plaintext highlighter-rouge">.idea</code> directory generated by Jetbrains IDEs and <code class="language-plaintext highlighter-rouge">*~</code> backup files created by <code class="language-plaintext highlighter-rouge">vim</code>.</p> <p>Why would someone who uses Atom on Linux want to mess out with those lines on the common <code class="language-plaintext highlighter-rouge">.gitignore</code> file? Should we cover there every file name pattern for every IDE/OS/environment in the world? It doesn’t seem a good idea, don’t you think? In addition, you could come up with a conflict with some editor which uses a pattern that matches a file that needs to be versioned.</p> <p>Second, maybe you want to use a <strong>special file or directory in the project to store something</strong>, but, the same as before, it’s something other people don’t have to mess out with. Maybe you want to use <a href="https://github.com/creationix/nvm"><code class="language-plaintext highlighter-rouge">nvm</code></a> but not everybody involved in the project is gonna use it. Or, for example, I usually create a directory called <code class="language-plaintext highlighter-rouge">.snippets</code> on each project, where I store… well, code snippets, to have them always located.</p> <p>To ignore these kind of files locally, I’ll explain two different methods:</p> <h3 id="method-1-coreexcludesfile">Method #1: <code class="language-plaintext highlighter-rouge">core.excludesFile</code></h3> <p>To apply this method, create a file named as you want (for example, <code class="language-plaintext highlighter-rouge">~/.gitignore_global</code>) and specify its path in the <em>git</em> global config variable <code class="language-plaintext highlighter-rouge">core.excludesFile</code></p> <p class="notice--warning">This method makes git ignore files in <strong>all local repositories</strong>. This makes this method ideal for ignoring <em>environment generated</em> files, but maybe not for <em>project-specific</em> files. If you want to ignore some files only for one project, you’d better make use of the second method.</p> <p>For example, we’re going to create a file <code class="language-plaintext highlighter-rouge">~/.gitignore_global</code>. Please note that, on this context, <em>global</em> means that we’re going to use these exclusions for all our repositories in our machine, but nobody will know it outside of our environment, so in some sense it will be also <em>local</em>.</p> <p>So, we create the file to ignore, for example, MacOS <code class="language-plaintext highlighter-rouge">.DS_Store</code> files and Jetbrains <code class="language-plaintext highlighter-rouge">.idea</code> directories. The pattern syntax is the same as the one used with <code class="language-plaintext highlighter-rouge">.gitignore</code>:</p> <div class="panel panel-default"> <div class="panel-heading"><code>.gitignore_global</code></div> <div class="panel-body"> <figure class="highlight"><pre><code class="language-conf" data-lang="conf"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1 2 </pre></td><td class="code"><pre>.<span class="n">DS_Store</span> .<span class="n">idea</span>/ </pre></td></tr></tbody></table></code></pre></figure> </div> </div> <p>Now we have to tell <code class="language-plaintext highlighter-rouge">git</code> that we want to use that file as <code class="language-plaintext highlighter-rouge">excludesFile</code>:</p> <div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>git config <span class="nt">--global</span> core.excludesFile ~/.gitignore_global </code></pre></div></div> <h3 id="method-2-gitinfoexclude">Method #2: <code class="language-plaintext highlighter-rouge">.git/info/exclude</code></h3> <p>This method is also <a href="https://git-scm.com/docs/gitignore">widely documented</a>. In every git repository, we have a special file <code class="language-plaintext highlighter-rouge">.git/info/exclude</code> where we can add the patterns we want to exclude locally.</p> <p class="notice--warning">This <code class="language-plaintext highlighter-rouge">.git/info/exclude</code> file is <strong>unique</strong> for each repository. This makes this method ideal for <em>project-specific</em> files or directories. Anyway, we could use a symlink to a file in our home directory, for example.</p> <p>Again, the same pattern syntax applies:</p> <div class="panel panel-default"> <div class="panel-heading"><code>.git/info/exclude</code></div> <div class="panel-body"> <figure class="highlight"><pre><code class="language-conf" data-lang="conf"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1 2 </pre></td><td class="code"><pre>.<span class="n">env</span> .<span class="n">nvmrc</span> </pre></td></tr></tbody></table></code></pre></figure> </div> </div> <p>This way, <code class="language-plaintext highlighter-rouge">git</code> won’t alert you about those files having changes on the repo, and nobody will have to know about your <code class="language-plaintext highlighter-rouge">.env</code> variables or the Node version you configured on <code class="language-plaintext highlighter-rouge">.nvmrc</code> (and you won’t overwrite files on your teammates repos).</p>Juan RamírezExcluding files for being versioned in Git is easy through the use of the widely known .gitignore file. But maybe you don't really want to use it.Epilepsy in the context of ABI2021-07-09T07:30:00+00:002021-07-09T07:30:00+00:00https://juanramirez.github.io/epilepsy-in-the-context-of-abi<p class="notice--info"><strong>Note:</strong> This post has been moved from <a href="http://juanramirezweblog.wordpress.com">my old Wordpress personal blog</a>, which I don’t expect to update anymore.</p> <p><img src="/assets/images/posts/epilepsy.jpeg" alt="Epilepsy" /></p> <p>The nervous system is similar to an electrical circuit. If you cut an electrical wire in a circuit, an accidental connection between two points of different potential can happen. When electrical circuits in the brain are cut due to a stroke (or a surgery, in my case), abnormal electrical activity can be generated in several parts of the brain. These kind of abnormal electrical activity episodes may appear in the form of <a href="https://en.wikipedia.org/wiki/Epilepsy">epilepsy</a>.</p> <p>The first times I had this kind of epileptical attacks, I didn’t notice them, but my wife told me the following mornings that I had had them the night before. Later, I learned that the brain intentionally <em>switches off</em> when these episodes ocurrs as a <em>defense mechanism</em> because they are too stressful for it to be recorded.</p> <p>I wasn’t very surprised when my wife told me that because, since I left the hospital, I was prescripted <strong>anti-epileptical medication</strong>, so I assumed that there was a possibility of this kind of episodes to happen. Anyway, as more episodes like that took place later, the dosis of that kind of medication was increased thrice (if I remember well). In addition, I also have a rescue medication for the specific moments when I’m having a crisis. Obviously, someone has to be with me to give me that rescue medication.</p> <p>A consequence of this is that our life habits changed. Concretely, both my wife and me <strong>lost some autonomy</strong>. She has on-duty nights in the hospital, but, before all this process (if my memory doesn’t trick me) I used to carry my wife to the hospital in the morning; I could go for errands or do some running workouts during the day when she was on-duty. And, the following morning, I picked her at the hospital when she was done to bring her back home. Some days I even went to the hospital at night to stay some time and have dinner with her. During these latest months, when she had on-duty nights, my parents came the morning before to pick me at Ronda in the morning and brought me to our family home at Chiclana, and finally brought me back the day after. Don’t get me wrong, I <strong>really</strong> love my parents, but, as you can imagine, in terms of autonomy the consequences are not so good.</p> <p>Now I’ve been enough time without epileptic attacks, it seems it’s OK to test reducing that medication to find the equilibrium point (especially because that medication has some secondary effects we want to avoid), so doctors are indeed trying to reduce it progressively.</p> <p>Two weeks ago we also tested me staying alone all night again at home while my wife was on-duty, just like before all this process (and fortunately there were no problems). This was really <strong>a milestone for us</strong>, because we hope someday to recover all our life habits just as before.</p>Juan RamírezA nervous system is similar to an electrical circuit. If you cut an electrical circuit, an accidental connection between two points of different potential can happen. When electrical circuits in the brain are cut due to a stroke (or a surgery, in my case), abnormal electrical activity can be generated in several parts of the brain. This kind of abnormal electrical activity episodes appear in the form of epilepsy.Other symptoms derived from amnesia2021-06-04T07:30:00+00:002021-06-04T07:30:00+00:00https://juanramirez.github.io/other-symptoms-derived-from-amnesia<p><img src="/assets/images/posts/amnesia.jpg" alt="Amnesia" /></p> <p>A lot of people asked me the last few months what <em>memory problems</em> really meant in my daily life when I told them that I have <em>memory problems</em>. When most people hear about memory deficits or memory problems, they just tend to think about trivial things like <em>forgetting what they ate yesterday</em>. Of course, I prefer to remember what I ate yesterday, especially if it was something delicious. But there are symptoms secondary to memory deficits that most people probably don’t think about at first glance. Although some of those symptoms were much more pronounced at first or have already disappeared, they are:</p> <p><a href="https://www.acquiredbraininjury-education.scot.nhs.uk/impact-of-abi/perseveration/"><strong>Repetitions or <em>perseverations</em></strong></a>: This is one of the loudest ones. Following what I read, it seems to be very common in people with <a href="https://www.verywellhealth.com/the-brains-frontal-lobe-3146196">frontal lobe region damage</a>. Sometimes I did or said something but, after some time, it came to my mind again but, as I <strong>couldn’t remember</strong> I already did or said it, I repeated it (sometimes just seconds after doing or saying it first). I seem to remember feeling very embarrassed at first when people told me I was repeating myself. I also know it was very tiring for people who were with me some hours a day (my wife, for example), but I couldn’t really do anything to avoid that.</p> <p><a href="https://en.wikipedia.org/wiki/Confabulation"><strong>Confabulations</strong></a>: Another flashy one. As I had gaps in my memory, my mind tried to fill those gaps, and sometimes it just filled them with more or less <em>random information</em> (ok, I admit you can call them <em>inventions</em>, if you prefer). Of course, I didn’t do it consciously, so I wasn’t aware they weren’t real. For example, the first weeks after the main surgery, I didn’t seem to remember my grandmother’s death, so it seems I said several times that I had seen her visiting me at the hospital.</p> <p><a href="https://en.wikipedia.org/wiki/Anosognosia"><strong>Anosognosia</strong></a>: This rare word means “<strong>absence of knowledge of oneself deficits</strong>”. As I couldn’t remember my new limitations, I tended to act as if I were capable of doing the same as before. For instance, it seems that the first few days after coming back home from the hospital, I sat at my desk in the morning ready to work just the same as before the surgery, even when I was on sick leave (I neither wasn’t aware of that, of course). I seem to remember I even tried to join some meetings. This made my wife put a banner on my desk saying with big letters that I was on sick leave and I shouldn’t work.</p>Juan RamírezWhen most people hear about _memory deficits_ or _memory problems_, they tend to just think about forgetting trivial things like what they ate yesterday. But there are symptoms _secondary_ to memory deficits that most people probably doesn't even think about.The importance of personal projects2021-05-28T07:30:00+00:002021-05-28T07:30:00+00:00https://juanramirez.github.io/the-importance-of-personal-projects<p><img src="/assets/images/posts/piano.jpg" alt="Me playing piano" /></p> <p>Maybe one of the most important pieces of my ongoing recovery is having <strong>personal projects</strong> I can invest my time and energy in. Of course, my main project now is <em>my rehabilitation</em>, as a whole. But I also think it’s good complementing it with other little things, which I could also hopefully continue with, once I end with my, let’s call it <em>official</em>, rehabilitation process. On the one hand, I think they help me to feel active and not to feel that I’m just <em>wasting my time</em> into something which sometimes looks like will never end; on the other hand, I want to believe they will help me to recover my previous roles in the future.</p> <p>One of the personal projects I’m investing my time in is <strong>writing this blog</strong>. As I believe I already mentioned, I post here basically for two reasons: a) because I think my experience could maybe help other people in similar situations, now or in the future; b) to exercise my English writing skills.</p> <p>Another project I have is <strong>learning to play the piano</strong>. I always loved music (especially singing) and I always wanted to know how to play an instrument, among other reasons to be able to accompany my voice with something else. Having so much time to dedicate to my own recovery and development made me decide to receive piano classes to learn to play this instrument, and now I honestly think it was a great idea.</p> <p>A third project I started during my rehabilitation, both related to my job and to my work experience, is <strong><em>NeuroLink</em></strong>. Although it’s still a <a href="https://github.com/Inspiring-White/neurolink-server"><em>project in development</em></a>, <em>NeuroLink</em> aims to be someday a social network for people affected, directly or indirectly, by either brain or neurological damage. People who suffer these kinds of pathologies, and also their carers, aren’t generally neurology or rehabilitation experts, so we face a new and challenging experience. We need to learn a lot of new things and, in my opinion, the best way to do it is establishing <em>connections</em> with other affected people, professionals, rehab centers, etc.</p> <p>Hence, this project has a double purpose:</p> <ul> <li>testing my programming skills (or at least <em>practicing a little bit</em> to not forget them completely) to be prepared for the day I return to work; and</li> <li>potentially helping other people in similar situations, now or in the future.</li> </ul> <p>This project is, of course, based in our own experience: when we left the hospital, we didn’t know where to go or what to do. I thought it would have been awesome to have some kind of resource like this in those moments so we could have easily found some kind of help from people with a similar experience.</p>Juan RamírezMaybe one of the most important pieces of my ongoing recovery is having **personal projects** I can invest my time and energy in. Of course, my main project now is my rehabilitation, as a whole. But I also think it's good complementing it with other things, which I could also hopefully continue with, once I end with my, let's call it official, rehabilitation process.Neuroplasticity: why is it important2021-05-24T07:30:00+00:002021-05-24T07:30:00+00:00https://juanramirez.github.io/neuroplasticity-why-is-it-important<p><img src="/assets/images/posts/neuroplasticity.jpg" alt="Neuroplasticity" /></p> <p>A brain injury recovery and rehabilitation (at least <em>partial rehabilitation</em>) is possible thanks to a property of neural networks called <em>neural plasticity</em> or <a href="https://www.cognifit.com/brain-plasticity-and-cognition"><em>neuroplasticity</em></a>. <em>Neuroplasticity</em> is the ability of neural networks, and particularly the brain, to reorganize and maintain its functions when a part of it stops working as before, especially through <em>stimulation</em> and <em>training</em>. This means that, if some part of the brain is damaged, a different part of the brain can be trained to assume its functions. This is particularly true during childhood, but also through adulthood.</p> <p>Consider this case: you’re trying to complete a path you’ve done thousands of times to go back home from the office. But the road is closed due to an accident. So you try to take a different road following more or less the direction you know will allow you to arrive home. If you indeed arrive home, although it’s maybe a slower and harder path, you’ll learn this new path as valid, and next time you find the path closed you’ll know what to do. This is basically what the brain does: <em>exploring</em> new ways to do the same and strenghten these new paths it discovers if they results to be good to reach the same goals.</p>Juan RamírezA brain injury recovery and rehabilitation (at least __partial rehabilitation__) is possible thanks to a property of neural networks called __neural plasticity__ or __neuroplasticity__. __Neuroplasticity__ is the ability of neural networks, and particularly the brain, to reorganize and maintain its functions when a part of it stops working as before, especially through stimulation and training.Time confusion after my brain surgery2021-05-23T07:00:00+00:002021-05-23T07:00:00+00:00https://juanramirez.github.io/time-confusion-after-my-brain-surgery<p class="notice--info"><strong>Note:</strong> This post has been moved from <a href="http://juanramirezweblog.wordpress.com">my old Wordpress blog</a>, which I don’t expect to update anymore.</p> <p><img src="/assets/images/posts/time-surrealism.jpg" alt="Surreal time" /></p> <p>I think one of the most difficult to explain consequence of my brain injury is <strong>time confusion</strong>. If someone asks you what day we are on, you’ll probably be able to answer with security and confidence in just milliseconds, or at least seconds.</p> <p>I know It’s maybe difficult to understand, but I wasn’t able to answer with that confidence the first weeks after my surgery. I know this sounds rare, but I wasn’t even able to know what <strong>year</strong> I was on. Yes, I knew how to look for the day and the year in my smartphone’s calendar, but It’s like one part of my brain was pretty sure of having already lived in that year (say 2021), and the other part of my brain saw that year like <em>the future</em>. Somehow I felt like Marty McFly, travelling through time.</p> <p>At first, my neuropsychologist made me draw a lot of <em>timelines</em>, both about personal events and about world events and news. She probably made me do them with the best of the intentions to evaluate my memory damage, but I <strong>hated</strong> that exercise (probably because it made me realize how lost I was).</p> <p>I’ve now realized that this is a common sequel after a brain injury, but believe me, it’s a <strong>very rare</strong> feeling.</p>Juan RamírezI think one of the most difficult to explain consequence of my brain injury is time confusion. If someone asks you what day we are on, you'll probably be able to answer with security and confidence in just milliseconds, or at least seconds. I know it can be difficult to understand, but I wasn't able to answer with that confidence to the same question the first weeks after my surgery.Confusion and delirium after my brain surgery2021-05-18T07:00:00+00:002021-05-18T07:00:00+00:00https://juanramirez.github.io/confusion-and-delirium-after-my-brain-surgery<p class="notice--info"><strong>Note:</strong> This post has been moved from <a href="http://juanramirezweblog.wordpress.com">my old Wordpress personal blog</a>, which I don’t expect to update anymore.</p> <p><img src="/assets/images/posts/surrealism.jpg" alt="Surreal world" /></p> <p>The first weeks (or even months) after my brain surgery, I experienced a state of extreme <a href="https://pubmed.ncbi.nlm.nih.gov/2235643/">confusion</a>. It was probably related to my memory problems (which I already talked about in <a href="/abi/about-me/hello-and-welcome">my first post</a>), but I seem to remember I felt like being the main character of a surreal movie.</p> <p>Even when my main surgery (the one that removed the tumor from my head) was done on March 10th 2020, and I left the hospital on April 23rd, my neuropsychologist reported that on my first video-call interview, done on May 1st, I still looked “lost, answering with monosyllabic words to my questions”. Also, it seems I knew I was with my wife in our flat in Ronda, but at the same time I said I didn’t “remember the distribution of that flat or living there before” (although we had already been living there for some years).</p> <p>I’ll try to explain in the next posts what I seem to remember about how I felt in those moments, but basically, in my neuropsychologist words, I looked <em>personally</em>, <em>temporally</em> and <em>spatially</em> <a href="https://pubmed.ncbi.nlm.nih.gov/3608515/"><em>disoriented</em></a> (which seems to be, by the way, a common symptom in ABI).</p>Juan RamírezThe first weeks (or even months) after my brain surgery, I experienced a state of extreme confusion. It was probably related to my memory problems (which I already talked about in my first post), but I seem to remember I felt like being the main character of a surreal movie.