Wednesday, February 27, 2013

Polynomial Equation Solver - CodeProject

 Introduction to Article

Recently I came across a situation where I needed to solve a 4th degree polynomial equation in .NET, and to my surprise I couldn't find any code written in C# or VB .NET that contained the algebraic formulas (I did find some C++ and C# implementations , but they were numerical solutions and I didn’t want to use them).
The algebraic formulas are nasty, and would definitely clog up your day if you ever had a need for one, so I decided to share it with you. I also have a rather lengthy story to follow it, as I have read "The equation that couldn’t be solved" by Mario Livio. The title of the book refers to the story of the insolvability of the 5th degree polynomial equation, but it also goes through the historical development of the solutions to lower degree polynomial equations.
I won’t give any explanations of how these formulas were derived, as the formulas get quite lengthy, so long that in fact that even Tartaglia (one of the people that had a part in solving the cubic equation) had problems in remembering all the rules he had discovered. 


Polynomial Equation Solver - CodeProject

Tuesday, February 26, 2013

Authenticating a Web service with Active Directory group - CodeProject

Active Directory
Active Directory (Photo credit: arrayexception)
I'm going to have to add interaction with Active Directory to a project soon. This article is helpful!

Authenticating a Web service with Active Directory group - CodeProject
Enhanced by Zemanta

Find and Replace Utilities

Notepad (software)
Notepad (software) (Photo credit: Wikipedia)
It's tempting to just try using "Find and Replace" in notepad or wordpad if you are running Windows,. but don't do it if your file is large and/or you have a bunch of files all needing the same text replaced. Instead try a utility. The one's listed below are really good. I had 8 sql files that contained queries that all had to be edited the same way and Replace Text handled it quickly. I was trying to use Notepad on just one of the files and it didn't finish replacing the text although I ran it all night. the night before. I'm not getting paid for the endorsement but it came in real handy - and it's free.

Replace Text :: ecobyte :: software with a cause

Another free piece of software that does a similar job is Text Crawler.  Download and read more about it at:

http://download.cnet.com/TextCrawler/3000-2352_4-10805637.html
Enhanced by Zemanta

Friday, February 22, 2013

A Beginner's Tutorial on How to Host a WCF Service (IIS Hosting and Self Hosting) - CodeProject

PDC2008-Day1-29
PDC2008-Day1-29 (Photo credit: Michael Dunn~!)
Intro to Article

In this article we will see how we can host a WCF service. We will look at various ways a WCF service can be hosted and what are the benefits and drawbacks of each hosting method. We will also create a sample client application that will consume the WCF service hosted in different ways.

A Beginner's Tutorial on How to Host a WCF Service (IIS Hosting and Self Hosting) - CodeProject
Enhanced by Zemanta

Wednesday, February 20, 2013

How It Feels [through Glass] - YouTube

Image representing Google as depicted in Crunc...
Image via CrunchBase
What will it be like to use Google Glass? I hope like this!



How It Feels [through Glass] - YouTube
Enhanced by Zemanta

Playing with Google Drive SDK and JavaScript - CodeProject

Google Drive ähnelt Commerzbank Logo
Google Drive ähnelt Commerzbank Logo (Photo credit: Vanderelbe.de)
From the intro to the Article:

The Google Drive API is a standard RESTful API. You can access the functionalities only by issuing HTTP requests, so you do not need any special SDK. However the requests have to be signed. OAuth protocol is used to secure the communication. Google provides a SDK for many languages, JavaScript being one of them. Using this SDK facilitates the creation of HTTP requests. The API provides a good compromise between the simplicity and flexibility.

Playing with Google Drive SDK and JavaScript - CodeProject
Enhanced by Zemanta

3Doodler: The World's First 3D Printing Pen by WobbleWorks LLC. — Kickstarter


It's a pen that can draw in the air! 3Doodler is the 3D printing pen you can hold in your hand. Lift your imagination off the page!


3Doodler: The World's First 3D Printing Pen by WobbleWorks LLC. — Kickstarter
Enhanced by Zemanta

Tuesday, February 19, 2013

Mobile Augmented Reality with Android and OpenglES - CodeProject

This article describes how to create a basic augmented reality application using Android SDK and OpenglES. This application shows a 3D cube (virtual object) overlaid to the camera surface (real world).

Mobile Augmented Reality with Android and OpenglES - CodeProject

Ready to use simple directory chooser dialog on Android - CodeProject

android
android (Photo credit: osde8info)
Introduction to Article

Every time you need to choose a certain SD card directory in your Android  application you need to load a kind of directory chooser dialog that will offer a graphical interface to select a required directory.
Unfortunately Android does not provide any built in directory chooser dialog as is expected by Android developers. Thereby developers have to write their own directory chooser dialog. In this article I present an implementation of simple directory chooser dialog for Android SD card. The implementation is contained in a single file and does not use any extra resources except for the pre-defined Android  resources.  This assumes very easy integration of the dialog in Android applications.   


