You are here

Feed aggregator

AX ReportViewer web part fails with time out after running >90 seconds

MSDN Blogs - 33 min 45 sec ago

I recently have an incident with the same timeout error mentioned in the blog in below that customer would like to run report exceeding 4 minutes in EP. The same steps are used to extend the AsyncPostBackTimeout attribute except that AxScriptManager is searched/modified instead of ScriptManager in the master page mentioned in the blog.

http://blogs.msdn.com/b/selvar/archive/2013/05/15/sharepoint-web-part-page-hosting-reportviewer-web-part-fails-with-sys-webforms-pagerequestmanagertimeoutexception-the-server-request-timed-out.aspx

We then encounter the “Code Block are not allowed in this file” error that following the blog in below does not resolve the error.

http://svengillis.blogspot.com/2008/03/code-block-are-not-allowed-in-this-file.html

If you encounter similar error, here is another approach to extend AsyncPostBackTimeout

1) Open the master page from \Web\Web Files\Static Files\defaultaxV4 in the AOT

2) Search for the OnLoad() method to replace in something in below.

protected override void OnLoad(EventArgs e)

{

base.OnLoad(e);

AxScriptManager scripts = AxScriptManager.GetCurrent(this.Page);

if (scripts != null)

{

scripts.AsyncPostBackTimeout = 600; // 600 seconds

}

//Call Header.DataBind to generate dynamics styles in header

Page.Header.DataBind();

}

3) Save and deploy the defaultaxV4 master page (Right click and select Deploy Element)

Simplicity is Possible in a Multi-Lingual, Omni Channel Support World

MSDN Blogs - 1 hour 43 min ago
The following is a guest post by the Microsoft Translator Partner, Lionbridge Technologies, who developed GeoFluent as solution to address the challenge of real-time translation of user generated content leveraging the Microsoft Translator automatic translation service and customization capabilities of the Translator Hub.

Let’s face it: customers appreciate simplicity. Nothing saves an angry customer from becoming an ex-customer like simple, seamless customer support. Savvy businesses offer up to a dozen contact channels to deliver support at the right time and place for a customer, but many are stymied by the complexity of providing this level of support for their entire customer base, and in a variety of different selling mediums.

Consider the multi-lingual nature of North America alone. According to a recent survey, 30% of North Americans do not consider the English language as their native language. The number of limited English proficiency (LEP) individuals in the United States has also grown by 81 percent since 1990. Finally, nearly one in ten working-age U.S. adults—19.2 million persons aged 16 to 64—are considered limited English proficient. The complexity, customer service executives would say, is that they cannot possibly staff for support of all the languages of all their customers any given point.

Another factor making effective customer service seemingly complex is the dynamic way customers can interact with service providers. This interaction is omni-channel, whereby customers can not only buy products from selling organizations, but also reverse direction and interact and provide feedback to that sell for all to see. This has put new pressure on sellers to quickly and effectively manage this interaction, or risk a hostile reputation. Indeed, according to Forrester Research, 67% of today’s Internet users would prefer to find (pre- and post- sales) answers online.

Modern, simple customer support is dynamic – whether one to one contact channels like email ticketing and chat, communication takes place in near real time. Chat, for example, can be an effective way for customers to reach out to customer service representatives to have their issues resolved, and learn about new products. At the same time, technology has made it possible to allow customers to converse in their own native language, and provide the same capability for company representatives and other customer service staff. This is achieved by enhanced, personalized machine translation. As a result, multinational businesses – or even businesses with multilingual customer bases – can significantly broaden their reach, boost brand loyalty and cost-effectively support customers, regardless of language, location or device. Best of all, translation processes can be specially mindful of industry terms that need to be carefully translated, security concerns, and easy accessibility by both agent and consumer.

Enhanced, personalized machine translation is definitely not as perfect as human translation. But that’s okay. What it does do is aide chat conversations that cannot wait for long-term translation perfection to be actionable, understandable, and immediate.

When deploying machine translation in a support environment, organizations must consider:

  • How does the solution integrate into existing software/workflows
  • The preservation of brand/product terms.
  • How to maximize translation quality through translation engine customization and agent/moderator training?
  • Does the solution offer adequate safeguards for the handling of PII.


This is the heart of what GeoFluent by Lionbridge does every day for all of our customers. As a result of our partnership with Microsoft Translator, we can help answer these challenges and make the customer service translation process simple, actionable, understandable, and immediate.

Your customer base is only growing more diverse and channel-savvy. Providing simple, cost effective in language customer support is within your grasp. Please visit http://geofluent.lionbridge.com/ to learn how state of the art machine translation can make multilingual, multi-channel, customer support simple.

By: Greg Belkin, Director of Product Marketing and Product Management, Lionbridge.

NETMF Applications: Sytech Designs a Heating Project

MSDN Blogs - 1 hour 45 min ago
One of the key values of .NET is in handling complex projects. This next project is a good example of this. The project is a control system for domestic and industrial underfloor heating. The system allows each room to be defined as a separately controlled zone. Each zone has one or more remote temperature sensors and an electronic water valve actuators, to control the hot water feed to the zone, from the boiler water supply. Each zone is individually programmable to have a number of time periods...(read more)

4 more chances to learn if Microsoft Office 365 is right for your organisation

MSDN Blogs - 1 hour 57 min ago

More than ever before, every penny of IT spend needs to be justified. Taking an evidenced based approach to making crucial IT decisions will help remove risk and manage cost while understanding where cloud services can support and develop your existing strategy. 

Microsoft Office 365 isn’t a one size fits all offering and there are simple tools to help identify the right fit for your users. To get a sense of what Office 365 can do and how it can benefit your office, attend one for four free, half-day workshop at our office in London.

These sessions will help you understand what differentiates Microsoft’s online service strategy, how your end users can overcome common problems when trying to work collaboratively and work in new ways and also how to license in the most cost effective manner, using analytics of your organisation’s current use of Microsoft applications.

There are a limited number of funded (no-cost) engagements that will provide you with a detailed, granular report on the usage of all applications and documents within your organisation and the potential impact of moving from your existing on-premises Microsoft productivity applications to Microsoft’s Office 365 cloud offering.

Please register your interest by clicking one of the links below ASAP as we will operate of a first come, first basis:

When & where:

31 March

14 April

23 April

28 April

9:00am - 12:00pm

Cardinal Place

80-100 Victoria Street

London, SW1E 5JL

Agenda:

  • Microsoft’s cloud strategy: Understand the key differences between Microsoft and other Software as a Service vendors. -- Microsoft
  • Office 365: See how the Office 365 services both allow people to overcome common obstacles to collaborative working and transform outmoded business practices. -- Content & Code
  • Centrix 365iq: Learn how real world analytics from your end users can help inform licensing decisions and application portfolio. -- Centrix
Register by clicking the links above now to reserve your spot!

 

 

Improving HTML Accessibility with Visual Studio Extensions

MSDN Blogs - 2 hours 13 min ago

As a step on the path of enabling software for all audiences and abilities, we’re happy to share a new Visual Studio extension that leverages Tenon’s HTML accessibility checker service. With this extension, we’ve made it easier for developers to detect and resolve common HTML-based user interface accessibility issues.

Unlike some other web-based accessibility checking services, Tenon’s service has a public API and is designed to be integrated with extensible tools like Visual Studio. We’d love for you to try it out by installing the extension Tenon HTML Accessibility Checker from the Visual Studio Gallery or from within Visual Studio.

(Note: We will publish the source code for the extension on GitHub in about a month so that you can improve upon or evolve the extension to support other accessibility checker services.)

Now, let’s go over this new extension in a little more detail.

Adding the Tenon HTML Accessibility Checker to Visual Studio

To get started, open a supported version of Visual Studio such as VS 2013, 2015 Preview or the free Visual Studio Community. Select the Tools menu, and then the Extensions and Updates option. Search for “accessibility” and select Install the Tenon HTML Accessibility Checker. Restart Visual Studio when prompted.

How to check your static HTML for common accessibility issues

First, register for a free key, which you will need later. (It only takes a few minutes.) Once you have installed the extension and registered for a key, open your project and right-click on any of the following code asset files in your solution (from Solution Explorer): *.htm, *.html, *.cshtml, *.xhtml, *.ascx, *.asp, or *.aspx file.

Solution Explorer with right click option on an *.html file

Select the Check Accessibility with Tenon option from the context menu to evaluate the content of the file. Enter your registration key, select the desired evaluation level, and indicate whether you want to see Errors and Warnings or only Errors in the results. Evaluation levels range from level A, which is the most conservative evaluation, through levels AA and AAA, which are broader evaluations. Choosing to display only Errors will minimize false positives but may omit valid warnings.

Tenon HTML Accessibility Checker pop-up window

Click Validate on the Tenon HTML Accessibility Checker pop-up window to evaluate the static HTML. The results are written to the Error List within Visual Studio, under the Errors and Warnings tabs as appropriate. The description of each issue includes a brief description, and a link to Tenon’s best practices, which include instructions on how to address the issue. You can see what WCAG Success Criterion are tested by Tenon on its What Tenon Tests page.

Error List with sample errors

