<?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 Nicolás Siplis on Medium]]></title>
        <description><![CDATA[Stories by Nicolás Siplis on Medium]]></description>
        <link>https://medium.com/@nicolas-siplis?source=rss-ca108e9e83d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3MPN9P3TQo0ab6fHsCTDlw.jpeg</url>
            <title>Stories by Nicolás Siplis on Medium</title>
            <link>https://medium.com/@nicolas-siplis?source=rss-ca108e9e83d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:11:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicolas-siplis/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[Cryptocurrency mining: an alternative bussiness model for the web]]></title>
            <link>https://nicolas-siplis.medium.com/bitcoin-mining-an-alternative-bussiness-model-for-the-web-f9ab52435483?source=rss-ca108e9e83d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9ab52435483</guid>
            <category><![CDATA[advertising]]></category>
            <dc:creator><![CDATA[Nicolás Siplis]]></dc:creator>
            <pubDate>Sun, 17 Sep 2017 06:40:33 GMT</pubDate>
            <atom:updated>2020-10-23T01:09:56.667Z</atom:updated>
            <content:encoded><![CDATA[<p>If there’s one thing that’s been around for as long as I can remember browsing the Internet, it’s ads. Clothing, games, pills, “You’re our Nth million visitor, click here to claim your free {AppleProduct}!”, we’ve all seen them. If you’re reading this I’d say there’s a 90% chance you’re running an ad blocker, but you still know what I’m talking about. It’s the reason you installed one in the first place, after all.</p><p>Online advertising is somewhat of a touchy subject. On one hand, websites need to make money, and ads are probably the most ubiquitous way of doing so right now. Patreon and other platforms facilitating donations are an alternative, but not a viable one in many cases (smaller websites immediatly come to mind).</p><p>Having said that, there’s no denying that a great deal of sites have been infected with more and more intrusive ads, constantly tracking their users activity in a desperate attempt to increase click rate.</p><p>Right now, there’s somewhat of a war going on between websites trying to monetize their users with a super subtle “Disable your ad blocker or GTFO” popup, and ad blockers responding by detecting and… well, blocking the popups. Even if the ultimatum bypasses the blocker and gets through to the user, many of them simply choose to leave. There has to be a better way, for both parties.</p><p>Just yesterday it was reported that The Pirate Bay, hub of our favorite non-copyrighted and completely-legal-to-download torrents, <a href="https://torrentfreak.com/the-pirate-bay-website-runs-a-cryptocurrency-miner-170916/">had added a Javascript Bitcoin miner to their page</a>. Its purpose was to test an alternative revenue stream to potentially replace ads. Once users noticed their CPU use going through the roof they were quick to show their discontent though, and with good reason! Could TPB had gone about it in a better way?</p><p>First of all, they could’ve informed their users of what they were doing, giving them the option to opt out if they wanted to. They could’ve also implemented a more efficient miner that wouldn’t affect their user’s experience while browsing the site. We can access the GPU from the browser with WebGL, so is there a way to mine Bitcoin without stressing our CPU? <a href="https://github.com/derjanb/hamiyoca">Of course there is!</a> It’s an old project and it doesn’t seem to be maintained, but it shows that it can be accomplished.</p><p>TPB’s approach was poorly executed, to say the least. The idea, however, is something I found fascinating. Ads as a source of revenue seem fundamentally flawed to me. They help support the websites I like but also worsen my browsing experience in the process, a trade off a lot of people are not willing to make.</p><p>On the other hand, I’d be happy to lend some of my processing power to help keep my favorite sites afloat, as long as it’s done in a transparent way. Hopefully more websites will consider this a potential new source of revenue, marking the beginning of the end for online advertising.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9ab52435483" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Treesort, or how I learned to keep trying and avoid Google]]></title>
            <link>https://nicolas-siplis.medium.com/treesort-or-how-i-learned-to-keep-trying-and-avoid-google-b8d922578e0e?source=rss-ca108e9e83d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8d922578e0e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[treesort]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Nicolás Siplis]]></dc:creator>
            <pubDate>Thu, 12 Nov 2015 05:20:43 GMT</pubDate>
            <atom:updated>2020-01-14T04:14:08.700Z</atom:updated>
            <content:encoded><![CDATA[<p>Here’s some context for those of you who don’t know me, and since I’m a 19 year old argentine student that probably includes pretty much every single person reading this post. I’m in my first year of computer engineering, loving it so far and can’t wait for the next one.</p><p>We started looking at recursion and tree-like structures this semester, and as you probably know one of the simplest structures to study is the binary tree. Not gonna get into specifics, just remember that a balanced binary tree allows us to insert and search for a node in <em>O(log n) </em>time.</p><p>We had seen sorting algorithms previously, and the complexity of the ones we studied (insertion and bubble sort) was <em>O(n²) </em>in both cases. So, now you have a first year student who thinks he’s on to something. If inserting and retrieving nodes from a balanced binary tree is <em>O(log n)</em>, I realized I could construct a binary tree from an array and then sort it in <em>O(n log n)</em> by reinserting the elements from the tree<em>.</em></p><p>At this point, I actually got <em>excited</em>!<em> </em>Up until then, most of the things we had done were pretty much direct applications of what we had been taught, creativity not being the most useful quality. However, I had come up with a sorting algorithm from scratch! Well, not really from scratch since I was just combining two highly related concepts. But still, not bad for my second semester!</p><p>Naturally I wanted to brag about my discovery to <em>someone</em>, so I created a basic implementation of the algorithm and compared it with the insertion and bubble sorts. It took a bit longer than expected since I had to actually learn how to create a self balancing binary tree (which I suspect will come in handy next year). However, after some time and effort I got everything to work.</p><p>As expected, the “new” sorting method was significantly faster than both bubble and insertion sort. I walked up to the professor after class and talked to him about it. He let me ramble on and on about how I came up with it, how it worked and the speed comparisons. Once I was done, the conversation went something like this.</p><blockquote><em>“So, you implemented treesort.”</em></blockquote><blockquote><em>“What?”</em></blockquote><blockquote><em>“Yeah, it’s a pretty well known sorting algorithm. Not the fastest but it does have some pretty cool properties.”</em></blockquote><blockquote><em>“So someone already thought of all this?”</em></blockquote><blockquote><em>“Yep.”</em></blockquote><blockquote><em>“… I need to learn how to Google before getting excited.”</em></blockquote><p>I’m going to take a wild guess and say that 100% of the ideas I’ll think of in the years to come have already been implemented, discussed and improved dozens of times long before I was born. Googling them might be faster, but luckily I’m not a computer so I don’t care about speed. I care about having fun, and coming up with an algorithm on my own (and learning a whole lot in the process) was really, really fun.</p><p>Besides, if people call Columbus the discoverer of America then I sure as hell can call myself the discoverer of Treesort.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8d922578e0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>