<?xml version="1.0" encoding="UTF-8"?>
<rss version='2.0' 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">
  <channel>
    <title>Mystery of Coding</title>
    <description>about enabling coders, users, and others</description>
    <link>https://mysteryofcoding.silvrback.com/feed</link>
    <atom:link href="https://mysteryofcoding.silvrback.com/feed" rel="self" type="application/rss+xml"/>
    <category domain="mysteryofcoding.silvrback.com">Content Management/Blog</category>
    <language>en-us</language>
      <pubDate>Sat, 28 Dec 2019 17:58:01 +0000</pubDate>
    <managingEditor>jelena.telenius@gmail.com (Mystery of Coding)</managingEditor>
      <item>
        <guid>https://mysteryofcoding.silvrback.com/pet-project-2020-first-animated-gifs#48659</guid>
          <pubDate>Sat, 28 Dec 2019 17:58:01 +0000</pubDate>
        <link>https://mysteryofcoding.silvrback.com/pet-project-2020-first-animated-gifs</link>
        <title>Pet project 2020 : first animated GIFs</title>
        <description></description>
        <content:encoded><![CDATA[<p>Here my first work on the pet project.</p>

<p>I decided to start by listing all work-related and household-related &quot;annoying tasks&quot; <br>
and start to think, how can I animate them to become &quot;motivational GIFs&quot;.</p>

<p>This is the &quot;motivational GIF&quot; it will play, <br>
once I have emptied the biowaste bin.</p>

<p><img alt="Silvrback blog image " src="https://silvrback.s3.amazonaws.com/uploads/827e9829-d188-45d0-8d3a-a3bc040164d1/biowaste_gif.gif" /></p>

<p>I set it so, that it only plays the GIF once - to see it again, refresh your page.</p>

<p>These are to be VERY simplistic - the focus being &quot;kawaii&quot; (i.e. &quot;super cute&quot;),<br>
rather than &quot;very good art&quot;. </p>

<p>We are after the &quot;hormonal response&quot; (oxytocin, and maybe some dopamin as well),<br>
not &quot;oh what great art&quot; response.</p>

<p>I got a good list of &quot;very annoying tasks&quot; done,<br>
and some ideas how to draw them.</p>

<p>Trash cans are easy to draw, so I started with them.</p>

<p>I used <a href="https://ezgif.com/maker">ezgif.com</a> GIF maker, to join my individual .png files to a GIF.</p>

<p>I also managed to write a html page, actually playing them.<br>
Only playing them once I have pressed a button.<br>
And stopping playing when the gif has played once.<br>
And playing them AGAIN - if I press the button again.</p>

<p>The images in the html page are jumping to &quot;wrong places&quot; in the layout, for some reason.<br>
Have seen this before, so probably some obvious reason. Omitting that for now.</p>

<p>Here my current web page for it :</p>

<p><img alt="Silvrback blog image " src="https://silvrback.s3.amazonaws.com/uploads/8215b3cd-f18d-4e9a-9d05-5b260db33811/1.png" /></p>

<p>So - baby steps in Javascript : succesfully accomplished.</p>

<p>Here my baby steps code :</p>

<h4 id="the-html-part">The html part :</h4>
<div class="highlight"><pre><span></span><span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>

<span class="p">&lt;</span><span class="nt">img</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;biowaste&quot;</span>
     <span class="na">src</span><span class="o">=</span><span class="s">&quot;images/biowaste.png&quot;</span>
     <span class="na">width</span><span class="o">=</span><span class="s">&quot;237&quot;</span> <span class="na">height</span><span class="o">=</span><span class="s">&quot;340&quot;</span>
     <span class="na">align</span><span class="o">=</span><span class="s">&quot;left&quot;</span>
     <span class="na">alt</span><span class="o">=</span><span class="s">&quot;&quot;</span><span class="p">/&gt;</span>

<span class="p">&lt;</span><span class="nt">button</span> <span class="na">onclick</span><span class="o">=</span><span class="s">&quot;reloadBiowaste()&quot;</span><span class="p">&gt;</span>Biowaste done<span class="p">&lt;/</span><span class="nt">button</span><span class="p">&gt;</span>
<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</pre></div>
<h4 id="the-javascript-part">The javascript part :</h4>
<div class="highlight"><pre><span></span><span class="kd">function</span> <span class="nx">reloadBiowaste</span><span class="p">()</span> <span class="p">{</span>
    <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s2">&quot;biowaste&quot;</span><span class="p">).</span><span class="nx">src</span> <span class="o">=</span> <span class="s2">&quot;images/biowaste_gif.gif&quot;</span><span class="p">;</span>
    <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span> <span class="p">(){</span>
        <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s2">&quot;biowaste&quot;</span><span class="p">).</span><span class="nx">src</span> <span class="o">=</span> <span class="s2">&quot;images/biowaste.png&quot;</span><span class="p">;</span>
    <span class="p">},</span> <span class="mi">8000</span><span class="p">);</span>  
<span class="p">}</span>
</pre></div>]]></content:encoded>
      </item>
      <item>
        <guid>https://mysteryofcoding.silvrback.com/planning-a-hobby-project-to-increase-my-motivation#48656</guid>
          <pubDate>Sat, 28 Dec 2019 14:38:44 +0000</pubDate>
        <link>https://mysteryofcoding.silvrback.com/planning-a-hobby-project-to-increase-my-motivation</link>
        <title>Planning a &quot;hobby project&quot; for 2020</title>
        <description></description>
        <content:encoded><![CDATA[<p>The big issue for me this year has been getting into proper flow moments during my working hours.<br>
The <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">pomodoro technique</a> has helped a little, but all other trials have been errors,<br>
and no real progress in this front.</p>

<h4 id="less-flow-makes-you-more-desperate">Less <em>&quot;flow&quot;</em> makes you more desperate</h4>

<p>The real issue is - that I am now truly entering the &quot;busy years&quot; of life. This leads my attention being much more scattered, multitasking being sometimes the only option even for coding - and it is increasingly urgent to solve this issue as soon as possible. Coding while distracted is incredibly annoying, and some real solutions are needed for this.</p>

<p>However - <em>life has happened to other people as well</em>, and I have seen many people continuing coding well into their 60s (even though they most definitely did have parents and kids and other people to look after - all people older than 40 do have them), so this should be a solvable problem.</p>

<p>This year my creativity has been in decline. My trade mark <em>&quot;insane strikes of genius&quot;</em> leading to <em>coding sprees</em> of several weeks, and resulting in quick production of great quality code, have simply vanished. I have tried all I can imagine. It seems I simply have <em>&quot;too little free time&quot;</em> to let my mind actually relax, to allow for that level of subconscious creativity. A couple of times I have at least <em>&quot;coded in my sleep&quot;</em> (my another trade mark : I get bug fixes and complete subroutines in semi-lucid dreams, normally around 6am in the night). But - no long coding sprees.</p>

<p>My current plan is settling for the second best alternative : looking for a way to work, which would keep me addicted. Addicted on daily basis - not addicted in <em>&quot;sudden several-week-long coding sprees&quot;</em>. This resembles a lot the model all <em>&quot;easy to learn&quot;</em> internet games ( <a href="https://king.com/game/candycrush">Candy Crush</a>, <a href="https://www.playpackrat.com/login">PackRat</a>, etc), offer to us. These games provide 1) collectibles, 2) sound and visual effects, 3) tasks, 4) rewards, and 5) cuteness. Instant rewards, and <em>&quot;nagging feeling&quot;</em> of <em>&quot;could do a little better here&quot;</em>. </p>