Check your dynamic HTML too

In addition to HTML within a file, you can send the rendered content of dynamic pages to Tenon for evaluation. From the Solution Explorer, select the Project, then right-click and choose Debug > Start new instance. Your preferred browser will launch with the default page and the Tenon HTML Accessibility Checker pop-up window will be displayed. At this point, evaluate the default page, or navigate to another page and evaluate it by clicking Validate on the Tenon HTML Accessibility Checker pop up window.

This is the preferred approach, since rendered pages represent what an actual user would experience. For example, any dynamically rendered HTML or JavaScript will be included in this evaluation.

Note: You can disable the Tenon HTML Accessibility Checker pop up window by unchecking the Enable Tenon Browser Extension option on the Browser Link drop down menu.

Browser Link menu

Finally, it is worth noting that static html files cannot be evaluated in the debug mode unless you take some additional steps. You must add code to your web.config file as seen here: Using Browser Link in Visual Studio.

Add the Tenon HTML Accessibility Checker to IE

In addition to checking HTML accessibility using the Tenon service from within Visual Studio, you can use a simple Internet Explorer add-on to check published web pages for common accessibility issues.

To install the add-on, go to http://www.iegallery.com, click on the Add-ons tab, choose the Tenon Accessibility Checker and click Add to Internet Explorer. Once the add-on is installed, you can send a URL to the Tenon service by right-clicking a page and choosing the Check Accessibility with Tenon option.

Tenon Checker right click option from within IE

(Note: this option is only available for http:// pages; https:// is not supported.)

The Internet Explorer add-on does not require a free key, and is a good way to quickly check for common issues.

Help the community improve or re-implement the Visual Studio extension

We envision several new features for the Visual Studio extension, such as code highlights in each source file that is associated with a particular Error or Warning. Similarly, other accessibility checkers could implement this design pattern to make it easier for developers to create accessible apps--by incorporating their checks early in the software development lifecycle (in addition to checking solutions that are in production).

Please review and comment, update, or even re-implement this extension once the source code is published on GitHub.

Thanks

Special thanks to Karl Groves at Tenon. Karl has been working in accessibility for years and is already known to many people in the accessibility community. Karl continues to be a strong advocate for giving developers tools to make it easier to create accessible software. And he is a Viking. (Really.)

And, thanks for providing feedback by rating this article, sharing the article on social media and/or by adding a comment below.

Jeff Petty, Program Manager, Operating System Group (OSG) Accessibility Team

Jeff has been at Microsoft for about a year. He is helping to envision and realize the promise of more people centric computing. Currently, he is focused on making it easier for developers to create accessible solutions with Microsoft technology and teaching his daughter how to ski :-)

Microsoft SQL Server 2012 RS Add-In for SharePoint fails to install.

MSDN Blogs - 2 hours 30 min ago

You are trying to install the Reporting Services add-in for SharePoint Products
https://msdn.microsoft.com/en-us/library/gg426282.aspx 

This fails and you check the logs @ C:\Users\<your user>\AppData\Local\Temp\RS_SP_<a number>.log

What you see is something like this:

...

Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 1
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed.  Configuration must be performed before you use SharePoint Products.  For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_3_3_2015_16_51_12_997_108052037.log and the application event log.

2015-03-03 16:51:35:
2015-03-03 16:51:35: Install error: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\bin\psconfig.exe return error code: -1
2015-03-03 16:51:35: Error details: System.Exception: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\bin\psconfig.exe return error code: -1
   at RSCustomAction.BaseProcessLaunch.LaunchCommand(String fileName, String arguments, Boolean ignoreExitCode)
   at RSCustomAction.PsconfigCommands.CopyAppBinContents()
   at RSCustomAction.RSFeatureSetup.Install(Boolean repair, Int32 addRetries)
2015-03-03 16:51:35: Uninstalling Report Server feature.
2015-03-03 16:51:35: Stopping W3SVC service.

...

I do not know why but this error is caused by having comments in one or more of your web.config files.
So, the solution is remove any comments in the web.config files and rerun the installer.

Web.config files are here: C:\inetpub\wwwroot\wss\VirtualDirectories\<port number>

Comments are surrounded by <!-- -->

So, for example:

<!-- this is a comment-->

 

 


 

 

Sample chapter: Extend Microsoft Access Applications to the Cloud: Creating Data Sources by Using Queries

MSDN Blogs - 2 hours 43 min ago

In this chapter from Extend Microsoft Access Applications to the Cloud, Andrew Couch provides a detailed explanation of how queries are created and how they can then be used in your application.

In this chapter:

  • Creating basic queries
  • Adding criteria to queries
  • Adding calculations to queries
  • Adding parameters to queries
  • Totals and queries
  • TOP value queries
  • Unique values in queries
  • Summary

In this chapter, we will look at how to create queries in a web app. These queries can then be used either with views to display information or with data macros to process information. If you are familiar with this subject, you will notice that in the contents there are no topics on creating queries to modify data. Queries that modify data are not supported in a web app; instead, you use data macros to perform equivalent operations.

In Chapter 5, “Displaying data in views,” I demonstrated creating a simple query for creating a jump list to summarize product data in our application. In this chapter, I provide a more detailed explanation of how queries are created and how they can then be used in your application. As you did in Chapter 5, you’ll use some simple user-interface macros to link your queries to views. In Chapter 7, “Programming a web app by using macros,” I will provide a more detailed discussion of macro design.

If you want to follow along with the design steps in this chapter, continue to use the NorthwindData web app used in Chapter 5.

Read the complete chapter here: https://www.microsoftpressstore.com/articles/article.aspx?p=2302366.

Image Processing Hackathon

MSDN Blogs - 3 hours 9 min ago

Bangladesh

Terms and Conditions for the Image Processing Online Hackathon

IMPORTANT: PLEASE READ THESE TERMS AND CONDITIONS (THE “TERMS AND CONDITIONS”) BEFORE ENTERING THE Image Processing Online App-a-thon CONTEST. THIS IS A LEGALLY BINDING AGREEMENT BETWEEN YOU AND MICROSOFT BANGLADESH LIMITED (“MICROSOFT”) ESTABLISHING THE TERMS AND CONDITIONS UNDER WHICH YOU ARE ENTITLED TO PARTICIPATE IN THE Image Processing Online App-a-thon CONTEST (“CONTEST”). BY ENTERING THIS CONTEST, YOU CONFIRM THAT YOU HAVE READ AND UNDERSTOOD, AND AGREE TO ABIDE BY, THESE TERMS AND CONDITIONS.

1. This Contest is organised by Microsoft Bangladesh Limited (“Microsoft”). All residents of Bangladesh are eligible to participate in the Contest ("Participant"). If you are below the age of 18 years, you must obtain the appropriate permissions and releases from your parent or legal guardian in order to participate in the Contest.

2. You must be a developer registered at http://dev.windowsphone.com. If you are a student you will find more information on how to create a Dev Center account here. Microsoft employees, agents, interns, or relatives of a Microsoft employee, employee of any party which is directly involved in organizing or conducting the Contest are not eligible to participate in the Contest.

3. The Contest will work as follows:

a. The Contest will run from February 27 to March 7, 2015, both dates inclusive (the “Contest Period”).

b. During the Contest Period, Participants will use any tools to produce Windows Phone app that applies any aspect of image processing concept.

c. Apps must be published to the Windows Phone Store during the Contest Period and the app details must be entered here: http://1drv.ms/1apsc8V

d. After the Contest Period, apps will be reviewed by the Microsoft and/or Microsoft-designated local app experts in order to ensure the apps serve a specific purpose and the contents meet the general usefulness criteria required to be eligible for the Contest.

e. The Winner will be announced on the http://blogs.msdn.com/saqib website on March 10, 2015.

4. The Contest will comprise one prize category. The Participant with the highest-quality (as determined by Microsoft) app published to the Windows Phone Store during the Contest Period will be eligible for a Lumia 1020.

4. Microsoft reserves the right not to declare a Winner if it determines that less than 10 Submissions qualify in the category.

5. The Prize will be delivered to the Winner at an awards ceremony at a venue and time of to be determined.

6. Where the prizes under the Contest are items/goods, these shall be subject to availability and may not be substituted for cash.

7. Microsoft reserves the right to offer an alternative prize of equivalent monetary value, without prior notice. In the event prizes involve manufactured items, these shall be subject to the manufacturer's terms and conditions for warranty, service and maintenance, and Microsoft does not accept any responsibility for the same. In particular, prizes are provided by Microsoft "AS IS" without warranties of any kind, including warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose.

8. Taxes and other levies imposed by any relevant applicable government or tax authority, as well as other costs including, insurance and incidental costs, that may be levied or incurred on the prizes shall be fully borne by the Participants.

9. All Participants in this Contest agree to have their name and details used for promotional purposes at Microsoft’s sole discretion. The Winner(s) in this Contest agree to have their names, answers and slogan announced should Microsoft choose to do so after the Contest period is over.

