<?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 Hilton Pintor on Medium]]></title>
        <description><![CDATA[Stories by Hilton Pintor on Medium]]></description>
        <link>https://medium.com/@hiltonpintor?source=rss-7b543bc608b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UTwz8jc566VyM4TzgcIOlQ.jpeg</url>
            <title>Stories by Hilton Pintor on Medium</title>
            <link>https://medium.com/@hiltonpintor?source=rss-7b543bc608b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 06:40:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hiltonpintor/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[Mapping non-nil elements in Swift Array]]></title>
            <link>https://medium.com/appledeveloperacademy-ufpe/mapping-non-nil-elements-in-swift-array-f6a721c7d037?source=rss-7b543bc608b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6a721c7d037</guid>
            <category><![CDATA[refactoring]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Hilton Pintor]]></dc:creator>
            <pubDate>Wed, 17 Jul 2019 23:17:30 GMT</pubDate>
            <atom:updated>2020-06-10T18:57:53.126Z</atom:updated>
            <content:encoded><![CDATA[<h4>Nobody said it was easy, no one ever said it would be so hard.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TbYW79yKZPJP3JDwdICpjA.jpeg" /><figcaption>Cool image to appear on the thumbnail.</figcaption></figure><p>So, let’s say we have an array of optional elements, and we want to do two things:</p><ol><li><strong>Remove</strong> all elements that are nil;</li><li><strong>Map</strong> all elements that are <strong>not</strong> nil;</li></ol><p>There are a few ways to do that in Swift, and I’m gonna walk us through them, and why I decided to make my approach.</p><h3>Example problem case:</h3><p>We have a function that we want to apply to all numbers of an array of Optionals, resulting in an array with only the resulting mapped numbers:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2bb46b02ced30f0a86dca11d5e390bc2/href">https://medium.com/media/2bb46b02ced30f0a86dca11d5e390bc2/href</a></iframe><h3>1. Plain old for loop:</h3><p>Probably the first solution that comes to mind is our old friend, the for loop. And that might look something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/48b81b324859dd84fcd751dfeaa88b55/href">https://medium.com/media/48b81b324859dd84fcd751dfeaa88b55/href</a></iframe><p>It works fine, but we have to make doubledNumbers a mutable variable and use the forced unwrapping which I’ve never been a fan.</p><p>With the for loop approach we can’t get rid of mutability, but we can avoid the forced unwrapping:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91868d819756bda73eaf7b1a1cc18941/href">https://medium.com/media/91868d819756bda73eaf7b1a1cc18941/href</a></iframe><p>We traded mutability for an increase in the cognitive load by using the continue instruction, and also, this mutable array is not going to <em>let</em> me sleep at night, so let’s try and find another solution.</p><h3>2. Filtering and mapping:</h3><p>Let’s turn to our functional friends: filter<strong> </strong>and map<strong>.</strong> So we can get rid of those pesky nils and keep our data structures immutable:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d21662f827d3470421007ec6775b2f0d/href">https://medium.com/media/d21662f827d3470421007ec6775b2f0d/href</a></iframe><p>We now achieved immutability but reintroduced the forced unwrapping on the map function, since we can’t skip iterations using the continue instruction as done before.</p><p>Fortunately, Swift is our friend, and it gives us a function that looks promising: compactMap(_:).</p><h3>3. Compact mapping</h3><p>The Swift docs describe compactMap as:</p><blockquote>Returns an array containing the non-nil results of calling the given transformation with each element of this sequence.</blockquote><p>In other words, it applies a function to each element of the array, and it drops the nil values, precisely what we set out to accomplish. But if we try passing our double function to compactMap<strong> </strong>then the compiler is not going to be too happy with us:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uXjKXzeXiJXt4ke3Eh9Dlw.png" /></figure><p>The reason we can&#39;t do this is because double is of type (Int) -&gt; Int but compactMap expects a function that can handle the Optionals in our numbersWithNils array and that might also return nil which means, in our case, that the function needs to be (Int?) -&gt; Int?.</p><p>I don&#39;t feel comfortable changing the double function since there is no reason for it to receive accept an optional parameter other than the one we&#39;re facing currently. So this is the best thing we can do with compactMap for now:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/355166ec83b24dea185921f6bf7c521f/href">https://medium.com/media/355166ec83b24dea185921f6bf7c521f/href</a></iframe><p>This seems like a good solution since there is no more mutability or forced unwrapping. But I still wasn&#39;t satisfied.</p><p>Applying a function (that does not accept Optionals) to an array of Optionals, removing the nil values seem like a necessity that might be reoccurring, so in order to eliminate the boilerplate of the solution above, I asked friends for help, and we found a way to generalize it.</p><h3>4. Convenience method (our approach)</h3><p>Besides the functionality we already have, the goal now is to generalize it to work with any array of Optionals, and with no boilerplate. So let&#39;s add a method to the Array class, via an extension:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/17684414bbd500c3a1b01fb709e200f0/href">https://medium.com/media/17684414bbd500c3a1b01fb709e200f0/href</a></iframe><p>The new mapNonNils function works for every array, assuming that it&#39;s elements are of type Optional&lt;E&gt; and that the transform parameter maps an element of type E to another of type T. BeingE and T any types (generics FTW!).</p><p>So now we can solve our initial problem in the following way:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c7ae6d5b7ab5da1ca7beca9402fcbaf/href">https://medium.com/media/9c7ae6d5b7ab5da1ca7beca9402fcbaf/href</a></iframe><p>Let&#39;s evaluate this solution:</p><ul><li><strong>Removes</strong> all elements that are nil;</li><li><strong>Maps</strong> all elements that are <strong>not</strong> nil;</li><li>No mutability;</li><li>No forced unwrapping;</li><li>Single loop;</li><li>Works for every type and function;</li><li>No boilerplate required;</li></ul><h3>Community improvements</h3><p>The solutions and improvements bellow came from the community, in order to build an even better solution. This list will be updated as I receive more feedback.</p><h4>1. <a href="https://medium.com/u/ed2255b4274b">Daniel Oliveira</a>&#39;s Optional map:</h4><p>The first improvement came while reviewing the draft of this article. Daniel astutely pointed out that Swift provides a <a href="https://developer.apple.com/documentation/swift/optional/1539476-map">map function for Optionals</a>. This map applies the transform function only if the Optional instance is not nil, otherwise, it returns nil.</p><p>This not very well known feature goes really well with compactMap, making our code more concise:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2ac56b18ffec08ced7a881b4e484ee46/href">https://medium.com/media/2ac56b18ffec08ced7a881b4e484ee46/href</a></iframe><p>Some might even argue that this makes removes the need for the extension, since now the boilerplate is very small. But for me, it&#39;s still boilerplate and providing a method that abstracts all boilerplate gives a more convenient API for developers. Calling compactMap with another map as a transform function does not feel very intuitive to me, but I&#39;d love to hear your opinions: do you think mapNonNils is no longer necessary?</p><h3>Conclusion</h3><p>The solution we’ve come up with seems pretty good, but I do believe there is room for improvement. The other reason for this article is to enlist the community into fiding those improvement opportunities, so I look forward to seeing what you guys come up with on the commentaries and update the article accordingly.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6a721c7d037" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appledeveloperacademy-ufpe/mapping-non-nil-elements-in-swift-array-f6a721c7d037">Mapping non-nil elements in Swift Array</a> was originally published in <a href="https://medium.com/appledeveloperacademy-ufpe">Apple Developer Academy | UFPE</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Geofencing on iOS (Swift) for noobs]]></title>
            <link>https://medium.com/appledeveloperacademy-ufpe/geofencing-in-ios-swift-for-noobs-29a1c6d15dcc?source=rss-7b543bc608b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/29a1c6d15dcc</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[geofencing]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Hilton Pintor]]></dc:creator>
            <pubDate>Fri, 03 Nov 2017 15:03:06 GMT</pubDate>
            <atom:updated>2020-06-11T03:29:50.616Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or How to show a notification when user enters/leaves someplace</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XsOwVPzZVyjsZUgCP2h4CQ.jpeg" /><figcaption>🗺 + 📱 = 📈</figcaption></figure><p>For the most part of 2017, I’ve been working on <a href="https://itunes.apple.com/br/app/palpitadus/id1278441794?l=en&amp;mt=8">Palpitadus</a>, an iOS app that gives context-aware suggestion of activities on my hometown’s b-side. And to make sure our suggestions were helpful, we asked our users for feedback once they had done that activity.</p><p>You probably have different specifications, but your goal is the same as mine, to <strong>send the user a (local) notification when he arrives/leaves a specific place.</strong></p><p>In order to keep fellow developers from suffering from the lack of straight-to-the-point, easy-to-implement, swift-written tutorials that actually work, I’ve decided to write one myself, so here we go, I hope it helps 😉</p><h3>Requirements</h3><p>For this tutorial, I will assume that you already have the coordinates of the place you want to monitor, like for example, Apple’s headquarters (37.33233141, -122.0312186).</p><p>Also, make sure that you have permission to get user location even when they are not using the app. If you don’t know how to do that, take a look at this <a href="https://developer.apple.com/documentation/corelocation/choosing_the_authorization_level_for_location_services/requesting_always_authorization">link</a>, and then come back.</p><p>If you are all set, let’s get this show on the road. Follow these steps, and surely fame and glory await for you at the end:</p><h3>1. Define the region to be monitored</h3><p>The way region monitoring works in Swift requires that first you define a circular region.</p><p>We can center our region on the coordinates we want to monitor, and specify how big it will be by giving it a radius.</p><p>A <em>CLCircularRegion</em> also needs an identifier, so that they can be differentiated from other regions on your application.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/51a7b925ef3ebfb5fb8507105eb802e8/href">https://medium.com/media/51a7b925ef3ebfb5fb8507105eb802e8/href</a></iframe><h3>2. Specify which events will be monitored</h3><p>The next step is to define when we want to be notified of events that happen on the <em>geofenceRegion</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7bbf03792e10e916f6251338c02de2d4/href">https://medium.com/media/7bbf03792e10e916f6251338c02de2d4/href</a></iframe><p>By setting both of those values to true, we are saying that the app should be launched, and our locationManager’s delegate notified when the user <strong>enters</strong>, but also when they <strong>exit</strong> the defined region.</p><h3>3. Start monitoring</h3><p>To end our geofencing setup, we need to tell our locationManager to start monitoring this region</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f713bb912afb528ca41c6e56627d380/href">https://medium.com/media/0f713bb912afb528ca41c6e56627d380/href</a></iframe><p>A couple of things are worth noting from this step:</p><ul><li>Your app can register up to 20 regions at a time;</li><li>If you register a region with the same identifier as another region which is already being monitored, the old region is replaced by the new one;</li><li>Once the monitoring starts, it is shared by all location managers on your code, which means, the delegate that will receive the enter/exit events notifications doesn’t have to be on the same class as the location manager that started the monitoring;</li></ul><h3>4. Register as Delegate</h3><p>In order to be notified of region events (entry/exit), we need to implement two methods from the <em>CLLocationManagerDelegate</em> protocol.</p><p>For my use-cases, I needed to handle those events even if my app was terminated by the user, so I made my <em>AppDelegate</em> a <em>CLLocationManagerDelegate </em>as well, since that&#39;s the entry point between the iOS and my App.</p><p>The delegate protocol can be implemented by other classes if that’s what makes sense for your app.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bdb06dfb69e988e22b97420cacad3841/href">https://medium.com/media/bdb06dfb69e988e22b97420cacad3841/href</a></iframe><h3>5. Receive monitoring events</h3><p>This is the part where we calm down the compiler that was screaming at us saying our class wasn’t a <em>CLLocationManagerDelegate </em>by actually implementing what we need from the protocol</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d457ded92a96eb44704eae9325fad50/href">https://medium.com/media/5d457ded92a96eb44704eae9325fad50/href</a></iframe><p>The <a href="https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate/1423560-locationmanager">locationManager(_:didEnterRegion:</a>) method will be called, as the name suggests, when the user enters a monitored region. Since the <em>region</em> parameter is of type <em>CLRegion</em>, I checked to see of it was in fact a CLCircularRegion, and if so, called a method to handle this event.</p><p><a href="https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate/1423630-locationmanager">locationManager(_:didExitRegion:)</a> follows the same principle, but for exits from the region.</p><p>You don’t need to implement both methods, only the ones you said you&#39;d monitor on <strong>step 2 </strong>(remember notifyOnExit and notifyOnEntry?).</p><h3>6. Schedule a local notification</h3><p>On the previous step, the function handleEvent(forRegion:) was called, because that’s where our local notification will be scheduled. Let’s see how that works:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4743313d1234f68884a031c1ce80a3df/href">https://medium.com/media/4743313d1234f68884a031c1ce80a3df/href</a></iframe><p>It may seem like a lot of code, but the steps are trivial:</p><ul><li>Choose what our notification is going to look/sound like</li><li>Schedule when it will be triggered</li><li>Create a notification request</li><li>Add it to the UNUserNotificationCenter (see next step)</li></ul><h3>7. Get permission to notify</h3><p>On the previous step, a notificationCenter object was used to add a notification request to the <a href="https://developer.apple.com/documentation/usernotifications/unusernotificationcenter">UNUserNotificationCenter</a>.</p><p>A notification center is where all the notification-related magic occurs. It’s a shared object that’s going to help us get permission to notify our users, and manage our notifications.</p><p>The code below actually builds upon <strong>step 4</strong>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/63b265100e2cc58d65948c143bccdd29/href">https://medium.com/media/63b265100e2cc58d65948c143bccdd29/href</a></iframe><p>Since the Notification Center is a shared object (singleton) in order to get it’s instance, we use the <em>current() </em>method.</p><p>Then we set our class as its delegate so we can handle notification-related events, like user interaction with a notification.</p><p>After that, like most cool things in iOS, we need to ask permission to the user in order to do them. The <a href="https://developer.apple.com/documentation/usernotifications/unusernotificationcenter/1649527-requestauthorization">requestAuthorization(options:completionHandler:)</a> takes care of that for us, but <strong>make sure that it’s being called before you actually need to send one</strong>.</p><p>It’s not a good practice to ask the user for permission as soon as he opens the app for the first time, so try to find an appropriate moment that will have minimum impact on the user experience.</p><h3>8. Notify even if in foreground</h3><p>If your app is in foreground, we need an extra step to make the notification appear the same way it does on the other cases:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d22dca93b50ab8ba7509663aa92a8ce5/href">https://medium.com/media/d22dca93b50ab8ba7509663aa92a8ce5/href</a></iframe><p>On the previous step we set the AppDelegate to be the notificationCenter delegate, and one of the methods of that protocol that we need to implement is the <a href="https://developer.apple.com/documentation/usernotifications/unusernotificationcenterdelegate/1649518-usernotificationcenter">userNotificationCenter(_:willPresent:withCompletionHandler:)</a></p><p>If no implementation of this method is found, no notification will be shown while the app is in foreground. This is to keep the user from receiving a notification for content that is already being shown to him on the app.</p><p>To simplify things, line 5 of the code above says that the notification should be shown as an <em>.alert</em>, the same way it is shown on the other cases (background and terminated).</p><h3>9. Handle tap on notification</h3><p>If everything goes according to plan, your notification was triggered, the user was amused by its message and tapped it. Now what?</p><p>Now we need another delegate method that is going to be called whenever the user interacts with the notification, opening your app (if it’s not open already)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fce5dba7335ffaf80068d2577ab72153/href">https://medium.com/media/fce5dba7335ffaf80068d2577ab72153/href</a></iframe><p>Inside the <a href="https://developer.apple.com/documentation/usernotifications/unusernotificationcenterdelegate/1649501-usernotificationcenter">userNotificationCenter(_:didReceive:withCompletionHandler:)</a> we can access the identifier of the tapped notification, so we can react accordingly and direct the user to the corresponding view.</p><h3>10. App Terminated (optional)</h3><p>Sometimes users are bored and they decide to terminate apps that they have open for no reason, or maybe they have a reason, they are your users, I don’t know their lives 💁🏻‍♂️</p><p>At palpitadus, I was using the VIPER architecture, so my AppDelegate&#39;s <a href="https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application">application(_:didFinishLaunchingWithOptions:)</a> had some navigation logic on it that needed to be different if the app was launched by a location event.</p><p>If you need to differentiate who or what caused the launch of your app, inspect the launchOptions dictionary, which is a parameter of the aforementioned delegate method.</p><p>In it you can check if there are any entries for the key <a href="https://developer.apple.com/documentation/uikit/uiapplicationlaunchoptionskey/1623101-location">UIApplicationLaunchOptionsKey.location</a><em>. </em>If you find one, it means that your app was launched to handle an incoming location event.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c92c159052f3649f1de6b25e96c7d658/href">https://medium.com/media/c92c159052f3649f1de6b25e96c7d658/href</a></iframe><h3>You’re still here!?</h3><p>It may seem like a lot of steps, but after following them carefully you should have a super cool app that notifies users when they leave/enter specific places, but remember:</p><blockquote>With geofencing and notification come great responsibilities</blockquote><p>So don’t abuse your newly acquired powers, use them with wisdom, so as not to alienate your users and have them delete your app faster than you can say &quot;geofencing&quot;.</p><p>I really hope this tutorial was helpful, and if it wasn’t let me know on the comments so I can send you an apology letter. Or maybe help you get things working, whichever is more helpful 😉</p><p>Fully working (at the time of writing) project can be found <a href="https://github.com/hpbl/Geofencing-for-noobs">here</a>.</p><figure><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_image"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2IVAl0TbsfES9cFGYr40g.png" /></a></figure><p>📝 Read this story later in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_read_later_text">Journal</a>.</p><p>🗞 Wake up every Sunday morning to the week’s most noteworthy Tech stories, opinions, and news waiting in your inbox: <a href="https://usejournal.com/newsletter/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_text">Get the noteworthy newsletter &gt;</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29a1c6d15dcc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appledeveloperacademy-ufpe/geofencing-in-ios-swift-for-noobs-29a1c6d15dcc">Geofencing on iOS (Swift) for noobs</a> was originally published in <a href="https://medium.com/appledeveloperacademy-ufpe">Apple Developer Academy | UFPE</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On seeing opportunities on inabilities]]></title>
            <link>https://medium.com/@hiltonpintor/on-seeing-opportunities-on-inabilities-39ab8dcbd133?source=rss-7b543bc608b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/39ab8dcbd133</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[advice]]></category>
            <dc:creator><![CDATA[Hilton Pintor]]></dc:creator>
            <pubDate>Tue, 08 Nov 2016 10:03:10 GMT</pubDate>
            <atom:updated>2016-11-08T10:03:10.845Z</atom:updated>
            <content:encoded><![CDATA[<h4>or How I&#39;m learning it&#39;s ok not to know everything.</h4><p>I have always been very proud, and apparently I haven&#39;t done as great a job as I thought i had of hiding it. Recently it has been brought to my attention that the first impression I give is of arrogance, condescension, snobbery and vanity. For reasons beyond my comprehension, the people that made me aware of this decided I deserved a second impression, and for that I am very grateful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*KNOUGIccvEt0EzGj-FCeyg.jpeg" /><figcaption>Alright, maybe I get where it’s coming from.</figcaption></figure><p>Although this impression I apparently give is pretty far off from who I try to be nowadays, I have to admit on some stages of my life this discription was probably spot-on. Growing up, for reasons I currently don&#39;t know (or don’t want to think about), I used to believe I could do anything I wanted, and not only that, but I could do it better than anybody else, with very little effort, and on my own.</p><p>It pains me to say, but until this very day, I still have to fight this line of thought whenever I’m faced with the unknown, whenever Im asked to do something i cant. It took me a while to understand that I’m not expected to know everything, that its okay to ask for help, because above all: great things come from working hard and mainly from working hard together.</p><p>Everyday by being surrounded by people who know so much more than I do, by watching them do spectacular things, feats I’d never think of doing, coming up with great ideas like they’re rabbits being pulled from hats, and after all that being humble enough to say they don’t know anything, I am at the very least compelled to question my false sense of superiority.</p><p>Not knowing things is not a sign of weakness, asking for help doesn’t make you less than anybody, much to the contrary, inabilities are opportunities to learn and to grow. By admitting that I don’t know something, that I’m not always right, by reaching out to people I become better, and not better than anybody else, but better than I was before, and for now, that’s good enough for me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39ab8dcbd133" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Mondays are Awesome]]></title>
            <link>https://medium.com/@hiltonpintor/why-mondays-are-awesome-c6a31f741670?source=rss-7b543bc608b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a31f741670</guid>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[mondays]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[advice]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Hilton Pintor]]></dc:creator>
            <pubDate>Mon, 17 Oct 2016 09:23:17 GMT</pubDate>
            <atom:updated>2016-10-17T15:53:31.985Z</atom:updated>
            <content:encoded><![CDATA[<h4>or Why I don’t live for the weekend.</h4><p>Mondays have a bad rep, product of a culture of hating what you do. Saying mondays suck is just a shoot-the-messenger situation, people don’t really hate things, but what they represent. It’s all about how you connect to something, what’s your relationship with everything it represents, and for me: Mondays represent new beginnings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ptu2UJiwMHUAhJHmZAugA.jpeg" /></figure><p>Sure, it’s hard to wake up, it takes some time to get into full speed, and facing the morning commute can be tiresome, but eventually I get excited. Excited because it’s not the end of a cycle, it’s not the party-stopper, to the contrary, it’s the start of the journey.</p><p>Recently I read about how <a href="https://medium.com/art-of-practicality/the-1-piece-of-career-advice-buffet-jobs-and-fitzgerald-agree-on-bc915c7d56e#.21eedrxb2">we should go tap-dancing to work</a>, and reflecting on it, that’s exactly what I do. If you are stuck on a five-day cycle, where you see no point in what you are doing, work is a mind-less effort that interrupts your weekend fun. But when you believe what you are doing every week is making someone’s life better, it’s bound to make yours better too.</p><p>Hearing &quot;Mondays suck&quot; by the water cooler is like an offense to me. Monday is where I get to meet the amazing people on my life with whom I work or study, the day I get to do meaningful work and feel useful. Above all, It’s when because of my small contributions, I feel worthy of being on this planet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a31f741670" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computer science: more than you and a computer]]></title>
            <link>https://medium.com/@hiltonpintor/computer-science-more-than-you-and-a-computer-e3d522c56ef6?source=rss-7b543bc608b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3d522c56ef6</guid>
            <category><![CDATA[college]]></category>
            <category><![CDATA[university]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Hilton Pintor]]></dc:creator>
            <pubDate>Mon, 19 Sep 2016 00:49:48 GMT</pubDate>
            <atom:updated>2016-09-19T00:49:48.585Z</atom:updated>
            <content:encoded><![CDATA[<h4>At least for me.</h4><p>Three years studying Computer Science, I can comfortably say: code is not written on its own, and you should not be coding on your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QEXbZNnDGg8NmCLCHOiuSw.png" /><figcaption>two steves are better than one</figcaption></figure><p>One of the reasons that made me choose to enroll in CS was the prospect of making something entirely on my own, that could make me a millionaire over night. You may wan’t to stop reading now, Imean, it does seem like a very stupid reason and the person that made a possibly life-lasting choice based on it must be REALLY stupid. In response to that I say, keep reading, I’ll prove you right.</p><p>Since the very first semester of college I was presented with a new set of challenges every day, as every Intro to Programming exercise seemed to get ever so close to impossible and the Calculus tests so much more. It was really daunting to be finally brought to reality after all those years of school where I led myself to believe I was some kind of genius, that could learn anything effortlessly.</p><p>With all the power that comes with learning to code, and making machines bend to your will, a computer science course is, in spite of all, a very humbling experience. Take an algorithms course, or a any lower-level course that takes you closer to the nuts and bolts of computers, you’ll feel very intimidated by how those incredible humans were able to create such complex abstractions based on such simple mechanisms. Often times I would think Turing would be very disappointed if he knew I was one (of many) to carry on his legacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*x5UtjHlMj94QDOhsNr0ZvQ.jpeg" /><figcaption>Alan Turing judging you</figcaption></figure><p>As my dreams of being Zuckerberg or Gates were falling apart, one thing kept me going through the ever so soul-crushing tests and projects: the people who were there, going through the same thing as I was. I am incredibly grateful to have found a group of people who after a very short time I was already calling friends. Incredible people who are able to power through highly complex classes while drawing phallic shapes on each other’s notebook.</p><p><em>Group projects, so many group projects.</em></p><p>Enrolling on new projects and researches offered by my university, every person I met was a blessing in disguise. It was only after I finally understood that I wasn&#39;t competing with everybody, that I was finally able to see that with everyone around me lies a learning opportunity. I&#39;m proud to say that the coder I am today is much more because of the people who were kind enough to lend me a helping hand when Ineeded, than because of some mandatory class taught by a PhD teacher, or a superficial online course.</p><p>I’m not saying Iam a great coder, or anything close to that, what I am saying is that I am now better than I was yesterday, and everyday I become a little more because i&#39;ve surrounded myself with great people who give much more than they take.</p><p>Whether you are building a mobile application, a website, or anything that is going to be used by another person, you should not be doing it on your own. Great things happen from collaboration.</p><p><strong>Worthwhile programs are made for people, with people.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3d522c56ef6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>