<p>How cool would that be - if I would have something exactly similar, to help me work when distracted. As the hardest part is to <em>&quot;get back to it&quot;</em> - it is so incredibly unrewarding trying to <em>&quot;pick up&quot;</em> the project for the fourth time in  a week, as all previous tries got somehow ruined. And if there would be some <em>&quot;automated way&quot;</em> of storing your progress in <em>&quot;minute chunks of achievements&quot;</em> - which would actually help you, not only serve as &quot;trophies&quot;. </p>

<p>Something combining the addictiveness and rewards of a web game, to <br>
the <em>&quot;post-it notes&quot;</em> and <em>&quot;github archives&quot;</em> of your day-to-day work. </p>

<p>Maybe far fetched ? - but, I am going to try.</p>

<h4 id="web-games-may-have-perfect-solution-to-control-me">Web games may have perfect solution to &quot;control me&quot;</h4>

<p>I get really easily addicted to the <em>&quot;easy-to-learn&quot;</em> web games. I wean myself out every now and then, but always get hooked on to another one relatively soon. My current addiction  takes me basically all my free time. </p>

<p><strong>Not getting sucked into the rabbit hole</strong></p>

<p>I always select games which don&#39;t kill your character, if you stop looking at the screen. <br>
I am not willing to sacrifice the discussions and interaction with my loved ones. <br>
You can&#39;t plan life - and if I am <em>&quot;in the middle of something&quot;</em>, that comes out as Incredibly Rude and downright misogynistic. My games don&#39;t have interactive parts - even though they are full of visual effects. This avoids me becoming the <em>ghost person</em> who <em>&quot;just sits there and plays the game&quot;</em>. You can always fully and instantaneously wake up from the &quot;stupor&quot; of the game - and not regret, as the game remembers <em>&quot;exactly when you left&quot;</em>.  </p>