10. By entering the Contest, Participant expressly agree that each app submitted for the Contest (each a “Submission”) does not contain any image or content that is unlawful, libelous, slanderous, defamatory or invasive of another person's right of privacy or right of publicity, or that Microsoft may reasonably deem harmful, vulgar, obscene, derogatory, pornographic, abusive, harassing, threatening, hateful, objectionable with respect to race, religion, creed, national origin or gender, or otherwise unfit for publication. Microsoft shall not be liable in any way for any Submission. Microsoft shall have no obligation to monitor Submissions provided by Participants to Microsoft, but may do so at its discretion. Any Submission that, in the sole discretion of Microsoft, is considered inappropriate or unsuitable for publication will be deemed ineligible by Microsoft, and Microsoft may, in their sole discretion, remove a Submission from the Contest.

11. You represent and warrant to Microsoft that (i) you are the sole and exclusive owner of your Submission, or you have all right and authority to grant the rights in your Submission to Microsoft, its affiliates and/or its agents and contractors; (ii) if your Submission contains a photograph or a video, you have obtained any and all releases necessary from all persons depicted in the photograph or video, including, without limitation, releases in the context of rights of privacy and rights of publicity; and (iii) in the event a person depicted in the photograph or video is under the age of 18 years, you have obtained all appropriate permissions and releases from the parent or legal guardian of the person in question, to submit the Submission for the Contest.

12. Microsoft will not return any Submission submitted for the Contest. Except where prohibited, by entering the Contest, you consent to the use of your name, photo and/or likeness, biographical information, winning entry and statements attributed to you (if true) for advertising and promotional purposes without additional compensation or notice to the Participant.

13. By participating in the Contest, the Participant hereby grant to Microsoft and/or its affiliates a non-exclusive, fully transferable, perpetual, irrevocable, royalty free, fully paid up right and license to adapt, edit, modify, publish, promote, reproduce, distribute, publicly display your Submission and make derivative works based on the Participant’s Submission in any and all media, including any compilation, as Microsoft and/or its affiliates see fit for any reason, to identify the Participant as the author of the Submission and to authorize others to do any of the above without any obligation to notify or further compensate the Participant.

14. Without limitation to the generality of the above provisions, Microsoft and/or any of its affiliates shall have an exclusive right to publish and use any winning Submissions in print and/or electronic form for advertising and promotion of Microsoft’s products, for exhibition, and for both commercial and non-commercial products and publications, including without limitation, using, downloading, adapting, reformatting, editing and/or resizing the winning Submissions as may be necessary and to authorize others to do any of the above without any obligation to notify or further compensate the Winner(s).

15. To the maximum extent permitted by law, Microsoft and its parent companies, affiliates, related corporations, subsidiaries, directors, officers, employees and agents accepts no responsibility whatsoever for any damage, loss, death or personal injury that may occur as a consequence of any individual’s participation in this Contest. Participants undertake to indemnify and keep Microsoft and its parent companies, affiliates, related corporations, subsidiaries, directors, officers, employees and agents harmless and indemnified against any loss, damage, claims, costs and expenses which may be incurred or suffered by any or each of them due to breach of any of these terms and conditions by the Participants and, or arising from the participation of the Participant in this Contest.

16. In the event of any dispute arising from this Contest or relating to the interpretation of these terms and conditions, the decision of Microsoft on all matters pertaining to the Contest shall be final and binding on all parties.

17. The information submitted by a Participant during the registration process or when participating in this Contest may include the Participant’s email address, ID number and other personal information (“Personal Information”). The Personal Information will only be used by Microsoft in accordance with applicable data protection laws and regulations and Microsoft’s privacy policy referred to below, for the purposes of administering the Participant’s participation in the Contest. For more details on Microsoft's privacy policy, please see: http://privacy.microsoft.com/en-us/default.aspx.

18. Microsoft and any agents or contractors (if any) that it may use in the execution and management of this Contest do not warrant or represent (either directly or indirectly):

(a) that participation in and/or access to the whole or part(s) of the Contest, Contest materials, contents, information and/or functions contained therein will be provided uninterrupted, timely, secure and error-free; or

(b) that no computer viruses shall be transmitted or that no damage shall occur to any Participant's computer system as a result of any online activity of the Contest, if any.

19. Any material downloaded or otherwise obtained through the Internet is done at the Participant's own discretion and risk and that the Participant will be solely responsible for any damage to the Participant's computer system or loss of data resulting from such download.

20. Microsoft does not warrant or make any representations regarding the use, validity, accuracy, or reliability of, or the results of the use of, or otherwise in respect of the materials on this site or any sites linked to this site.

21. The Participant declares and warrants to Microsoft that in participating in the Contest, the Participant shall not use any unauthorised or unlicensed software. Participants found doing so shall be disqualified from the Contest.

22. Nothing in the Contest shall affect any intellectual property rights of Microsoft in any product or service, which may be the subject matter of the Contest.

23. The Participant acknowledge and agree that no form of cheating will be tolerated. Any persons found cheating, as determined in the sole and absolute discretion of the Microsoft, will immediately be disqualified from the Contest. Cheating includes, but is not limited to, using multiple identification numbers, tampering with, hacking of the Contest site, participating in the Contest without meeting the eligibility requirements, using any automated software or device to gain an advantage during the Contest, use of the Contest beyond the defined rules of the Contest, attempting to disable or overwhelm any of Microsoft's websites or the Contest Site, attempting to disrupt any portion of the Contest, including but not limited to, allowing somebody else to use the Personal Information, or tampering with the entry process. ANY ATTEMPT BY A PERSON TO DELIBERATELY DAMAGE ANY OF MICROSOFT'S WEBSITES OR UNDERMINE THE LEGITIMATE OPERATION OF THE CONTEST MAY BE A VIOLATION OF CRIMINAL AND CIVIL LAWS; AND SHOULD SUCH AN ATTEMPT BE MADE, MICROSOFT RESERVES THE RIGHT TO SEEK DAMAGES FROM ANY SUCH PERSON TO THE FULLEST EXTENT PERMITTED BY LAW.

24. Microsoft's failure to enforce any provision of these terms and conditions shall not constitute a waiver of that or of any other provision.

25. Microsoft is not responsible for printing or typographical errors in any Contest-related materials or for registrations that are lost or misdirected, fail to enter into the processing system, or are processed, reported, or transmitted late or incorrectly or are lost for any reason including electronic, computer, telephone, paper transfer, mail system, human or other error; including inability to access any website associated with the Contest. The Contest is void where prohibited or restricted by law, and is subject to all applicable laws.

26. By entering the Contest, the Participant agree to be bound by these terms and conditions. Notwithstanding the foregoing, Microsoft has the right to modify these terms and conditions contained herein and, or, withdraw or terminate the Contest at any stage without any liability towards anyone.

27. This Contest shall be governed by and interpreted in accordance with the laws of Bangladesh.

28. If any terms and conditions above or part thereof is rendered void, illegal or unenforceable in any respect under the law, the validity, legality and enforceability of the remaining provisions shall not in any way be affected or impaired thereby.

101 Proven Practices for Focus

MSDN Blogs - 3 hours 13 min ago

“Lack of direction, not lack of time, is the problem. We all have twenty-four hour days.” -- Zig Ziglar

Here is my collection of 101 Proven Practices for Focus.   It still needs work to improve it, but I wanted to shared it, as is, because focus is one of the most important skills we can develop for work and life.

Focus is the backbone of personal effectiveness, personal development, productivity, time management, leadership skills, and just about anything that matters.   Focus is a key ingredient to helping us achieve the things we set out to do, and to learn the things we need to learn.

Without focus, we can’t achieve great results.

I have a very healthy respect for the power of focus to amplify impact, to create amazing breakthroughs, and to make things happen.

The Power of Focus

Long ago one of my most impactful mentors said that focus is what separates the best from the rest.  In all of his experience, what exceptional people had, that others did not, was focus.

Here are a few relevant definitions of focus:
A main purpose or interest.
A center of interest or activity.
Close or narrow attention; concentration.

I think of focus simply as  the skill or ability to direct and hold our attention.

Focus is a Skill

Too many people think of focus as something either you are good at, or you are not.  It’s just like delayed gratification.

Focus is a skill you can build.

Focus is actually a skill and you can develop it.   In fact, you can develop it quite a bit.  For example, I helped a colleague get themselves off of their ADD medication by learning some new ways to retrain their brain.   It turned out that the medication only helped so much, the side effects sucked, and in the end, what they really needed was coping mechanisms for their mind, to better direct and hold their attention.

Here’s the surprise, though.  You can actually learn how to direct your attention very quickly.  Simply ask new questions.  You can direct your attention by asking questions.   If you want to change your focus, change the question.

101 Proven Practices at a Glance

