<?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 Jonathan Acosta on Medium]]></title>
        <description><![CDATA[Stories by Jonathan Acosta on Medium]]></description>
        <link>https://medium.com/@poifox?source=rss-253f46bc3d15------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AI5XY2ksxZL467O4RZuraA.jpeg</url>
            <title>Stories by Jonathan Acosta on Medium</title>
            <link>https://medium.com/@poifox?source=rss-253f46bc3d15------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:36:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@poifox/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[Tribalism, Creationism, and legitimacy.]]></title>
            <link>https://medium.com/@poifox/tribalism-creationism-and-legitimacy-a32afe4b0f77?source=rss-253f46bc3d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/a32afe4b0f77</guid>
            <category><![CDATA[creationism]]></category>
            <category><![CDATA[tribalism]]></category>
            <category><![CDATA[legitimacy]]></category>
            <dc:creator><![CDATA[Jonathan Acosta]]></dc:creator>
            <pubDate>Mon, 11 Apr 2016 19:34:53 GMT</pubDate>
            <atom:updated>2016-04-11T23:16:27.090Z</atom:updated>
            <content:encoded><![CDATA[<p>My friend <a href="http://lauralee1.blogspot.com/2016/04/creationist-vs-atheist-or-christian-vs.html?spref=fb">Laura posted this very nicely executed piece</a> on her website about her views on two very difficult questions to answer.</p><p>One is <em>“When and how was the Earth created/formed?”</em> and the other is <em>“How did life arise and how can you explain its immense diversity?”</em></p><p>She’s very open about her views, specifically that she does believe that the Earth may be millions of years old and that Evolution might have actually happened but under the guidance of God. In other words, she’s an “Old Earth” Creationist (OEC).</p><p>She also takes a leap of faith, hoping that people, specially those close to her, will try to understand a couple of “hows” and “whys” she’s come to her own conclusions.</p><p>Her points are good ones, and I’d like to express my utmost admiration to her for taking a stance in favor of evidence based thinking.</p><p>Laura’s focus is not the Creationism vs. Science debate though, that is another discussion completely. Her main concern is the fact that she gets derided by her Christian peers for not being “an actual Christian,” because she will contemplate other possibilities instead of limiting her thoughts to the literal truth contained in the Bible.</p><p>I feel ya. I’ve been there.</p><p>Of course this is a very well studied phenomenon; members of a group of people will discourage dissent in favor of social stability in the most varied ways, from gossiping about you, to frankly calling you out on your “freak” opinions, to outright violence; it’s part of the same social mechanic: You must conform to the norm, else you’re not normal, hence not “one of us.”</p><p>In short, precise terms: tribalism.</p><p>Laura, you are very right to feel indignant about this attitude, it gets annoying quickly, and can also affect your relationships with people around you. I truly wish your post doesn’t become a source of hate towards you, but I know people better.</p><h3>Actually, you’re not a good Christian, Laura.</h3><p>OK, I said it, I’m a jerk, sorry about that… But let me explain my thinking.</p><p>Most ideologies change over time, those that don’t are phased out or become inflexible regimes of thought everybody else hates (WBC comes to my mind as I type this; North Korea? You know the type.)</p><p>Christianity too has changed over time, and it’s changing right now, this is something you can’t avoid. Christianity is too big to hold together as a single entity (Except for Jehovah&#39;s Witnesses, but those are a special case). This is why there are schisms every few years, this is why Evangelical Christians don’t hold the exact same creed and have varying degrees of homophobic, misogynistic, and PC stances.</p><p>I’m pretty sure you’ve been to another church where the pastor said something that contradicted what your childhood preacher said and taught you to be true, and you felt an internal flinch you had to actively ignore or suppress. If not, then you’re lucky, cos I got those shivers every time we went to some new church.</p><p>You’d be appalled by the kind of Christianity I grew up in. Just 25 years ago, people in my hometown were still debating if women were allowed to wear jeans, or keep their hair short.</p><p>Back in my late teens, if I said “mae” (sort of like “dude”,) I was a secular heathen and I needed to pray to God to remove that word from my vocabulary, nowadays I can use the word in church (if I ever went to church,) in the youth gatherings, anywhere, and I would not be frowned upon.</p><p>That’s just 25 to 15 years ago, around the time you were born and were growing up. Imagine how Christianity was 100 years ago, or at its earliest stages. I assure you, you would not recognize a Christian person until they insisted that they were. By their standard we probably commit hundreds of little heresies every day, and they would as well if we judged them by our modern standards.</p><p>This applies too for most of the non-central Christian creed. As long as you don’t deny the divinity of Jesus or his role as the savior of humanity, you’re good to believe almost anything around that; you can pirate Christian music and justify it by saying it’s for spreading the word of God (I know people that do this.) nobody will care, you could even preach as a woman in your church and nobody will say anything (Paul would have a couple things to say I’m sure.). You can believe anything… as long as the rest of your surrounding Christian peers also believe it, otherwise you become a fringe Christian, a rebellious heathen, an illegitimate worshiper.</p><p>Now you’re part of a fringe of Christians who think Evolution kinda makes sense. You know that somethings you can’t deny, and evidence is one of those things. Evolution has mountains of evidence, and this is why scientists are pretty darn sure it’s true. You’ve probably been convinced by this evidence, and that’s good. That proves you have the strength to accept reality as it comes, and not as you wish it to be. I do think you don’t go far enough, but then again, let’s not digress.</p><p>Being a “good Christian” will be yours in time; when you guys are not a fringe anymore. Many years from now most Christians will think Evolution (or some God-flavored variant of it) is true, and you’ll be a “good” Christian again. This leads to other branches of how Christians will assimilate belief in Evolution and integrate it into their ethos, but that’s also another discussion, not for today.</p><p>Ken Ham will fade out (I’d like to think he already is). His divisive discourse is to be completely smashed by social progress and changing times. He and his creed will fade into oblivion and what being a “good Christian” means will be a completely different thing.</p><p>So, even though we don’t share a common creed or faith, I’d like to encourage you to keep thinking, to keep asking questions. The people that ask hard questions are the most important people, they make the world move forward.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a32afe4b0f77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Work in Progress]]></title>
            <link>https://medium.com/@poifox/work-in-progress-c7d8bb07ccb1?source=rss-253f46bc3d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7d8bb07ccb1</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[computerbuild]]></category>
            <dc:creator><![CDATA[Jonathan Acosta]]></dc:creator>
            <pubDate>Tue, 09 Feb 2016 00:19:40 GMT</pubDate>
            <atom:updated>2016-02-09T00:19:40.704Z</atom:updated>
            <content:encoded><![CDATA[<h4>A beginner’s journey through computer building.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DQlx1gHxlWheFDIaAtNUzw.jpeg" /></figure><p>I’ve always been into computers. But I never took the time to build one. Of course you can learn the very basics on the Web and YouTube about what parts make a computer but building your own rig is an art on its own.</p><p>2015 was the year my old ass computer started getting in very bad shape. It was around 8 years old, I had purchased parts for it, namely new RAM and a new power supply, but in February 2015, the symptoms of it’s ultimate demise started to get too noticeable to ignore: incredibly slow boot times, sluggish program loading and execution (let’s not talk about loading the RAM-hungry Google Chrome), and so on.</p><p>At this point I had to make a purposeful effort to get new hardware and with the help of a few days of extra work in September I was able to save some money for my first purchase. Slowly but surely every part has reached my house and each has been put into my brand new system, which I can’t stop talking about, like a father with his new baby. I now have my new computer all nice and dandy, running at its best.</p><p>But getting there was quite tortuous. the first thing you ask yourself is “where do you start?”</p><p>Talking about gigabytes and gigahertz is very easy, making informed decisions about hardware is not, if you’re just getting started with building custom computers.</p><p>So here I offer you a checklist for picking up computer parts, and offer you some pointers along the way so you can choose what fits your needs best. Iv’e ordered this list in a particular order, which what I think are the most important parts at the top and diminishing in importance as you scroll down.</p><p>Enjoy!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xV6qVOKHxJ8f4ghTt4zV6g.jpeg" /><figcaption>My system’s final specs.</figcaption></figure><h3>Pick your CPU first, everything else can wait.</h3><p>Do you need a steady system or a full blown gaming power horse? Your CPU will be the one part that dictates the performance of your system. Do you have a limited budget? Go AMD and fear not the “runs too hot” myth, that’s all that is, a myth (more on this when we talk about CPU cooler).</p><p>When picking the CPU look for the features you need: are you going to be running virtual machines? You’ll need virtualization support. Do you need maximum performance for games? You’ll want to get a quad-core, at least. Are you doing spreadsheets or web development? Then almost any CPU will be good for you as these tasks don’t consume too many resources. Do you wanna build a render machine for <a href="http://www.blender.org/">Blender</a>? An octo-core may be your best choice.</p><p>I myself got an <strong>AMD FX 6300, 6 core CPU @ 3.5 GHz</strong>. Comes with support for virtualization and very good power saving features. I know I won’t beat an “equivalent” Intel CPU on benchmarks, but it will be more than enough for a couple years. It also supports dynamic CPU under and overclocking depending on the work load, so it saves a lot of power when idle or browsing the web, but will quickly overclock up to 4.2 GHz in short bursts when needed, say, for video or Blender rendering.</p><h3>Your motherboard is your central hub.</h3><p>Your motherboard has to be able to support your CPU, this boils down to the motherboard having the appropriate socket type your CPU can sit on.</p><p>You just have to check your CPU socket type and identify motherboards with the same socket on them. My FX 6300 will sit on an AM3+socket, so my motherboard has to have an AM3+ socket on it. Same for Intel, if you pick a CPU that sits on a LGA 1150, then your motherboard has to have the LGA 1150 socket on it. You have to be very careful with this, you don’t wanna end up having to change a CPU because you missed this little detail.</p><p>At this point you will have a number of motherboard with the proper CPU socket that are candidates for your system. Now it’s time to decide based on other things you might wanna have in your system. the same method used with the CPU applies here: ask questions and answer them to narrow down your choices.</p><p>What type and capacity of RAM do you plan to put in your system? 16 GB, 32 GB, 64 GB? Your motherboard has to support it.</p><p>Do you plan to setup an SLI or Crossfire with your desired graphics cards? You motherboard will have to have at least 2 PCIe slots and support for the technology of your choice (SLI, Crossfire). PCIe bus lanes on the motherboard and CPU support for them will dictate if your cards speed will be throttled down because many times different slots run at different speeds.</p><p>The version of PCIe your motherboard supports will also be important for speed, PCIe 3.0 runs at double the speed of PCIe 2.0, which runs at twice the speed of PCIe 1.0. For most users PCIe 2.0 will be enough, even for gamers, you will have to use version 3.0 if you really <em>need </em>[1] to get the most out of your PCIe expansion devices.</p><h3>RAM is easy to pick.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k4zJs9AK40_HPo2E_yG9tA.jpeg" /><figcaption>Cable management, what separates the aficionados from the aficionados. There’s no mistake in that scentence.</figcaption></figure><p>RAM is your computer’s working memory; software and data is loaded to RAM for processing by the CPU, so the <strong>capacity</strong> and its <strong>speed/frequency</strong> are the most important factors about it. You will still need your motherboard to match your RAM type (DDR3, or DDR4) and frequency support (1600 MHz, 2400 MHz, etc.). Normally motherboards support a number of different frequencies and this will allow you to pick from different RAM frequencies, but when it comes to the DDR version, you’re locked to what the motherboard supports.</p><p>Capacity is easy to decide: the more RAM you can install the more software you can run at the same time without worrying about the speed of your system going down on a daily basis. These days, a minimum of 8 GB or RAM will be enough for most users; but if you’re planning to edit video or big raw photos, then adding more RAM will be a necessity.</p><p>Luckily RAM has become really cheap and switching from an 8 GB set to a 16 GB set will cost you just a few dollars more, specially if you’re gonna use DDR3, since DD4 is already displacing it as the new standard.</p><p>The frequency/bandwidth is a more complicated variable, but <em>usually</em> you can be confident that the higher the frequency the better the performance [2].</p><p>Finally, if you can get a hold of the motherboard user manual in PDF format before purchasing, it’s better to follow their recommendations on what RAM is validated for that particular motherboard, you don’t wanna buy a couple RAM sticks that will not work with the motherboard because they are not validated. Of course many RAM sticks that haven’t been validated will run well with your motherboard (I run my system with unvalidated ram sticks because I didn’t know about this), but it’s better to play it save when it comes to your brand new gorgeous system.</p><h3>The graphics card is (not) easy to pick.</h3><p>Not counting the power supply, we now have a computer: CPU, motherboard and RAM are picked and ready to go. Now we have to pick a decent graphics card for what we intend to do.</p><p>The main questions to ask yourself are the following, and they modify each other’s responses constantly before you decide, so you’ll have to iterate the questions back and forth a few times before making the final decision.</p><ul><li>How much graphics power do I need?</li><li>Do I have the budget to pay for that card?</li></ul><p>Picking a graphics card is primarily a matter of budget. A brand new, recent card will probably be the most expensive part of your system.</p><p>For example, my Nvidia GTX 960 (which is not a high end gfx card) cost me around $300 USD [3], three times as expensive as the next most expensive part, the AMD CPU, which was $100 USD.</p><p>Most of us want to have a 4 GTX 980’s in a 4-way SLI array for the ultimate 4K surround display setup... But imagine how much that would cost, very few people can afford such a system. This is the moment when you have to focus on what you <em>need</em> instead of what you <em>want</em>. I want the insane 980 in SLI setup but do I need it?</p><p>I’m not a hardcore gamer, nor a 3D artist, what would all those CUDA cores do all day in my web development machine but being idle 99.9% of the time, it would be a waste of money and computer resources.</p><p>If I ask myself what I actually need I might get the appropriate answer: I need a decent graphics card that can run my two 1080 displays with no problems, that plays video well at up to 60 fps and that has some decent support for casual gaming, I will also need it to do some occasional CUDA renders with Blender Cycles.</p><p>The final answer to my balance between what I want and what I need is the GTX 960, it has more than enough performance for my uses, it has 1024 CUDA cores that render twice as fast as my CPU, and runs my two 1080 display with absolutely no problems, if I take good care of it, it will probably last for two or more years, which will also reduce my hardware spending very nicely.</p><p>Yes I’m aware that the GTX 950 would’ve been enough for me, but I actually had the budget to go up one tier and get a better gfx card :)</p><h3>The power supply is the heart of your system.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iByhMhEcXP_vx--cCCw99w.jpeg" /><figcaption>“Keep it clean, keep it tidy.” — Gandalf The Gray.</figcaption></figure><p>Everybody keeps talking about CPU cycles and megahertz and gigahertz and gigabytes and so on, so much so that we forget about the thing that feeds all those spec, the power supply.</p><p>It is important that you get a good power supply because that’s the one part that feeds energy to everything else.</p><p>Power supplies are compared by wattage, that is, the amount of power they can deliver to the other components.</p><p>You should also get a certified 80 Plus PSU, this way you make sure you power supply is of good build quality, and efficient across the board, from low usage to full load.</p><p><a href="http://outervision.com/power-supply-calculator">This online tool</a> will help you pick a power supply for your system. Buy something a little overpowered, you can’t simply run a 400 W system on a 400 W PSU, leave some headroom for extra performance and even future expansion.</p><h3>Nobody talks about how to choose a UPS.</h3><p>I live in a place where power surges, brownouts and blackouts are fairly frequent, which means that my computer is at constant danger if I don’t run it behind a UPS with surge protection, so a UPS is a must for me. But that’s not all there is to picking a UPS! Let me tell you a short story:</p><p>When I bought my GTX 960, I simply came home, opened the computer case, swapped my old ass graphics card with the brand new one, and started running benchmarks like crazy to see the performance. Everything looked awesome; but suddenly, after 10 minutes of running the benchmarks, my UPS gave one great beeping sound and the computer turned off. I had exhausted my UPS’s battery in 10 minutes.</p><p>Luckily nothing happened to my computer but I learned, in quite a hard way, that UPSs don’t simply bridge your devices and the wall outlet, they actually have limits as to how much current they can pass to connected devices.</p><p>So for the rest of the month I can’t run benchmarks, or game, or render for too long in Cycles, until I get a new PSU that supports my power hungry system.</p><p>According to the calculations from the tool I linked in the section about PSUs, my computer consumes around 400 Watts at full load, so I’m gonna get a 1000 VA PSU, capable of outputting 500 Watts, because headroom is always good.</p><h3>IMHO, storage is the least important thing to worry about.</h3><p>So when I was building this rig I was pretty tired of the 2 minutes I had to wait for the computer to go from off to login screen in Ubuntu. I wanted it to be fast at all times, including boot time.</p><p>And so I got a 120 SSD for the OS for maximum boot performance. And perform it does. But now I realize that actually that’s the least of my worries, a 20 second boot time is nice to have but it’s probably the least important feature to put on a computer if you’re not, say, editing HD or 4K video.</p><p>SSDs are becoming more and more popular each day and their price is gown down dramatically each month, which is awesome, but if you wanna have a decent running system, a good old 7200 rpm HDD is good enough.</p><p>Of course, at some point, sooner rather than later, SSDs will phase HDDs out, so you can do whatever you want to do about this particular topic ;)</p><h3>The case is a sacred temple.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VIaHYKvaP4vFb4eNG6pgSQ.jpeg" /><figcaption>Except for those “ketchup and mustard” PSU cables, I’m goddamn proud of my computer.</figcaption></figure><p>Your computer case is the temple, the <em>sancta sanctorum</em>, that houses your system. We all love nice pretty cases, but there are things more important that looks from the outside. You’re gonna want to look for <em>internal features as a priority</em>.</p><p>A case can be as pretty and all, if it complicates your build and later upgrades, you’re gonna hate it util you get rid of it.</p><p>Features to look for:</p><ul><li>Can fit your motherboard: motherboards come in many sizes, are your motherboard and case compatible?</li><li>Good cable management: nowadays almost all cases come with cable management space at the back of the motherboard tray and slots to put your cables throug, this will be vital whan you start upgrading your system and need to get the components out quickly with not tangled cables to obstruct your work.</li><li>A lot of space for storage drives: 3 HDD/SSD slots on sleds is ideal, you can have a separate HDD for your document and data storage and another for your OS. Drive sleds normally can accommodate SSDs with the use of little screws.</li><li>Good width to fit your CPU cooler, fans and even radiators: some air CPU coolers are very tall/wide and you’ll need all the clearance possible to fit them in your case and being able to chose it properly afterwards.</li><li>Re-attachable back panel slot covers: You’ll feel horrible when you end up having a gaping hole in the back of your case because the slot covers can’t be nicely re-attached with screws.</li><li>If you’re a frequent user of USB thumb drives, get a case with front panel USB ports and the cable to attach them to the motherboard (most cases have them, and of course make sure the motherboard has a header for extra USB ports).</li><li>If you’re gonna be pushing your CPU or GPU with a lot of work load you’re gonna <em>need</em> a case with good ventilation and air filter at the intakes. Does your case come with incorporated fans? Perfect! Two fans are a minimum (one intake, one exhaust, and make sure your motherboard has enough fan headers to plug them all).</li><li>If you want to go into water cooling your system, then you’ll need a case that can fit radiators and even a reservoir inside. Some cases come with a couple round grommets in the back and a little latch to hook an external water reservoir so that may help you make custom water loops.</li></ul><h3>Stock CPU coolers are bad for your computer.</h3><p>When I bought my new CPU and motherboard and put those to work, I immediately noticed that my CPU was running quite hot at around 65 C at full load. That of course is not an alarming number, but I was very interested in making my system durable by not stressing it with high temperatures (remember this is budget-y build).</p><p>So I decided that I’d get a better CPU cooler than the stock one. After a little research I realized that water systems were a bit too expensive for me at the moment so I decided to get an air cooler.</p><p>I decided I would get the one everybody gets, the Hyper 212 EVO from Cooler Master, I got it a week later and installed it on my system and was completely blown away. My system stays at around 34 C when idle, and it never goes over 48 C at full load!</p><p>I’ve decided I’m not using stock cooling ever again, this is game changer for me.</p><p>I haven’t delved in water cooling yet but I’d be interested to give it a try in the future, I’m sure I can get even better temps that way.</p><h3>MOAR FANS!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p7ZgOqepiOmJ6NETn9xgxQ.jpeg" /><figcaption>More fans equals less dust and cooler run time.</figcaption></figure><p>I’m super finicky about running my system cool, and to accomplish this you need fans to drive air into the case so the heat sinks can properly do their job, dumping all that CPU and GPU heat into the fresh air.</p><p>Right now I have 3 intake fans setup, two in the front, one at the bottom; this maximizes air intake and keep the pressure inside the case ever so slightly higher than outside, which, allegedly, helps prevent dust build up inside the case.</p><p>I also have a single exhaust fan, running kinda fast so it balances out the extreme intake flow.</p><p>All my fan intakes have filters on them so that has helped (and still does, of course) reduce dust entry; they are not perfect filters though, the finest dust grain still go through it, but bigger lint and abrasive dust stay in the foam and mesh.</p><h3>That bling tho.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNRYswRXEKGNzw-BsfAUXA.jpeg" /><figcaption>Just because you can, doesn’t mean you ought to… oh well…</figcaption></figure><p>If I’m honest I never thought I’d be getting LED strips for my computer case but when I saw the acrylic windows getting wasted in the darkness next to my desk I decided to give the bling treatment to my rig, and so I got a Satechi LED set and got it installed. I love it. Being able to glance at the inside of the case without diving under the desk is nice to have, and all the shiny parts inside look just great.</p><p>This should also make dust more evident and make me clean the inside of the computer more often, as it deserves.</p><p><strong>Notes:</strong></p><ul><li>[1] <em>Want</em> versus <em>need</em> are very different matters, check this video from computer building mastermind <a href="https://www.youtube.com/watch?v=_-VVBl9_2Xw">JayzTwoCents</a> in which he talks about the difference of what you want and what you actually need to build a satisfactory setup.</li><li>[2] RAM frequency and bandwidth is actually a much more complicated topic, for more info check <a href="https://www.youtube.com/watch?v=dWgzA2C61z4">this video by LinusTechTips</a> about how these factors affect the RAM performance.</li><li>[3] Because I’m from Costa Rica, and tech over here tends to be quite more expensive than buying in the US.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7d8bb07ccb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t learn blender scripting]]></title>
            <link>https://medium.com/@poifox/don-t-learn-blender-scripting-f993b6d31ee8?source=rss-253f46bc3d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/f993b6d31ee8</guid>
            <category><![CDATA[blender]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Jonathan Acosta]]></dc:creator>
            <pubDate>Tue, 27 Oct 2015 19:15:14 GMT</pubDate>
            <atom:updated>2015-10-28T02:34:18.697Z</atom:updated>
            <content:encoded><![CDATA[<h3>Don’t learn Blender Scripting.</h3><h4>Learn how to program instead.</h4><p>I need to come clean about that title: <em>this is not and anti-Blender rant, you definitely should learn the Blender API if you are so inclined, or need it for skill building or work.</em></p><p>So why did I start with that title, then? Well, because I need your attention, specially the attention of the programming newbies.</p><p>Now, I gotta make one thing clear: this post is long and is aimed at those who want to take up coding for serious production. If you don’t like to read long posts, or are not thinking about hacking Blender for production environments, then you can browse away now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*ex6V2VYtPX2fTka9DJpdgg.jpeg" /><figcaption>“This post is for warriors. You’re not a warrior, bye!”</figcaption></figure><h4>A bit of back story.</h4><p>My name is Jonathan Acosta, I’m a <em>self-taught</em> Web developer. I’ve been the developer behind Blend Swap for the last 5 years.</p><p>I started out as a total newb to the craft of coding for the Web. I’ve gained a lot of experience by sheer trial and error. But with every mess up and headache has come great learning and refinement of my hacking skills.</p><p>I wrote my first <em>“Hello world!”</em> program in Javascript, back in 2006, while following a simple W3C tutorial on basic website programming. Back then I had to force myself to learn how to read code documentation and API references, it was a constant struggle and I really didn’t have a big goal in mind, other than learning how to program. the next year I tried some Processing, and even wrote some tools for it, which unfortunately are now extinct because of my lack of time for maintenance.</p><p>My time with Processing lead me to programming other things later in life, and eventually led me to having my own personal business as a freelance Web developer. It is a job that I enjoy a lot and I hope to keep doing for many years to come. The Web is always changing and putting new challenges in your way, and takes the boredom out of the equation. Plus telling computer what to do feels great. ;)</p><p>Now, I gotta be clear: I’m NOT an expert in everything there is to know about writing code, but I do have some insights about software development and I’d like to contribute some words of advice for the newcomers.</p><h4>So, you wanna script the crap out of Blender?</h4><p>Many of us will reach the point when Blender won’t be able to do exactly what we want it to do. Many have already gone through that, and now those moments are landmarks for the birth of new, incredible Blender addons, like the epic <a href="https://cgcookiemarkets.com/all-products/retopoflow/">Retopo Flow</a> and <a href="https://cgcookiemarkets.com/all-products/blender-muscle-tools/">Muscle Tools</a>. These plugins stand out from the rest because they implement functionality that Blender lacks completely, and also because of the very professional user experience you get when using them.</p><p>These tools didn’t simply arise from the developers waking up one Saturday morning and simply saying “I’m going to script this awesome new feature for Blender, even though I don’t know anything about coding.”</p><p>No. The creators of these and other great tools have honed their skills to the point they are able to get almost anything done with the Blender API. These skills are built on top of one another, in increasing level of complexity and power, from the very basics of what programming is, to very advanced topics like writing your own clever algorithms, classes and libraries.</p><p>They needed good working knowledge of the basics of programming principles, the language they’re working on, and the API their software is based upon, in this case Blender’s API.</p><p>If you wanna play in the same field, you’ll have to build those same skills, because otherwise you won’t be able to program amazing things, or maintain and fix your code, much less change or customize somebody else’s.</p><p>So here are some recommendations for the newbies about how to write great code, from your first <em>“Hello world!”</em> program, to your amazing brand new addon.</p><h4>1 — Forget about Blender (for now), learn how to program first.</h4><p>Do you know what a control structure is? A class? An instance? An object? An array? No?, then you should NOT be learning how to script for Blender right now. Instead you should be learning the very basics about programming, what it is and what you can accomplish with it.</p><blockquote><strong>Programming is both very easy and very hard, at the same time.</strong></blockquote><p>The basics of programming are simple enough that you’ll have a good understanding of them in a month or so. But implementing your desired functionality is sometimes difficult, very difficult; and even more so if you don’t know the basics about writing your own types, functions and classes; instantiating those classes into objects, and using them to accomplish your goals through logic operations, iteration, error handling and debugging.</p><p>Did that last paragraph sound like an obscure witchcraft incantation to you? Then you should be learning how to program <em>right now</em>. Believe me, I didn’t say anything obscure up there.</p><p>Why am I advising you to learn programming first?</p><p>Well, just as a rhetorical exaggeration, I’ve lost the count of how many times I’ve seen users asking this on the Blend Swap Questions section:</p><blockquote><strong>“</strong><a href="http://www.blendswap.com/questions/view/1575"><strong>How</strong></a><strong> do I </strong><a href="http://www.blendswap.com/questions/view/1058"><strong>learn</strong></a><strong> </strong><a href="http://www.blendswap.com/questions/view/1075"><strong>scripting</strong></a><strong> in </strong><a href="http://www.blendswap.com/questions/view/821"><strong>Blender</strong></a><strong>?”</strong></blockquote><p>I’ve also received PMs about the same topic.</p><p>My answer to those questions about how to script for Blender has always been the same:</p><blockquote><strong>Learn programming first. THEN learn the Blender API.</strong></blockquote><p>Why? Because you won’t be able to adapt your code to changing conditions if you don’t know how to use logical operations with <strong>if-else</strong> statements; you won’t be able to batch process a bunch of mesh objects if you don’t know how to use a <strong>for</strong> or <strong>while</strong> loop; your scripts may become huge, unmanageable, spaghetti-like jumbles of code if you don’t know anything about encapsulation, modularity and single-responsibility code.</p><p>What happens when the code you copy-pasted from an old scripting tutorial doesn’t work anymore? Can you effectively read the Blender API documentation in order to fix it on your own? Can you enhance, fix and extend somebody else’s code? Can you add new features to it?</p><p>If you learn the basics of programming you will be ready for anything that may come in the future, you’ll be able to change, optimize and even completely re-write entire scripts with better implementation and clever algorithms that otherwise you will never know how to write.</p><p>This is a fairly common knowledge hole in the Blender community, but very particularly for BGE-based game developers, they want to make the next gaming big hit, but they mostly have no basic knowledge of programming to achieve that goal, and if there’s one field in 3D that <em>requires</em> you to know programming, that is game development.</p><p>Of course there are no culprits to this hole in our knowledge as a community; no one is to blame. Most people have never had the need to know how to code because a great deal of tasks can completed in Blender with mouse actions and keystrokes. Others, I’m sure, are intimidated by just the thought of having to learn how to program.</p><p>Also, and as far as I know — and compared to all other Blender education topics out there — , Blender API educational courses and tuts are very scarce; there’s close to zero quality content about programming for Blender[*], while the rest of the program has been extensively covered by awesome education sites like <a href="http://blenderguru.com/">Blender Guru</a> and <a href="http://cgcookie.com/">CG Cookie</a>.</p><p>I attribute this to the fact that 3D artists are precisely that, <em>artists</em>. Programming hasn’t been truly needed to produce art until recent years, but nowadays 3D industries like VFX, gaming and data visualization are growing exponentially and they all demand a good grasp of programming from those interested. Beyond this, there is a very clear trend for the future as well: programming will be an integral piece of every part of life, learning how to code will not only help you achieve your current goals, but it will also open better opportunities for you in the future.</p><h4>2 — You should learn a programming language well.</h4><p>So now you wanna learn programming. Awesome!</p><p>Don’t be intimidated by the task at hand. As I said before it’s easier than you think. But be warned, I also said it is harder than you think, at times, really freaking hard, and one of the contributing factors to having a difficult time learning how to program is the language you choose to learn.</p><p>A few years back I started learning C++. It was nearly impossible for me, because while it is tremendously powerful, it is also complex, full of weird syntax and counter intuitive features. I certainly do NOT recommend you trying to learn C++ as your first language; although, if you actually learn it, any other language will be way easier to write compared to it.</p><p>We are very lucky about the Blender developers’ choice for the scripting language it supports: Python 3. It is powerful and easy to learn, it comes wrapped up in every Blender installation and you have access to it right there in Blender’s console and text editor.</p><p>The logical conclusion is that, if you’re going to script for Blender, but you don’t know how to program, then <em>you should be learning Python</em>.</p><p>Now, getting started with Python can be a bit weird if you haven’t written a single line of code yet. So I’ll link you to this awesome online, in-browser <a href="https://www.codecademy.com/tracks/python">Python course on Codecademy</a>. You don’t have to install anything to your computer to follow along, just open the page, signup and complete the course; it will get you started with the basics of programming with Python, it will teach you the very basics: from the primitive data types and control structures; to lists and more complicated types; to loops, functions, classes and methods.</p><p>This advice also applies if you’re beginning with Web development and you want to develop your site in, say, CakePHP or Laravel, you should know how to program and also some PHP before you dive into the frameworks, same for Browsers, Node.js and Javascript; Unity and C#, Django and Python, Rails and Ruby.</p><h4>3 — Whatever course you start, make sure you finish it.</h4><p>This is an important part of learning how to program. Some topics will be difficult to different people depending on the experience they get out of a course. Eventually you will come to understand those difficult parts, but it is important to have them, at least, mentioned to you in courses and tutorials. Put another way: <strong>if you find a topic particularly difficult while learning how to program, don’t skip it, read it anyway, you’ll likely see that topic again in the future; as you’re repeatedly exposed to the concept you become more likely to finally understand what it does and how to use it.</strong></p><p>For me, the part I had to go over and over again was Object Oriented Programming (OOP), writing classes was very hard for me at the start because I didn’t understand how the classes related to my code, and how I was supposed to use them; to me it was just a complex and mysterious thing I might never understand. Luckily I kept myself from ignoring it, I felt kept telling myself, maybe if I read it enough times somehow I’ll eventually understand it.</p><p>In the end this approach worked, I just needed to be exposed to the concept until the “ah-ha!” moment came to me. I’m still no absolute expert about OOP, but I have a good understanding of how to write and use a well structured class to make my code modular, easy to read and maintainable.</p><p>Finishing a course will also give you a great sense of accomplishment: you just went through something that was hard but you pushed your limits, and you came out victorious, you may still have some weak points to work on further, but now you’re not a total newb anymore. And that is something nobody else can do for you. Completing a course is particularly rewarding if the course offers a certificate, even if it’s a symbolic one.</p><h4>4 — Finally, you should learn the API you need to learn.</h4><p>For our purposes you wanna learn the Blender API, of course.</p><p>Once you’re comfortable writing code in Python it is time to apply your new knowledge to Blender, and to learn it’s extensive API (Application Programming Interface). APIs as the name suggests, are custom function and class interfaces with the environment you’re dealing with (in this case, Blender). An API contains custom classes, functions, objects and data that you can access to instruct the environment to do things for you. Web browsers have APIs too, so when you write Javascript for browsers you’re instructing the Browser to do things for you and your website user’s.</p><p>The Blender API facilitates access to the internal objects and data that make Blender tick; by having access to those objects and data you will be able to tell Blender what and how to do things for you, from very simple tasks to completely new features, tools and workflow enhancements.</p><p><strong>So learn the Blender API, learn it well, but only after you know how to program.</strong> This will reduce your suffering, and your having to post to forums and get no answers because no one else knows how to program. Get familiar with reading documentation, you’ll keep doing it as long as you have to lay down some code.</p><p>Now, there’s another thing I have to make clear here: I’ve spent almost no time programming for/in Blender, I’ve seen many code examples and I’ve been able to even <a href="https://github.com/Blendswap/blendswap-admin-tools/commit/2c048da77dfad66a446e1b2d133a18a502db7bc0">enhance other people’s code</a>[**].</p><p>Of course, that’s not a big achievement with Blender scripting by any means, but then again, that was something I was able to achieve because I have good working knowledge of how to program and how to read code and documentation; in my opinion, that’s more valuable in programming than anything else.</p><p>That’s it! This can (and should) lead to more discussions coding and advice for newcomers; by all means, leave some comments with recommendations and critiques.</p><p>Was I too harsh communicating my thoughts? Good.</p><p>Do you regard me as a hypocrite for not really knowing the Blender API? That’s probably right, but I don’t care: <strong>the main goal of this piece is getting all programming newbies to up their level,</strong> so they suffer less when confronted with incomplete documentation, broken code, missing features, deprecated APIs, third party code that needs fixing, debugging nightmares and so on.</p><p>Thanks for reading, see you on Python heaven.</p><h4>Notes:</h4><ul><li>[*] I’m sure there’s some incredible course about the Blender API out there, if so please let me know.</li><li>[**] See the green area to the right specially in <em>blendswap-admin-tools.py</em>, line 79 through 89. My enhancement adds Linux clipboard support, Windows and Mac OS X were already implemented.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f993b6d31ee8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>