Online Earning Sources (Without Investment)

If you want to post, send your post on dotnetglobe@gmail.com .Put 'Title' as 'Subject'

Pages

Wednesday, August 21, 2013

The lie of multitasking

The ability to perform multiple activities at once is usually regarded as an asset. Recent research may prove that wrong.
For most of my career, multitasking, the ability to perform multiple activities at once, has been regarded as an asset. Managers have encouraged their staff to multitask, and IT leaders frequently speak of employees who are effective multitaskers in a positive light.
However, recent research into how the brain functions suggests that multitasking isn't the asset we once thought, and that those long-admired employees and peers are more likely better at focusing and shifting on single tasks, rather than possessing some super-human ability to simultaneously perform multiple tasks. Previously, the brain was regarded much like the processor in our computers and phones. You could allocate a percentage of the processor's overall capacity to a task, and the task would be completed commensurate with the allocation it received. If a particular task took one minute using 100% of the processor, you could do two similar tasks in two minutes, since each would receive 50% of the computing capacity.

Multitasking in the field

Unlike our computers, the human brain's capacity to process degrades significantly the more tasks it's trying to manage. Rather than a 50% reduction in performance when trying to do two similar tasks at once, the reduction tends to be more in the area of 80-95%.
For a ready example of how ineffective we are at multitasking, do some "field research" during your next conference call. Even a task as banal as triaging email or playing Solitaire significantly degrades one's ability to follow the conversation, and is far more likely to be the source of "I'm sorry, could you repeat that" than is some technical problem with the telephone connection.

So, what's going on with multitasking mavens?

While the research clearly indicates the human brain struggles to perform multiple tasks at once, most of us have met people who have a seemingly inhuman ability to perform several distinct activities under pressure. However, if you study these people, they tend to gather a collection of tasks, sequence them logically, and then focus with laser-like intensity on a single activity. These are the people who are not fondling their smartphones in meetings or stopping to open their email application every time the new email beep occurs. Rather than performing several activities at once, they're able to focus on a single activity, then rapidly shift to the next activity.

Practical multitasking

To apply these lessons to your own organization, stop trying to foster some inhuman ability to simultaneously perform multiple tasks. At best, this is frustrating and results in poor performance, and at worst, costs your organization significantly in terms of lost productivity and inferior output. A critical component of managing multiple tasks is gathering and prioritizing each, so work to develop your task management and tracking capabilities. This might be a well-defined system and set of tools, or merely sitting for a few moments and gathering your thoughts before jumping to the next email or beeping device.
Finally, work on applying 100% of your focus to the task at hand. For example, the quality and speed of my writing increased significantly when I disabled all the notifications on my workstation, so I could write an article unmolested by tweets, emails, likes, and other distractions. Even in conversations, you'll find the other party responding with more excitement and engagement when you devote 100% of your mental energy to the conversation and the speaker.
With these easily applied techniques, you can become far more efficient at managing multiple tasks and using the human mind to its most effective capacity. While this may seem subtly nuanced from the old idea of multitasking, try these techniques for a day or two and you'll notice a world of difference.

MS SQL Datetime conversion

-- MSSQL Server string to date conversion - datetime string format sql server
-- MSSQL string to datetime conversion - convert char to date sql server
SELECT convert(datetime, 'Oct 23 2012 11:01AM', 100) -- mon dd yyyy hh:mmAM (or PM)
 
SELECT convert(datetime, 'Oct 23 2012 11:01AM') -- 2012-10-23 11:01:00.000
 

-- Without century (yy) string date conversion - convert string to datetime
SELECT convert(datetime, 'Oct 23 12 11:01AM', 0) -- mon dd yy hh:mmAM (or PM)
SELECT convert(datetime, 'Oct 23 12 11:01AM') -- 2012-10-23 11:01:00.000
 

-- Convert string to datetime sql - convert string to date sql - sql dates format
-- T-SQL convert string to datetime - SQL Server convert string to date
SELECT convert(datetime, '10/23/2016', 101) -- mm/dd/yyyy
SELECT convert(datetime, '2016.10.23', 102) -- yyyy.mm.dd
SELECT convert(datetime, '23/10/2016', 103) -- dd/mm/yyyy
SELECT convert(datetime, '23.10.2016', 104) -- dd.mm.yyyy
SELECT convert(datetime, '23-10-2016', 105) -- dd-mm-yyyy
 
-- mon types are nondeterministic conversions, dependent on language setting
SELECT convert(datetime, '23 OCT 2016', 106) -- dd mon yyyy
SELECT convert(datetime, 'Oct 23, 2016', 107) -- mon dd, yyyy
-- 2016-10-23 00:00:00.000
SELECT convert(datetime, '20:10:44', 108) -- hh:mm:ss
-- 1900-01-01 20:10:44.000
 
-- mon dd yyyy hh:mm:ss:mmmAM (or PM) - sql time format
SELECT convert(datetime, 'Oct 23 2016 11:02:44:013AM', 109)
-- 2016-10-23 11:02:44.013
SELECT convert(datetime, '10-23-2016', 110) -- mm-dd-yyyy
SELECT convert(datetime, '2016/10/23', 111) -- yyyy/mm/dd
SELECT convert(datetime, '20161023', 112) -- yyyymmdd
-- 2016-10-23 00:00:00.000
SELECT convert(datetime, '23 Oct 2016 11:02:07:577', 113) -- dd mon yyyy hh:mm:ss:mmm
-- 2016-10-23 11:02:07.577
SELECT convert(datetime, '20:10:25:300', 114) -- hh:mm:ss:mmm(24h)
-- 1900-01-01 20:10:25.300
SELECT convert(datetime, '2016-10-23 20:44:11', 120) -- yyyy-mm-dd hh:mm:ss(24h)
-- 2016-10-23 20:44:11.000
SELECT convert(datetime, '2016-10-23 20:44:11.500', 121) -- yyyy-mm-dd hh:mm:ss.mmm
-- 2016-10-23 20:44:11.500
SELECT convert(datetime, '2008-10-23T18:52:47.513', 126) -- yyyy-mm-ddThh:mm:ss.mmm
-- 2008-10-23 18:52:47.513
 

