<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sorin Boistean on Medium]]></title>
        <description><![CDATA[Stories by Sorin Boistean on Medium]]></description>
        <link>https://medium.com/@sorinboistean?source=rss-3075688b507d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E7qIUuughCAq4PTy.</url>
            <title>Stories by Sorin Boistean on Medium</title>
            <link>https://medium.com/@sorinboistean?source=rss-3075688b507d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 22:57:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sorinboistean/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lessons learned from the pandemic or how to not get mentally stuck.]]></title>
            <link>https://medium.com/@sorinboistean/lessons-learned-from-the-pandemic-or-how-to-not-get-mentally-stuck-6dc32ce08ea2?source=rss-3075688b507d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6dc32ce08ea2</guid>
            <category><![CDATA[pandemic]]></category>
            <category><![CDATA[discipline]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[covid-diaries]]></category>
            <dc:creator><![CDATA[Sorin Boistean]]></dc:creator>
            <pubDate>Fri, 19 Jun 2020 21:37:49 GMT</pubDate>
            <atom:updated>2020-06-21T07:26:36.905Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKfRZ51S8wtYNNvZwGiOMA.jpeg" /></figure><p>2020 is a special year for everyone, lots of people say because it is a leap year and usually weird things and cataclysms especially happen in leap periods of time. Starting with COVID epidemic and continuing with racism problems and protests, what’s next? There is always something worse that could happen…</p><p>Talking about pandemic in particular it is a <strong>big reset</strong>. A big reset for human kind in terms of finance, social, mindset and values. Nobody could even imagine that in just a couple of months the world could be ruined and turned upside down.</p><p>Personally, 2020 started with big plans by planning to visit family, organize few vacation trips and enjoy more the summer time and long lasting days that we were all waiting for after the winter. But unexpected happened, Europe got covered with COVID wave and everything got paralyzed.</p><p>I would say the first few weeks did not feel so bad, working from home, cooking few meals per day — it was even fun. I think for some persons who were not even working remotely — they felt like being on a small vacation that should rapidly last and the next day they will jump into their cars and will continue driving to their working places to continue the daily routine.</p><p>Unfortunately not, everything was starting to become more difficult and difficult to handle epidemic wise and infections were constantly growing with every day — meaning we’re stuck home for a long time.</p><p>It is a crash — a mental crash. Nobody is mentally ready to spend months at home, we were not taught or trained for such type of mission, I believe only astronauts are ready to handle such complexity tasks of self-isolation in the space. Laugh comes first — tears or sadness comes second.</p><p>It took a while to regroup myself in order to align an interesting journey for the upcoming months at home. As an output I learned to be more disciplined and be a better friend with myself.</p><p><strong>The discipline of mind and body.</strong><br>My whole day depends on how the morning starts and it should always start fresh and newborn with a clean mind. Avoiding commuting and winning an extra hour helped to get more rest, find some time for meditation while sipping a fresh brewed coffee — this is a key for a perfect start of the day.</p><p>I noticed that I’m able to work non stop 100% concentration in a fully automatic mode from 9 till 3PM like a brand new Ford Mustang, super productive and cover most of the things for the day, even more then needed. 3PM — 4PM was mainly used for some jogging outside or pull-ups on a special terrain which I found outside in the neighborhood. This is a perfect time to give your body and mind a shake and not feel like a stone sitting whole day in front of the computer. It took a while to get used to outdoor trainings since GYM feels always a different experience motivation wise… all what you have to do is just start doing it.</p><p>Evening time (5–7PM)was spent more for the calls with US based clients where I was feeling again energized and fresh, like it was a morning again. You always get this feeling after exercising when your brain is full of oxygen and the blood flow is high. Remember, you may feel super lazy especially working from home — even making few steps from bed to kitchen may feel like climbing a hill and here you should break your barrier and learn self-discipline.</p><p>You should kick yourself in the ass and start doing things otherwise you gonna easily transform into a vegetable, your muscles and body will get weak and you would not be even able to raise a spoon to eat (joking of course). Is all about the mindset, the mindset which can make you be different from others and achieve more productivity and results wise.</p><p>Another cool thing which I found just to help you get this kick, is to buy a yoga mat - lay it on the floor every morning or noon and start some youtube indoor training videos (abs core training, functional training — start searching it). This will fastly motivate you to start the training and continue with it. A combination of running outside, listening great music and doing these youtube based training — made me feel alive again.</p><p>Evenings were chill, mainly we were not limited in going outside and I spent this time to discover more new places in the city I live by walking around. Surprisingly, I realized that I was able to see things that I never saw during my last 3 years living in the same place.</p><p>Find time to enhance yourself, besides work and keeping physical condition up find time to learn something new. Let’s say you get few free hours or you are on track with your weekly tasks, find 1–2 hours to start learning something new. Since I’m in IT — I was able to make a good progress while learning a new programming language in only 2 weeks. Find 30–60 minutes to practice Spanish or watch some movies before going to sleep also in Spanish which took me to another level.</p><p>While being self-isolated, not seeing people is very important to trick your brain and not let the thoughts take over you, because they will gonna take you nowhere. When you have no things to do, the brain will always take over and will start giving you 101 reasons to think about bad things and less about good ones. At some point you may get the feeling you wanna climb the walls and get out the cage, but is not so easy at this time — there is nowhere to run… streets are empty, restaurants and bars are closed… you can run .. but not run from yourself. This is a perfect time to learn and <strong>be friend with yourself </strong>and pass over this breakthrough period of time.</p><p><strong>Pandemic is an investment. </strong><br>Yes you lost your job, you have no social life anymore and you have to cook everyday — what can be worse? But don’t get upset, this is the perfect time to start doing things you always wanted to do. Imagine that you gained freedom, the freedom you were always dreaming about — from being locked in a 24/7 working schedule. Think about what brings you joy and satisfaction, what makes you happy, what would you love to give a try, look for some materials or youtube videos, trainings, coursera… and start learning with baby steps. Keep away from being lazy / disorganized or procrastinating things. Days will transform in weeks, weeks in months the time will pass and you will excel if you stick to a schedule and self-discipline — you will gain knowledge, loose weight / gain muscles and pandemic will pass.</p><p><strong>Pandemic is about appreciation.<br></strong>And now, when things started to re-open you start to feel the joy. The joy of taking a coffee on the terrace — feels such a small things but brings so much happiness at the moment, even seeing people on the streets. Recruiters getting more active and reaching out to you, new job openings appearing daily. The life continues … the time has passed, but did it pass reasonable?</p><p>Only you can decide.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6dc32ce08ea2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Drupal 8 — Search API Configuration Overrides]]></title>
            <link>https://medium.com/@sorinboistean/drupal-8-search-api-configuration-overrides-272bb8d4565c?source=rss-3075688b507d------2</link>
            <guid isPermaLink="false">https://medium.com/p/272bb8d4565c</guid>
            <category><![CDATA[drupal]]></category>
            <category><![CDATA[acquia]]></category>
            <category><![CDATA[drupal-8]]></category>
            <category><![CDATA[drupal-development]]></category>
            <category><![CDATA[search]]></category>
            <dc:creator><![CDATA[Sorin Boistean]]></dc:creator>
            <pubDate>Wed, 03 Jan 2018 15:43:13 GMT</pubDate>
            <atom:updated>2018-01-04T21:37:14.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*UqLYXRwfEyhA129J8_jyyA.png" /></figure><p>Drupal &amp; Solr — is a perfect solution for building scalable sites with powerful and customizeable search indexes which can return data per your custom or predefined query really fast.</p><p>Storing thousands or hundreds of thousands of records is pretty easy and fast to get what you need per your criteria. You can also define your custom indexes and what data you want to store in index.</p><p><strong>Prerequisites:</strong><br>+ Drupal 8<br>+ Search API<br>+ Facets API<br>+ Acquia Search</p><p>Let’s assume we have multiple LLC environments in my particular case I will take Acquia: Dev, Stage, Prod. Having the Search API and Acquia Search modules installed, makes everything work mainly out of the box.</p><blockquote><strong>Problem<br></strong>We struggled and spent a considerable amount of time, defining 2 or even 3 Search API Solr Server configuration sets which was definetively not a scalable approach and very, very hard to maintain when you talk about same settings across all of the environments.</blockquote><p>In other words, having <strong>dev</strong> and <strong>local </strong>environments we ended up maintaining 2 separate configurations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEOfmwDr4heotGEzAvCbyw.png" /></figure><ul><li>Acquia Search API Solr (for Acquia LLC environments)</li><li>Solr (for local development)</li></ul><p>The thing we were doing is toggling what server and index are active based on your current ENV variable.</p><p>Let’s say if I’m on my local than enable <strong>Solr, Local Solr</strong> — otherwise if on Acquia ENV than enable <strong>Acquia Search API Solr</strong> and <strong>Acquia Search Solr Index.</strong></p><p>Well it made it work but at the final end we made it much more robust using the config overrides.</p><p><strong>Config Overrides</strong></p><p>The cool part in Drupal that config overrides allows you to override the stored-in database configurations for specific entities. For example we had the Search API configuration entity for particular setting and we can easily override it.</p><p><strong>Step 1: View active config.</strong></p><p>In order to view the active search api server configuration you need to run the following drush command:</p><pre>drush cget search_api.server.<strong>acquia_search_server</strong> --include-overridden</pre><p>Right after running this drush command, you will get the actual configuration for this property including the code overrides, which is pretty cool to track down the final config, even it was overriden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*a4aInoekfYLKNEUR1Q9omQ.png" /></figure><p>As presented in screenshot bellow, you will get the active config, now it is pretty easy to override it with your custom one.</p><p><strong>Step2: Overriding the configuration.</strong></p><p>Go to your <em>settings.php</em> file, it does not matter if you do directly in it or maybe you include the other splitted configuration settings files, make sure you do this in a file which has access to Drupal global <strong>$config</strong> variable.</p><pre>if($env == &#39;local&#39;){<br> $config[&#39;search_api.server.<strong>acquia_search_server</strong>&#39;] = [<br>   &#39;backend_config&#39; =&gt; [<br>     &#39;connector&#39; =&gt; &#39;standard&#39;,<br>     &#39;connector_config&#39; =&gt; [<br>       &#39;host&#39; =&gt; &#39;solr&#39;,<br>       &#39;path&#39; =&gt; &#39;/solr&#39;,<br>       &#39;core&#39; =&gt; &#39;drupal&#39;,<br>       &#39;port&#39; =&gt; &#39;8983&#39;<br>     ]<br>   ] <br> ];<br>}</pre><pre>...<br>//Add the other overrides for the rest of environments based on <strong>$env</strong> variable value.</pre><p>Remember to replace <strong>acquia_search_server</strong> with your server machine name, this is what will make to override the properties of specific server config based on the <strong>$env</strong> variable, which identifies on what server or instance you run this code.</p><p><strong>Step3: Re-check modified configuration.</strong></p><p>In order to re-check that configuration that your override applied, run the same command from <strong>Step 1</strong> one more time, and you should be able to see the new values.</p><blockquote><strong>The most frustrated part for me was related to Search API Server edit page, where I was keeping to see the old values. Not sure if this is the case in your situation but at the moment while writing this article running drush command to get the current configuration is the safest approach to ensure that is properly configured and overriden.</strong></blockquote><p><strong>Acquia specifics</strong></p><p>If you use Acquia Search (meaning their service), make sure you followup with support to retrieve your core and colony id related information. You can find more related information how to configure it <a href="https://docs.acquia.com/acquia-search/multiple-cores/override">here</a>.</p><p><strong>Conclusions</strong></p><p>Configuration overrides allows a really flexible and generic way to override the configurations through code. But be careful whatever you see is not all the time what is actually configured under the hood.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=272bb8d4565c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>