Monday, August 10, 2015

Unity3D - Roll a ball tutorial review

This is my first foray into game development and Unity 3D, I must admit, is a darn good gaming platform to get your hands dirty. In less than 30 minutes, I was able to get the ball rolling on my very first game board. The Roll-a-ball tutorial was very descriptive. However, there are some points that are not explicitly mentioned in the tutorial which could be helpful for a beginner to get going.
 
How to get the ball moving:
It was not evident in the tutorial that the player needs to use the arrow keys on the keyboard to get the ball rolling. Took me a couple of blogging sites to figure that out.
 
How to get the game view(or camera view) in sync with the scene view:
The tutorial starts off with showing the game view as an exact replica of the scene view. However, the Unity version 5 that I installed does not sync both the views by default leaving me wondering where the play ground is when I tried playing the game for the first time. For starters, you can do the following:
1) Select the "MainCamera" object in the "Hierarchy" tab.
2) Go to "GameObject" menu item in the tool bar.
3) Click on the option "Align to View". This will align your game view to the scene view.

How to get the  scene view in sync with the game view(or camera view):
Further down the lane, as I was playing around with the scene view, I got it all messed up. Now, I wanted the scene view the way it was. I could see that the game view and the camera view remained unchanged - the way I wanted the view to be. Here is what you need to do:
1) Select the "MainCamera" object in the "Hierarchy" tab.
2) Go to "GameObject" menu item in the tool bar.
3) Click on the option "Align View to Selected". This will align your scene view to the game(or camera) view.
 
Unable to see your changes:
For those who are used to Visual Studio IDE, you would expect that your changes are automatically saved and compiled when you hit the "Run" button. However, in the case of Unity, any changes you make in Unity have to be explicitly saved before you run. I have made the mistake of restarting my PC after making several changes. While I was expecting that my changes will be auto saved or auto recovered or at the least I would be prompted to save my changes, I had lost all my changes post reboot.

Setting up the play area - Walls do not fit the play area as per the dimensions followed in the tutorial:
This is because the play ground in the tutorial is twice the size of what we have by default on our editor. Scale the playground to twice the size along the x and z axes.

 
More to come... Will keep you posted!

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

Thursday, June 12, 2014

So Long Scrum, Hello Kanban

The Kanban Philosophy:
  1. Engage your resources as and when the need arises, not necessarily redeploying them.
  2. Focus is on the value realized and not on the individuals. i.e., do not just focus on whether each individual team member is kept busy or not... which is what traditional agile methodologies seem to lead the focus to.
  3. Mental shift for ICs: “What am I doing?” to “What is the work that we are aiming to accomplish?”

References:
http://channel9.msdn.com/Series/Using-Kanban/
http://blog.nwcadence.com/dont-miss-using-kanban-jumpstart-today/

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

Friday, November 15, 2013

JAXDUG meetup on ASP.net SignalR : Key takeaways

  • A project that started off as an open source that is now part of the official .NET Framework 4.5.
  • An Server Side ASP.net functionality to push content out to the browsers(clients). This allows real-time web updates to the browsers.
  • It is officially part of the HTML5 specifications.
  • Supports WebSocket implementation.
  • For SignalR to use WebSocket, IIS8 and Windows Server 2012 or Windows 8 is required.
  • SignalR Hubs API allows us to make remote Procedure Calls(RPCs) from Server to Client and vice versa.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

Monday, November 11, 2013

ASP.Net Troubleshooting

  • Troubleshooting 503 “service unavailable” errors:
A common “what the hell just happened” error is the plain 503 “service available” error that looks like this:
 
While there may be several reasons why this may occur, in this specific case, the 503 error was occurring because the Application pool failed to start. This was because the password was changed recently for the  Identity under which the application pool was trying to run. Fix was to go to the IIS Manager-> Application Pool -> Advanced Settings -> Process Model -> Identity and set the password to the new one.
 
It would also help to check the Event Viewer Logs(Event Viewer (Local) -> Windows Logs -> Application to look for specific causes of failure before proceeding to troubleshoot any further.
  •  'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error:         
This issue happened because of missing drivers to access OLE DB and also the fact that the drivers are not compatible with 64 bit OS. Follow the following steps to fix this issue:
1. Install Microsoft Access 2010 Database Engine from http://www.microsoft.com/en-us/download/details.aspx?id=13255
2. Go to the website's application pool in IIS, choose advanced settings, and set Enable 32-bit applications to FALSE.
3.  Restart the website.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

Monday, October 28, 2013

Windows Communication Foundation - Gotchas

Gotcha: Server is always receiving a NULL value parameter though the client is sending the appropriate data. Method signature in the proxy and wsdls seem to be correct.
Solution: Look for the name of the parameter in the generated wsdls. WCF does a string comparison of the parameters, therefore, watch out to see if the wsdls and the generated proxies have an exact match even in the parameter names. A trained programmer mind might often overlook this fact since in the world of computer programming method signatures matter and the actual parameter names are irrelevant.

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

C# - How to change Date in Visual Studio Debugger

1. Set the breakpoint
2. Open your DateTime variable in QuickWatch for example (right click)
3. In Expression text box enter new value, this is example if your variable name is "dt":
dt = dt.AddDays(3) or DateTime.Parse or new DateTime()
 4. Press enter and continue executing project

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

Wednesday, September 18, 2013

Immigration FAQs


1) What is my Visa Number?
A) It is the Red number in Visa page in passport.

2) What is USCIS 'A' number?
A) It is the number found in “Beneficiary” section seen on my previous I-140 approval with Microsoft. 
 
3) How to find your I-94 Number?
A) The I-94 page is no longer being stamped at the port of entry when you enter the US. You can retrieve your I94 number from the following link: https://i94.cbp.dhs.gov/I94/request.html
 
4) What is the link to track my USCIS case status?
A) https://egov.uscis.gov/cris/Dashboard/CaseStatus.do

5) What are the details to be mentioned in the experience letters to be provided by previous employers for Green Card application?
A) The employment letter should contain your exact dates of prior employment, job duties, job title, employer address, type of business and number of hours worked.  
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>