<?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 Frenk Dragar on Medium]]></title>
        <description><![CDATA[Stories by Frenk Dragar on Medium]]></description>
        <link>https://medium.com/@dragarfrenk?source=rss-4e0fd4b4d9d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vr6Ro4wQCYvyBvXivRdvoQ.jpeg</url>
            <title>Stories by Frenk Dragar on Medium</title>
            <link>https://medium.com/@dragarfrenk?source=rss-4e0fd4b4d9d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:48:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dragarfrenk/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[dohodnina.py — Izračun (dohodnine za študentsko) delo]]></title>
            <link>https://medium.com/@dragarfrenk/dohodnina-py-izra%C4%8Dun-dohodnine-za-%C5%A1tudentsko-delo-3ce1143032a2?source=rss-4e0fd4b4d9d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ce1143032a2</guid>
            <category><![CDATA[slovenija]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[taxes]]></category>
            <category><![CDATA[davki]]></category>
            <dc:creator><![CDATA[Frenk Dragar]]></dc:creator>
            <pubDate>Sun, 05 Mar 2023 15:40:33 GMT</pubDate>
            <atom:updated>2023-03-05T15:41:56.812Z</atom:updated>
            <content:encoded><![CDATA[<h3>dohodnina.py — Izračun (dohodnine za študentsko) delo</h3><blockquote><em>In this world nothing can be said to be certain, except death and taxes.</em></blockquote><p><em>Opozorilo: povezave za izračun dohodnine, vključene v ta blog so za leto 2021 in so zgolj informativne narave, ter kot take niso več relevantne za prihodnja leta kot dejanski izračun dohodnine — so pa poučna glede vidika “kako deluje slovenski sistem dohodnine”.</em></p><p><em>Ta blog je prenesen iz osebnega bloga dragar.digital/blog, izvirno napisanega februarja 2022.</em></p><p>Kot študent se do sedaj nisem kaj dosti rabil ukvarjati z dohodnino. Če imaš dohodke pod 3500€ bruto, dobiš vsako leto po pošti enkrat februarja pismo, da ti nisi nič dolžen državi, ona pa ne tebi, in to je bolj kot ne to.</p><p>Letos pa sem kot marsikateri vrstnik vzel absolventa in šel iskati izkušnje na trg dela. Do sedaj precej prijetna izkušnja, ki jo malce okrnila (šok) <em>pandemija</em> in <em>strah pred letnim obračunom dohodnine</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ik6F4OUjk-xitAmSm1SpfQ.jpeg" /><figcaption><em>Povprečen študent, ko zasluži nekaj denarja med absolventom</em></figcaption></figure><p>Koliko denarja moram dati na stran? Ali mi akontacijo dohodnine uredi že študentski servis? Ali se splača, da me starši prijavijo kot vzdrževanega družinskega člana? Ali bom moral spet uporabljati excel?</p><p>Spoiler: Odvisno, nope, odvisno, ni šans.</p><blockquote><em>Naša Finančna uprava je dovolj prijazna, da nam pripravi </em><a href="https://www.fu.gov.si/davki_in_druge_dajatve/podrocja/dohodnina/letna_odmera_dohodnine/"><em>stran z vsemi potrebnimi informacijami</em></a><em>, vključno z </em><a href="https://www.fu.gov.si/fileadmin/Internet/Davki_in_druge_dajatve/Podrocja/Dohodnina/Letna_odmera_dohodnine/Opis/Lestvica_za_leto_2021.docx"><em>word dokumentom z lestvicami in vsemi številkami</em></a><em> da si lahko informativni izračun naredimo sami. Prav tako imajo </em><a href="https://edavki.durs.si/EdavkiPortal/OpenPortal/Pages/Documents/Edit.aspx?id=2b2e6c1d-9f93-4d81-b9e7-62b57ad6f7c1&amp;new=true&amp;action=import"><em>spletni kalkulator — napoved za odmero dohodnine</em></a><em>, ki je funkcionalno popoln, a za hitri izračun morda preobširen.</em></blockquote><blockquote><em>Za študente obstaja dodaten </em><a href="https://www.fu.gov.si/fileadmin/Internet/Davki_in_druge_dajatve/Podrocja/Dohodnina/Dohodek_iz_zaposlitve/Opis/Studentsko_delo.doc"><em>dokument s strani FURSa</em></a><em>, kjer je še nekaj dodatnih pojasnil glede študentskega dela ter pripadajočih davčnih obveznosti.</em></blockquote><blockquote><em>e-Študentski servis ima tudi zelo lepo spisano </em><a href="https://www.studentski-servis.com/studenti/pomembne-informacije/dohodnina/"><em>stran z informacijami</em></a><em> in </em><a href="https://www.studentski-servis.com/studenti/izracun-dohodnine"><em>kalkulator za informativni izračun dohodnine</em></a><em>.</em></blockquote><p>Na žalost mi kljub tem virom ni bilo 100% jasno, kako ta izračun dejansko teče in na katere spremenljivke imam vpliv. Kot programerju mi je dosti bolj všeč kakšna psevdokoda, kateri lahko sledim po korakih in s spreminjanjem spremenljivk hitro poskusim različne možnosti.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMLsg7ILVVVArThQ-4vNDw.jpeg" /><figcaption><em>Jaz, ko pomislim da bom moral za nekaj uporabiti excel</em></figcaption></figure><p>Zato sem naredil svoj lastni informativni izračun v Pythonu, kjer lahko na hitro preverim različne hipoteze.</p><p><a href="https://trinket.io/embed/python3/04c90d7723?outputOnly=true&amp;runOption=run&amp;start=result">Izračun dohodnine za zaposlenega</a></p><p><a href="https://trinket.io/embed/python3/843521a7af?outputOnly=true&amp;runOption=run&amp;start=result">Izračun dohodnine za študenta</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lw4_yjilKu4ngHj2bCIsDg.jpeg" /><figcaption><em>Bralec tega članka, ko lahko zelo hitro in preprosto informativno izračuna dohodnino</em></figcaption></figure><p>Sedaj pa smo prišli do dejansko praktičnega dela te objave:</p><p>Predpostavimo da starša zaslužita 30k in 40k letno bruto, ter da je eden izmed otrok mladoleten, drugi pa študent, ki ima lastni zaslužek. Recimo da uveljavlja oba otroka kot vzdrževanega otroka/družinskega člana celotno leto starš, ki zasluži več (poskusite tudi obratno!).</p><blockquote><strong><em>Možnost #1: Študent dela med vikendi v baru<br></em></strong><em>8 ur, 2 dni na teden, 40 tednov v letu, 8e/h bruto = 5200 eur bruto Razlika med prijavo študenta kot kot vzdrževanega družinskega člana in brez je -589.37€, torej se študenta splača prijaviti kot vzdrževanega družinskega člana.</em></blockquote><blockquote><strong><em>Možnost #2: Študent dela v part-time med študijem za nadpovprečno plačo</em></strong><em><br>4 ure, 5 dni na teden, 40 tednov v letu, 12e/h bruto = 9600 eur bruto Razlika med prijavo študenta kot kot vzdrževanega družinskega člana in brez je -64.89€, torej še zmeraj študenta splača prijaviti kot vzdrževanega družinskega člana.</em></blockquote><blockquote><strong><em>Možnost #3: Študent dela full-time med absolventom za zelo nadpovprečno plačo</em></strong><em><br>8 ur, 5 dni na teden, 40 tednov v letu, 16e/h bruto = 25600 eur bruto Razlika med prijavo študenta kot kot vzdrževanega družinskega člana in brez je 260.79€, tokrat pa se študenta ne splača prijaviti kot vzdrževanega družinskega člana.</em></blockquote><p><a href="https://trinket.io/embed/python3/c38f3d366e?outputOnly=true&amp;runOption=run&amp;start=result">Izračun dohodnine za celotno družino</a></p><p>Kot vidimo, je vse odvisno od bruto dohodkov staršev in študenta. Načeloma se ga splača uveljavljati kot vzdrževanega, razen če je v preteklem letu zaslužil res veliko denarja.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIXgCYjXESmhbfagpiILOQ.jpeg" /><figcaption><em>Jaz med branjem vseh informacij o dohodnini</em></figcaption></figure><p>Pomemben nasvet za fellow študente: poleg uveljavljanja vzdrževanega družinskega člana, lahko z uveljavljanjem dejanskih stroškov prevoza in nočitev pridobite še nekaj dodatne davčne olajšave. Več informacij je v <a href="https://www.fu.gov.si/fileadmin/Internet/Davki_in_druge_dajatve/Podrocja/Dohodnina/Dohodek_iz_zaposlitve/Opis/Studentsko_delo.doc">dokumentu s strani FURSa</a>.</p><blockquote><em>Funkcije v članku rahlo poenostavljene — ne vsebujejo vseh vnosov, pri izračunu za celotno družino recimo ne moremo vnesti informacij o dodatnem pokojninskem zavrovanju in invalidnosti ipd. Zato je celoten izdelek objavljen na </em><a href="https://github.com/frenkd/dohodnina"><em>Githubu</em></a><em>, kjer se lahko z minimalnim znanjem programiranja poigrate z vsemi možnimi vnosi.</em></blockquote><p>Kaj sem se naučil:</p><ul><li>kako deluje izračun dohodnine v Republiki Sloveniji.</li><li>python skripte se da vložiti v spletno stran z <a href="https://trinket.io/">trinket.io</a></li><li>odpovej Adobe Stock free trial, ker drugače boš plačal 30€ za 4 neumne fotografije</li></ul><p><em>Si opazil/a kakšno napako v kodi? Dodaj PR na </em><a href="https://github.com/frenkd/dohodnina"><em>Github repo</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ce1143032a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An escapade into Bioinformatics — A Computer Scientist’s perspective]]></title>
            <link>https://medium.com/@dragarfrenk/an-escapade-into-bioinformatics-a-computer-scientists-perspective-704b7c3d998d?source=rss-4e0fd4b4d9d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/704b7c3d998d</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[cryo-electron-microscopy]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Frenk Dragar]]></dc:creator>
            <pubDate>Sun, 05 Mar 2023 15:19:43 GMT</pubDate>
            <atom:updated>2023-03-05T16:01:29.821Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>An escapade into Bioinformatics — A Computer Scientist’s perspective</strong></h3><p>There is a lot of talk about interdisciplinarity in today’s world. To me, it almost gives the impression that we’ve collectively dug quite deep in some very foundational fields in our sphere of knowledge — and left some gaps between those fields untouched, ready for exploration. I met a bunch of nice people and listened in to a few excellent talks at a bioinformatics meetup in Utrecht a couple of months ago. I was impressed and perhaps almost surprised when I found out that the techniques used by researchers in the field are very similar to the state-of-the-art in the fields I’m more familiar with — artificial intelligence and computer science. Deep learning techniques such as convolutional neural networks and RNNs are being applied to DNA sequences for example, and data analysis techniques I learned in my BSc subjects of data mining, where we explored totally different datasets other than molecular or genetic data were being deployed to great success on various experiments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*flm3Q3hkROPG9stojF9UGg.png" /><figcaption>UBC Symposium on October 10, 2022: “AI in bioinformatics”</figcaption></figure><p>But after a discussion with one of the more senior researchers, we came to the conclusion, that he — with his rusty course knowledge of computing from the late 90s — didn’t exactly understand the all of the methods being explained in these presentations — and I — with my rusty biology knowledge from high school — didn’t exactly “get” all of the biology jargon. We agreed that interdisciplinarily educated folks, who have some knowledge on both, will probably be extremely useful in the years to come.</p><p>Fast forward a few months, and I’ve started an internship at a biotech startup called <a href="http://cryocloud.io/">CryoCloud.io</a>. I met the founders at our university’s incubator — <a href="https://utrechtinc.nl/">UtrechtInc</a>, at a startup-talent mixer event and was really impressed with what they were doing, and they were excited that I had worked with a lot of the technologies they use in the development of their application from my past projects in freelancing and student work. After some bureacracy, our CEO’s PhD thesis defence, the after-party, and a couple of onboarding sessions, I am now working on implementing collaboration capabilities in our application for cloud-processing of cryogenic electron microscopy (cryo-EM) data.</p><figure><img alt="Utrecht University’s PhD defence hall, at Robert’s PhD defense" src="https://cdn-images-1.medium.com/max/767/1*X5xZWHrt1azDevlkFe67Ag.png" /><figcaption>Utrecht University’s PhD defence hall, at Robert’s PhD defense titled “Studying translation by Cryo-Electron Microscopy”</figcaption></figure><p>This being a student job, I want to do what students do best — learn! My colleagues have been amazingly welcoming in sharing their very varied and complementary experience in machine learning, devops, full-stack and OS-native software development, and structural biology. I have been soaking in the development knowledge through my tasks, and getting some domain knowledge through diffusion and various resources.</p><p>So, what have I learned? Well, let’s start of with CryoEM — the <a href="https://www.nobelprize.org/prizes/chemistry/2017/press-release/">2017 Nobel prize in chemistry</a> was awarded to three pioneering scientists ‘for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solution’.</p><p>Here is my attempt at a very layman, in-a-nutshell explanation:<br>- you prepare your sample of proteins you want to look at<br>- freeze them to -180°C (the “cryo” part)<br>- put them under an electron microscope (the “electron microscopy” part)<br>- let the microscope do its magic and take “pretty pictures”<br>- process the potentially terabytes of data from a single experiment (the “cloud processing part”)</p><figure><img alt="Cryo-TEM image of GroEL suspended in amorphous ice at 50000× magnification." src="https://cdn-images-1.medium.com/max/1024/1*jQjfh2YHGtuoTX0o5l5lYg.jpeg" /><figcaption><a href="https://en.wikipedia.org/wiki/Cryo-TEM">Cryo-TEM</a> image of <a href="https://en.wikipedia.org/wiki/GroEL">GroEL</a> suspended in <a href="https://en.wikipedia.org/wiki/Amorphous_ice">amorphous ice</a> at 50000× magnification. <a href="https://commons.wikimedia.org/w/index.php?curid=4560672">By Vossman — Own work, CC BY-SA 4.0,</a></figcaption></figure><p>A great beginner friendly article on it is <a href="https://www.chemistryworld.com/news/explainer-what-is-cryo-electron-microscopy/3008091.article">Chemistry World’s Article on CryoEM</a>. And what our company does is very well described <a href="https://cryoem101.org/chapter-5/">here, in chapter 5 of the excellent “CryoEM101”.</a></p><p>There is also a load of potential for and in-progress use of <a href="https://www.mdpi.com/2075-1729/12/8/1267">AI in the field</a>!</p><p>These are just the first steps in my bioinformatics journey. I hope to learn much more in the near future. What do you think about the field? Do you have any similar experience in trying a new field? Are you perhaps a biologist who had to learn more about AI or computer science for your work? I’d love to hear your perspective on it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=704b7c3d998d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>