{"id":338,"date":"2017-05-19T17:39:47","date_gmt":"2017-05-19T15:39:47","guid":{"rendered":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/?p=338"},"modified":"2017-06-09T11:04:31","modified_gmt":"2017-06-09T09:04:31","slug":"first-sunny-and-not-self-made-lunch-outside","status":"publish","type":"post","link":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/2017\/05\/19\/first-sunny-and-not-self-made-lunch-outside\/","title":{"rendered":"First sunny (and not self made) lunch outside"},"content":{"rendered":"<p>Let&#8217;s get back and let me tell you a bit about my work again (the actual reason why I&#8217;m here by the way). So besides sorting my private stuff out, I actually managed to work and finish some tasks indeed.<\/p>\n<p><!--more--><\/p>\n<p>Coding is a very good therapy to concentrate yourself on creating and taking your mind off things. There are not really many activities I know, which have this unique property. You can compare it with playing an instrument, solving a riddle or doing sports maybe &#8211; but the way, how you get into this notorious &#8222;tunnel&#8220;, is still unique in my opinion.<\/p>\n<p>My second week started with working and optimizing the new feature for the website, which I started to build on Saturday evening already. I don&#8217;t like Javascript itself that much and I don&#8217;t like the structure of the language especially, to be honest, but I LOVE the fun things you can create\u00a0with it. Obviously that much, that I invested some of my free time on Saturday to play around with it! I&#8217;d call this special relationship as a typical hate love now &#8211; definitely. So let me show you the new feature, which is going to\u00a0be live with the next merge soon:<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/featurescrollup.mov\">feature:scrollup<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>What seems so easy at first glance, appeared not that easy retrospectively. There are so many aspects, which you&#8217;ve pay attention to it &#8211; the design of the button, which you declare at a separate CSS module, the position and at which HTML file (believe me, an usual dynamic website has got tons of it, especially if you&#8217;ve\u00a0different logins\/ roles) you&#8217;re going to positioned it at and last but not least the appropriate Javascript code, which you&#8217;ve to write and integrate. Yup, welcome to the world of front end web development!<\/p>\n<p>But if you thought shortly, that&#8217;s it &#8211; I&#8217;ve to disappoint you unfortunately. There&#8217;re even more aspects to care about, if you really want to do it in the professional and fancy way like fading the button in the right moment in and out or changing the style of the cursor, if the user is scrolling over it. But I don&#8217;t want to dramatized it that much because if you&#8217;ve done it once, it&#8217;s going to be very easy to do it another time again. I think this won&#8217;t be my last time to integrate such a common feature into my future web projects! So absolutely winning!<\/p>\n<p>On Tuesday I got my next task: to program and integrate a sorting filter\u00a0feature for the tables on the website. Let me show you again the result of it:<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/featurefilter.mov\">feature:filter<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This feature was even way more complicated as the other one. To be exact: It took me four days almost. Overall it took me only two\u00a0days actually but there was this one &#8222;little&#8220; problem, which I got totally stuck to it. The problem was the date format of the two fist columns of the table. The data structure contains a string and number at the same time, which causes problems. After googling ages, I decided to write my own parser function to learn even more at the same time. In the end I solved the problem with some help from my colleague Paul, but the idea and concept was pretty similar, which made me a bit proud to admit. I realize that I understand the concepts much more as a couple of month ago but there is still some practical experience missing to implement those concepts in my mind into a nice and simple code fastly. But skills come with practice and the more I code, the better I become of course! So I&#8217;m highly motivated to keep on and not giving up, even I feel super stupid sometimes because often most of the solutions are so simple. So simpel that I can&#8217;t prevent to do a proper facepalm and uttering some weird angry sounds! My colleagues\u00a0find it particularly funny and told me a couple of times that they love this attribute about me. I&#8217;m not really sure if I should take this either as a compliment or self-doubt&#8230;<\/p>\n<p>Besides\u00a0this two features, which I was able to finish this week luckily, I had to do little daily business tasks like editing the footer to integrate the phone number with an appropriate phone symbol or editing the font at a different position of the website.<\/p>\n<p>In reward of stressful times, I got a\u00a0perfect\u00a0present for the well deserved\u00a0start of the weekend: The first sunny day and !not rainy day ever! this week. I went to buy\u00a0some lunch for the first time since I&#8217;ve arrived in Belfast and enjoyed it at the notorious and gorgeous Belfast City Hall in the middle of the sunshine (and lots of people):<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_349\" aria-describedby=\"caption-attachment-349\" style=\"width: 236px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-349\" src=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0633-169x300.jpg\" alt=\"IMG_0633\" width=\"236\" height=\"419\" srcset=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0633-169x300.jpg 169w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0633-768x1365.jpg 768w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0633-576x1024.jpg 576w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0633-113x200.jpg 113w\" sizes=\"auto, (max-width: 236px) 85vw, 236px\" \/><figcaption id=\"caption-attachment-349\" class=\"wp-caption-text\">The Metaboost salad from Freshii &#8211; highly recommendable!<\/figcaption><\/figure>\n<figure id=\"attachment_350\" aria-describedby=\"caption-attachment-350\" style=\"width: 385px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-350\" src=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0634-300x169.jpg\" alt=\"IMG_0634\" width=\"385\" height=\"217\" srcset=\"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0634-300x169.jpg 300w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0634-768x432.jpg 768w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0634-1024x576.jpg 1024w, https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/files\/2017\/05\/IMG_0634-200x113.jpg 200w\" sizes=\"auto, (max-width: 385px) 85vw, 385px\" \/><figcaption id=\"caption-attachment-350\" class=\"wp-caption-text\">Belfast City Hall<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>Of course I don&#8217;t want to keep my other super exciting present from you as well, which I gave to one of my best friends and myself two month ago already &#8211; an upcoming trip to London from today till Sunday late evening.<\/p>\n<p>So my next blogpost is going to be written in London and probably about London \ud83d\ude09<\/p>\n<p>Suspense continues!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s get back and let me tell you a bit about my work again (the actual reason why I&#8217;m here by the way). So besides sorting my private stuff out, I actually managed to work and finish some tasks indeed.<\/p>\n","protected":false},"author":3372,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[123944],"tags":[233954,90413,599,233952,233951,51,338],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-pegah-ghojavand","tag-londontrip","tag-lunch","tag-programming","tag-secondweek","tag-sunnyday","tag-video","tag-work"],"_links":{"self":[{"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/users\/3372"}],"replies":[{"embeddable":true,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":1,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":351,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/posts\/338\/revisions\/351"}],"wp:attachment":[{"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/userblogs.fu-berlin.de\/afibinirland2017\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}