owenSoft.net http://owensoft.net/ en http://owensoft.net http://owensoft.net/favicon.ico owenSoft.net http://owensoft.net/ Writing new code so that you can write old code faster (programming) (Articles) http://owensoft.net/v4/item/2389/ <a href="http://owensoft.net/v4/item/2389/"><img src="http://owensoft.net/v4/photo/thumb/2384.jpg" /></a><p>Recently I came up a situation while programming which required me to choose between passing a reference pointer to a structure or building a loop. Usually I would avoid pointer referencing but in this case I found that deferring the loop structure into another function ment that I could centralize all my loops into one place - speeding up my dev cycle.</p><h4>Its not all wine and roses</h4><p>This of course ment that I have to pass pointers to a shared structure which is a whole other can of worms involving putting things in a bucket and making sure that the bucket did not overflow or become randomly de-referenced at runtime.</p><p>But when I look at it I would could escape one headache for a lesser headache and I would come out with a net positive in the end.</p><p>Let me explain a little more. I originally had this;</p><pre><code> tree_list = get_my_stuff( &#039;tree&#039;, x, y, z ); foreach( tree_list as item ) { draw_tree(item); } </code></pre><p>This worked fine until the grouping of the list got more complicated;</p><pre><code> tree_list = get_my_stuff( &#039;tree&#039;, x, y, z ); foreach( tree_list as item ) { draw_tree(item); } grass_list = get_my_stuff( &#039;grass&#039;, x, y, z ); foreach( grass_list as item ) { draw_grass(item); } </code></pre><p>I needed more complicated things that did different tests and I need to do frustrum culling and many different draw_XXXX() functions needed to be created and called in different places. I certainly could not continue down the road as I was heading. In programming you always have to be looking for a better faster way of doing tasks and even if the code you are writing actually works you have to be able to balance you present success with future headaches;</p><pre><code> tree_list = get_my_stuff( &#039;tree&#039;, x, y, z ); foreach( tree_list as item ) draw_tree(item);</p><p>grass_list = get_my_stuff( &#039;grass&#039;, x, y, z ); foreach( grass_list as item ) draw_grass(item);</p><p>forest_list = get_my_stuff( &#039;forest&#039;, x, y, z ); foreach( forest_list as item ) { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tree_list = get_my_stuff( &#039;tree&#039;, x, y, z ); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach( tree_list as item ) draw_tree(item);</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;grass_list = get_my_stuff( &#039;grass&#039;, x, y, z ); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach( grass_list as item )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;draw_grass(item); } </code></pre><p>Even with clever code shortening skills you probably can see that no good will come of this. The actual code involved in draw_tree() is even more complicated that what can be shown here. Where drawing a tree I have to figure out the distance, height, position on the ground and a whole bunch of other values which are different for everything that I want to draw or hide.</p><p>I don&#039;t know if this a new trend but I was looking for ways to avoid deep looping and stumbled across this <a rel='external' href='https://stackoverflow.com/questions/38399334/how-can-i-avoid-for-loops-with-an-if-condition-inside-them-with-c' title='question on stack'>question on stack</a> in which the programmer is trying to back-port modern high level shortcuts to C++. Clearly ignorant to the fact that it&#039;s reduces code flexibility. But what&#039;s really funny is how he &quot;feels&quot; that he is doing something wrong by using a for loop with a condition. Lol</p><p>Could we be mind fucking these knew programmers into thinking that code style, frameworks and tab vs spaces is more important than actually writing simple and efficient code? </p><p>But anyway back to the issue at hand. The code though simple and clear was only going to get more nutty as time went by and I had to be copy and pasting all the tree drawing code every time I wanted to draw a forest, meadow, savanna or bush. What to do?</p><h4>In comes global lists and reference pointers</h4><p>So I figured I should start using one list for each thing that had a specific draw_XXXX() function. If I had trees - no matter where there were I would just put them into one list and draw all of them in one big loop;</p><pre><code> get_my_stuff_loop( &amp;tree_list, &#039;tree&#039;, x, y, z );</p><p>get_my_stuff_loop( &amp;grass_list, &#039;grass&#039;, x, y, z );</p><p>get_my_stuff_loop( &amp;forest_list, &#039;forest&#039;, x, y, z ); foreach( forest_list as item ) { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;get_my_stuff_loop( &amp;tree_list, &#039;tree&#039;, x, y, z ); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;get_my_stuff_loop( &amp;grass_list, &#039;grass&#039;, x, y, z ); }</p><p>foreach( tree_list as item )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;draw_tree(item); foreach( grass_list as item )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;draw_grass(item); </code></pre><p>To a novice coder this might seem like a genius plan but its not obvious that I have to do more work in the background to make sure that the get_my_stuff_loop() function run out of control and crash the system. Previously I could because of the nature of the individual loops I could tailor each list to the specific needs of the items I wanted to store in them. e.g. forest[4]. tree[20], grass[1000]. By making a generic loop I loose the control I had. Now I have to have a generic list array that can store every possible type of object. list_array[2000]. Which means that anytime I create something new I will have to allocate a big chuck of memory to it.</p><p>Even more so certain types of objects behave differently at certain distances like grass can be hidden when at a distance. All these issues were easily managed in the individual loops because I knew exactly what and where I was drawing so I could skip things that I felt no one would notice. I could skip every second tree ( 2 % i == 0) if I felt that they were far enough away that no one would notice.</p><h4>Conclusion</h4><p>With the new code I will need to send more parameters so that I can try to implement some of my old tricks;</p><pre><code> get_my_stuff_loop( &amp;the_list, type_name, x, y, z, level_of_detail, density, parent_id, x_size, y_size, z_size ); </code></pre><p>But its not all bad right? I can code up new objects at a rapid pace with almost half the code. I swapped out simplicity for quicker iteration while wasting a bunch of memory on big generic arrays. Hopefully everything is able to fit in RAM when I am done coding. The key take away is that in the initial phase I kept my structures as simple as possible so that I could work on the difficult features inside the draw_XXXX() functions. Once those were mastered I moved to the higher level functions and at that point I needed to ramp up the pace at which I coded. The only way I could do that is by hiding as much of the nitty gritty as possible. Lets hope I do not hit up and too many edge cases.<br /></p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2389/#comment">Post your comments on this article</a></p> 2017-07-18 09:50:27 Summer Snow (Logbook) http://owensoft.net/v4/item/2388/ <p>The man that knows something knows that he knows nothing at all. Everyone is secretly hoping they win the lottery in one way or the other. There is a hidden need or want for something inside of everyone. If its a need or a want is always the point of confusion. I just want to get through the day without hydroplaning into an unmovable object at 110 kmph. Life is all about physics - I have said this before. You are here, we are here until we are not. No use talking about what you plan to do next year when there are perfectly good things to talk about right now - in this instant. Hold your breath and feel the pressure build up inside you chest.</p><p>I was programming some stuff which I do for work until I came upon a problem that I could not solve by just being clever. These problems are the worse kind because I know I am no good and my limits are as clear as a brand new glass windows. The sun in the sky knows how I feel. I stare blankly at the wall hoping that a stroke of genius will free me from ignorance. I might have to just leave the problem and move until something else. Why stress yourself out?</p><p>Somethings I just have to avoid completely for my own sanity. I can - not - deal with - not even - one more addiction. I wont take your expensive fish fry ticket not because I do not like fish or do not want to support your meaningless cause but I can see far down the road and I am not about that life of suffering. Delayed suffering is pretty much the worse things you can do to someone. Good intentions aside I would rather say no right now that supper the disappointment which is certain to come down the road. Of course you have to spend you time doing something.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2388/#comment">make a comment</a></p> 2017-07-12 15:27:56 Scifi movies, AI, VR and pandering to layman (Articles) http://owensoft.net/v4/item/2387/ <a href="http://owensoft.net/v4/item/2387/"><img src="http://owensoft.net/v4/photo/thumb/2382.jpg" /></a> <a href="http://owensoft.net/v4/item/2387/"><img src="http://owensoft.net/v4/photo/thumb/2383.jpg" /></a><p>This is a age of broad media consumption. Every <a rel='external' href='https://www.merriam-webster.com/dictionary/layman' title='layman'>layman</a> has a computer in their pocket that they can use to send pictures of food to other computers half a world away and yet still science fiction movies are getting stupider by the day.</p><p>Let&#039;s start with movies like Ex Machina (2014); this movie starts out as hero worship - you have this guy who is supposed to be a super genius building sexbots in his designer palace except hes just a mysterious asshole. After that everything is telegraphed. The new trend in science fiction movies ‎of today is to skip the science fiction and go straight to the magic and paranormal. The movie does not explain how anything actually works or even tries to create a believable world - even if the systems are not plausible - at least the movie should create something on which the viewer can ponder. Ex-Machinima gets rid of the entire notion of explaining how anything works right off the bat - shoves it into the pantry. What is left is a empty shell which you have to kind of fill in with assumptions. You assume that there is some kind of power source and you assume that something is managing it. Sometimes dreams are better than scifi movies - this is one of those cases.</p><h4>No need to explain any of the fiction</h4><p>The audience simply assumes everything works as if watching Harry Potter. This type of media appeals to a broader audience which I have dubbed the &quot;expert layman&quot;. The movie skips logic altogether and goes straight to magic. Magic in the past was normally regulated to the harder stuff like food processors in Star Trek or Teleportation.. These fictional things are kinda impossible but the way they looked and operated where clearly explained in the context where they are shown - they had a structure on which you could imagine it actually being real.</p><p>Nowadays, just like how virtual reality (VR) was supposed to revolutionize education and gaming back in 2015 (some how) solely by the fact that it is on your head, but yet - still no revolution. Remember tablets in schools? &quot;it is gonna be, good just wait!&quot; they said - potential can sell anything. VR has a tonne of potential but none of it is based in reality. It is all virtual potential. Everyone is either a <a rel='external' href='https://www.youtube.com/watch?v=IhP3J0j9JmY' title='believer'>believer</a> or part of a unpaid global marketing department.</p><p>Years later VR is still figuring itself out just like artificial intelligence (A.I.). Now people are calling basically anything &#039;cloud based&#039; = artificial intelligence. Gmail is a cloud AI that reads your email - yes its true - eventually it will write you emails and letters to your girlfriend as well. Magic! Google will figure out a way! Fake news will be a thing of the past. Companies with <a rel='external' href='https://m.youtube.com/watch?v=BaufJcqYcYg' title='cloud platforms/A.I.'>cloud platforms/A.I.</a> are begging developers to use their proprietary API so they can &quot;lock-in&quot; early. Big data turns Cloud turns Virtualization turns Search - whatever draws the biggest crowd. It is all marketing. No one knows anything, everybody is referencing a press release or something they heard on social media. I am not gonna knock a persons hustle but the least you can do is drop something more than pigeons and crumbs.<br />‎<br />Half the people on the A.I. train say its going to kill us, take away <a rel='external' href='https://pippinbarr.github.io/itisasifyouweredoingwork/' title='our jobs'>our jobs</a> and the other half say its going to drive our cars and be our friends. All of these people are going off the base assumption that it actually works. Getting A.I. to work is the problem no one wants to think about because the only people talking about it are marketing people (who want to sell us something) OR expert layman that only really want better Netflix recommendations. <span class="h"><em>Too many people assuming A.I. will just &quot;work&quot; is the problem.</em></span></p><p><span class="h"><em>&quot;The 4K revolution is closer than you think&quot;</em></span></p><p>The problem is further exasperated because news and social media no longer create news in the traditional sense but more so create &quot;buzz&quot;. Buzz works as it sells advertisements and keeps people coming back. But one bottle of buzz is not enough. Buzz creates buzz that creates buzz. The audience becomes so overwhelmed with the titbits of the same information coming from different directions that they figure that some/all of it must be true right? Except it all gets reduced to <a rel='external' href='https://www.youtube.com/watch?v=insM7oUYNOE' title='regurgitation'>regurgitation</a>, <a rel='external' href='https://vimeo.com/139094998' title='remixes'>remixes</a> and assumptions. People forget where the original source started and even the original source starts to assume that everybody else must be doing something if they are talking about it so much. But if you look into it no one is doing anything except creating buzz and waiting for new buzz to happen.</p><p>[bu]A big Non-Opinion Soup[/url]<br />I refer to the expert layman in the context of the average joe who has been exposed to the internet, social media, and more importantly &quot;buzz&quot;. The media gets a bit of information and runs with it, asks a bunch of people their opinions, then asks another bunch the opinion they have of the first set of opinions that they previously received. All this is the great consumer <a rel='external' href='https://en.m.wikipedia.org/wiki/Echo_chamber_(media)' title='echo chamber'>echo chamber</a>. This cycle goes around and around until people start quoting themselves in articles they wrote 5 years ago because the same people are making the same assumptions about the same press releases - everyone is working on old information. So what is the expert layman to do? Simply retweet, re-like, re-post and remix the same stuff because all these people cannot possible be wrong, right? Every one loses their point of reference. Lost amongst the buzz.<br /><span class="h"><em>What a time to be alive! 6 terroflops, 12 gigs of memory = Minecraft 4k</em></span></p><p>Of course they are not wrong, no one is, because they are just providing their opinion and everybody is in an &quot;opinion soup&quot; that is in a pot so big that one knows if its ready to take it off the fire. Eventually opinions become sorta facts just like how smartphones are sorta &quot;computers&quot; but all people do on them are play terrible games, and damage their eyes. Yes your smartphone is fast but at what? These are the difficult questions that need answering.</p><p>This is thought process of the expert layman; &quot;this thing is amazing to me so it must be incredibly difficult to do&quot;. This results in a feed back loop of people being amazed and dumbfounded at the same time. It is like seeing a magic trick and never being able to find out how it actually works. So the trick is amazing every time you see it and you never move on to other things. The expert layman gets stuck in a VR, AI, VR, AI, VR, AI, loop and it just keeps <a rel='external' href='https://m.youtube.com/watch?v=KkqC_DSZZNY' title='going and going'>going and going</a>. Because of this loop the tech industry seems to be stuck in a pothole trying to satisfy this buzz.</p><p>Take an example 3 cars driving down the road at 50 kmph. Are 3 cars better than 1 car going at 150 kmph? Do you really want to go fast or do you want to feel like you are going fast?</p><h4>Conclusion</h4><p>Eventually we have to stop beating dead horses and move on to other things. We need new tech, new software and new thinkers. Pandering to the consumer masses so that we can sell 20 million iphones every year will only get us so far. We cannot get caught in the same cycle of waiting for that new thing that you need to buy, that <a rel='external' href='https://www.youtube.com/watch?v=uQ-XcWCDfmE' title='4k revolution'>4k revolution</a>, 3d movies, mixed reality and a obsession with making video <a rel='external' href='https://www.youtube.com/watch?v=xgaUt_QstlY' title='games crisper'>games crisper</a>, sharper and prettier. The last time I saw a smartphone that was an improvement was when they added <a rel='external' href='https://www.youtube.com/user/videogamedunkey/search?query=resolution' title='accelerometers'>accelerometers</a> which was 5 years ago! We have come full circle to the point where they are actually removing features that we had for decades! The only true way to change and be better is to spend time solving problems instead of making new market segments for old problems.</p><p></p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2387/#comment">Post your comments on this article</a></p> 2017-07-12 15:26:27 Only the strong survive (Logbook) http://owensoft.net/v4/item/2386/ <p>There are some who would rather be loved, needed and depended on to give a love they cannot give. Than for them to be lonely. I just want‎ my days to go by easily. The world is filled with too much stress. There is no sense in creating mini struggles within ourselves. Though some might find it entertaining but I would rather watch the wind blow the leaves around than be a leaf blowing in the wind. Chaos is only fun while you have the strength to fight it.</p><p>I bought some CDs from a man selling used stuff by the side of the road - Music CDs. When buying anything used in Jamaica you have to wonder if they were stolen from someone with awful taste in music. They were cheap so I bought a couple that had the least scratches that could find. Old music CDs are like finding old pants that still fit; you know you shouldn&#039;t be wearing them but they will never let you down.</p><p>I bought a really expensive appliance recently because I became passionate about getting something good (watching online videos, doing research) as opposed to getting something affordable and common. I become annoyingly passionate about stuff at times but I get through most time, sometimes not. I have to pump my brakes because I fear that my passions are a ship made only to crash upon the rocks of disappointment. But I push through because when it comes down to it without fear, experience, drive and passion there is nothing. Bueaty and Nonsense.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2386/#comment">make a comment</a></p> 2017-07-02 17:21:28 Dancehall and the era of the Summer Song (Video Blog) http://owensoft.net/v4/item/2385/ <p>The first time I remember such a thing as a summer song was back in 2009 when Ding Dong dropped &quot;Holiday&quot;. Many have been released since then but as far as I remember it all started with that first summer song. Enjoy my list and you suggest any that you remember that I might have forgotten in the comments.</p><p>Ding Dong Holiday - 2009<br /><a class="ebv" id="w6MtzUCl4vM" href="http://youtube.com/watch?v=w6MtzUCl4vM" ><img src="http://i.ytimg.com/vi/w6MtzUCl4vM/hqdefault.jpg" /></a><br /><br />Vybz Kartel - Summertime - 2011<br /><a class="ebv" id="CITU4KH93aU" href="http://youtube.com/watch?v=CITU4KH93aU" ><img src="http://i.ytimg.com/vi/CITU4KH93aU/hqdefault.jpg" /></a><br /><br />I-Octane - &quot;Happy Time&quot; - 2013<br /><a class="ebv" id="7Fv6cQOX32U" href="http://youtube.com/watch?v=7Fv6cQOX32U" ><img src="http://i.ytimg.com/vi/7Fv6cQOX32U/hqdefault.jpg" /></a><br /><br />Vybz Kartel - Summer 16 - 2016<br /><a class="ebv" id="WLnPTJIJcyE" href="http://youtube.com/watch?v=WLnPTJIJcyE" ><img src="http://i.ytimg.com/vi/WLnPTJIJcyE/hqdefault.jpg" /></a><br /><br />Beenie Man - Lets Go - 2011<br /><a class="ebv" id="Pnr7dLsN58c" href="http://youtube.com/watch?v=Pnr7dLsN58c" ><img src="http://i.ytimg.com/vi/Pnr7dLsN58c/hqdefault.jpg" /></a><br /><br />Vybz Kartel - Party - 2015<br /><a class="ebv" id="piwkqKzxvB4" href="http://youtube.com/watch?v=piwkqKzxvB4" ><img src="http://i.ytimg.com/vi/piwkqKzxvB4/hqdefault.jpg" /></a><br /><br />VYBZ KARTEL - Miami Vice [Episode] - 2015<br /><a class="ebv" id="Jc4Yznjqgnc" href="http://youtube.com/watch?v=Jc4Yznjqgnc" ><img src="http://i.ytimg.com/vi/Jc4Yznjqgnc/hqdefault.jpg" /></a><br /><br />POPCAAN - RAVIN<br /><a class="ebv" id="g_NA9h_o460" href="http://youtube.com/watch?v=g_NA9h_o460" ><img src="http://i.ytimg.com/vi/g_NA9h_o460/hqdefault.jpg" /></a></p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2385/#comment">make a comment</a></p> 2017-06-23 09:18:20 Dead Disco (Logbook) http://owensoft.net/v4/item/2384/ <p>I am churning through the year - words have become hard. 2 months so far and I am not even sure the year has even started. Well make that 4 months and another circle around the sun. Time makes you bolder for sure but I smarter? I do not know.</p><p>&quot;I will love till the end of time&quot; is probably all that I can promise nowadays as I walk through metal detectors. The words I said could be silver. I am still getting called weird alot and I am not sure about it or anything at all. Am I still loving in the wrong way? How can a man love like that? Tina Turner.</p><p>Most times I just want to go home and sleep away my troubles or do what I like. If you insert yourself into the struggle you might be setting up yourself for a war. I thought the point was for your days to go easy. What is anything worth, time, space, bueaty, monkeys, salvation, freedom and what are you willing to pay for it? What are you willing to give up. As I always say; if it makes you happy.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2384/#comment">make a comment</a></p> 2017-06-21 11:19:52 Cuba says hello (Video Blog) http://owensoft.net/v4/item/2383/ <p>With as much spanish as I have been exposed to in the past year, you would think that I would know more than 4 words of spanish. Bano. Even with my <a rel='external' href='http://owensoft.net/v4/category/30/' title='week long vacation trip'>week long vacation trip</a> to Cuba and watching spanish language lessons on youtube. Que passa? A entire spanish novelas on Netflix? But alas, no. I am doomed to only contain one language in my brain at a time. But this fact has not stopped me from enjoying a good reggaeton de Cuba Mix. A couple of these videos are shot along the <a rel='external' href='http://owensoft.net/v4/item/2298/' title='Malecón'>Malecón</a> waterfront in Havana.</p><p>EL MICHA “Oye Tu Si Suena”<br /><a class="ebv" id="t5nhc2gXSO4" href="http://youtube.com/watch?v=t5nhc2gXSO4" ><img src="http://i.ytimg.com/vi/t5nhc2gXSO4/hqdefault.jpg" /></a><br /><br />FUEGO, PITBULL &amp; JACOB FOREVER “La Dura Remix”<br /><a class="ebv" id="my9bcD4Ge3U" href="http://youtube.com/watch?v=my9bcD4Ge3U" ><img src="http://i.ytimg.com/vi/my9bcD4Ge3U/hqdefault.jpg" /></a><br /><br />CHACAL “Pa&#039; La Camara”<br /><a class="ebv" id="roWBYAbm0EQ" href="http://youtube.com/watch?v=roWBYAbm0EQ" ><img src="http://i.ytimg.com/vi/roWBYAbm0EQ/hqdefault.jpg" /></a><br /><br />WILDEY “Palomita”<br /><a class="ebv" id="Dzk-L0tcsIw" href="http://youtube.com/watch?v=Dzk-L0tcsIw" ><img src="http://i.ytimg.com/vi/Dzk-L0tcsIw/hqdefault.jpg" /></a><br /><br />DIVAN “Hablale Claro”<br /><a class="ebv" id="-XDBjprSl78" href="http://youtube.com/watch?v=-XDBjprSl78" ><img src="http://i.ytimg.com/vi/-XDBjprSl78/hqdefault.jpg" /></a><br /><br />ALEX DUVALL &amp; EL MICHA “Yo Se Que Te Molesta”<br /><a class="ebv" id="joV7kUcW0Qc" href="http://youtube.com/watch?v=joV7kUcW0Qc" ><img src="http://i.ytimg.com/vi/joV7kUcW0Qc/hqdefault.jpg" /></a><br /><br />WILDEY “La Puntika”<br /><a class="ebv" id="0cKTqvtb0ao" href="http://youtube.com/watch?v=0cKTqvtb0ao" ><img src="http://i.ytimg.com/vi/0cKTqvtb0ao/hqdefault.jpg" /></a><br /><br />PETER NIETO “Se Desespera”<br /><a class="ebv" id="v34j28q5yYw" href="http://youtube.com/watch?v=v34j28q5yYw" ><img src="http://i.ytimg.com/vi/v34j28q5yYw/hqdefault.jpg" /></a><br /><br />JAYBY &amp; DIVAN “Delete”<br /><a class="ebv" id="PGMFIQJJzjs" href="http://youtube.com/watch?v=PGMFIQJJzjs" ><img src="http://i.ytimg.com/vi/PGMFIQJJzjs/hqdefault.jpg" /></a><br /><br />QVA LIBRE “Por Estar Contigo”<br /><a class="ebv" id="fyQESf4WNEk" href="http://youtube.com/watch?v=fyQESf4WNEk" ><img src="http://i.ytimg.com/vi/fyQESf4WNEk/hqdefault.jpg" /></a><br /><br />WILDEY “Tengo Money”<br /><a class="ebv" id="FpguLmi3asA" href="http://youtube.com/watch?v=FpguLmi3asA" ><img src="http://i.ytimg.com/vi/FpguLmi3asA/hqdefault.jpg" /></a><br /><br />SENORITA DAYANA “A Ti Lo Que Te Duele”<br /><a class="ebv" id="v6VDHWNFbi4" href="http://youtube.com/watch?v=v6VDHWNFbi4" ><img src="http://i.ytimg.com/vi/v6VDHWNFbi4/hqdefault.jpg" /></a><br /><br />CARPE DIEM “Cupido Me Engaño”<br /><a class="ebv" id="IZS7G37N1ws" href="http://youtube.com/watch?v=IZS7G37N1ws" ><img src="http://i.ytimg.com/vi/IZS7G37N1ws/hqdefault.jpg" /></a><br /><br />ALEX DUVALL “Porque No Le Dices”<br /><a class="ebv" id="3TXtSp8k7bw" href="http://youtube.com/watch?v=3TXtSp8k7bw" ><img src="http://i.ytimg.com/vi/3TXtSp8k7bw/hqdefault.jpg" /></a><br /><br />EL METALICO “El Trato”<br /><a class="ebv" id="UKXd7LxYBcM" href="http://youtube.com/watch?v=UKXd7LxYBcM" ><img src="http://i.ytimg.com/vi/UKXd7LxYBcM/hqdefault.jpg" /></a><br /><br />DIVAN Feat. QVA LIBRE “Estoy Para Fiesta Contigo”<br /><a class="ebv" id="A98VUhj2dGQ" href="http://youtube.com/watch?v=A98VUhj2dGQ" ><img src="http://i.ytimg.com/vi/A98VUhj2dGQ/hqdefault.jpg" /></a><br /><br />DIVAN “Sentimentalmente Disponible”<br /><a class="ebv" id="pMfXhFioHaw" href="http://youtube.com/watch?v=pMfXhFioHaw" ><img src="http://i.ytimg.com/vi/pMfXhFioHaw/hqdefault.jpg" /></a><br /><br />The full 1 hour long uninteruted mix can be <a rel='external' href='https://www.youtube.com/watch?v=Z5P7Hnc0znM' title='watched here'>watched here</a>.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2383/#comment">make a comment</a></p> 2017-05-29 07:41:35 Finding the best solution and not just any solution (programming) (Articles) http://owensoft.net/v4/item/2382/ <a href="http://owensoft.net/v4/item/2382/"><img src="http://owensoft.net/v4/photo/thumb/2381.jpg" /></a><p>I was reading a <a rel='external' href='https://dev.to/steliosvoskos/the-obligation-of-a-software-developer' title='TDD article'>TDD article</a> this morning and had a few thoughts on the idea of &quot;Find the best solution and not a solution&quot; as it relates to programming. I will detail these thoughts below;</p><h4>There might be no best solution</h4><p>Before one sets off on a journey one must always recognize that they may be wasting their time and worse even wasting the time of other people. There might be no &quot;best&quot; solution or no solution at all to the problem you are trying to solve. Keeping this idea in the back of your mind will give you perspective and objectivity.</p><h4>The best solution has a negative cost benefit ratio</h4><p>New programmers either fall into the category of trusting too much in their platform or google search. If they read a article somewhere that says &quot;you can go to the moon if your dev stack is properly configured&quot; some might take it as fact that such a thing is possible using pure software or A.I neural networks. Always do a <a rel='external' href='https://en.m.wikipedia.org/wiki/Cost%E2%80%93benefit_analysis' title='cost benefit analysis'>cost benefit analysis</a> on any solutions you propose. It does not matter how hard you work or how diligent you are because the road to hell is paved with good intentions. Spend time, do your research. Time is money and money is time. A programmer&#039;s time is not infinte and you will not be young forever.</p><h4>Be wary of side effects</h4><p>Say you have come up on an idea solution which not may be best but is adequate in solving the problem within the constraints of the time you have; it is juvenile to not spend an equal amount of time to understand the negative aspects of the approach that you choose. The more projects you work on the experience you will gain and the more you will learn. But you should not rush blindly into a solution without understanding what side-effects may or may not occur. I have see many projects run for years and get totally re-factored in a weekend because little bugs were overlooked because they found a quick-fix for a big problem (they spent 2 years building on top of this quick fix).</p><h4>Risk management and fire fighting</h4><p>You might take the approach to run with a solution irregardless of what side-effects may popup in the future. However this technique requires someone very skilled at <a rel='external' href='https://www.aceproject.com/blog/2009/04/29/project-management-and-firefighting/' title='fire fighting problems'>fire fighting problems</a>. <span class="h"><em>When someone spends all their time putting out fires, they look very busy, and they have a great sense of purpose.</em></span> You will have to be prepared do what is necessary to keep the so called &quot;house of cards&quot; system that you have built up running no matter what happens. This is possible if you are immortal but most people are not.</p><h4>Conclusion</h4><p>At the end of the day there is no way you can come to a solution without carefully weighing your options and brainstorming. There is no best solution that can solve every problem in every situation - concessions must be made. If someone says they have the best without knowing all the angles then they are either lieing or selling something or both. Be aware of buzzwords, flashy presentations and overly simple demonstrations. The sooner you get to the hard stuff the sooner you can weed out the bad solutions.</p><p></p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2382/#comment">Post your comments on this article</a></p> 2017-05-21 17:22:46 Ruby (Logbook) http://owensoft.net/v4/item/2381/ <p>I am hyper aware of my own mortality, the number of branches that are in my tree. The world around me lives only by grace. We are not special. This has only gotten worse as I get older and my tolerance level has changed to the point where I have to see five steps down the road or I am not even going to jump on that train to hell that you are so passionate about.</p><p>Fools and charlatans are now growing out of the woodwork like a fungus, while I am simply trying to get through the day. A train to wreck. They say we should all strive to be like Jesus but I am a humble man; knowledge, wisdom and understanding are all I seek. I solve problems and time is money.</p><p>At some point in time you have to stop chasing society because you never really catch it. If a hand dem a bruk then you will have to pop necks to keep up, shake them down and break them like bread. There is no end, the more you have - the more you want and the more you give the more they take.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2381/#comment">make a comment</a></p> 2017-05-20 21:47:39 Oceans (Logbook) http://owensoft.net/v4/item/2380/ <p>It has been roughly a month since I have written anything. Literally constipated does not even describe the state I am in. I have not been spreading my passions even. Allowed myself to be highly focused on an impossible mission while neglecting my numerous other pursuits. I must stop but I cannot like a monkey in a forest with infinite trees. Chaos reaching out and grabbing me by the neck.</p><p>You have to spend your life doing something. It is clearly obvious that nothing really matters and people are just building little world blankets in which to wrap themselves into while everything else burns by the heat of the sun. I am the king of my own little world and everyone else is wondering how much income tax I am charging my citizens. I am not charging them anything. I am just really bad at it. We are just chilling out here trying to find out the best way to escape or achieve ultimate knowledge, wisdom and understanding. Obviously we are not perfect and might never be.</p><p>I just had to push this one out, like a baby 3 months overdue. I have a splitting headache and I am not sure if its the words or the fact that I did not take my lunch time break to stare into the distance. I am almost done. Just another sentence. Publish or perish. I have a few unfinished trees which I need to climb but for now I will settle with just this one until I get the will to let go and move on.</p> <p><strong>by owen</strong> <a href="http://owensoft.net/v4/item/2380/#comment">make a comment</a></p> 2017-05-10 16:52:52