রবিবার, ২৪ ফেব্রুয়ারি, ২০১৩

Jason Kincaid On The Mythology Of TechCrunch

I was happily surprised to see Hunter Walk interview Jason Kincaid, one of the first TechCrunch employees. The interview is here and I’m reprinting it below. Jason joined TechCrunch when it was still being run out of my house (before the city of Atherton kicked us out). Even after “retiring” he’s still no. 11 on the all time tech writers list. Jason broke a lot of big stories. But he also has the rare ability to write thought pieces that shape Silicon Valley culture and thinking. From the moment he joined he was part of the core backbone of TechCrunch. From the article I wrote when he resigned in 2012: Jason has the rare ability in a writer to both break big stories on his own, as well as write strong opinion articles on the topics of the day. Younger writers (who were often older than him) looked to him for leadership and guidance. He could have quite easily run TechCrunch entirely after we left. Anyway, this interview is interesting because it talks about some of the things that happened early on, things that became part of the mythology of TechCrunch. It was great to see this. Early Employees: Jason Kincaid & the Rise of TechCrunch Jason Kincaid, early TechCrunch reporter (@jasonkincaid) Q: When did you join TechCrunch and how did you originally get connected to the team? A: I usually tell a sanitized version of this story, but what the hell. It was March 2008, and I?d just graduated from UCLA with a B.S. in biology, a minor in ?society and genetics?, and zero sense as to what I wanted to do with my life. My good friend Ed McManus (now cofounder of Yardsale) invited me to a party being thrown by an investor in honor of Scribd?s (the ?YouTube for documents?) first birthday. The party was unlike anything college had prepared me for ? and the likes of which I haven?t seen since. Caviar and vodka shots. Sculptures made of seafood. A basement that had been overhauled to resemble a vintage gas station. Waiters who walked around with endless glasses of champagne, deftly swooping in as soon as one hit empty. I?d had a few ? and sure, I sampled the vodka ? but the single stair, running the full length between the living room and a hallway, really should not have been there. It was too easy

Source: http://feedproxy.google.com/~r/Techcrunch/~3/YOZ4tSl58Mg/

michigan primary results olympia snowe davey jones dead monsanto boston weather dr seuss birthday romney michigan

Alcatel One Touch Fire joins the Firefox OS cuddle party, we go hands-on (video)

Alcatel One Touch Fire

ZTE may have had a head start in the Firefox OS race ahead of MWC, but Alcatel's also got something similar to ride on the waves of some "500 million Mozilla users." Suitably dubbed the One Touch Fire, this entry-level phone is basically a rehash of the budget One Touch T'Pop announced back at CES, packing a 3.5-inch HVGA TN display, a 1GHz processor, 256MB RAM, 512MB storage and a 3.2-megapixel camera. There are also the usual bunch of radios: WiFi 802.11b/g/n, Bluetooth 3.0, GPS, FM radio and UMTS 900/2100 and 850/1900/2100 (up to 7.2Mbps for download and 5.76Mbps for upload). Underneath the removable 1,400mAh battery you'll find a microSD slot that'll take anything up to 32GB (a 2GB card is included), as well as a slot for an old-school Mini-SIM card.

We got the chance to play with the Fire earlier today and while the glossy plastic body -- in either orange or pink -- felt solid enough, the performance wasn't quite there yet: the touch and software response were significantly sluggish, as you'll see in our hands-on video after the break. On the brighter side of things, the surprisingly large loudspeaker on the back produced some punchy bass, but don't expect too much from its audio quality. Alcatel has a few more months to grease up the phone before its June launch across Latin America and Europe, so we'll be able to give it a proper score then. Press release after the break.

Filed under: ,

Comments

Source: http://www.engadget.com/2013/02/24/alcatel-one-touch-fire/

the chronicle spinal stenosis the forgotten man mike jones just friends chronicle george lopez

Iran says it has captured a foreign 'enemy drone'

TEHRAN, Iran (AP) ? Iran's powerful Revolutionary Guard says it has captured a foreign unmanned aircraft during a military exercise in southern Iran.