<p><strong>Ingenious and inspiring psychological tricks</strong></p>

<p>These web games play tricks on you, naturally. Usually the game has a &quot;timer&quot;, which gives you one more life every 15 minutes. Your lives replenish in 1 hour - giving you essentially 20 min game time every hour. This makes it incredibly tempting to <em>&quot;remember to log in once an hour&quot;</em> as you will see the pleasant sight of <em>full lives</em> in your life counter.  If you &quot;run away&quot; and only come back after hours - it doesn&#39;t yell at you <em>&quot;where have you been&quot;</em> but welcomes you with rewards. </p>

<ul>
<li>Imagine if work-related app could do this ?</li>
</ul>

<p>If that is not enough, there is also <em>&quot;daily rewards&quot;</em>, so every day you get <em>extra stuff</em> just for popping by. In addition to this, every time I <em>&quot;complete a task&quot;</em> from the little list in there, it gives a reward. I get a lot of cute characters, adorable sounds, a lot of easy tasks to complete.  These kind of games have become my <em>safety blanket</em> giving me most of my <em>&quot;daily positive feedback&quot;</em>.</p>

<ul>
<li>Imagine if work-related app could do this ?</li>
</ul>

<p>I tried a couple of already-existing <em>motivate-yourself</em> apps, but they only had the &quot;cute character&quot; - no collectibles, no timers, no lists to tick off from.</p>

<p>The need for me to build a <em>motivating game</em> for myself, truly exists. <br>
As I am a developer, what exactly would hold me back, if I would want to build just such a thing ?</p>

<p>But, building a web game is a real multi-expertise job, and I cannot boast in having all the skills in the bag. So, to complete this story, we need to find the rationale for &quot;<em>why should I learn how to build a web game&quot;</em>. As I am a bioinformatician after all - why would I bother. Web development is a completely different game altogether.</p>

<h3 id="moving-to-a-new-field-could-be-in-order-anyways">Moving to a new field could be in order anyways</h3>

