<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Delete on Bruno Pedro</title><link>https://brunopedro.com/tags/delete/</link><description>Recent content in Delete on Bruno Pedro</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 08 May 2018 10:00:15 -0700</lastBuildDate><atom:link href="https://brunopedro.com/tags/delete/index.xml" rel="self" type="application/rss+xml"/><item><title>MapReduce related patterns</title><link>https://brunopedro.com/2011/09/26/mapreduce-related-patterns/</link><pubDate>Mon, 26 Sep 2011 21:16:15 +0000</pubDate><guid>https://brunopedro.com/2011/09/26/mapreduce-related-patterns/</guid><description>&lt;p>Here&amp;rsquo;s a list of possible MapReduce related patterns I&amp;rsquo;ve been thinking about:&lt;/p>
&lt;ul>
&lt;li>&lt;em>map-update&lt;/em>: update each mapped document and emit its updated or original version;&lt;/li>
&lt;li>&lt;em>map-delete&lt;/em>: delete each mapped document;&lt;/li>
&lt;li>&lt;em>map-reduce-map&lt;/em>: map results of a &lt;em>map-reduce&lt;/em>;&lt;/li>
&lt;li>&lt;em>map-map&lt;/em>: map results of a &lt;em>map&lt;/em>;&lt;/li>
&lt;li>&lt;em>map-recurse&lt;/em>: apply recursion to the mapping function until a stop condition occurs;&lt;/li>
&lt;li>any combination of patterns, e.g., &lt;em>map-reduce-map-update&lt;/em>.&lt;/li>
&lt;/ul>
&lt;p>Example usage:&lt;/p>
&lt;ul>
&lt;li>get the e-mail address of every customer with a negative balance: &lt;em>map-reduce-map&lt;/em>. First, &lt;em>map-reduce&lt;/em> to get the aggregate balance for each customer, then &lt;em>map&lt;/em> again to get only customers with negative value and emit their e-mail address;&lt;/li>
&lt;li>delete all documents older than one month: &lt;em>map-delete&lt;/em>. First, &lt;em>map&lt;/em> to get all documents older than one month and then &lt;em>delete&lt;/em> each one;&lt;/li>
&lt;li>get a list of documents and mark them as read: &lt;em>map-update&lt;/em>. First, &lt;em>map&lt;/em> to get the list of documents according to a given criteria, then &lt;em>update&lt;/em> each document marking it as read;&lt;/li>
&lt;li>and so on&amp;hellip;&lt;/li>
&lt;/ul></description></item><item><title>Your Google Alerts can be deleted by anyone</title><link>https://brunopedro.com/2010/09/15/google-alerts-deleted/</link><pubDate>Wed, 15 Sep 2010 23:43:57 +0000</pubDate><guid>https://brunopedro.com/2010/09/15/google-alerts-deleted/</guid><description>&lt;p>I found out the hard way that my &lt;a href="http://www.google.com/alerts" title="Google Alerts">Google Alerts&lt;/a> can be deleted by anyone, if they have access to the &amp;ldquo;Remove&amp;rdquo; URL.&lt;/p>
&lt;p>Here&amp;rsquo;s how it works: &lt;a href="http://google.com" title="Google">Google&lt;/a> will send you e-mail alerts whenever it finds results for any search terms you specify. At the bottom of each message there are 3 links:&lt;/p>
&lt;ul>
&lt;li>&amp;ldquo;Remove this alert&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;Create another alert&amp;rdquo;&lt;/li>
&lt;li>&amp;ldquo;Manage your alerts&amp;rdquo;&lt;/li>
&lt;/ul>
&lt;p>The problem is with the first link. I tried it several times, first using &lt;a href="http://google.com/chrome" title="Google Chrome">Chrome&lt;/a>&amp;rsquo;s incognito mode but then opening the link on a different browser, making sure that I wasn&amp;rsquo;t signed in to any Google application.&lt;/p></description></item><item><title>Vimeo will delete originals after one week</title><link>https://brunopedro.com/2009/07/14/vimeo-will-delete-originals-after-one-week/</link><pubDate>Tue, 14 Jul 2009 21:41:49 +0000</pubDate><guid>https://brunopedro.com/2009/07/14/vimeo-will-delete-originals-after-one-week/</guid><description>&lt;p>Quoting &lt;a href="http://vimeo.com/blog:215">New source file policy on Vimeo Staff Blog&lt;/a>:&lt;/p>
&lt;blockquote>
&lt;p>Starting August 1st, basic accounts&amp;rsquo; original source files will be stored for one week from the upload date, after which they will be removed.&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>(&amp;hellip;)&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>This new one-week policy applies to all basic accounts&amp;rsquo; videos uploaded from this point onwards. For videos that were uploaded before this blog post, those original files will be available until August 1st, to give you some time to download them if you need to. After August 1st, those files will also be removed.&lt;/p></description></item></channel></rss>