The official IRNA news agency on Saturday quoted Gen. Hamid Sarkheili as saying that the Guard's electronic warfare unit spotted signals indicating that foreign drones were trying to enter Iranian airspace. Sarkheili, a spokesman for the military exercise, says Guard experts took control of one drone and brought it down near the city of Sirjan where the exercise is being held.

Sarkheili didn't say if the drone was American. He referred to it only as a "foreign enemy drone."

Iran has claimed to have captured several U.S. drones, including a RQ-170 Sentinel advanced drone in December 2011 and at least three ScanEagle aircraft.

Source: http://news.yahoo.com/iran-says-captured-foreign-enemy-drone-183530547.html

charles colson humber raffi torres michael mcdonald jon jones vs rashad evans earth day 2012 jon jones rashad evans

Custom Timer Jobs of Copying List Items to Database using Entity Framework


In this article we can try creating a custom Timer Job in SharePoint.? The tools we are going to use are following:

?? Visual Studio 2010
?? SharePoint DevTools from CodePlex

We can start with analysing what is a Timer Job.

What is a Timer Job?


A Timer Job is a periodically executed task inside the SharePoint Server.? It allows us by providing a task execution environment.



For example we can execute tasks like: Sending Emails on every hour, Data Updating on every day, creation of reports on every week etc.

Default Timer Jobs inside SharePoint


There are many Timer Jobs inside SharePoint which do the internal tasks like:
?? Sending emails
?? Validating sites
?? Delete unused sites
?? Health analysis
?? Product versioning
?? Diagnostics
These tasks will be having execution periods like:
1.? Minute
2.? Hour
3.? Day
4.? Week
5.? Month

Manage Timer Jobs


You can see the Timer Jobs from Central Administration > Monitoring > Manager Timer Jobs


Following is the list of some Timer Job Definitions:


You can select each Job Definition and change the schedule or disable it.

Creating a Custom Timer Job Definition


Now we are ready with the basics to proceed with creating a Custom Timer Job.

Scenario


We have a list named Products which is custom template.? Any new product arriving has to be posted to an SQL Server database so that the company website can show it to potential customers.

So the activities involved are the following:

1.? Create Products List inside SharePoint
2.? Create Product Table inside Database
3.? Create the Timer Job Definition
4.? Create Event Receiver
5.? Create the Database Insert Method
6.? Deploy the Timer Job
7.? View the Results

Step 1: Create Products List inside SharePoint

Here is the List Definition: (the list template with data is attached with the article)


You can see that the core columns of the list are:

Column
Description
Title
The name of the Product
Description
About the Product
Price
The price of the Product



The HasPosted column determines whether the item is copied to the Products database.?

After installing the list from template you will can see it is having 2 items:


Step 2: Create Product Table inside Database

Now we need to create the destination database and table.? Following is the table definition.? (the table sql is attached with the article)


Step 3: Create the Timer Job

In this step we can go ahead and create the Timer Job.? For this you require Visual Studio 2010 and the SharePoint templates installed.

Open Visual Studio and create a new Empty SharePoint Project as shown below:


In the next page select your server and use Deploy as Farm solution option:


Click the Finish button after entering the options.

Now add a new class and derive it from SPJobDefinition as shown below.

using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.SharePoint.Administration;
 
 namespace SPTimerJobExample
 {
     public class ProductsJobDefinition : SPJobDefinition
     {
     }
 }

Now replace the above file with the following content.

using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.SharePoint.Administration;
 using Microsoft.SharePoint;
 
 namespace SPTimerJobExample
 {
     public class ProductsTimerJob : SPJobDefinition
     {
         public ProductsTimerJob()
             : base()
         {
 
         }
 
         public ProductsTimerJob(string jobName, SPService service, SPServer server, SPJobLockType lockType)
             : base(jobName, service, server, lockType)
         {
             this.Title = "Products Timer Job";
         }
 
         public ProductsTimerJob(string jobName, SPWebApplication webapp)
             : base(jobName, webapp, null, SPJobLockType.ContentDatabase)
         {
             this.Title = "Products Timer Job";
         }
 
         public override void Execute(Guid targetInstanceId)
         {
             SPWebApplication webapp = this.Parent as SPWebApplication;
             SPContentDatabase contentDb = webapp.ContentDatabases[targetInstanceId];
 
             SPList list = contentDb.Sites[0].RootWeb.Lists["Products"];
 
             CopyItems(list);
         }
 
         private void CopyItems(SPList list)
         {
             foreach (SPListItem item in list.Items)
             {
                 bool hasPosted = (bool)item["HasPosted"];
 
                 if (!hasPosted)
                 {
                     new DbManager().Insert(item);
 
                     item["HasPosted"] = true;
                     item.Update();
                 }
             }
         }
     }
 }