Here is a list of the 101 Proven Practices for Focus:

  1. Align  your focus and your values
  2. Ask new questions to change your focus
  3. Ask yourself, “What are you rushing through for?”
  4. Beware of random, intermittent rewards
  5. Bite off what you can chew
  6. Breathe
  7. Capture all of your ideas in one place
  8. Capture all of your To-Dos all in one place
  9. Carry the good forward
  10. Change your environment
  11. Change your physiology
  12. Choose one project or one thing to focus on
  13. Choose to do it
  14. Clear away all distractions
  15. Clear away external distractions
  16. Clear away internal distractions
  17. Close your distractions
  18. Consolidate and batch your tasks
  19. Create routines to help you focus
  20. Decide to finish it
  21. Delay gratification
  22. Develop a routine
  23. Develop an effective startup routine
  24. Develop an effective shutdown routine
  25. Develop effective email routines
  26. Develop effective renewal activities
  27. Develop effective social media routines
  28. Direct your attention with skill
  29. Do less, focus more
  30. Do now what you could put off until later
  31. Do things you enjoy focusing on
  32. Do worst things first
  33. Don’t chase every interesting idea
  34. Edit later
  35. Exercise your body
  36. Exercise your mind
  37. Expand your attention span
  38. Find a way to refocus
  39. Find the best time to do your routine tasks
  40. Find your flow
  41. Finish what you started
  42. Focus on what you control
  43. Force yourself to focus
  44. Get clear on what you want
  45. Give it the time and attention it deserves
  46. Have a time and place for things
  47. Hold a clear picture in your mind of what you want to accomplish
  48. Keep it simple
  49. Keep your energy up
  50. Know the tests for success
  51. Know what’s on your plate
  52. Know your limits
  53. Know your personal patterns
  54. Know your priorities
  55. Learn to say no – to yourself and others
  56. Limit your starts and stops
  57. Limit your task switching
  58. Link it to good feelings
  59. Make it easy to pick back up where you left off
  60. Make it relentless
  61. Make it work, then make it right
  62. Master your mindset
  63. Multi-Task with skill
  64. Music everywhere
  65. Narrow your focus
  66. Pair up
  67. Pick up where you left off
  68. Practice meditation
  69. Put the focus on something bigger than yourself
  70. Rate your focus each day
  71. Reduce friction
  72. Reduce open work
  73. Reward yourself along the way
  74. See it, do it
  75. Set a time frame for focus 
  76. Set goals
  77. Set goals with hard deadlines
  78. Set mini-goals
  79. Set quantity limits
  80. Set time limits
  81. Shelve things you aren’t actively working on
  82. Single Task
  83. Spend your attention with skill
  84. Start with WHY
  85. Stop starting new projects
  86. Take breaks
  87. Take care of the basics
  88. Use lists to avoid getting overwhelmed or overloaded
  89. Use metaphors
  90. Use Sprints to scope your focus
  91. Use the Rule of Three
  92. Use verbal cues
  93. Use visual cues
  94. Visualize your performance
  95. Wake up at the same time each day
  96. Wiggle your toes – it’s a fast way to bring yourself back to the present
  97. Write down your goals
  98. Write down your steps
  99. Write down your tasks
  100. Write down your thoughts
  101. Work when you are most comfortable

When you go through the 101 Proven Practices for Focus, don’t expect it to be perfect.  It’s a work in progress.   Some of the practices for focus need to be fleshed out better.   There is also some duplication and overlap, as I re-organize the list and find better ways to group and label ideas.

In the future, I’m going to revamp this collection to have some more precision, better naming, and some links to relevant quotes, and some science where possible.   There is a lot more relevant science that explains why some of these techniques work, and why some work so well.

What’s important is that you find the practices that resonate for you, and the things that you can actually practice.

Getting Started

You might find that from all the practices, only one or two really resonate, or help you change your game.   And, that’s great.   The idea of having a large list to select from is that it’s more to choose from.  The bigger your toolbox, the more you can choose the right tool for the job.  If you only have a hammer, then everything looks like a nail.

If you don’t consider yourself an expert in focus, that’s fine.  Everybody has to start somewhere.  In fact, you might even use one of the practices to help you get better:  Rate your focus each day.

Simply rate yourself, on a scale of 1-10, where 10 is awesome and 1 means you’re a squirrel with a sugar high, dazed and confused, and chasing all the shiny objects that come into site.   And then see if your focus improves over the course of a week.

If you adopt just one practice, try either Align  your focus and your values or Ask new questions to change your focus.  

Feel Free to Share It With Friends

At the bottom of the 101 Proven Practices for Focus, you’ll find the standard sharing buttons for social media to make it easier to share.

Share it with friends, family, your world, the world.

The ability to focus is really a challenge for a lot of people.   The answer to improve your attention and focus is through proven practices, techniques, and skill building.  Too many people hope the answer lies in a pill, but pills don’t teach you skills.

Even if you struggle a bit in the beginning, remind yourself that growth feels awkward.   You' will get better with practice.  Practice deliberately.  In fact, the side benefit of focusing on improving your focus, is, well, you guessed it … you’ll improve your focus.

What we focus on expands, and the more we focus our attention, and apply deliberate practice, the deeper our ability to focus will grow.

Grow your focus with skill.

You Might Also Like

The Great Inspirational Quotes Revamped

The Great Happiness Quotes Collection Revamped

The Great Leadership Quotes Collection Revamped

The Great Love Quotes Collection Revamped

The Great Motivational Quotes Revamped

The Great Personal Development Quotes Collection Revamped

The Great Positive Thinking Quotes Collection

The Great Productivity Quotes Collection Revamped

Setting up a new computer often results in leftover slot covers, so what do you do with the slot covers?

MSDN Blogs - 3 hours 43 min ago

When I joined Microsoft, I had a brand new computer waiting for me. One of the rites of passage for new employees is setting up their computer. A colleague helped me out with this effort, and one of the steps he performed was installing the network card. (Back in the day, network adapters were not integrated into the motherboard. If you wanted one, you had to buy an add-on card.)

Now, when you install a network card, it occupies a slot, and you need to remove the corresponding slot cover because the card comes with its own integrated slot cover. When my colleague removed the old slot cover from the computer, he didn't just toss it into the garbage. He folded it back on itself with the tab on the top, like this: ᔪ

What the heck was that all about?

He didn't give me time to ask the question because he immediately walked over to my office door, pulled it all the way open, and then jammed the doodad under the door. The tab at the top caught the door, and the angled bottom part dug into the carpet, holding the door open:

█ ᔪ

In other words, he took the slot cover and converted it into a doorstop.

Thereafter, I noticed that all of my coworkers used slot covers to hold their office doors open. It was part of the team's tribal knowledge.

(This trick is lost to history not only because computers nowadays come with all the peripherals you would typically need, but also because the new office doors are not spring-loaded.)

How to use the Manual Billing Rule for Projects in Microsoft Dynamics AX 2012 R2 and AX2012 R3

MSDN Blogs - 3 hours 43 min ago

This blog goes through the steps of setting up the Manual Billing Rule for Project.

Setup a Journal for Billing Rule Fee Journal - Project Management and Accounting | Setup | Project Management and Accounting Parameters

  1. Click the Journal link
  2. Select Billing Rule Fee Journal:

       3. Close the form

 Create a Project – Project Management and Accounting | Common | Projects | All Projects

  1. Click the Project button in the New group of the Project tab
  2. Select the Project Type:
  3. Enter the Project ID:
  4. Enter the Project Name:
  5. Select the Project Group:
  6. Click the New button next to the Project Contract ID
  7. Enter the Project Contract ID:
  8. Enter the Name
  9. Select the Funding Type:
  10. Select the Funding Source:
  11. Click Ok
  12. Click Ok
  13. Click the Project Stage button in the Maintain group of the Project tab select In Process
  14. Expand the General fast tab
  15. Click the Project Contract ID link
  16. Click the Billing Rule button in the Set up group of the Project Contract tab in AX 2012 R2 – *NOTE* - This was changed from a button to a fast tab in AX 2012 R3. Expand the Billing Rules fast tab.
  17. Click the New button – AX 2012 R2 In AX 2012 R3 click the Add button
  18. Select the Line Type: Progress
  19. Enter the Contract Value:
  20. Select the Project you created
  21. Select the Category
  22. Close the Billing Rules form
  23. Click the Manage Contract Status button in the Process group of the Maintain group of the Project Contracts form
  24. Click the Update Percentage button and enter the Total Billing Percent
  25. Click Ok
  26. Note no changes to the form
  27. Close the Contract Status form
  28. Click the Project Invoice Proposal button in the Bill group of the Maintain tab of the Project Contract form
  29. Click the Invoice Proposal From Billing Rule button in the New group of the Invoice Proposal tab
  30. Select the Project Contract
  31. Click the Search button
  32. Mark the Select checkbox
  33. Click Ok
  34. Click the Post button in the Functions group of the Invoice Proposal tab of the Invoice Proposals form
  35. Click Ok
  36. Click Ok if prompted
  37. Close the Invoice Proposal form
  38. Click the Manage Contract Status button in the Process group of the Maintain group in the Project Contract form

 Note the changes in the Contract Status form.

 

How to use the Automatic Billing Rule for Projects in Microsoft Dynamics AX 2012 R2 and AX2012 R3

MSDN Blogs - 3 hours 43 min ago

This blog is for creating a Automatic Billing Rule in Project Accounting

Setup a Journal for Billing Rule Fee Journal - Project Management and Accounting | Setup | Project Management and Accounting Parameters

  1. Click the Journal link
  2. Select Billing Rule Fee Journal:
  3. Close the form

 