Ready to use simple directory chooser dialog on Android - CodeProject
Enhanced by Zemanta

Detecting incoming and outgoing phone calls on Android. - CodeProject

The Android Emulator home screen.
The Android Emulator home screen. (Photo credit: Wikipedia)
Check this out.

How to detect incoming and outgoing phone calls on Android platform. It can be useful, if you need to perform some action when call is made. For example, to block it, to log it, or send call info to a server.

Detecting incoming and outgoing phone calls on Android. - CodeProject
Enhanced by Zemanta

Tuesday, January 29, 2013

A Smart Card Framework for .NET - CodeProject

English: CP8 smart card (recto) - first commer...
English: CP8 smart card (recto) - first commercially available smart card (Photo credit: Wikipedia)
Need a framework to write applications in .NET for manipulating a smart card? Yeah, me too. This article will help


A Smart Card Framework for .NET - CodeProject
Enhanced by Zemanta

Monday, January 28, 2013

Write to Excel Sheet through Matlab - CodeProject

MATLAB
MATLAB (Photo credit: Wikipedia)
 Never thought about doing this, but it could be so helpful!
This tutorial gives a complete overview as to how to write an Excel file from Matlab. Lot of times, we come across situations, where we need to save the data or read the data generated from the experimental simulation to an Excel file.

Write to Excel Sheet through Matlab - CodeProject
Enhanced by Zemanta

Sunday, January 27, 2013

Hello World on the PlayStation® Vita: Deploying code to the Vita - CodeProject

Introduction to a good article

On 19 November 2012 Sony announced that its PlayStation Mobile Developer program was out of beta and was officially launching. The program allows developers to make applications and games that target a range of PlayStation certified devices. These include the PlayStation Vita and a number of other Android based devices.

My intention here is to only write a "Hello World" application and get it running on a PS Vita. While I talk about some of the code that is presented with this article this article doesn't focus on the code. Instead my goal is to get document what I needed to do to get a Hello world program running on the Vita, including meeting Sony's requirements for deploying to a device. I encountered a few obstacles to this task. But from a documentation standpoint this is a good thing since this may help other developers more easily avoid the obstacles I ran into.

Requirements

  • Windows 7 (Windows 8 not supported)
  • PlayStation Mobile SDK (PSM SDK)
  • (Optional)PlayStation Certified device
  • Familiarity with C#
  • Some familiarity with pixel and vertex shaders
  • Residence in one of the countries where the SDK is supported



Hello World on the PlayStation® Vita: Deploying code to the Vita - CodeProject

Saturday, January 26, 2013

Multithreading Demystified - CodeProject

Here are a couple of articles regarding how to do programming using multithreading.


Multithreading Demystified - CodeProject

Enhanced by Zemanta

Monday, January 21, 2013

How to sync iTunes with Android | How To - CNET

Here is a good article that explains how to use Android with iTunes. 

How to sync iTunes with Android | How To - CNET

Thursday, January 17, 2013

Mobile, Tablet and Desktop Development All at The Same Time - CodeProject

I think I might have to look into the following tool!

 DXTREME from DevExpress. For US$899, it sells itself as enabling you to create hybrid apps for iOS, Android, Windows 8 and the web all in one toolset with a single codebase. While this is not necessarily something new, DevExpress does more than just cross compilation taking it further by also augmenting your app’s design so that you can create native looking apps for each platform without having to do so much heavy lifting. One codebase, but your iOS app look like a cocoa-touch interface, and your Android app follows similar modern droid device specific design patterns.

Mobile, Tablet and Desktop Development All at The Same Time - CodeProject

Tuesday, January 15, 2013

Wednesday, January 9, 2013

Simple notepad for Android - CodeProject

Arcticle for writing a notepad on Android

Simple notepad for Android - CodeProject

Monday, January 7, 2013

OCR using silverlight 5 - CodeProject

Image representing Microsoft Silverlight as de...
Image via CrunchBase
Here is an article for employing OCR using Silverlight 5!

OCR using silverlight 5 - CodeProject
Enhanced by Zemanta

How to make python faster - CodeProject

English: Python logo Deutsch: Python Logo
English: Python logo Deutsch: Python Logo (Photo credit: Wikipedia)
 Here is a great article about how to make python run faster!

How to make python faster - CodeProject
Enhanced by Zemanta

XFINITY WiFi: Comcast WiFi, WiFi Access For XFINITY Internet Customers at No Extra Charge

This program allows one to connect two computers together and use their monitors together.



XFINITY WiFi: Comcast WiFi, WiFi Access For XFINITY Internet Customers at No Extra Charge

Sunday, January 6, 2013

VMLite VNC Server - Android Apps on Google Play

Now here is an app designed to make your PC control your Android device and the device does not even need to be rooted!  Instructions

VMLite VNC Server - Android Apps on Google Play