<p>Nowadays, my plan is to re-direct my career a little. As the field of bioinformatics is maturing and moving more towards machine learning and statistical methods to manage large compendiums of data, the focus moves away from the things I am actually most intested. What interests me, is user experience, and training the user to the technology and science, while they are using the tool (having &quot;training&quot; as integral part of the program logic - so that nobody can use the program, and NOT accidentally also learn the science). I also want to keep the programs really accessible - so that I can reach also very inexperienced computer users - to train basically everyone. The more heavy-duty parallel computing and advanced statistics you need to do in routine analysis, the less sense it makes to build this kind of &quot;easy-access&quot; programs. </p>

<p>I have thus decided, it is time for me to start searching for new profession. Preferably in a field, which is the same way quite immature, as bioinformatics was, when I entered the field ten years ago. This would allow me to jump in to the &quot;training&quot; business again, once I have got the hang of the basic principles of the field.</p>

<p>What is a field just now emerging, then? (We exclude machine learning, for its ethical implications. Alfred Nobel invented dynamite. Got rich. Felt guilty. Main use was in war, not in mining. Put his money to a fund, to start &quot;Nobel prizes&quot;. As of now, I don&#39;t want to become a new Nobel - I have enough guilt in my life already). </p>

<p>The answer is super obvious - and there is a real lack of good work force in there. And it is a field, where (the same way as in bioinformatics) you can&#39;t really &quot;over-train&quot; people : the need of work force is so great at the moment, that no amount of training will fill the gap. </p>

<p>Full stack development.</p>

<h4 id="full-stack-development">Full stack development</h4>

<p>Full stack development.<br>
Now I have said it. <br>
It still scares me a bit - as that is a tall ask.</p>

<p>The trick is - that this is a hard field. You need to not only be a <em>&quot;jack of all trades&quot;</em> - but <em>&quot;master of all trades&quot;</em>. Know enough of pretty much anything, to lift up working interactive web sites (which basically all companies need now, to enable day-to-day comfortable customer interaction). Static web sites are no problem. Adding colors and visual effects is no problem. Databases are no problem. Analysis algorithms are no problem. Storage and clever use of computational resources is no problem. But - full stack combines all these. You would build super powerful web sites, which do what your <em>command line code</em> used to do - right there <em>&quot;on the fly&quot;</em> as that is what customers nowadays except from the websites they interact with. The expectation is there, and all companies are falling short <em>&quot;why is there not a button, where I can sort my monthly expenses by the biggest bills from my telephone company&quot;</em> in my internet bank. We all ask these questions. And this is why <em>full stack developer</em> is the hottest thing there is.</p>

<p>The part of full stack I am completely missing, is web development. I know html, CSS, some javascript, some jQuery. Some databases, but haven&#39;t ever integrated them to web pages. I know GUIs, but have done them in Java, not in web pages. </p>

<h4 id="enableromatic-a-web-game-from-me-to-myself">&quot;Enableromatic&quot; - a web game from me to myself ?</h4>

<p>So - now I have a tentative plan to learn at least some of the wide field of Full Stack.</p>

<p>I am now planning to start a pet project which :</p>

<ul>
<li>Demonstrates wide range of &quot;full stack&quot; abilities</li>
<li>Generates a web-game like interface ( could be just localhost, as I am the only user )</li>
<li>The web game would be then used by me to motivate myself</li>
</ul>

<p>So - I aim to learn how to integrate all the technologies I already know, and learn enough about the front end technologies, to build a web game like interface.</p>

<p>And the end product of this would be something, which I could use to move my addiction to the web games, to addiction of my self-built &quot;web game&quot;.</p>

<p>This game would not be a real game - but more like elaborate combination of <em>&quot;to-do-lists&quot;</em><br>
and some kind of <em>&quot;well, good boy, well done&quot;</em> rewards for them. It would keep track of my last-opened documents, and enable <em>&quot;jump right back in&quot;</em> for routine coding tasks. </p>

<p>And hopefully - if can somehow do this - combine a properly-working pomodoro system into this,<br>
so that it could also monitor my working hours ( for the times when I need to work from home, or do extra-curricular coding activities ). </p>

<p>This may all be just a pipe dream - but there is an interesting web course about web development, along with another course about &quot;full stack development&quot;, starting in March 2020. </p>

<p>I am now planning to get my ideas written down by then, so to build some of the game components I need, as the coding exercises of these web courses.</p>

<p>Will keep you posted on this.</p>
]]></content:encoded>
      </item>
      <item>
        <guid>https://mysteryofcoding.silvrback.com/the-force-awakens-the-millenials-are-now-in-power#48648</guid>
          <pubDate>Thu, 26 Dec 2019 13:28:13 +0000</pubDate>
        <link>https://mysteryofcoding.silvrback.com/the-force-awakens-the-millenials-are-now-in-power</link>
        <title>The force awakens - the millenials are now in power</title>
        <description></description>
        <content:encoded><![CDATA[<p>I sincerely hope <br>
this will be the last post about the &quot;generations&quot; topic,<br>
which has really riddled me the past months.<br>
And after this,<br>
 we can move to some kind of new obsession.</p>

<p>( don&#39;t worry I will always have some kind of obsession,<br>
but this one has gone on for so long already )</p>

<p>When I started applying for jobs last Autumn,<br>
I realised something had changed.<br>
I listed to the employers <em>&quot;these are my terms, take it or leave it&quot;</em> ,<br>
including a lot of <em>&quot;I am also a carer&quot;</em> and <em>&quot;is part time work a possibility&quot;</em>,<br>
<em>&quot;I need to travel a lot&quot;</em>, and <em>&quot;I don&#39;t want to go down in salary&quot;</em> etc.<br>
The only thing missing from my list was <em>&quot;and I want avocado toast every day to my vegan beans,<br>
as I groom my beard biking to the hipster cafe&quot;</em> (naturally, for gender reasons, I don&#39;t have a beard).<br>
They were like <em>&quot;OK, that all sounds fine&quot;</em>.<br>
I was like <em>&quot;whaaaat????&quot;</em><br>
Who did teach you all that ? That job seekers are NOT insane, if they mention &quot;family&quot; - and such things ?<br>
And also - when did I become  &quot;force to be reckoned with&quot; - so that I can state any kind of terms in any negotiations ?</p>

<p>And, then I realised that suddenly EVERYONE loved <em>&quot;creative lifestyles&quot;</em> and <em>&quot;crafting&quot;</em> and <em>&quot;meditation&quot;</em> and <em>&quot;recycling&quot;</em>. And everyone loved <em>&quot;fake news&quot;</em> and <em>&quot;hated immigrants&quot;</em> and supported <em>&quot;animal rights&quot;</em> and <em>&quot;health and safety&quot;</em>. And everyone was getting screwed by <em>&quot;flexible working&quot;</em> and <em>&quot;life-long learning&quot;</em>. These all sound like problems of MY generation. </p>

<p>OK - the old ones are retiring now, so maybe that&#39;s what.</p>

<p>But wait - it is the Baby Boomers, who are retiring. <br>
We are not the oldest generation - genX was supposed to take over !<br>
The kids of the cold war should be now showing us what to believe.<br>
Not the millenials.</p>

<p>And the aswer to all this is : yes, indeed the genX has taken over.<br>
And as the central belief of genX is <em>&quot;practicality&quot;</em> - this is what we get !<br>
They really don&#39;t mind  <em>&quot;what do we believe in&quot;</em> - they are the <em>&quot;generation sceptical&quot;</em>.<br>
They never believed what their parents said, and the boomers were downright neurotic and hysterical to their opinion. And so are the millenials. </p>

<p>GenX has always been the one to <em>&quot;keep the world rolling&quot;</em> when someone else is trying to blow it up. Now they just have started to protect the Millenials, instead of Boomer generation.</p>

<p>This is why we now have <em>&quot;far right&quot;</em> versus <em>&quot;green&quot;</em> as the main dilemma,<br>
instead of <em>&quot;labor&quot;</em> versus <em>&quot;conservatives&quot;</em>. GenX doesn&#39;t care, as long as it makes sense.</p>

<p>If you think about the &quot;charismatic figures&quot; older than 40 (but not yet retired). Gordon Ramsay and Angela Merkel - sceptical and down-to-earth. As - genX doesn&#39;t care if they have the &quot;crazy cool ideas&quot;.<br>
They just want to keep the world working. </p>

<p>Thanks to them, we now have avocado toasts. And not grilled sausages.<br>
We have men staying home to be dads - as their genX bosses &quot;give in&quot; and let us have them (as <em>&quot;there is no harm in this&quot;</em>).</p>

<p>The whole axis turned, as the genX switched loyalty.<br>
They are now pampering us - instead of the old ones.</p>

<p>This is why I feel weird - as all of a sudden nobody says to me <br>
<em>&quot;ah, little girl, what do you mean I stole your code and broke it, and distributed it under my name,<br>
and you needed to clear all that mess up, as people were getting their data broken&quot;</em>.<br>
You don&#39;t even need to mention <em>&quot;meToo&quot;</em> - the genX bosses have fully adopted. <br>
The same people who still a couple of years ago said <em>&quot;oh, boys will be boys&quot;</em> will now be like <em>&quot;would you like to suggest some kind of disciplinary measures&quot;</em>, while they fully welcome the True Rivalry between their male and female workers (as that brings more efficiency to the work place). The only thing which still goes undetected by some genX managers, are MEN who flirt as shamelessly as women used to (yes these exist nowadays - millenials are a cunning generation in all their &quot;search of individuality&quot;). Of course this is enhanced by the &quot;natural transition&quot; happening in coding at the moment - if most of your senior staff is women, there is not much you can do about &quot;little girls taking over&quot;.</p>

<p>So - I say genX made it possible : for millenials to take over 30 years before they were supposed to.</p>

<p>As GenX is not a generation of <em>&quot;believers&quot;</em>. They are a generation of RATIONALISTS - born between two generations of Self-Important believers (boomers and millenials). The voice of sanity, between two bunches of total nutcases and hysterical neurotics.<br>
If you say <em>&quot;avocado is good for you&quot;</em> - genX will believe if you show them the science. Boomers wouldn&#39;t believe - they are a generation of  believers <em>&quot;I have always eaten a sausage, try and tell me otherwise&quot;</em>.<br>
If you say <em>&quot;and this is how you fix a combustion engine&quot;</em> - genX will believe, and be able to fix the engine. Millenials would say <em>&quot;I don&#39;t see the health and safety agreement in this&quot;</em> and refuse to listen. Then panic and take a selfie, if the car breaks down.</p>

<p>GenX changed loyalties. <br>
They are OURS now - and this is why everything changed<br>
so suddenly.</p>

<p>Why it was <em>&quot;ok whatever&quot;</em> when I was applying for jobs<br>
with my &quot;very millenial&quot; wish list of all things magical and if I could get unicorns as well.<br>
They were like <em>&quot;oh, whatever&quot;</em> - and how shocking is that.</p>

<p>In the back of their minds they were thinking <em>&quot;but, I know you are happy with flexible working, let&#39;s see how far you can flex&quot;</em> and <em>&quot;you don&#39;t really believe in worker&#39;s unions do you&quot;</em>, and <em>&quot;you don&#39;t believe in retirement, do you&quot;</em> - and that is how I will get the silver lining only. </p>

<p>But with avocado toast - and stay-at-home dads. </p>

<p>Thank you generation X - this will be an INSANE ride.<br>
I don&#39;t think we are ready for this.<br>
Better check my airbag (and take a selfie - while I am still intact).</p>
]]></content:encoded>
      </item>
  </channel>
</rss>