The above code is performing the following activities:

1.? Get the list of items from Products where HasPosted is false
2.? Insert the Product into Database
3.? Mark the item HasPosted to true

We need to include the DbManager class file and will be done in the upcoming step.

Step 4: Create Event Receiver

Now we have to create an event receiver which performs the installation or uninstallation of the Job Definiton.

In the Solution Explorer right click on Feature and use the Add Feature item.

In the appearing dialog change the title to Products Job Definition and the Scope to Site

Now right click on the Solution Explorer > Feature 1 and click Add Event Receiver

Inside the class content of Feature1.EventReceiver.cs place the following code.

??

 const string JobName = "Products Timer Job";
 
         public override void FeatureActivated(SPFeatureReceiverProperties properties)
         {
             SPSite site = properties.Feature.Parent as SPSite;
 
             DeleteJob(site); // Delete Job if already Exists
 
             CreateJob(site); // Create new Job
         }
 
         private static void DeleteJob(SPSite site)
         {
             foreach (SPJobDefinition job in site.WebApplication.JobDefinitions)
                if (job.Name == JobName)
                     job.Delete();
         }
 
         private static void CreateJob(SPSite site)
         {
             ProductsTimerJob job = new ProductsTimerJob(JobName, site.WebApplication);
 
             SPMinuteSchedule schedule = new SPMinuteSchedule();
             schedule.BeginSecond = 0;
             schedule.EndSecond = 5;
             schedule.Interval = 5;
 
             job.Schedule = schedule;
             job.Update();
         }
 
         public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
         {
             DeleteJob(properties.Feature.Parent as SPSite); // Delete the Job
         }

You need to add the using as well:

using Microsoft.SharePoint.Administration;



Step 5: Create the Database Insert Method

In this step we can complete the DbManager class file.? Here we are using Entity Framework associated with .Net 3.5 version.

For this add a new Entity Data Model into the project and map to the Product table which we have created in previous step.


Now create a class file named DbManage.cs and replace it with the following content.


using System;
 
 namespace SPTimerJobExample
 {
     public class DbManager
     {
         public void Insert(Microsoft.SharePoint.SPListItem item)
         {
             using (ProductionModel context = new ProductionModel(GetConnectionString()))
             {
                 Product product = new Product();
                 product.Title = item["Title"].ToString();
                 product.Description = item["Description"].ToString();
                 product.Url = item["Url"].ToString();
                 product.Price = (double)item["Price"];
                 product.PostedOn = DateTime.Today;
 
                 context.AddToProducts(product);
 
                 context.SaveChanges();
             }
         }
 
         public string GetConnectionString()
         {
             string connectionString = new System.Data.EntityClient.EntityConnectionStringBuilder
             {
                 Metadata = "res://*",
                 Provider = "System.Data.SqlClient",
                 ProviderConnectionString = new System.Data.SqlClient.SqlConnectionStringBuilder
                 {
                     InitialCatalog = "YOUR-DB-NAME-HERE",
                     DataSource = @"YOUR-SERVER-NAME-HERE",
                     IntegratedSecurity = false,
                     UserID = "YOUR-USER-ID-HERE",   
                     Password = "YOUR-PASSWORD-HERE",          
                 }.ConnectionString
             }.ConnectionString;
 
             return connectionString;
         }
     }
 }

The above code contains the Insert() method to insert new record into the Product table.

For the time being I am hard coding the connection string.? You need to specify the correct user credentials in the GetConnectionString() method.

Note: Please note that the connection string is loaded from the executing application's configuration file.? In the case of Timer Jobs the configuration file will be OWSTIMER.exe.config residing in the 14hive folder.

Step 6: Deploy the Timer Job

