<?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 Taalink on Medium]]></title>
        <description><![CDATA[Stories by Taalink on Medium]]></description>
        <link>https://medium.com/@taalink?source=rss-133adfed1251------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wx5ob62Tt1n6f60QH6tmJA.png</url>
            <title>Stories by Taalink on Medium</title>
            <link>https://medium.com/@taalink?source=rss-133adfed1251------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:38:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@taalink/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[How you organize your personal library can help in understanding algorithms]]></title>
            <link>https://medium.com/@taalink/how-you-organize-your-personal-library-can-help-in-understanding-algorithms-f5efc6445f4?source=rss-133adfed1251------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5efc6445f4</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Taalink]]></dc:creator>
            <pubDate>Mon, 24 Apr 2017 15:38:01 GMT</pubDate>
            <atom:updated>2017-04-24T15:38:01.049Z</atom:updated>
            <content:encoded><![CDATA[<p>In this series I proposed to explain what is <a href="https://medium.com/@taalink/is-artificial-intelligence-really-that-impressive-85339878e70">really impressive</a> about the current developments in <strong>AI </strong>— but we are not quite there yet! The more one understands how <strong>computers </strong>and <strong>algorithms </strong>work, the more interesting it gets. On the previous post I tried to show that computers are not that smart, and why we might think so. They are <strong>good at recording</strong> and recalling simple stuff with precision, and do small sequential operations very fast. Our <strong>brains </strong>are not that good at doing that, but we are much better in things like <strong>language </strong>and visual processing, which are arguably <strong>more complex</strong>. This post is another smooth trail in our ascent of <strong>mount AI</strong>. The subject of today is <strong>data structures</strong>.</p><p>Most problems in computer science can be solved in many <strong>different ways</strong>, and each way has its <strong>own advantages</strong>. Imagine you really love books and decided to start a huge personal collection. You reserved an <strong>empty room</strong> in your home to be your <strong>library</strong>, brought all the books you already have, and now you have to think how to organize it. <strong>Will you use shelves? </strong>Just leave things in boxes? Will you keep them organized by author, subject? <strong>What difference does it really make?</strong></p><p>First, let’s define what is important for us.</p><p>We want our collection to be as <strong>big as possible</strong>, so <strong>space </strong>is <strong>definitely </strong>an <strong>issue</strong>. We plan on adding new books frequently, so it should be organized in a flexible way. Of course we also want to read them, so finding a book must be easy. This is a simplified analogy to <strong>data structures</strong> in <strong>computer science</strong>, where we are worried about storage space, insertion of new data, and removal. Now let’s see <strong>how </strong>it <strong>translates to </strong>our <strong>book collection</strong>.</p><p>If we wanted to <strong>maximize storage space</strong>, our best option would be to<strong> keep all books in boxes</strong>, stacking them and filling the room. Adding new books (insertion) could be simple, just put it in the currently open box, when it fills close it, stack it in a corner and open a new one. <strong>Picking up a book</strong> (removal) would be a nightmare. If all the boxes are the same, every time we want a specific book we’d have to unstack all of them, open up, and <strong>remove </strong>all books to search. As our collection grows this is <strong>simply unacceptable</strong>!</p><p>One way to <strong>improve </strong>the box approach would be marking them with the initials of the author. Now we know that we should <strong>look for our Shakespeare</strong> in one of the ‘S’ marked boxes (removal), which is a big improvement. Insertion is slightly more complicated, because now we need to find a proper box with free space to put new books. We will also need a bit more space, because now there are <strong>multiple boxes with empty space</strong> (one for each letter).</p><p>But who <strong>keeps their books in boxes</strong>, anyway? We want shelves, so our collection can be seen. Shuffling through boxes is annoying, and shelves allow books to be accessible at the touch of our hands. The <strong>drawback</strong>, of course, is storage space. To keep all books visible and accessible we not only need many <strong>shelves</strong>, but they must have space between them. <strong>Can we at least stop worrying about insertion and removal? … </strong>Well, no.</p><p>Once again the sorting of in the shelves is very important for insertion and removal. If we have n<strong>o organization, inserting is simply finding</strong> a spot in the shelf and shoving the book in. If we plan to sort the books alphabetically, each time we insert a new one we have to determine its right position. In both cases there is a tradeoff of time: <strong>more time organizing insertion means less time looking for a book later, and vice-versa</strong>.</p><p>Another important trade-off can be observed between <strong>time </strong>and <strong>storage </strong>space. If we have enough shelves for all letter of the alphabet, we can make both insertion and removal fast, at the cost of space. What if the shelf for the letter ‘D’ is full and I need to put in <strong>the new Daniel Dennet book I just bought? </strong>Can I just put it in the first space on the ‘F’ shelf and push all other books in there forward? If you do that, you are creating an exception that you will have to remember. <strong>The more you do that</strong>, <strong>the less the letters of the shelves will be of importance</strong>, since you have to assume books can be overflowing to the other shelves. <strong>Imagine what happens once ‘F’ becomes full too?</strong> This might look like a good short-term strategy, but its long-term consequences can undermine all organization.</p><p>Many problems in Computer Science are solved <strong>through simply organizing </strong>data in a clever or relevant way, like we would do with our personal library. <strong>This involves making algorithms</strong>, like explained in our previous post. Imagine that instead of taking care yourself of your library, <strong>you have a very fast and dedicated assistant</strong>, but this person takes everything you say literally, precisely, and with zero common sense.<strong> When leaving a list of instruction with tasks and rules, you have to think carefully of every step</strong>. You need to explain how one sorts a list alphabetically, how books should be stacked, everything. The amount of books that can be stored in the library, how tidy it is, how easy it is to find something, it will all depend on the long-term impact of <strong>our decisions</strong> and how we described them to our assistant.</p><p><strong>The tradeoff between storage costs</strong>, insertion, removal, and sorting times is crucial <strong>to make some problems solvable</strong>. Imagine how much data google has to sift through to give a search result in less than a second, to millions of people around the world constantly. <strong>Google’s library is VERY</strong> cleverly organized, and they have an <strong>army of well-instruct assistants</strong>.</p><p><strong>Up until this point I have tried to gently introduce some notions and lines of questioning that are crucial to computer science and algorithms</strong>. We are used to making decisions and evaluating their impact in our daily lives. We make plans for the day, budgets, and task lists. <strong>These are all algorithms in their own ways</strong>. The difference is that in Computer Science we have to obsess with the details, with the <strong>micromanagement</strong>.</p><p>Hopefully after reading this post you are feeling <strong>slightly more intimate</strong>, or rather comfortable with how computers work. It’s just <strong>organizing books</strong>, after all! There are still some topic we need to cover that <strong>make up our big picture before heading to AI</strong>. On the next episodes I will be less vague and jump to more practical, numerical examples.</p><p><strong>Victor Schetinger</strong>, PhD in Computer Science, Co-founder &amp; CTO Of Taalink</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5efc6445f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Artificial Intelligence really that impressive?]]></title>
            <link>https://medium.com/@taalink/is-artificial-intelligence-really-that-impressive-85339878e70?source=rss-133adfed1251------2</link>
            <guid isPermaLink="false">https://medium.com/p/85339878e70</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[innovation]]></category>
            <dc:creator><![CDATA[Taalink]]></dc:creator>
            <pubDate>Fri, 07 Apr 2017 07:35:15 GMT</pubDate>
            <atom:updated>2017-04-07T07:35:15.570Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Artificial Intelligence</strong> has been around for decades, but it has gained a lot of traction and public attention in the past few years. <strong>Machine learning</strong>, <strong>deep learning</strong>, data mining, all these buzzwords keep popping on the media. Is this new technology really that impressive? Well, it depends on how intimate you are with computers. In this series, we will explore a series of subjects related to AI and its <strong>applications</strong>. This introduction talks about computers in general, and why some problems are much harder to solve than others.</p><p>Fiction, be it books or <strong>Hollywood</strong>, spoiled the public’s expectations for Artificial Intelligence. From HAL 9000 on 2001: a <strong>Space Odyssey</strong>, to the <strong>Matrix</strong>, <strong>Skynet</strong>, there are countless examples of amazing AI, sometimes good, but usually gone bad. We have seen computers that can talk, learn about everything, control spaceships, or an entire civilization. Our imagination has set the bar so high that we are hardly impressed by new technology.</p><p>Why is the <strong>Siri </strong>on your phone, or the <strong>Alexa </strong>at your home, so limited then? Where are all the talking robots? Why is it so easy for <strong>Google </strong>to <strong>search </strong>millions of pages all over the world in a second, but so hard to tell what is in a picture?</p><p>The answer is that computers are much less intelligent than we give them credit for. They can really only do two things: <strong>record simple</strong> things with precision, and <strong>make repetitive</strong> operations very fast. That is all there is to it. They just seem smart because our brains are not very good at doing these things.<strong> </strong>How many values can you remember from the last spreadsheet you worked on? With how many decimal places? Can you sum all of the values of a column on your head? Wow, that looks like a hard task, and if we knew someone that could do that, we would probably call him a <strong>genius</strong>. Yet for your computer it is a piece of cake, everything is just neatly stored on that .xls file, and with the click of a button, you can calculate whatever you want.</p><p><strong>Programming </strong>a <strong>computer </strong>to solve a problem is a bit how schools used to teach arithmetic to young children. You give them pencil and paper, show them symbols that represent numbers, and how to manipulate them writing on their paper. They have no idea what they are doing, but they will try to follow the instructions. You can teach them how a sum works, and then say multiplication is a series of sums. Children will eventually learn, understand, and be able to do more complex operations on their own. A computer is like a kid that cannot understand, talk, or see, but he can read and write super-fast, following all your instructions with precision. After <strong>learning </strong>that a power is a series of <strong>multiplications</strong>, and a multiplication is a series of sums, he will still solve ²³ with 2+2+2+2.</p><p>Things that can be described as series of steps: reading a number, summing it with another, writing it in some place, checking if its bigger than another number; can be solved by <strong>computers</strong>. A sequence of steps to solve a problem is called an algorithm, and it is the bread and butter of computer science. A good thing about <strong>algorithms </strong>is that they can be reused, improved, and combined. The same way that once we learn about multiplication it’s easier to learn about powers. When someone develops an algorithm to solve a problem, it becomes a tool for everyone else to use. This allows <strong>programmers </strong>to keep focusing on bigger, more complex problems. To <strong>display </strong>an image from Facebook on your phone, there are decades of algorithms running on its processor. From its point of view, however, it is still doing 2+2+2+2 over and over.</p><p>Some types of <strong>problems</strong> require solutions that cannot be easily written as an algorithm. How to recognize someone’s face? How to tell if a joke is funny? Our brains are much better than computers for these types of problems, but we are not still exactly sure how they do it. This is where <strong>Artificial Intelligence</strong> comes into play. With a suggestive name, it tries model <strong>human intelligence</strong> — how we can think and improvise to solve complex tasks without the need of someone telling us all the steps.</p><p>In the next post we will talk about <strong>computational complexity</strong>, and what is the big deal about deep learning technology.</p><p><strong>Victor Schetinger</strong>, PhD in Computer Science, Co-founder &amp; CTO Of Taalink</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85339878e70" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>