<?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 Kristijan Lukacin on Medium]]></title>
        <description><![CDATA[Stories by Kristijan Lukacin on Medium]]></description>
        <link>https://medium.com/@klukacin?source=rss-e3af2a5fd372------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*v-UpbVp6QwgRaFOe.</url>
            <title>Stories by Kristijan Lukacin on Medium</title>
            <link>https://medium.com/@klukacin?source=rss-e3af2a5fd372------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:37:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@klukacin/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[Xlib: extension “XInputExtension” missing on display “:1” — VNC problem]]></title>
            <link>https://medium.com/@klukacin/xlib-extension-xinputextension-missing-on-display-1-vnc-problem-22dc75780a23?source=rss-e3af2a5fd372------2</link>
            <guid isPermaLink="false">https://medium.com/p/22dc75780a23</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[hacks]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Kristijan Lukacin]]></dc:creator>
            <pubDate>Tue, 29 May 2018 07:36:08 GMT</pubDate>
            <atom:updated>2018-06-03T08:07:38.318Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Az7EuV8A8dTqsVmp_TzjNg.png" /><figcaption>All applications working on headless VM!</figcaption></figure><p>Using headless linux VM, causes this problem for multiple applications like Google Chrome, Atom, Bytom coin wallet, etc.</p><p>This is universal solution, but please use it on your own risk!</p><p>This is good in general if you use headless VM;</p><pre>cd /usr/lib/x86_64-linux-gnu/<br>cp libxcb.so.1 libxcb.so.1.bak<br>sudo sed -i ‘s/BIG-REQUESTS/_IG-REQUESTS/’ libxcb.so.1</pre><p>It will fix all apps with same problem and error.</p><p>Please note that there are apps that will not be fixed with this hack.</p><h3>Update 1</h3><p>I had a problem after last restart of virtual machine, no QT application would start and some GFX error would be shown trying to start an app.</p><h4>What I did to trick it!</h4><p>First I’ve spent hours trying to find solution on Internet. In vain!</p><p>So let’s go back to basics I’ve reverted<em> libxcb.so.1</em> to original one (that I’ve backup yesterday) then I’ve started an app; <strong>It worked!</strong> And then after I’ve started one app that works with original file, then I’ve tried to replace original file with modified one but when you copy over file in use it just breaks VNC it triggers something, but if you just SED again over open and existing file, nothing happens and you can start opening other apps that didn’t previously worked!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22dc75780a23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GDPR: What You Need to Know]]></title>
            <link>https://medium.com/@klukacin/gdpr-what-you-need-to-know-aa5357d1f65a?source=rss-e3af2a5fd372------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa5357d1f65a</guid>
            <category><![CDATA[gdpr]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Kristijan Lukacin]]></dc:creator>
            <pubDate>Thu, 10 May 2018 09:00:04 GMT</pubDate>
            <atom:updated>2018-05-10T09:00:20.282Z</atom:updated>
            <content:encoded><![CDATA[<h3>GDPR: What You Need to Know, part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dW9pMZ7kw0Qa8gU7PiS2kg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/yekGLpc3vro?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Scott Webb</a> on <a href="https://unsplash.com/search/photos/gdpr?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>EU’s new data privacy laws; The General Data Protection Regulation, or the GDPR, which is in effect from May 25, 2018.</p><p>The GDPR is very broad in scope and applies to businesses both in and outside of the EU that do business in EU. Businesses that don’t comply with the GDPR could face heavy fines.</p><h3>Disclaimer</h3><p><strong><em>You should consult your own legal counsel and/or your local data protection authority to determine if you are subject to the GDPR. All information in this blog are for informational purposes only.</em></strong></p><h3>What is GDPR?</h3><p>GDPR is short for the <a href="https://ec.europa.eu/info/law/law-topic/data-protection_en">General Data Protection Regulation</a> that’s in effect from May 25, 2018. It was passed by the European lawmakers to create a data privacy law across all the EU member states. With purpose to:</p><ul><li>Support privacy as a fundamental human right;</li><li>Require companies that handle personal data to be accountable for managing that data appropriately; and give individuals rights over how their personal data is processed or otherwise used.</li></ul><h3>What is Personal Data?</h3><p>In a nutshell, GDPR defines personal data as “any information relating to an identified or identifiable natural person.”</p><p><strong>What does that mean?</strong></p><p>In addition to the “standard” information you might think about like: name, address and contact information, email address, financial information, identification numbers, etc., personal data can are also informations related to your digital life, like an IP address, geolocation, browsing history, cookies, or other digital identifiers.</p><p>And also information about a person, including their physical, mental, social, economic or cultural identities.</p><p>In short, if information can be traced back to or related in some way to an identifiable person, it is highly likely to be personal data. You can <a href="https://ec.europa.eu/info/law/law-topic/data-protection_en">find out more on GDPR official website here</a>.</p><h3>What are my rights as individual that GDPR provides?</h3><p>There are several rights an individual may exercise under the GDPR, including:</p><ul><li><strong>Right of access:</strong> Individuals can ask for a copy of the personal data retained about them and <strong>an explanation</strong> of how it is being used</li><li><strong>Right to rectification:</strong> Individuals have the right to correct, revise or remove any of the personal data retained about them at any time</li><li><strong>Right to be forgotten:</strong> Individuals can ask to delete their personal data</li><li><strong>Right to restrict processing:</strong> If an individual believes, that their personal data is inaccurate or collected unlawfully it may request limited use of their personal data</li><li><strong>Right of portability:</strong> Individuals have the right to receive their personal data in a structured, commonly used and machine-readable format</li><li><strong>Right to object:</strong> Where an individual decides that they no longer wish to allow their personal data to be included in analytics or to receive direct marketing emails or other targeted marketing content at any time, the individual may opt out of use of their data for these purposes</li></ul><p>Keep in mind that these rights are not absolute, and limitations/exceptions may apply in some cases where in conflict with other laws.</p><h3>Some responsibilities you should understand</h3><p>Generally speaking, there are two types of parties that have a responsibility regarding the handling of data: the “controller” and the “processor.” It is important to determine whether you are acting as a controller or a processor and understand your responsibilities accordingly.</p><p>A <strong><em>data controller</em></strong> determines the purposes, conditions and means of the use of personal data.</p><p>A <strong><em>data processor</em></strong> on the other hand, only acts on the instructions of the <strong><em>data controller</em></strong> and processes personal data on their behalf.</p><h4>So, what does this mean for you?</h4><p>Depending on your case, you could have both roles, but usually you’re are either controller or processor.</p><h4><strong>Basic guideline or question to determine if you’re data controller or data processor</strong></h4><p>would be “Do I provide service to end customers?” if you do that you’re controller and you’re responsible to inform and answer customer requests regarding GDPR. This is not correct in 100% of cases so please check with your legal advisor.</p><p>Web agencies are mostly <em>data processors</em>, regarding client end customers, but are also <em>data controller </em>regarding their customers.</p><p><strong>Yes, you can have multiple roles and be data controller and processor at the same time!</strong></p><p>It is <em>data controller </em>responsibility to ensure that you have the necessary notices and/or consents in place in order to transfer personal data to us for use.</p><h3>How does the GDPR affect your business?</h3><p>Individuals, companies, or businesses that have a presence in the EU or if they don’t have presence but they still offer goods or services to, or monitor behavior of individuals in the EU need to comply with this law.</p><h3>What do you need to do differently to comply with GDPR?</h3><p>There are various obligations you will need to comply with in order to continue doing business with your customers from the EU.</p><p>The most important differences in this context are as follows:</p><ul><li>More information about your use of personal data must be communicated to your customers. You should make sure that your privacy notices/policies are updated to reflect the new requirements of the GDPR, including setting out the purposes of your processing personal data, how long you are retaining such data, and what legal basis for use of personal data are you relying on. Example</li><li>You should determine the legal basis for your use of personal data: If you are relying on consent to use your customers’ data you should ensure that the consent you have meets the new requirements of the GDPR (more details on this below). Please note that sending marketing emails or showing promotional content in any form to your customers may require, in certain circumstances, prior opt-in consent from them.</li><li>You will also need to comply with the rights provided to individuals by the GDPR. See section above “What rights GDPR provides to individuals?” for details.</li></ul><p><strong><em>You should consult with your legal counsel on the above and your other obligations under GDPR.</em></strong></p><h3>What kind of Consent is required under the GDPR?</h3><p>When in doubt, and you are relying on consent to market to your customers, express consent is typically your best option. You obtain and document express consent when you explicitly ask your potential customers for permission to send them emails and other marketing content, and they agree, and that agreement is recorded.</p><p>There may be circumstances where you can rely on something similar to implied consent for sending emails or promotional content to customers even when subject to the GDPR. This is called a “soft opt-in” where –</p><ul><li>you have obtained their contact details in the context of a sale of a product or service,</li><li>you are sending emails and showing personalized ads relating to similar products or services</li><li>the customer has the ability to opt-out of receiving such emails when they first provided their data when making a purchase and in every subsequent communication sent from you.</li></ul><p>You should consult with your legal counsel to determine whether you can rely on the soft opt-in going forward under the GDPR. If you have customers with soft opt-in consent, you can store them as implied consent, but you will need to maintain your own documentation about how you obtained that soft opt-in consent.</p><p>Your customers should also be given an easy way to withdraw their consent in order to comply with the GDPR.</p><h3>How to comply with GDPR?</h3><p>This is only one example, maybe it’s not sufficient in your case, so please consult with your legal advisor.</p><p>For most companies, ability to opt-out from emails at any given time is important. Add ‘unsubcribe’ link to all emails you’re sending to make this easier for customer.</p><p>You also need to add or update “cookie consent” dialog on your website and record customer choice of cookies, and work only with those that site visitors have allowed. Some cookies are necessary to even be able to use the site if user don’t consent you can’t provide service.</p><h4>Privacy Statement</h4><p>You should update your privacy policy, terms of service, forms and internal processes. You should add EEA citizen GDPR rights section to your privacy policy.</p><p>Privacy policy should explain what information you collect about your customer you handle your personal data in this context where the GDPR applies. This policy should include descriptions of how user personal data will be used by you.</p><p>Because you do collect and process personal data, you are required to help your customers understand exactly what data is being collected and how it will be used. It is important that you have a Privacy policy that contains details of your data processing activities.</p><p>For example:</p><p><em>If you are a resident of the EEA, you have the following data protection rights:</em></p><ul><li><em>If you wish to access, correct, update, or request deletion of your personal information, you can do so at any time by emailing privacy@ws.agency</em></li><li><em>In addition, you can object to the processing of your personal information, ask us to restrict the processing of your personal information, or request portability of your personal information. You can exercise these rights by emailing privacy@ws.agency</em></li><li><em>You have the right to opt-out of marketing communications we send you at any time. You can do so by clicking on the “unsubscribe” or “opt-out” link in the marketing emails we send you. To opt-out of other forms of marketing, please contact us by email to privacy@ws.agency</em></li><li><em>Similarly, if we have collected and process your personal information with your consent, you can withdraw your consent at any time. Withdrawing your consent will not affect the lawfulness of any processing done prior to your withdrawal.</em></li><li><em>You have the right to complain to a data protection authority about our collection and use of your personal information. For more information, please contact your local data protection authority.</em></li></ul><p><em>We respond to all requests we receive from individuals wishing to exercise their data protection rights in accordance with applicable data protection laws.</em></p><p>I’ll not give you other examples here for now, but we’re preparing set of documents to help you in this process.</p><h4>Cookie Consent</h4><p>Almost every webpage, and every web application passes a cookie from server to your computer/browser. These can vary in nature, from adding basic functionality to your website, like being logged in to tracking your moves for marketing or analytic purposes.</p><ul><li><strong><em>Base function cookies</em></strong> - These cookies are required to enable core site functionalities. If customer choose to block these cookies, it may not be able to register, login to the website, access certain parts of the website or make full use of the website.</li><li><strong><em>Functional cookies -</em></strong> additionally to core functionalities, these cookies collect and store login details, you should give customer option to opt out of</li><li><strong><em>Analytics cookies -</em></strong> analyse site usage by monitoring how users navigate and use the website, you should give customer option to opt out of</li><li><strong><em>Marketing cookies -</em></strong> make users’ information available for targeted advertising, you should give customer option to opt out of</li></ul><h3>Final words, for now</h3><p>Be aware that there will be further changes in the near future in your communication with customers in the EU as the rules in the EU Directive and Privacy and Electronic Communications are under review and we’re expecting a new regulations to be finalised soon.</p><p>If you want some professional advise and help contact us at <a href="/service/mailto:hello@ws.agency">hello@ws.agency</a>, we are in final process of building new website with additional data available soon.</p><p><strong><em>DISCLAIMER:</em></strong><em> The information included in this blog is meant to guide you partially through the process of understanding GDPR and </em><strong><em>is not a substitute</em></strong><em> for legal advice. More information is available at the </em><a href="https://ec.europa.eu/info/law/law-topic/data-protection_en"><em>GDPR website</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa5357d1f65a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshooting ubuntu for mining crypto PART 1/2]]></title>
            <link>https://medium.com/@klukacin/troubleshooting-ubuntu-for-mining-crypto-part-1-2-bf38e7f8bb6a?source=rss-e3af2a5fd372------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf38e7f8bb6a</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[mining]]></category>
            <category><![CDATA[amd]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Kristijan Lukacin]]></dc:creator>
            <pubDate>Wed, 02 May 2018 21:03:31 GMT</pubDate>
            <atom:updated>2018-05-02T21:08:39.328Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uSSGVTMOwho5gojkO7ckrQ.png" /></figure><p>Reinstalling mining server happens now and then. I’m always in pursuit to get thing setup for easy access and to work. I’m on mac for 4 years now and in my experience it just works.</p><p>Recently I had to reinstall server after I broke windows setup on one of my miners with RX 470 Mining edition cards.</p><p>After reinstalling windows I couldn’t install drivers for RX 470 ME cards, I mean driver installed and everything seemed to work, but in Device manager there was <em>small yellow exclamation mark triangle icon</em>, my favorite one.</p><p>After some trial and errors with all drivers and whatever I could find around I’ve decided that my time is too valuable!</p><p>Just to make it clear I do have some experience starting from DOS 4.0 German version and I’ve again started using windows on some machines few months ago for mining.</p><p>So I’ve moved to my favorite linux; Ubuntu!</p><p>Although I’ve used previously server version, I’ve decided to go with desktop this time, and this are my findings…</p><p>Installing AMD driver sometimes break desktop, I’m using onboard card for display. After few trials and errors, idea is to install headless and blockchain optimized driver: <a href="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Driver-17.40-for-Linux.aspx">https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Driver-17.40-for-Linux.aspx</a> at the time of writing.</p><p>Don’t install with just:</p><pre> ./amdgpu-install -y</pre><p>After downloading and extracting driver as described <a href="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx">here</a>. But use instead:</p><pre>./amdgpu-install --compute<br>reboot</pre><p>You can check if cards are installed by</p><pre>ls /sys/class/drm</pre><p>If you see more ```card*``` folders like <em>card1, card2, …</em>it means you’ve done good job!</p><h4>Let’s start tweaking</h4><p>So I’ve started miner and it was 30–40% worse than on windows, OK, what now?</p><p>I did lost hours as I found out that performance is lower due to new kernel with Ubuntu 16.04.04 that has patches for Meltdown and Spectre bugs, so I’ve repeated procedure with reinstalling Ubuntu 16.04.03.</p><p>Again! Same problem I get like 16 MHs and I had 30.x!</p><p>I’ve read some more and I found that I need to install Ubuntu 16.04.01 to get a good kernel, and I did.</p><p>Same low hashrate!</p><p>For Now I don’t know if other Ubuntu’s would work, if someone has some experience feel free to ping me or just comment.</p><p>Anyway problem was not the Ubuntu, but</p><blockquote>Claymore didn’t manage to set clock and voltage of cards!</blockquote><p>OK, how can I set that if Claymore doesn’t work.</p><p>I’ve started searching for options, you can modify BIOS to work as expected, using <a href="https://github.com/jaschaknack/PolarisBiosEditor">Polaris bios editor</a>, but card were already tweaked, and reading this, yes, maybe I’ve should setup them completely.</p><p>After trying few tools and lots of dead ends I found</p><p><a href="https://github.com/OhGodACompany/OhGodATool">OhGodACompany/OhGodATool</a></p><p>And a good article from Kyle to guide me</p><p><a href="https://www.kylegauthier.ca/index.php/2017/12/17/tricks-tips-for-mining-on-a-headless-ubuntu-server-16-04/">Tricks &amp; Tips for Mining on a Headless Ubuntu Server 16.04</a></p><p>But it’s not as easy as it seems from writing… I’ll give you more details in second part…</p><p>It’s here 30+ MHs on RX 470:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keEcV87HcLnd5wJlRF7mQQ.png" /><figcaption>RX 470 ME — 30+ Mh/s Ethereum mining</figcaption></figure><p>What’s next:</p><ul><li>small issues with VNC</li><li>How to finally set voltage</li><li>How to check clocks and watts</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf38e7f8bb6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>