Now we are ready to deploy the Timer Job into the SharePoint Site.? For this right click on the solution and click the Deploy option.

If you get the Deploy Succeeded message we are good.

Step 7: View the Results

Now we can go to the Central Administration to see our Timer Job.? For this open Central Administration web site and go to Monitoring > Review Job Definitions


On clicking the Review Job Definitions link you can see our item as shown below:


Click on the item and in the appearing page click the button Run Now


You can see that the Timer Job is set for 5 Minutes according to our code.

Now we can go back to the Products list and see that the HasPosted is set to True.


Going to the SQL Server Table we can see both the records are inserted there.

?


Troubleshooting Tips

While developing timer jobs, you might need to delete the assembly and feature as well.? Please note the following points for troubleshooting guidance:

?? Features are deployed to the 14hive folder
?? The assembly gets deployed to GAC folder
?? You can use RETRACT option from? Visual Studio
?? You can use GACUTIL to uninstall the assembly
?? You can remove the Feature from 14hive folder

For troubleshooting the Farm Solutions or User Solutions you can use:

?? Central Administration > System Settings > Manage Farm Solutions
?? Central Administration > System Settings > Manage User Solutions


You can Retract or undo the last Retract schedule there.

For checking the Job Status or History you can use:

?? Central Administration > Monitoring >? Check Job Status > Timer Job Status
?? Central Administration > Monitoring >? Check Job Status >? Timer Job History

These screens will show the Success / Failure status of the jobs and any errors associated.? For example an invalid connection string problem is identified as shown below:


Debugging Tips



In some cases the Timer Service hold the old version of assembly.? So the new changes you have done through Visual Studio may not get reflect immediately.? You can change the assembly version and view the GAC to ensure the correct version was deployed.


Plus you can restart the SharePoint 2010 Timer Service from services.msc


Note: In the case of Integrated Security as True in connection strings, the authenticated user would be the Service Account user assigned in the service.

References


Technet on Timer Jobs
Code on Timer Jobs
Solution Removal using PowerShell

Summary


In this article we have explored the Timer Job feature of SharePoint and creating a custom timer job. ?Following are the key points to be remembered:

?? Timer Jobs can be scheduled for automating jobs inside SharePoint 2010
?? SPJobDefinition is the base class for Timer Job
?? Create Event Receiver Feature to create or delete the timer job
?? SPFeatureReceiver is the base class for event receiver
?? The feature gets deployed in the 14hive folder
?? OWSTIMER.EXE is the process executing Timer Jobs

The associated source code along with the list template with data is attached.? You can download and try running it.

Source: http://feedproxy.google.com/~r/DotNetSparkArticles/~3/Vp-ppQeCWhQ/5351-custom-timer-jobs-copying-list-items-to.aspx

jon bon jovi jon bon jovi Kliff Kingsbury Amish Mafia Dave Grohl 121212 Cal State Fullerton

Ex-bodyguard: Mayor knew of credit union debit cards (creditunionaccess)

Sorry, Readability was unable to parse this page for content.

Source: http://news.feedzilla.com/en_za/stories/business/286879103?client_source=feed&format=rss

between two ferns statins chardon sean young juan pablo montoya free pancakes at ihop martina navratilova

Hunsakers to Celebrate 60th wedding anniversary

Sorry, Readability was unable to parse this page for content.

Source: http://www.dailystatesman.com/story/1944122.html

Safe Haven Robbie Rogers WWE Rita Ora Meteor Russia jay z Oscar Pistorius

This (Hypothetical) Founder Saved $3 Million In Federal Taxes

Image (1) moneybags.png for post 38436Editor's note: Alex Katz is partner and CFO with ff Venture Capital,?an institutional investor in seed-stage companies.? Many venture-capital firms and other investors insist on investing only in corporations in order to avoid the complications that may flow from an investment in an LLC. As a result, many founders start their businesses as a corporation before the receipt of VC funding.?In so doing, they are giving up what could be a substantial tax opportunity.

Source: http://feedproxy.google.com/~r/Techcrunch/~3/U-nMto38etU/

madden cover obama slow jams the news metta world peace ron artest gladys knight private practice deion sanders