asad's profileSirAsad's SpacePhotosBlogGuestbookMore ![]() | Help |
SirAsad's SpaceUnlimited Information |
|||||||||||||||
|
Public folders
December 02 Five reasons to kill IT projects Five reasons to kill IT projects A recent study highlighted the top five reasons IT experts who killed a project gave for terminating projects prior to completion. Check out the five reasons. Here’s the list, with my commentary on each issue: 1. Business needs changed: 30% There are many conditions and situations where a business legitimately changes its requirements after starting a project. If the project no longer provides meaningful value, then it’s best to stop throwing good money after bad. On the other hand, some organizations deliberately obscure a flawed project requirements process by claiming business needs evolved. Obviously, that’s unhealthy and a true sign of failure. 2. Did not deliver as promised: 23% This is a typical expectation-setting problem: promise anything to get funding and worry about the consequences later. Shortsighted managers don’t realize that funding is less important than delivering substantive value. Failure is inevitable when managers don’t clearly identify and deliver business value. In some cases, the project really did provide value, which the organization did not recognize due to communication problems. I recently blogged about one CIO seeking a publicist, presumably to address this issue: Many organizations take a CIO for granted when his IT department consistently delivers the goods without fanfare and attention; sadly, this human failing is all too common. In that case, PR might be a great idea, especially if the CIO isn’t a great communicator. Of course, the CIO should improve his communication skills, but that’s another story. 3. Project was no longer a priority: 14% If the organization shifted direction without good reason, thus making the project superfluous, then flawed strategic planning was the culprit. However, if business requirements changed for a good reason, as suggested in point one, there’s not necessarily a problem. In general, and this is an obvious point, canceling projects without a darn good reason is a definite sign of failure. 4. Project exceeded the budget: 13% On the surface, over-budget projects are the basic metric for failure. I’m actually surprised this number isn’t higher, because unanticipated cost is always such a clear red flag. At the same time, some projects run over-budget due to intelligent scope increases that provide additional value. For example, while automating two departments, the project team realizes it can add a third department for only marginal increases in cost. In such cases, going forward is probably the right decision despite the higher spend. Although tempting to use budget performance as simple metric of success or failure, that approach can be overly simplistic and ignore important nuances related to business value. Nonetheless, anytime a project goes over-budget the team must offer a detailed explanation. 5. Project did not support the business strategy: 7% This classic indicator of failure often suggests a project rooted in poor requirements analysis. However, as with previous points, it’s also possible changing business needs made the original project goals obsolete. ===== The survey is most interesting to highlight significant issues
related to project failure. However, some of the questions are too
ambiguous to provide straightforward conclusions. In general,
understanding whether a project is successful requires examining the
business environment and context.Via: TechRepublic Protect your JavaScript with obfuscation Protect your JavaScript with obfuscation JavaScript is the standard language for building powerful Web applications. A drawback of its usage is the ability for others to easily view JavaScript code via the View Source Web browser option. While this isn’t always a concern, there are times when it is better to keep prying eyes away. Thankfully, there are ways to accomplish this via code obfuscation and tools that make it easy to use.
Obfuscation primerSimply put, the word obfuscation means to make something less clear and harder to understand. Obfuscation involves converting source code into equivalent code that is difficult to reverse engineer. An obfuscator is a tool that makes this possible. Obfuscation does not make it impossible to reverse engineer, but it presents many roadblocks. Obfuscation is accomplished using various techniques. The following list provides an overview of these techniques:
A key feature of obfuscation is deobfuscation, which means making it hard to reverse the process. That is, you want to make it difficult to reverse the obfuscation process to discover the original code. With that in mind, obfuscation tools attempt to thwart common deobfuscation techniques and take advantage of known deobfuscation weaknesses. It is worth noting that obfuscation is not restricted to code; it can be used to hide data as well, but this article focuses on source code. One caveat of obfuscation is the possibility of optimizing your code since extraneous code is often removed. With a basic understanding of the topic, let’s turn our attention to the tools available putting obfuscation in motion. Obfuscator toolsA simple Google search yields an overwhelming number of results when trying to locate obfuscation tools. The following list provides a sampling of these tools:
![]()
The difference with these tools is the obfuscation techniques they provide. At the most basic level, all the tools allow you to compress code by removing whitespace and comments. The next level is renaming variables, but where do the tools go from there? This is where the tools differentiate themselves. I like the Jasob tool, but there doesn’t seem to be a consensus within the community about which tool is best. In the end, you utilize what best meets your needs. In actionObfuscation doesn’t always have to be a complicated process. I’ll use this simple JavaScript function as the source for an obfuscation example: // A test function Now, running this code through a simple obfuscation can yield the following line of code: function test(){var atv="Test";alert(atv);}
In this case, the obfuscation process included the removal of whitespace and comments. In addition, the variable name was altered. This simple example provides a sampling of what may happen to more robust code. Protect intellectual propertyA lot of hard work goes into developing JavaScript code that meets your needs. While the Web promotes the sharing of such code, there are times when you or a client may not want to share their JavaScript code. This may be due to the sensitive nature of data within the code, proprietary calculations, or any other scenario. JavaScript obfuscation provides a vehicle for keeping your source code from prying eyes. Of course, a rogue developer may invest a lot of time and money to deobfuscate your code, but the key is not making it simple. Do you worry about another developer stealing your source code? Do
you utilize obfuscation to protect your code? If so, what tools do you
prefer? Share your thoughts with the Web Developer community by posting
to the article discussion.Via: TechRepublic November 10 Socket Programming C#Socket Send and Receive [C#]This example shows how to send and receive data via TCP/IP using Socket in .NET Framework. There are methods Socket.Send and Socket.Receive.Socket.Send methodSend method sends data from your buffer to a connected Socket. When you call the Send method it returns number of bytes which were „sent“. But it doesn't mean that the bytes were already received by the other side, it only means that the data were stored in a socket buffer and the socket will be trying to send them. If the socket buffer is full a WouldBlock error occurs. You should wait for a while a try to send the data again. Following method sends size bytes stored in the buffer from the offset position. If the operation lasts more than timeout milliseconds it throws an exception. [C#]
November 08 Azarhesab published!Hi , our company Accounting program published . It's Very Cool program.... We called this AZARHESAB , integrated accounting system. For more information , please call me... TAGS: azarhesab , azar hesab , hesab azar , tabriz November 03 J2ME TutorialIntroduction J2ME![]() IntroductionThis tutorial assumes that you have some familiarity with general programming concepts and the Java language. What is J2ME?J2ME stands for Java 2, Micro Edition. It is a stripped-down version
of Java targeted at devices which have limited processing power and
storage capabilities and intermittent or fairly low-bandwidth network
connections. These include mobile phones, pagers,wireless devices and
set-top boxes among others.
What is a J2ME Configuration?A configuration defines the minimum Java technology that an application developer can expect on a broad range of implementing devices. J2ME Connected, Limited Device Configuration (CLDC)
J2ME Connected Device Configuration (CDC)
These two configurations differ only in their respective memory and display capabilities. What is a J2ME Profile?A specification layer above the configuration which describes the Java configuration for a specific vertical market or device type. J2ME ProfilesJ2ME Mobile Information Device Profile (MIDP)
J2ME Foundation Profile, Personal Basis, Personal and RMI profiles
Virtual MachinesThe CLDC and the CDC each require their own virtual machine because
of their different memory and display capabilities. The CLDC virtual
machine is far smaller than that required by the CDC and supports less
features. The virtual machine for the CLDC is called the Kilo Virtual
Machine (KVM) and the virtual machine for the CDC is called the CVM. ToolsFirst make sure that you have the Java 2 SDK, Standard Edition (J2SE SDK),
version 1.4.2 (or later). This is essential for development. If you haven't
installed it, download it and install it from here http://java.sun.com/j2se/downloads/index.html.
Then download the J2ME Wireless Toolkit (WTK) which is available free from Sun here - http://java.sun.com/products/j2mewtoolkit/. I'm going to assume that you'll be installing this in the C:\j2mewtk\ directory, if you use another directory, just modify the paths accordingly. PathsJava needs to know where all your files are, so we need to add the location of the Java binaries to the system path. Windows 95/98Go to Start->Run. Type in command. Then type SET PATH=%PATH%;C:\j2mewtk\bin You should also edit your C:\autoexec.bat file to include this line, so you don't have to enter it every single time you restart your computer. After you've done this, you should be able to run the tools included in the Java Wireless Toolkit from any directory on your system. Windows 2000/XP
A good way to test if this worked is to type the preverify command
without any arguments in the command line. You should see something
like this on your screen.
C:\> preverify Application DevelopmentMIDlets vs AppletsMIDlets are applets for mobile phones. Just like applets, they run in a protected sandbox - the KVM - but unlike applets, they are extremely limited. MIDP 1.0 is currently found on most Java-capable phones and is fairly restrictive. As an example - the KVM doesn't allow you to process floating point numbers yet and MIDlets written for MIDP 1.0 can't access anything outside of the sandbox without proprietary APIs from phone manufacturers. So, put your dreams of developing the ultimate MIDlet with hooks into every part of your phone OS on the backburner for a while. If you want to find out exactly how limited MIDP 1.0 is, you should probably read the spec here. Once you've done that you might want to check out MIDP 2.0 and see what Sun has fixed with that spec. For the time being we're going to write our first MIDlet - a full-featured "Hello MIDlet" application. Simple HelloMIDletWe're going to use a program called Ktoolbar from the JAVA WTK which we installed earlier.
ProvisioningOkay, now how do I get my code onto my phone?Once you've created your lovely little MIDlet and ensured that everything worked smoothly in the emulator, the next step is to get it running on an actual device. Provisioning is the name given to the process of deploying your application in such a way that it is easily downloaded and installed on the device. 1. Over The Air (OTA) ProvisioningOTA provisioning allows users to download your application wirelessly using the WAP browsers built into their phones. To begin, we need to take a look at the Java Application Descriptor (JAD) file that is created when you package a MIDlet using the J2ME Wireless Toolkit. The JAD file stores information about your application and lets you modify various parameters of the MIDlet suite such as where the icon resource can be found, which MIDlets are included and where you can download the full version of the application. To edit a JAD file using the Wireless Toolkit, open your project, then click on Settings. This will open up a new window with a number of tabs - API Selection, Required, Optional, User Defined, MIDlets, Push Registry and Permissions.
For our purposes - the most important property is the MIDlet-Jar-URL within the Required tab. Here are the steps you need to take:
2. Cable / BluetoothIf you've got a Bluetooth adaptor or a USB cable which connects
directly to your phone, you can use this to quickly test your packaged
midlet. Source : uberthings Remember God... |
||||||||||||||
|
|