-- Convert DDMMYYYY format to datetime
SELECT convert(datetime, STUFF(STUFF('31012016',3,0,'-'),6,0,'-'), 105)
-- 2016-01-31 00:00:00.000
-- SQL string to datetime conversion without century - some exceptions
SELECT convert(datetime, '10/23/16', 1) -- mm/dd/yy
SELECT convert(datetime, '16.10.23', 2) -- yy.mm.dd
SELECT convert(datetime, '23/10/16', 3) -- dd/mm/yy
SELECT convert(datetime, '23.10.16', 4) -- dd.mm.yy
SELECT convert(datetime, '23-10-16', 5) -- dd-mm-yy
SELECT convert(datetime, '23 OCT 16', 6) -- dd mon yy
SELECT convert(datetime, 'Oct 23, 16', 7) -- mon dd, yy
SELECT convert(datetime, '20:10:44', 8) -- hh:mm:ss
SELECT convert(datetime, 'Oct 23 16 11:02:44:013AM', 9)
SELECT convert(datetime, '10-23-16', 10) -- mm-dd-yy
SELECT convert(datetime, '16/10/23', 11) -- yy/mm/dd
SELECT convert(datetime, '161023', 12) -- yymmdd
SELECT convert(datetime, '23 Oct 16 11:02:07:577', 13) -- dd mon yy hh:mm:ss:mmm
SELECT convert(datetime, '20:10:25:300', 14) -- hh:mm:ss:mmm(24h)
SELECT convert(datetime, '2016-10-23 20:44:11',20) -- yyyy-mm-dd hh:mm:ss(24h)
SELECT convert(datetime, '2016-10-23 20:44:11.500', 21) -- yyyy-mm-dd hh:mm:ss.mmm

Friday, August 9, 2013

10 things to try when Java won't install properly

By Brien Posey

The next time a Java install goes awry, see if one of these fixes gets you back on track. 


It seems that more and more Web applications are requiring Java. Unfortunately, it can sometimes be tough to get Java to install properly. This article discusses 10 things you can do when Java fails to install.

1: Verify the error

I have seen a couple of situations in which an installation error was displayed even though Java installed correctly. Therefore, I recommend beginning the troubleshooting process by verifying that Java really isn't working. The easiest way to do this is to go to this special test page, which will tell you conclusively whether Java is working.

2: Remove version conflicts

If the installation appears to succeed, but Java is not working, check to see whether the Java Control Panel exists within the Windows Control Panel. If the Java Control Panel is missing, the problem is often related to a conflict with JavaFX or legacy Java code. In these situations, you should use the Windows Control Panel to remove any instances of Java. After doing so, use the Microsoft uninstaller to clean up any Java fragments. Then, try installing Java again.

3: Use the offline installer

The Web installer for Java tends to be a little bit buggy. That being the case, the offline installer package will sometimes succeed where the Web installer fails. You can download the offline installer for Windows. 

4: Try the 32-bit version

If you're having trouble installing a 64-bit version of Java, try using the 32-bit version instead. Although 64-bit Java would seem to be the logical choice for use on a 64-bit operating system, the 32-bit version seems to have fewer issues.

5: Install with administrative privileges

If you run into problems installing Java on Windows 7 or Windows 8, try installing Java as an administrator. To do so, download the offline installer and save it to an empty folder on your hard disk. Then, right-click on the executable file and choose the Run As Administrator command from the shortcut menu. 

6: Temporarily disable User Account Control

Some people have reported that the User Account Control feature gets in the way of installing Java. If you suspect that the User Account Control feature is causing your problem, you can temporarily disable it until after the installation is complete. The method for doing so depends on the version of Windows you're using. In Windows 8, the option to change the User Account Control settings is found in the Control Panel under System And Security | Action Center.

7: Set Internet Explorer's security to the default level

If Internet Explorer is configured to use a higher-than-default security level or if it is running a custom security level, there is a possibility that Java may be blocked. You can set Internet Explorer to the default security level by opening your browser and selecting the Internet Options command from the Tools menu. When the Internet Options dialog box appears, click on the Security tab and click the Default Level button. Click OK to save your changes.

8: Temporarily disable your antivirus scanning

There have been some reports of antivirus software preventing Java from being installed. If you want to see whether your antivirus is causing your problem, I recommend downloading the offline installer, updating your antivirus software, and then performing a full system scan. This will help make sure that there are no infections on your system before you disable the antivirus software.

Once you're confident that your system is free of malware, you can temporarily disable the antivirus scanning process. The method of doing so will depend on the antivirus product you are using, but often it is possible to right-click on the antivirus software's taskbar icon and choose a pause option from a shortcut menu. When you have finished attempting your Java installation, don't forget to re-enable antivirus scanning.

9: Check for a corrupt user profile

According to Microsoft, a corrupt user profile can cause problems with Java installations. Try creating a new user and assign that user local administrative permissions. Then, log in using the new user account and try installing Java.

10: Use the System Configuration tool

Since problems with Java installations are often related to other software that is running on the system, you may be able to fix the problem by temporarily disabling other startup items. The easiest way to do that is to open a Run prompt and enter the MSCONFIG command. This launches the Windows System Configuration utility, which allows you to choose the startup items that you want to disable without requiring any permanent changes to the operating system.

itworld