Create a new Project – Project Management and Accounting | Common | Projects | All Projects

  1. Click the Projects button in the New group of the Project tab
  2. Select the Project Type:
  3. Enter the Project Name
  4. Select the Project Group
  5. Click the New button next to the Project Contract ID
  6. Enter the Project Contract ID
  7. Enter the Name
  8. Select Funding Type: Customer
  9. Select the Funding Source
  10. Click Ok
  11. Click Ok
  12. Expand the Budget and Forecast fast tab
  13. Click the Edit button
  14. Mark the Use Budget Control checkbox
  15. Select Transaction Type Controlled: Cost Only
  16. Click the Edit button
  17. Click the Project Budget button in the Budget group of the Plan tab
  18. Expand the Costs fast tab
  19. Click the New button
  20. Select the Project
  21. Select Transaction Type: Hours
  22. Select Category
  23. Enter the Original Budget
  24. Push it through workflow
  25. Close the Project Budget form
  26. Click the Project Stage button in the Maintain group of the Project tab and select In Process
  27. Expand the General fast tab
  28. Click the Project Contract ID link
  29. Click the Billing Rule button in the Setup group of the Project Contract tab *NOTE* - In AX 2012 R3 this button was moved to a fast tab in the Project Contract form. – Expand the Billing Rules fast tab 
  30. Click the New button – AX2012 R2 in AX2012 R3
  31. Click the Add button
  32. Select the Line Type: Progress
  33. Enter the Contract Value: 200,000
  34. Select the Project
  35. Select the Category 
  36. Expand the Project fast tab
  37. Select the Project
  38. Click Add
  39. AX2012 R3 Screenshot
  40. AX2012 R2 screenshot
  41. Click the Chargeable Categories button
  42. Select the Category
  43. Click Add
  44. Close the form
  45. Close the Billing Rules form
  46. Close the Project Contract form
  47. Click the Hours button in the Journals group of the Project tab
  48. Click the New button
  49. Select the Journal from the Name dropdown 
  50. Click the Lines button
  51. Change the Category:
  52. Enter the Hours: 20 
  53. Click the General tab
  54. Verify there is a Cost Price and Sales Price 
  55. Click the Post button
  56. Click Ok
  57. Close the Infolog
  58. In the Project Contracts form click the Project Invoice Proposal button in the Bill group of the Maintain tab
  59. Click the Invoice Proposal  from Billing Rule button in the New group in the Invoice Proposal tab 
  60. Click Ok
  61. Click Post in the Functions group of the Invoice Proposal tab
  62. Click OK
  63. Click Ok if prompted
  64. Close the Invoice Proposals button
  65. In the Project Contracts form click the Manage Contract Status button in the Process group of the Maintain tab


 As you can see I was able to generate the invoice proposal and I can see the total percent complete updated.

Trabajando en un Canvas con TypeScript (II)

MSDN Blogs - 4 hours 47 min ago

En el artículo anterior ya vimos las partes más básicas para crear un juego e TypeScript, ahora que tenemos eso vamos a crear la lógica del juego y terminar con los detalles finales.

Generación de enemigos

Recordando que ya tenemos la clase Enemy hecha, solo tenemos que crear la lógica del juego que tienen detrás.

  • Generar enemigos en posiciones aleatorias.
  • Mover estos enemigos por la pantalla.
  • Aumentar el número de enemigos a medida que pase el tiempo. 
  • Destruir las instancias cuando dejen de ser necesarias.
  • Restar vida al tocar un enemigo.

 

Generar enemigos en posiciones aleatorias

Primero de todo añadimos las propiedades que vamos a necesitar en Game.ts:

1: private enemies: Array<Enemy> = []; // Array con los enemigos activos 2: private time: number = 0; // Inicializo el tiempo 3: private minTime: number = 3000; // Cada cuanto tiempo generamos enemigos 4: private score: number = 0; // Puntuación obtenida 5: private maxEnemies: number = 2; // Número de enemigos que generamos (cambiará)

En el método update, comprobamos que cada X tiempo vamos a tener que mirar que pasa con los enemigos.
Lo que hace este código es mirar si ha pasado el tiempo configurado y si es así, guardar el nuevo timestamp, generar enemigos y añadir algo de puntuación:

