<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Api on Emad Alashi</title>
    <link>https://emadashi.com/tags/api/</link>
    <description>Recent content in Api on Emad Alashi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 26 Aug 2010 18:24:32 +0000</lastBuildDate>
    <atom:link href="https://emadashi.com/tags/api/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Use Powershell To Follow Your Followers On Twitter</title>
      <link>https://emadashi.com/2010/08/use-powershell-to-follow-your-followers-on-twitter/</link>
      <pubDate>Thu, 26 Aug 2010 18:24:32 +0000</pubDate>
      <guid>https://emadashi.com/2010/08/use-powershell-to-follow-your-followers-on-twitter/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Twitter &amp;ldquo;&lt;a href=&#34;http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers&#34;&gt;statuses/followers&lt;/a&gt;&amp;rdquo; API documentation had a small note at the bottom that says it returns only 100 followers if no paging is used. I have updated the script accordingly. Thanks to &lt;a href=&#34;http://twitter.com/RamyMahrous&#34;&gt;@RamyMahrous&lt;/a&gt; for notifying me in his comment below.&lt;/p&gt;
&lt;p&gt;For a long time I thought that &lt;a href=&#34;http://www.twitter.com/DotNetArabi&#34;&gt;@DotNetArabi&lt;/a&gt; shouldn’t follow it’s own followers due to various reasons I had, but lately I discovered that I was wrong. So I have decided to follow them back no matter how many they are, but that would be a tedious thing to do manually. Here comes &lt;a href=&#34;http://en.wikipedia.org/wiki/Powershell&#34;&gt;Powershell&lt;/a&gt; to the rescue.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stressful Situations Make You Stupid</title>
      <link>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</link>
      <pubDate>Wed, 12 May 2010 07:16:19 +0000</pubDate>
      <guid>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</guid>
      <description>&lt;p&gt;Today we came across an interesting issue at work: we have two teams A and B who interchange API calls. Team A needed an API from team B to process a business that is owned by team B of course. The signature was like the following:&lt;/p&gt;
&lt;p&gt;public OutputEntity MyMethod(List listOfIds);&lt;/p&gt;
&lt;p&gt;It appeared afterward that this method was very slow, and the client was already very upset about the low performance, which consequently caused big pressure on the teams by the superiors to enhance the performance.&lt;br&gt;
After investigating the issue, it appeared that the list of ID&amp;rsquo;s sent as input consists of some ID&amp;rsquo;s that do not need to be processed, this criteria of “not need to be processed” is a business owned by team B, done by using properties of the entities these ID&amp;rsquo;s represent. So the  solution to this issue was one of the following:&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Case We Shouldn’t Use Stored Procedure’s In</title>
      <link>https://emadashi.com/2009/06/a-case-we-shouldnt-use-stored-procedures-in/</link>
      <pubDate>Tue, 09 Jun 2009 12:51:18 +0000</pubDate>
      <guid>https://emadashi.com/2009/06/a-case-we-shouldnt-use-stored-procedures-in/</guid>
      <description>&lt;p&gt;We are working on this big project at work in which several teams are assigned to different modules. The modules are, naturally, overlapping in certain areas where they they need to interact with each other through API&amp;rsquo;s.&lt;/p&gt;
&lt;p&gt;One of these modules is central and crucial to the rest of the modules, the dependency is very high that the team has to provide many API&amp;rsquo;s. Certain API&amp;rsquo;s was needed by different modules; our team needed a list of entity X, and another team also wanted a list of entity X, BUT…we had different criteria!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
