<?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 Patrik Trefil on Medium]]></title>
        <description><![CDATA[Stories by Patrik Trefil on Medium]]></description>
        <link>https://medium.com/@patrik.trefil?source=rss-3bacf75b4950------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jpBfc1J7kdxXgo_OSV5V7Q.jpeg</url>
            <title>Stories by Patrik Trefil on Medium</title>
            <link>https://medium.com/@patrik.trefil?source=rss-3bacf75b4950------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:43:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@patrik.trefil/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[WSL SSH agent and Git]]></title>
            <link>https://medium.com/@patrik.trefil/wsl-ssh-agent-and-git-68a930e0d597?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/68a930e0d597</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[passphrase]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 09:52:54 GMT</pubDate>
            <atom:updated>2024-04-18T09:52:54.141Z</atom:updated>
            <content:encoded><![CDATA[<p>This article describes how you can say goodbye to the hassle of copying and pasting your SSH passphrase every time you want to connect to a machine via ssh, push/pull from a git repository via ssh or sign a commit/tag/push via ssh regardless of your shell being Powershell, Bash or anything else.</p><p>This is useful if you need to be able to use ssh/git fully in Windows and WSL.</p><p>If you do all your work only in one of these environments, you probably do not need this.</p><p><strong>## What your current setup probably looks like</strong></p><p>If you use both Windows and WSL for ssh/git, you probably either have a passphrase-less ssh key or you have to enter your passphrase every time. Another option is that you have two ssh agents running, one in Windows and one in WSL. This is not ideal, as you have to enter your passphrase twice. You probably also have to enter your passphrase every time you open a new WSL terminal.</p><p><strong>## Solution</strong></p><p>Some solutions I found online get very complex (and usually are unstable). For example people try to map windows pipes to unix sockets or similar. We are going for a much simpler solution in this article. We are going to setup WSL so that it uses the Windows ssh agent. This way we will have only a single shared ssh agent running on our machine, which will make our life much easier.</p><p><strong>### Initial setup</strong></p><p>Firstly, we need to setup OpenSSH on Windows. You probably already have this working, but if not you can follow <a href="https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui">these instructions</a>. This ssh agent will be used by both Windows and WSL. Git/ssh in Windows should work out of the box with this setup. In the rest of the article we will be configuring WSL to use the Windows ssh agent.</p><p><strong>### SSH</strong></p><p>To access the Windows ssh agent in WSL, we are going to use the Linux ssh.exe command. This ssh client directly communicates the Windows ssh agent. Let’s see if everyting works as expected. If you have your ssh key setup on Github, you can use the following command in WSL:</p><pre>ssh.exe -T git@github.com # you can use any other ssh server</pre><p><strong>### Cloning/fetching/… with git via ssh</strong></p><p>What about git? Git on Linux by default uses the Linux ssh command to connect to remote repositories. To make git use the Windows ssh command, use the following command:</p><pre>git config - global core.sshCommand ssh.exe</pre><p>Now you can easily clone/pull/push etc\. from git repositories. To test this, clone any repository via ssh in WSL:</p><pre>git clone git@github.com:octocat/Hello-World.git # you can use any other git repository</pre><p><strong>### Commit/tag/push signatures in Git</strong></p><p>If you want to use your ssh key to sign commits/tags/pushes, you need to tell git in WSL to use the Windows ssh agent again. For that we are going to use the ssh-add.exe command. We also need to tell git to use the ssh-keygen.exe command, which is the counterpart to the ssh-keygen Linux command. For some reason, these programs are incompatible and since we are going to use the ssh-add.exe command to provide the keys, we also need to use the Windows variant ssh-keygen to make the signatures.</p><p>It might seem like we have everything ready and just need to run a few commands, but it is not that simple. There is one edge case, in which it does not work. Consider the following scenario. You make a git repository in the Windows file system. For some reason you need to open this git repository in WSL and make a signed commit. If you try this, you will get an error:</p><pre>$ GIT_TRACE=1 git ci -m &#39;my great message&#39;<br>15:45:35.924860 git.c:742 trace: exec: git-ci -m &#39;wsl ssh agent and git&#39;<br>15:45:35.924930 run-command.c:668 trace: run_command: git-ci -m &#39;wsl ssh agent and git&#39;<br>15:45:36.072419 git.c:396 trace: alias expansion: ci =&gt; commit<br>15:45:36.072466 git.c:803 trace: exec: git commit -m &#39;wsl ssh agent and git&#39;<br>15:45:36.072495 run-command.c:668 trace: run_command: git commit -m &#39;wsl ssh agent and git&#39;<br>15:45:36.091469 git.c:455 trace: built-in: git commit -m &#39;wsl ssh agent and git&#39;<br>15:45:36.338328 run-command.c:668 trace: run_command: ssh-add.exe -L<br>15:45:36.409375 run-command.c:668 trace: run_command: ssh-keygen.exe -Y sign -n git -f /tmp/.git_signing_key_tmpbPSuUD /tmp/.git_signing_buffer_tmpX3z9UD<br>error: Couldn&#39;t load public key /tmp/.git_signing_key_tmpbPSuUD: No such file or directory?<br>fatal: failed to write commit object</pre><p>What the hell? Why can our program not see the file? The reason is that since our working directory is in the Windows file system, the root of the file system, which is denoted by the backslask symbol /, links to the root of the Windows file system, but our Linux git created the temporary files in the Linux files system. To fix this, we are going to create a simple wrapper shell script, which is going to translate the paths for us. Since this is a common problem when working accross different file systems, we have a utility program wslpath, which solves this problem. Our shell script is going to look like this:</p><pre>ssh-keygen.exe &quot;$1&quot; &quot;$2&quot; &quot;$3&quot; &quot;$4&quot; &quot;$5&quot; &quot;$(wslpath -w &quot;$6&quot;)&quot; &quot;$(wslpath -w &quot;$7&quot;)&quot;</pre><p>Save this script as gpgSshProgram.sh and make it executable:</p><pre>chmod +x gpgSshProgram.sh</pre><p>Now we are ready to configure git to use our wrapper script instead of</p><p>ssh-keygen.exe directly. To do this, run the following commands:</p><pre>git config - global gpg.ssh.defaultKeyCommand &quot;ssh-add.exe -L&quot;<br>git config - global gpg.ssh.program &quot;/absolute/path/to/gpgSshProgram.sh&quot;</pre><p>Note that the path must be absolute.</p><p>Now you can sign commits/tags/pushes using git in WSL. To try this out, you need to set git to use ssh for making signatures (default is openpgp). To accomplish this, use this command:</p><pre>git config - global gpg.format ssh</pre><p>Then you can make a signed commit using this command:</p><pre>git commit -S</pre><p><strong>## Conclusion</strong></p><p>This solution is very simple and makes working with ssh and git super easy. All of this is possible thanks to WSL being awesome and git being highly customizable. The tooling available to developers is amazing, but to figure out the solution described in this article was not easy by any means. I hope this article helped you make your workflow more effecient and pleasant.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68a930e0d597" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[iPad (2018): The best budget tablet]]></title>
            <link>https://medium.com/patrik-trefil/ipad-2018-the-best-budget-tablet-f0409e15e6d7?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0409e15e6d7</guid>
            <category><![CDATA[ipad]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[tablets]]></category>
            <category><![CDATA[review]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Sun, 26 May 2019 11:01:03 GMT</pubDate>
            <atom:updated>2019-05-26T11:01:03.824Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YWKuCVjShZwSwgdnPYYTNQ.jpeg" /><figcaption>Photo by Leone Venter on Unsplash</figcaption></figure><p>iPad 2018 is currently the cheapest tablet sold by Apple. This model is an excellent option for students because of Apple Pencil support. It performs well in easy tasks such as browsing the web, checking e-mails and watching Netflix. Let’s dive deeper into the pros and cons of this product.</p><p>It is an Apple product, so everything works well with their other products. Using hand-off to continue the work on your computer has never been so easy. AirDropping, sync via iCloud, connecting AirPods or Beats headphones work wonders. Multi-tasking is a fantastic feature that I use pretty much daily, especially in the classroom. I find being able to look up something quickly on the Internet, while still keeping the notebook open and ready for writing extremely useful. The ability to move around the UI using gestures have made a big difference in the whole experience, as well.</p><p>The tablet does support the first-gen Apple pencil, but it does not support the Smart Keyboard. You can still connect a Bluetooth keyboard for faster typing, but that is hardly as convenient. If you want to use Apple’s keyboard, you have to go for the slightly more expensive iPad Air (2019).</p><p>To keep the price low, this model uses some obsolete technology. It uses the old mechanical TouchID, and the sensor is noticeably slow, in my opinion. Unfortunately, stereo speakers are not present; therefore, I often find myself using headphones to improve the sound quality. I think this is what the product designers had in mind since they decided to include the headphone jack. The screen is of high quality, though it is not laminated, so the Apple Pencil experience is according to some not that good, but, frankly, I could not tell the difference.</p><p>All in all, this is the best budget tablet. It ticks all the crucial boxes and has no major drawbacks. Since I have started using this device, it has been my go-to for both work and entertainment. If you are not planning to use your iPad for performance-heavy tasks, this is the right one for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0409e15e6d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/patrik-trefil/ipad-2018-the-best-budget-tablet-f0409e15e6d7">iPad (2018): The best budget tablet</a> was originally published in <a href="https://medium.com/patrik-trefil">Patrik Trefil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distant travels]]></title>
            <link>https://medium.com/patrik-trefil/distant-travels-d1974de76f9d?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1974de76f9d</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[pirates]]></category>
            <category><![CDATA[dreams]]></category>
            <category><![CDATA[fiction]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Wed, 22 May 2019 16:19:10 GMT</pubDate>
            <atom:updated>2019-05-22T16:19:10.097Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CFjSB9NfEgvn8KrWeR3raA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/Nqdh0G8rdCc?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Phoenix Han</a> on <a href="https://unsplash.com/search/photos/nature?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I was watching the sun go down when out of the blue a flying pirate-like ship appeared. I thought I was in a dream, but soon I realised that was not the case. Even though I had chills going down my spine, my curiosity kept me sitting on the cliff. I was quiet and still; I could hear my own heartbeat.</p><p>I was convinced the ship would pass by without the crew noticing me. Suddenly one of the pirates started shouting at me. At once, I tried to run away. Unfortunately, my foot slipped, and I fell into the water.</p><p>From this point on, my memory is a bit blurry. I recall waking up, surrounded by strangers. I was on the ship going God knows where… Shortly afterwards, I was questioned by the captain at length. Not until I had looked out the window, did it dawn on me that I was in much trouble. I was probably on a different planet; I could have been even in an entirely different world.</p><p>The others were not talkative. Most of them had long beards, many scars and long curved swords. I asked where we were going; expecting an answer was too optimistic. I started to realise I was trapped.</p><p>We arrived in a small village, which was inhabited by peculiar people, who were likely not even human. I was kicked out of the boat and left stranded. There was no sun upon the sky so I could not tell what time it was. Nonetheless, I knew I needed a place to sleep; thus, I started looking for it. Despite the fact that I was not able to understand a single word the receptionist said, I got keys to my room.</p><p>As soon as I got into my room, I went to sleep. During the night, I was woken up three times, because of a noise that was coming from upstairs. The third time I went to talk to them since I was exhausted and need to get some rest. When I was going up the stairs, somebody knocked me out from behind, but soon I felt the warmth of my blankets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1974de76f9d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/patrik-trefil/distant-travels-d1974de76f9d">Distant travels</a> was originally published in <a href="https://medium.com/patrik-trefil">Patrik Trefil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Out of Style]]></title>
            <link>https://medium.com/patrik-trefil/out-of-style-33ac27cf4e3a?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/33ac27cf4e3a</guid>
            <category><![CDATA[fast-fashion]]></category>
            <category><![CDATA[global-issues]]></category>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[envirnoment]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Sat, 18 May 2019 15:56:05 GMT</pubDate>
            <atom:updated>2019-05-18T15:56:05.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eScC0dpdNp4yWl843f8PMQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/FMrZLPdDyx4?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">John Cameron</a> on <a href="https://unsplash.com/search/photos/environment?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The world we live in today is a complicated, fast-paced place with many problems. I want to dedicate this essay to the environmental and ethical issues while keeping the focus predominantly on (fast) fashion and its impacts. I consider raising awareness about consumerism and the materialistic character of society vital, since it may very well destroy our planet. Fast fashion is, by its definition, a production of inexpensive clothing by mass-market retailers in response to the latest trends. This makes for a lot of thrill for consumers, but not so much for our environment. This text is an attempt to explain the underlying issue and show some ways to address the issue.</p><p>First and foremost, we should talk about production. Products one can buy in stores like H&amp;M or Zara are standardly manufactured somewhere in the Third World Countries. T-Shirts usually cost about $5. You may be asking, how is it possible to produce, deliver and advertise products for this price? To keep the costs low, the conditions and salaries of the workers are poor. Mass production plays a factor, as well. There are significant amounts of excess, and most of it, instead of it being sold for a lower price, is destroyed to preserve the prestige of the brand. Not to mention, the transport to the other side of the planet creates an enormous environmental cost as well.</p><p>So far, it seems like boycotting fast-fashion might be a solution, but that does not get to the root of the problem. There are many companies, whose advertising shows eco-friendly practices, which might seem amazing at first, but we have to realize that such ads still make us purchase more. No matter how low the product’s carbon footprint is, there are better options. Those are, for example, buying second-hand clothes or not buying anything at all.</p><p>One approach to tackle this problem as an individual is the philosophy of minimalism. It is the choice of less; less useless items, essentially. This seems like a very reasonable method, but this philosophy is currently evolving in a different direction. Sadly, nowadays, minimalism is becoming more about aesthetics than anything else. People living this lifestyle often buy overpriced stuff and routinely swap the items for new ones. Does not seem like a perfect solution after all, does it? There are other options, for instance, essentialism, that come with similar ideas.</p><p>Maybe a less radical way would be to just buy less and choose well. We could also incorporate the consideration of transparency of a brand, in terms of workers’ conditions and eco-friendly procedures. Companies like Fair Trade specialize in labelling goods, which are sustainable, and meet the required social and environmental standards, which makes those products easily distinguishable.</p><p>Shopping to fill in the voids in our lives has become a standard, that should be questioned. There are growing communities of people living by philosophies such as minimalism, but the vast majority of people does not see this as an important problem. Considering the recent events of students marching in protest of politicians’ carelessness to the environment, I believe there is hope. Greta Thunberg, the originator of the demonstrations, is an excellent example of someone who thinks globally and acts locally. Is it not what we all should do?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33ac27cf4e3a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/patrik-trefil/out-of-style-33ac27cf4e3a">Out of Style</a> was originally published in <a href="https://medium.com/patrik-trefil">Patrik Trefil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Limit(less)]]></title>
            <link>https://medium.com/patrik-trefil/limit-less-872dbd5d1a3f?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/872dbd5d1a3f</guid>
            <category><![CDATA[potential]]></category>
            <category><![CDATA[humans]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Wed, 01 May 2019 17:29:47 GMT</pubDate>
            <atom:updated>2019-05-01T17:29:47.421Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULTkoaMLYohGZXXzwr2-og.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/QdAAasrZhdk?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lance Anderson</a> on <a href="https://unsplash.com/search/photos/architecture?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Potential is defined as <em>someone’s or something’s ability to develop, achieve, or succeed</em> according to the Cambridge English Dictionary. In this essay, I would like to focus predominantly on the potential of individuals and its limitations. This is an important topic for every single one of us, considering potential is what makes us motivated and excited about the future. I think the significance is best explained by this quote from Zig Zaglar:” When you catch a glimpse of your potential, that’s when passion is born.”. The purpose of this essay is to discuss the factors which impact human potential most.</p><p>Our development has reached great heights, we have built up so much momentum that it seems almost impossible there would exist an end of it. New science discoveries are made every day, new sport records are broken incredibly often. Will this ever stop? Not to mention, communication and traveling are extraordinarily easy nowadays. These tools are indeed useful to fulfil one’s potential.</p><p>Nonetheless, there are still things that hold us back. Firstly, I would like to talk about the social aspect. The life path is pretty much set for everyone. Everyone is expected to go to kindergarten, school, university, get a job, work like there is no tomorrow and rest during pension. This is good for some people, but limiting for others. Since this is what is expected of us, it is really hard to break the stigma that is associated with doing things differently. Do not get me wrong, the society is more supportive of unconventional people and freedom of thought is greater than ever before, but there is still room for improvement. Just one of the examples are multipotentialites. These people change their interests, hobbies even occupations very often. This approach to life would probably be frowned upon by majority of people. But, what these people do not realize is that they can bring tremendous amounts of value into work teams. Providing they are experienced in various fields they would be able give great insights, that would otherwise remain hidden.</p><p>Also, our planet has limited resources and so far, we have not developed good enough technologies to colonize nor even safely get to other planets. The carelessness of politicians of our environment could be a huge problem. Some even argue we have already missed our opportunity to save the planet and therefore the end of human kind and its potential is inevitable. All things considered, sustainability is crucial to keep our progress going.</p><p>Nowadays, there are still many countries which do not support entrepreneurship, new innovative projects etc.; we could talk for hours about the potential that is being wasted, because of unsuitable conditions in which people in the countries of the Third World live, though that is a topic for another day. The point I am trying to make here is that luck is involved, too. And, even if the circumstances seem perfect, we might not be at right place at the right time to use our potential to the fullest.</p><p>In conclusion, it seems like we are not anywhere near the limits of human potential, but nothing in the whole entire universe is truly limitless, even the universe itself is not, thus I believe, we are, sooner or later, going to run into some issues. Nonetheless, our potential is most likely going to far exceed our expectations, which means we have a whole lot to look forward to.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=872dbd5d1a3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/patrik-trefil/limit-less-872dbd5d1a3f">Limit(less)</a> was originally published in <a href="https://medium.com/patrik-trefil">Patrik Trefil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good or Bad?]]></title>
            <link>https://medium.com/patrik-trefil/good-or-bad-492332838ba?source=rss-3bacf75b4950------2</link>
            <guid isPermaLink="false">https://medium.com/p/492332838ba</guid>
            <category><![CDATA[morality]]></category>
            <category><![CDATA[philosophy]]></category>
            <dc:creator><![CDATA[Patrik Trefil]]></dc:creator>
            <pubDate>Wed, 01 May 2019 16:08:08 GMT</pubDate>
            <atom:updated>2019-05-04T12:45:15.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDkBGEmgJ9hzURFIufs3-w.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/YjSLXSvunqU?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Graham Page</a> on <a href="https://unsplash.com/search/photos/evil?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Have you ever asked yourself the question where does the ability to decide what is and is not moral come from? What has shaped our moral beliefs? Is our moral code determined more by our genetics or by our environment we live in ? All of these are difficult questions and I am going to attempt to answer them in this text. This essay is going to explore the impacts of genetics, religion and culture, environment and upbringing on human’s moral principles.</p><p>Firstly, I would like to talk about the influence of genetics. M. J. Crockett says there is a set of fundamental rules that makes us believe that killing, lying, stealing etc. is always wrong. (Crockett, 2016) They are engrained in human’s DNA and allow almost no exception. They can be violated in cases such as killing someone in order to save our relative etc. (Ludden, 2016)</p><p>Secondly, our morals are shaped by our upbringing and environment. In a paper from University of Oxford psychologist Jim Everett and his colleagues on intuitive moral judgement is a claim that our intuitive morality has been shaped by opinions of other people. They reason that we are wired this way, because we need the approval from others, in order for us to appear trustworthy and therefore be able to cooperate with them, which is crucial for our own survival. (Jim, 2016) However, there are exceptions and that is why we have two categories of people. The first group consists of people with absolute values. These people follow the intuitive code of ethics and are greatly influenced by their environment. The second group has flexible morals. In some cases, they are able to break away from their intuitions and think rationally.</p><p>Parents of children play a big role in child’s moral development. It is not an exception when families intentionally choose moral beliefs for their children as a part of their legacy. It starts with picking their extracurriculars but it goes way deeper, especially when it comes to religion. Parents present various stories, songs and practices, which can radically shift child’s morals. (Oswalt, n.d.)</p><p>Last, but not least, we have culture and religion. It is apparent that both have immense impact on society. And, it is also important to note their changing character. A good example would be abortion. It used to be unthinkable to deliberately stop woman’s pregnancy once it has already begun, but that is slowly changing as our culture evolves. We are probably somewhere in the middle now, since there are countries where it is completely legal to abort a child, but also countries, whose laws do not allow it. It will be interesting to see in which direction this goes. Values are transmitted through religion and can become an inextricable part of one’s identity. (Moral Development, n.d.)</p><p>To sum up, morality is formed by various things and it is hard to decide, which has the biggest effect. Morality is continually changing and the pace of it is getting faster and faster. There is no telling, what our morality is going to look like in 100 years, we can just sit back and watch.</p><h3>Works Cited</h3><p>Crockett, M. J. (2016). Inference of Trustworthiness From Intuitive Moral Judgments. <em>Journal of Experimental Psychology: General</em>, 772–787.</p><p>Haidt, J. (2008, March). The moral roots of liberals and conservatives.</p><p>Jim, E. A. (2016). Inference of Trustworthiness From Intuitive Moral Judgments. <em>Journal of Experimental Psychology: General</em>, 772–787.</p><p>Ludden, D. (2016). Where Does Our Moral Sense Come From? <em>Psychology Today</em>.</p><p><em>Moral Development</em>. (n.d.). Retrieved from Wikipedia: <a href="https://en.wikipedia.org/wiki/Moral_development?oldformat=true">https://en.wikipedia.org/wiki/Moral_development?oldformat=true</a></p><p>Oswalt, A. (n.d.). <em>Mentalhelp.net</em>. Retrieved from Brofenbrenner’s Environmentally Influenced Morality: <a href="https://www.mentalhelp.net/articles/brofenbrenner-s-environmentally-influenced-morality/">https://www.mentalhelp.net/articles/brofenbrenner-s-environmentally-influenced-morality/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=492332838ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/patrik-trefil/good-or-bad-492332838ba">Good or Bad?</a> was originally published in <a href="https://medium.com/patrik-trefil">Patrik Trefil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>