1: private update(): void { 2: ... 3: // Check enemies generation and destruction 4: var now = Date.now(); 5: if (now - this.time > this.minTime) { 6: this.time = now; 7: this.score += 100; 8: this.checkEnemies(); 9: } 10:  11: }

En el método checkEnemies, de momento vamos a generar todos los enemigos para este turno, dependerán del número de enemigos máximo que pueda hacer y se guardarán en el array de enemigos activos:

1: private checkEnemies(): void { 2: for (var i: number = 0; i < this.maxEnemies; i++) { 3: this.enemies.push(this.createRandomEnemy()); 4: } 5: } 6:  7: private createRandomEnemy(): Enemy { 8: var enemy = new Enemy(); 9: enemy.x = Math.floor(Math.random() * this.canvas.width * 0.8) + (this.canvas.width - this.canvas.width * 0.8); 10: enemy.y = Math.floor(Math.random() * this.canvas.height * 0.8) + (this.canvas.height - this.canvas.height * 0.8); 11: return enemy; 12: }

Solo nos queda modificar el método draw para que se pinten los enemigos activos:

1: private draw(): void { 2: ... 3: this.drawHealth(this.hero); 4: for (var i: number = 0; i < this.enemies.length; i++) { 5: this.drawElement(this.enemies[i]); 6: } 7: }

Deberías tener algo parecido a esto:

 

Mover estos enemigos por la pantalla

Vamos a basar este movimiento en una dirección al azar que cambia cada minTime.

En el modelo de enemy añadimos una propiedad pública que solo va a tener esta clase (no hace falta en GameElement) y la inicializamos:

1: module TSGame { 2: 'use strict'; 3:  4: export class Enemy extends GameElement { 5:  6: public direction; 7:  8: constructor() { 9: ... 10: this.direction = { 11: x: 1, 12: y: 1 13: } 14: } 15: } 16: }

El siguiente paso es que en la función update de la clase Game.ts vamos a añadir la llamada a dos métodos, moveEnemy que va a mover todos los enemigos en su correspondiente dirección y changeEnemyDirection que cada minTime va a generar otra dirección aleatoria:

1: private update(): void { 2: // Check hero movement 3: ... 4:  5: for (var i: number = 0; i < this.enemies.length; i++) { 6: this.moveEnemy(this.enemies[i]); 7: } 8:  9: // Check enemies generation and destruction 10: if (now - this.time > this.minTime) { 11: ... 12:  13: for (var i: number = 0; i < this.enemies.length; i++) { 14: this.changeEnemyDirection(this.enemies[i]); 15: } 16: } 17:  18: }

¿Y que hacen estos dos métodos? pues lo comentado, mover al enemigo y generar una dirección aleatoria (-1, 0, 1)

1: private moveEnemy(enemy: Enemy): void { 2: enemy.x += enemy.speed * enemy.direction.x; 3: enemy.y += enemy.speed * enemy.direction.y; 4: } 5:  6: private changeEnemyDirection(enemy: Enemy): void { 7: enemy.direction.x = (Math.floor(Math.random() * (3) + 1) - 2); 8: enemy.direction.y = (Math.floor(Math.random() * (3) + 1) - 2); 9: } Aumentar el número de enemigos a medida que pase el tiempo

Para aumentar la dificultad, a medida que gane puntos vamos a aumentar el número de enemigos.

Podemos hacer que por ejemplo cada 400 puntos añada un enemigo más:

1: private update(): void { 2: // Check hero movement 3: ... 4: // Check enemies generation and destruction 5: if (now - this.time > this.minTime) { 6: ... 7:  8: if (this.score % 4 === 0) { 9: this.maxEnemies++; 10: } 11: } 12: } Destruir las instancias cuando dejen de ser necesarias

Una vez el enemigo desaparece de nuestra visión queremos destruirlo.

Podríamos tener en cuenta diferentes factores, pero debería ser suficiente con borrar el objeto del array al salirse de los bordes de la pantalla:

1: private checkEnemies(): void { 2: for (var i: number = 0; i < this.enemies.length; i++) { 3: if (this.enemies[i].x < 0 || this.enemies[i].x > this.canvas.width || this.enemies[i].y < 0 || this.enemies[i].y > this.canvas.height) { 4: this.enemies.splice(i, 1); 5: } 6: } 7:  8: ... 9: }

En este punto veremos algo así:

Restar vida al tocar un enemigo

El último punto de este capítulo va a ser restar vida cada vez que toquemos un enemigo.

Modificamos en el método update la parte en la que aplicamos el movimiento a cada enemigo y vamos a aprovechar ese bucle para mirar también si toca al héroe:

1: private update(): void { 2: // Check hero movement 3: ... 4:  5: for (var i: number = 0; i < this.enemies.length; i++) { 6: ... 7: this.checkDamage(this.enemies[i]); 8: } 9:  10: // Check enemies generation and destruction 11: ... 12: }

Y este método lo que hace mirar que se cumplan las condiciones mencionadas, en caso de hacerlo resta algo de vida al enemigo:

1: private checkDamage(enemy: Enemy): void { 2: if (this.hero.x < enemy.x + this.hero.size && this.hero.x > enemy.x - this.hero.size 3: && this.hero.y < enemy.y + this.hero.size && this.hero.y > enemy.y - this.hero.size) { 4: this.hero.health -= 0.1; 5: } 6: }

Con todo esto ya tenemos un juego funcionando, en el próximo capítulo:

  • Comprobaremos la puntuación.
  • Comprobaremos la vida del personaje.
  • Añadiremos algunos efectos.
  • Veremos los últimos detalles y sugerencias.

Este es el código completo de la clase Game.ts y la siguiente imagen muestra su funcionamiento:

1: /// <reference path="../import.ts" /> 2:  3: module TSGame { 4: 'use strict'; 5:  6: export class Game { 7:  8: private canvas: any; 9: private hero: Hero; 10: private enemies: Array<Enemy> = []; 11: private time: number = 0; 12: private minTime: number = 2000; 13: private score: number = 0; 14: private maxEnemies: number = 2; 15:  16: constructor() { 17: this.initialize(); 18: this.gameLoop(); 19: } 20:  21: public initialize(): void { 22: this.canvas = new Canvas(); 23: this.hero = new Hero(); 24: this.hero.y = this.canvas.height / 2; 25: } 26:  27: private gameLoop(): void { 28: window.requestAnimationFrame(() => this.gameLoop()); 29: this.update(); 30: this.draw(); 31: } 32:  33: private update(): void { 34: // Check hero movement 35: var keys = this.hero.keysDown; 36: var moveUnits = this.hero.size * 1 / this.hero.speed + this.hero.speed; 37: if (keys.Left === true) { 38: this.hero.x -= (this.hero.x > 0) ? moveUnits : 0; 39: } 40:  41: if (keys.Right === true) { 42: this.hero.x += (this.hero.x < this.canvas.width - this.hero.size) ? moveUnits : 0; 43: } 44:  45: if (keys.Down === true) { 46: this.hero.y += (this.hero.y < this.canvas.height - this.hero.size) ? moveUnits : 0; 47: } 48:  49: if (keys.Up === true) { 50: this.hero.y -= (this.hero.y > 0) ? moveUnits : 0; 51: } 52:  53: for (var i: number = 0; i < this.enemies.length; i++) { 54: this.moveEnemy(this.enemies[i]); 55: this.checkDamage(this.enemies[i]); 56: } 57:  58: // Check enemies generation and destruction 59: var now = Date.now(); 60: if (now - this.time > this.minTime) { 61: this.time = now; 62: this.score += 100; 63: this.checkEnemies(); 64:  65: for (var i: number = 0; i < this.enemies.length; i++) { 66: this.changeEnemyDirection(this.enemies[i]); 67: } 68:  69: if (this.score % 4 === 0) { 70: this.maxEnemies++; 71: } 72: } 73: } 74:  75: private draw(): void { 76: this.canvas.clearCanvas(); 77: this.drawElement(this.hero); 78: this.drawHealth(this.hero); 79: for (var i: number = 0; i < this.enemies.length; i++) { 80: this.drawElement(this.enemies[i]); 81: } 82: } 83:  84: public drawElement(element: IGameElement): void { 85: this.canvas.ctx.drawImage(element.image, element.x, element.y); 86: } 87:  88: public drawHealth(element: IGameElement): void { 89: this.canvas.ctx.beginPath(); 90: this.canvas.ctx.rect(10, 10, element.health, 10); 91: this.canvas.ctx.fillStyle = element.color; 92: this.canvas.ctx.fill(); 93: } 94:  95: private checkEnemies(): void { 96: for (var i: number = 0; i < this.enemies.length; i++) { 97: if (this.enemies[i].x < 0 || this.enemies[i].x > this.canvas.width || this.enemies[i].y < 0 || this.enemies[i].y > this.canvas.height) { 98: this.enemies.splice(i, 1); 99: } 100: } 101:  102: for (var i: number = 0; i < this.maxEnemies; i++) { 103: this.enemies.push(this.createRandomEnemy()); 104: } 105: } 106:  107: private createRandomEnemy(): Enemy { 108: var enemy = new Enemy(); 109: enemy.x = Math.floor(Math.random() * this.canvas.width * 0.8) + (this.canvas.width - this.canvas.width * 0.8); 110: enemy.y = Math.floor(Math.random() * this.canvas.height * 0.8) + (this.canvas.height - this.canvas.height * 0.8); 111: return enemy; 112: } 113:  114: private moveEnemy(enemy: Enemy): void { 115: enemy.x += enemy.speed * enemy.direction.x; 116: enemy.y += enemy.speed * enemy.direction.y; 117: } 118:  119: private changeEnemyDirection(enemy: Enemy): void { 120: enemy.direction.x = (Math.floor(Math.random() * (3) + 1) - 2); 121: enemy.direction.y = (Math.floor(Math.random() * (3) + 1) - 2); 122: } 123:  124: private checkDamage(enemy: Enemy): void { 125: if (this.hero.x < enemy.x + this.hero.size && this.hero.x > enemy.x - this.hero.size 126: && this.hero.y < enemy.y + this.hero.size && this.hero.y > enemy.y - this.hero.size) { 127: this.hero.health -= 0.1; 128: } 129: } 130: } 131: }

 

_____________________________

Quique Fernández

Technical Evangelist Intern

@CKGrafico

First time authoring and publishing enhancements for Office Mix

MSDN Blogs - 5 hours 13 min ago

Last month we published a new eBook – ‘MIXing it up’ – all about using Office Mix to improve learning. As well as introducing the ways that Office Mix can give additional functionality to PowerPoint presentations, the eBook contains some contextual examples and advice specifically for using Mix in education. In the meantime the Office Mix team have been hard at work, and we can now share some of the recent improvements to the editing environment, and new features that make authoring even easier for anyone using Mix for the first time.

The following is a repost from the Office Blog.

First time authoring and publishing enhancements for Office Mix

by PowerPoint Team, on February 23, 2015

It’s been a while since we last posted, and we wanted to share some of the more recent improvements in the Office Mix editing environment. The new Office Mix is easier than ever to use, with some cool features that make authoring easier for first time customers, and other features for more seasoned users that make re-publishing a snap.

Easier authoring

For customers new to Office Mix, we’ve made it easier to get started with some enhanced experiences to guide you through the process. For example, after you first install (or reinstall) Office Mix, the setup process automatically reminds you to open PowerPoint to see the new MIX tab on the PowerPoint ribbon to help you get started creating your Mix.

When you’re ready to create your first mix, just click the Getting Started icon on the MIX tab. The First Mix Recording template is opened and step-by-step instructions guide you through creating a new mix—in two minutes or less.

We’ve also added an attractive template to PowerPoint called “Create an Office Mix,” which you can access from the File > New menu.  This template contains links to the Office Mix website, which is full of examples and tutorials to help you get started.  Or you can remove the sample content and add your own to build a beautiful PowerPoint presentation or mix.

Easier re-publishing

One of our top feature requests from our seasoned customers was to speed up the publishing process. To support this request, we’ve turned the mobile device playback OFF by default.  By eliminating this step, we’ve significantly reduced the time it takes to produce a mix.

Another top feature request was the ability to edit an existing mix without changing the URL. In prior versions, if you had shared an existing mix, there was no easy way to update the mix without updating the link. Now, you can easily choose to update an existing mix and keep the same URL.

These are just a few of the changes from prior versions of Office Mix.  We’ll be sure to share more features and updates in the future.

Until next time,

Happy mixing!

First time authoring and publishing enhancements for Office Mix

MSDN Blogs - 5 hours 13 min ago

Last month we published a new eBook – ‘MIXing it up’ – all about using Office Mix to improve learning. As well as introducing the ways that Office Mix can give additional functionality to PowerPoint presentations, the eBook contains some contextual examples and advice specifically for using Mix in education. In the meantime the Office Mix team have been hard at work, and we can now share some of the recent improvements to the editing environment, and new features that make authoring even easier for anyone using Mix for the first time.

The following is a repost from the Office Blog.

First time authoring and publishing enhancements for Office Mix

by PowerPoint Team, on February 23, 2015

It’s been a while since we last posted, and we wanted to share some of the more recent improvements in the Office Mix editing environment. The new Office Mix is easier than ever to use, with some cool features that make authoring easier for first time customers, and other features for more seasoned users that make re-publishing a snap.

Easier authoring

For customers new to Office Mix, we’ve made it easier to get started with some enhanced experiences to guide you through the process. For example, after you first install (or reinstall) Office Mix, the setup process automatically reminds you to open PowerPoint to see the new MIX tab on the PowerPoint ribbon to help you get started creating your Mix.

When you’re ready to create your first mix, just click the Getting Started icon on the MIX tab. The First Mix Recording template is opened and step-by-step instructions guide you through creating a new mix—in two minutes or less.

We’ve also added an attractive template to PowerPoint called “Create an Office Mix,” which you can access from the File > New menu.  This template contains links to the Office Mix website, which is full of examples and tutorials to help you get started.  Or you can remove the sample content and add your own to build a beautiful PowerPoint presentation or mix.

Easier re-publishing

One of our top feature requests from our seasoned customers was to speed up the publishing process. To support this request, we’ve turned the mobile device playback OFF by default.  By eliminating this step, we’ve significantly reduced the time it takes to produce a mix.

Another top feature request was the ability to edit an existing mix without changing the URL. In prior versions, if you had shared an existing mix, there was no easy way to update the mix without updating the link. Now, you can easily choose to update an existing mix and keep the same URL.

These are just a few of the changes from prior versions of Office Mix.  We’ll be sure to share more features and updates in the future.

Until next time,

Happy mixing!

First time authoring and publishing enhancements for Office Mix

MSDN Blogs - 5 hours 13 min ago

Last month we published a new eBook – ‘MIXing it up’ – all about using Office Mix to improve learning. As well as introducing the ways that Office Mix can give additional functionality to PowerPoint presentations, the eBook contains some contextual examples and advice specifically for using Mix in education. In the meantime the Office Mix team have been hard at work, and we can now share some of the recent improvements to the editing environment, and new features that make authoring even easier for anyone using Mix for the first time.

The following is a repost from the Office Blog.

First time authoring and publishing enhancements for Office Mix

by PowerPoint Team, on February 23, 2015

It’s been a while since we last posted, and we wanted to share some of the more recent improvements in the Office Mix editing environment. The new Office Mix is easier than ever to use, with some cool features that make authoring easier for first time customers, and other features for more seasoned users that make re-publishing a snap.

Easier authoring

For customers new to Office Mix, we’ve made it easier to get started with some enhanced experiences to guide you through the process. For example, after you first install (or reinstall) Office Mix, the setup process automatically reminds you to open PowerPoint to see the new MIX tab on the PowerPoint ribbon to help you get started creating your Mix.

When you’re ready to create your first mix, just click the Getting Started icon on the MIX tab. The First Mix Recording template is opened and step-by-step instructions guide you through creating a new mix—in two minutes or less.

We’ve also added an attractive template to PowerPoint called “Create an Office Mix,” which you can access from the File > New menu.  This template contains links to the Office Mix website, which is full of examples and tutorials to help you get started.  Or you can remove the sample content and add your own to build a beautiful PowerPoint presentation or mix.

Easier re-publishing

One of our top feature requests from our seasoned customers was to speed up the publishing process. To support this request, we’ve turned the mobile device playback OFF by default.  By eliminating this step, we’ve significantly reduced the time it takes to produce a mix.

Another top feature request was the ability to edit an existing mix without changing the URL. In prior versions, if you had shared an existing mix, there was no easy way to update the mix without updating the link. Now, you can easily choose to update an existing mix and keep the same URL.

These are just a few of the changes from prior versions of Office Mix.  We’ll be sure to share more features and updates in the future.

Until next time,

Happy mixing!

20 новых бесплатных курсов виртуальной академии Microsoft Virtual Academy, март 2015

MSDN Blogs - 6 hours 8 min ago



В этом обзоре мы поговорим про бесплатные курсы виртуальной академии Microsoft MVA, которые будут полезны как профессиональным разработчикам программного обеспечения и ИТ-про, так и новичкам. Некоторые курсы предлагают бесплатную подготовку к официальным сертификационным экзаменам. Обратите внимание, что видео-��леер на сайте для ряда курсов, которые созданы на английском языке, содержит возможность включить русские субтитры.

Хит! Основы Microsoft Azure

В рамках этого первого курса вы узнаете, зачем существует ресурс Microsoft Azure и какие проблемы он решает для молодых компаний и компаний из списка Fortune 500. Вы также познакомитесь с некоторыми общими концепциями, связанными с внедрением Microsoft Azure. Затем вы узнаете об учетных записях Майкрософт, учетных записях организаций, учетных записях Azure, подписках, каталогах Azure Active Directory, пользователях, ролях подписок и ролях организаций, а также о типовых задачах администрирования.

Хит! Microsoft Azure для PHP-разработчиков

Цель данного курса – помочь слушателями в освоении Microsoft Azure в контексте запуска PHP приложений. Курс выходит за рамки базовых знаний, затрагивает как небольшие решения, так и крупные, масштабирующиеся до сотен машин.

Хит! Развертывание Linux VM в Microsoft Azure

Как ИТ-специалист хотели бы вы узнать, что предлагает Майкрософт для решений типа "инфраструктура как услуга" на основе Linux и FreeBSD, работающих в Microsoft Azure? Или как перенести имеющиеся у вас решения типа "инфраструктура как услуга" на основе Linux из вашего частного облака в Azure? Технический пропагандист Майкрософт Oguz Pastirmaci расскажет вам обо всем подробно.

Хит! Дэвид Чеппел: облачный DevCamp

As an enterprise developer, have you wondered about the why and how of Microsoft Azure? If you're cloud-aware but not cloud-practiced, this Cloud Dev Camp has a wealth of information for you! Get the guidance you need to help your organization start to build, deploy, and move websites, mobile apps, and enterprise-class apps to the cloud.

Walk with renowned expert David Chappell through the most common Azure scenarios, and explore reasons behind the industry-wide adoption of public cloud platforms. Plus, see the knowledgeable Bret Stateham demo new Azure features and services. Find out how to use practically any language, framework, or tool to create amazing apps and services that work across all devices. Now's your chance to get cloud-ready!

Хит! Разработка игр на DirectX: Анимации и продвинутый игровой AI

Hooked on C++/DirectX game development? It’s a steep learning curve, that’s for sure, but it's so worth it! Roll up your sleeves, and join experts Bryan Griffiths and Mickey MacDonald, as they explore the wow factor through advanced game development! Expand upon the prototype from the previous courses in the series with new gameplay, artificial intelligence (AI), and animations.

In this Jump Start training, learn to add more depth to the overall game, increase your understanding of project potential, and decide where to go from here, as you assess game features, explore testing/verification, and consider situational awareness.

Смотрите другие курсы серии разработки игр на DirectX.

Хит! Разработка игр на DirectX: Блендинг и модели

You've explored skyboxes and porting DX 11 to 11.2, and you've played with sounds and shaders. How about a look at blending and models? Take the next step in game development, and learn how easy it is to implement blending techniques and to add features to your game engine.

Watch as experts Bryan Griffiths and Mickey MacDonald continue their C++/DirectX game development series with a deep dive into atmospheric effects, transparency, and third-party model importing, using the basic loader framework from Microsoft. They even look at new opportunities for students and professionals, in this popular course.

Смотрите другие курсы серии разработки игр на DirectX.

Хит! Новичкам. Создание приложения с помощью App Studio

Курс познакомит слушателя с интересным инструментом для создания приложений App Studio, а также расскажет о возможностях App Studio, созданных для того, чтобы научится быстро и легко создавать свои приложения для платформ Windows 8.1 и Windows Phone 8.1.  Для создания приложения в App Studio слушателю не нужно обладать знаниями в области программирования.

Хит! Сертификация. Начало работы с запросами к базам данных Microsoft SQL Server 2012

Этот курс рассчитан на ИТ-специалистов, уже знакомых с основами баз данных и SQL Server, которые хотят повысить свои знания в этой области. Данный курс также поможет подготовиться к экзамену 70-461, важной части сертификации MCSA: SQL Server. Этот курс дает возможность лучше понять процесс и научиться извлекать, вставлять и обновлять информацию в базе данных. Вы также узнаете об инструкциях для обработки данных и изменения таблиц, изучите некоторые практические примеры.

Хит! Сертификация Проектирование решений на базах данных SQL Server

Are you preparing for Exam 70-465: Designing Database Solutions for Microsoft SQL Server? This course offers the help you need. A team of experts walks you through key design considerations and recommendations for SQL Server data solutions. Take a look at managing a SQL Server environment, along with helpful tools. Explore database security, backup and recovery solutions, and high availability. Plus, explore database troubleshooting and maintenance. 

Хит! Сертификация Разработка с базами данных Microsoft SQL Server

Would you like to learn how to implement a database in SQL Server 2014? Or are you studying for Microsoft Certification Exam 70-464: Developing Microsoft SQL Server Databases? This course can help. Experts take you through tables, indexes, stored procedures, and other database objects. Learn about techniques for designing indexes, managing transactions, and optimizing performance and concurrency. And get troubleshooting tips and best practices. 

Хит! Сертификация. Подготовка к экзамену по основам разработки приложений MTA 98-375 HTML5

Если вы сдаете экзамен по основам разработки MTA 98-375 HTML5, этот обучающий курс в формате HTML поможет вам подготовиться. Начните с обсуждения ожиданий от экзамена и часто задаваемых вопросов о самом процессе. Затем изучите начальные концепции Hyper-Text Markup Language (HTML), Cascading Style Sheets (CSS) и JavaScript. Для получения дополнительной информации об основах HTML и успешном прохождении экзамена, обязательно пройдите этот учебный курс. 

Новый! Применение Entity Framework вместе с ASP.NET MVC

How can Entity Framework (EF) simplify your work? Find out from Adam Tuliper and Christopher Harrison, in this Web Wednesdayscourse. Almost every website you create is a front-end to a database. So managing that data effectively is key to the success, flexibility, and performance of your application. Plus, a robust object/relational mapping (ORM) tool is critical. This is why EF is such a must-have for developers.

Learn what EF 6 is, investigate how it can create databases for you, and find out how to manage that creation. Dig into advanced topics, like managing transactions and integrating stored procedures. And get a look forward into the improvements coming in EF 7. If you're using data (and you are!) check out this course.

Новый! Быстрый старт: Проектирование архитектуры с Web API

Have questions about ASP.NET Web API? Whether you're brand new to the framework or you want to take your design to the next level, this course has the answers! Experts Christopher Harrison and Jeremy Likness walk you through Web API technology, uses, and nuances. See how the toolset makes it easy to build consumable RESTful services, accessible by a variety of clients from myriad platforms.

Get a good look at token-based security features, route attributes, error handling, and versioning. See why it is the ideal way to surface APIs that target browsers and mobile devices. Hear details on how you can easily use the built-in Visual Studio templates or explore customization, design, and implementation. Check out this informative and practical Web Wednesdays event!

Новый! Мониторинг производительности приложений

Would you like an overview of the application performance monitoring (APM) solutions Microsoft has to offer for Operations and Development teams? Look no further. APM solutions offer your teams true insight into their applications. Watch expert Morgan Webb step through Application Insights and System Center Operations Manager to explain these solutions, along with their integration with Visual Studio. Get a full picture of Microsoft end-to-end monitoring options and our strategy going forward to cater for true hybrid cloud application monitoring.

Новый! Покорение Android и iOS с помощью Enterprise Mobility Suite

Просмотрите демонстрацию специалистов Kevin Remde и Simon May для получения информативной и высокоуровневой демонстрации новых мобильных возможностей, которые упрощают и повышают гибкость функций управления восстановлением, безопасностью и идентификационными данными. Они изучают сбалансированные, ориентированные на пользователей (но с высоким уровнем безопасности) политики управления мобильными устройствами и работают со средствами, которые вы уже использовали в прошлом, такими как SCCM (System Center Configuration Manager) и Microsoft Intune.

Новый! Основы Windows 10 Technical Preview для ИТ-специалистов

Посмотрите, как ведущие менеджеры по продуктам Windows 10 Enterprise познакомят вас с Windows 10 Technical Preview. Узнайте о новых улучшениях пользовательского интерфейса, о развитии процессов управления и развертывания и прослушайте новую информацию о том, как улучшения безопасности в Windows 10 позволят вашей компании лучше реагировать на современные угрозы безопасности.

Новый! Отладка веб-сайта с помощью инструментов Internet Explorer F12

Чтобы узнать, как отладить веб-сайт с помощью инструментов Internet Explorer F12, пройдите этот курс! Эксперты покажут, как использовать эти инструменты для быстрого выяснения того, почему веб-сайт или веб-страница не работает должным образом. Изучите стандарты и узнайте, как создать отличный веб-сайт, работающий на любых устройствах и в любых браузерах. Узнайте от экспертов, как оптимизировать страницу, проверить ее в разных браузерах и многое другое!

Новый! Мониторинг решений с поомщью System Center Operations Manager

Are you up to speed on System Center 2012 R2 Operations Manager (SCOM)? SCOM can monitor everything in the datacenter, from physical hardware to hypervisors to virtual machines to applications.

Learn how SCOM monitoring works, and get best practices to optimize your infrastructure's reliability and performance reporting. Then, select the modules for workloads in your own datacenter that you want to monitor with Operations Manager, including Windows Server, SQL, Exchange, SharePoint, Lync, System Center Virtual Machine Manager, App Controller, Configuration Manager, Data Protection Manager, Orchestrator, Service Manager, Linux and UNIX, and Microsoft Azure.

Новый! Разработка универсальных приложений Windows с Cortana и Speech SDK

Want to add Cortana to your app? Whether you're into speech integration technology for accessibility, social responsibility, or gaming (or all of the above!), you're probably excited about the possibilities that Cortana offers for Windows Phone developers today and Windows 10 app developers in the near future. Mobility pioneer Nick Landry and popular author/teacher Jeremy Foster share their practical experience in computer speech technologies and mobile app development scenarios.

Explore the why and how of speech apps, tour Cortana, and review the capabilities of the Speech SDK in Windows and Windows Phone. Work with speech synthesis, look at integrating Cortana into your app, check out voice commands, and find out how to build speech-enabled mobile apps with Visual Studio for Windows devices. You'd be surprised at what you can do with as little as three lines of code!

Новый! Управление пользователями в Office 365 с помощью PowerShell

Join us in this fast-paced demo to learn how to manage Office 365 users using PowerShell. Experts show you how to create and delete users, update user IDs and passwords, assign licenses and groups, and much more.

Полезные ссылки

 

Create an IoT Device Using the Gadgeteer with Azure Blob Storage

MSDN Blogs - 8 hours 6 min ago

Please have a read of my article I wrote about an IoT device project I created.  It was published in this month’s MSDN Magazine.

Making changes to the applicationHost.config on Azure Websites

MSDN Blogs - 8 hours 21 min ago

There are a few other resources about this here and here, but as experiences and changes happen, documenting and sharing different perspectives help move projects and people forward.  Additionally, there is no better way to learn than by doing and no better way to remember than by documenting or writing it down.

As you likely know, not all IIS configuration elements can be modified on the Azure Website platform.  Here is the most current list of the elements which you can modify that I am aware of.

An example is the weblimitselement that can control connectTimeout, headerWaitTime, maxGlobalBandwidth, minBytesPerSecond, etc.. behavior.  As shown in Figure 1, using the IIS Management console on a stand-alone instance of IIS, changing these values is achieved via the Configuration Editor.

Figure 1, changing applicationHost variables, Azure Websites

There is no interface for doing this to an Azure Website, nor will there ever likely be one, because access to system configuration settings would cause some issues when automated scaling, or manual for that matter, happened.  I.e. system configurations are not replicated to other instances when scaled.  To get around this, the Azure Website owner, can create an XDT file that includes these system configurations and publish them to the website.  Then, when the website is scaled, the settings can be propagated as required, because theses settings are part of the website configuration and not the system.

For this example, want to decrease the connectionTimeout to 30 seconds.  To achieve this, I performed the following.

  1. Create an applicationHost.xdt file

  2. Create the content for the XDT file

  3. Publish the XDT file

  4. Confirm the change was applied

Create an applicationHost.xdt file

I created a file called applicationHost.xdt and placed it in my Azure Website project using Visual Studio 2013, similar to that show in Figure 2.

Figure 2, adding an applicationHost.xdt file to my project

Create the content for the XDT file

Once created I added the following content, shown in Listing 1, to the applicationHost.xdt file.

Listing 1, reducing the connectionTimeout limit on Azure Website

<?xml version="1.0"?> <configuration  xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">   <system.applicationHost>     <webLimits xdt:Transform="SetAttributes(connectionTimeout)" connectionTimeout="00:00:30" />   </system.applicationHost> </configuration> Publish the XDT file

I then published the XDT file to my Azure Website to the /site directory, similar to that shown in Figure 3 using FileZilla.

 

Confirm the change was applied

Before the configuration is visible, a restart of the Azure Website is required.  Additionally, make an initial request to the website to make sure the worker process is running.  There are certainly numerous options to get the Azure Websites configuration, I used the CMD Debug Console from KUDU, which I have discussed here, shown in Figure 4.  As you can see, after navigating to D:\home\site, I executed the following command: 

type c:\dwasfiles\sites\#1standard\config\applicationHost.config > myAppHostConfig.config

 

Figure 4, how to get the applicationHost.config for an Azure Website

Once created, the file can be downloaded using an FTP tool or by clicking the download link, illustrated by Figure 5, within KUDU. 

 

 

Figure 5, download the applicationHost.config for you Azure Website

When I clicked on the download link the configuration file was opened in my browser.  Searching for weblimits resulted in finding the desired element configuration, shown in Figure 6.

Figure 6, finding the XDT element in the extended Azure Website applicationHost.config file

NOTE:  Not all variables are extendable.  When I find a list of which ones are or are not, I will share.  For example, I do not think the sites\siteDefaults\limits element can be extended.  This was what I initially tried to get to work, without luck, so there is obviously some Azure Website logic preventing its change and likely protecting me from changing something that would cause problems with my website or for others.

20 новых бесплатных курсов виртуальной академии Microsoft Virtual Academy, март 2015

MSDN Blogs - 8 hours 38 min ago
В этом обзоре мы поговорим про бесплатные курсы виртуальной академии Microsoft MVA , которые будут полезны как профессиональным разработчикам программного обеспечения и ИТ-про, так и новичкам. Некоторые курсы предлагают бесплатную подготовку к официальным сертификационным экзаменам. Обратите внимание, что видео-плеер на сайте для ряда курсов, которые созданы на английском языке, содержит возможность включить русские субтитры. Хит! Основы Microsoft Azure В рамках этого первого курса вы узнаете, зачем...(read more)

Pages

Subscribe to Randy Riness @ SPSCC aggregator
Drupal 7 Appliance - Powered by TurnKey Linux