provide-free-supporttag:blogger.com,1999:blog-54352759997532544892024-10-01T23:32:17.791-07:00Ujjwal's BlogProgramming BlogAnonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.comBlogger247125tag:blogger.com,1999:blog-5435275999753254489.post-28008303520592263542016-02-26T04:41:00.000-08:002016-02-26T04:41:43.877-08:00JEP 254: Compact Strings<div dir="ltr" style="text-align: left;" trbidi="on"> JEP 254 proposes changing the internal representation of strings inside the JVM. As most readers surely know, strings are stored using UTF-16, which uses two bytes per character. This proposal suggests using a more compact, one-byte-per-character representation internally: “Data gathered from many different applications indicates that strings are a major component of heap usage and, moreover, that most String objects contain only Latin-1 characters. Such characters require only one byte of storage, hence half of the space in the internal char arrays of such String objects is going unused,” says the JEP proposal.<br /> <br /> <br /> Changing to the more compact form would not affect existing code or any APIs; it would be a purely internal change inside the JVM and not visible to programmers. Interestingly, the information on the JEP’s web page reveals that a string compression feature was tested in Java 6. It converted String.value to an Object that pointed either to an array of 7-bit characters or an array of regular Java characters. That feature, though, was removed subsequently.</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com1tag:blogger.com,1999:blog-5435275999753254489.post-70907152248889343172015-12-10T06:48:00.000-08:002015-12-10T06:48:13.170-08:00Electron - package web applications for windows/mac/linux<div dir="ltr" style="text-align: left;" trbidi="on"> Hello Blog Readers,<br /> <br /> Recently i came across Electron which lets you package web applications for windows/mac/linux while also allowing you to use native platform features. Check out the link below.<br /> <br /> <a href="http://dgit.in/ElectronPackg">http://dgit.in/ElectronPackg</a><br /> <br /> Regards,<br /> Ujjwal Soni</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-63649907700494169772015-12-10T06:42:00.000-08:002015-12-10T06:42:04.085-08:00Firefox Os 2.5 Developer<div dir="ltr" style="text-align: left;" trbidi="on"> Hi Blog Readers,<br /> <br /> Now you can try Firefox OS without needing to flash it in your Android phone, a version of OS that can be installed like any other APP.<br /> <br /> <a href="http://dgit.in/FirefxOS">http://dgit.in/FirefxOS</a><br /> <br /> Regards,<br /> Ujjwal Soni</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-81522871616785035042015-11-26T19:44:00.002-08:002015-11-26T19:44:37.887-08:00Raspberry Pi Zero: the $5 computer<div dir="ltr" style="text-align: left;" trbidi="on"> Of all the things we do at Raspberry Pi, driving down the cost of computer hardware remains one of the most important. Even in the developed world, a programmable computer is a luxury item for a lot of people, and every extra dollar that we ask someone to spend decreases the chance that they’ll choose to get involved.<br /> <br /> The original Raspberry Pi Model B and its successors put a programmable computer within reach of anyone with $20-35 to spend. Since 2012, millions of people have used a Raspberry Pi to get their first experience of programming, but we still meet people for whom cost remains a barrier to entry. At the start of this year, we began work on an even cheaper Raspberry Pi to help these people take the plunge.<br /> <div class="separator" style="clear: both; text-align: center;"> <a href="https://www.raspberrypi.org/wp-content/uploads/2015/11/rsz_img_4054.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="223" src="https://www.raspberrypi.org/wp-content/uploads/2015/11/rsz_img_4054.jpg" width="320" /></a></div> <br /> Below is the configuration for this new&nbsp;Raspberry<br /> <br /> <li>A Broadcom BCM2835 application processor<ul> <li>1GHz ARM11 core (40% faster than Raspberry Pi 1)</li> </ul> </li> <li>512MB of LPDDR2 SDRAM</li> <li>A micro-SD card slot</li> <li>A mini-HDMI socket for 1080p60 video output</li> <li>Micro-USB sockets for data and power</li> <li>An unpopulated 40-pin GPIO header<ul> <li>Identical pinout to Model A+/B+/2B</li> </ul> </li> <li>An unpopulated composite video header</li> <li>Our smallest ever form factor, at 65mm x 30mm x 5mm</li> <br /> Raspberry Pi Zero runs Raspbian and all your favourite applications, including Scratch, Minecraft and Sonic Pi. <br /> <br /> Thanks,<br /> Ujjwal<br /> &nbsp;</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-57038739165385918822015-11-16T20:58:00.001-08:002015-11-26T19:41:23.979-08:00Testing tools for Angular JS<div dir="ltr" style="text-align: left;" trbidi="on"> <a href="http://karma-runner.github.io/0.12/index.html" style="color: #26519e; font-family: 'PT Serif', serif; font-size: 18px; line-height: 29.9200000762939px;" target="_blank">Karma</a><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; line-height: 29.9200000762939px;">&nbsp;is a great test runner made for Angular, but can also be used with any other Javascript framework. It supports any type of testing:&nbsp;</span><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; font-weight: 700; line-height: 29.9200000762939px;">unit testing, midway testing&nbsp;</span><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; line-height: 29.9200000762939px;">and</span><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; font-weight: 700; line-height: 29.9200000762939px;">&nbsp;E2E testing</span><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; line-height: 29.9200000762939px;">. Karma works by opening browsers that you list in the configuration file. It then communicates with the active browser using&nbsp;</span><a href="http://socket.io/" style="color: #26519e; font-family: 'PT Serif', serif; font-size: 18px; line-height: 29.9200000762939px;" target="_blank">socket.io</a><span style="color: #444444; font-family: &quot;pt serif&quot; , serif; font-size: 18px; line-height: 29.9200000762939px;">&nbsp;and asks you whether to run the test or not.</span><br /> <div class="separator" style="clear: both; text-align: center;"> <a href="http://media02.hongkiat.com/angularjs-tools/karma.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://media02.hongkiat.com/angularjs-tools/karma.jpg" height="215" width="400" /></a></div> </div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-47364842525442873692015-11-16T20:51:00.002-08:002015-11-16T20:51:45.756-08:00Angular JS Eclipse Plugin<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I'm posting this new post on my blog after long long time. Recently i was working on AngularJS, i found a great plugin for MyEclipse which works great for AngularJS. Check out the link below for more details.<br /> <br /> https://github.com/angelozerr/angularjs-eclipse<br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-42847519656687264072015-04-21T06:22:00.000-07:002015-04-21T06:22:14.884-07:00top-10-changes-in-asp.net-5-and-mvc-6<div dir="ltr" style="text-align: left;" trbidi="on"> Below link contains some of the&nbsp;top-10-changes-in-asp.net-5-and-mvc-6<br /> <br /> <a href="https://flipboard.com/@dwahlin/the-asp.net-mvc-%26-web-api-magazine-ghshc9qsy/top-10-changes-in-asp.net-5-and-mvc-6/a-A-8bi3mZRvyaBg7UosgDEw%3Aa%3A1739629-42edf6c01d%2Fstephenwalther.com">top-10-changes-in-asp.net-5-and-mvc-6</a><br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-18497442016003110662015-04-21T06:16:00.003-07:002015-04-21T06:16:49.353-07:00Convert code from C# to VB and from VB to C#<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I was working on a project that needs to be converted from VB to C#, i was searching for a tool that can easily convert some part for me.<br /> <br /> i found one&nbsp;<a href="http://converter.telerik.com/">http://converter.telerik.com/</a><br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-79610189175655777652015-04-21T05:47:00.002-07:002015-04-21T05:47:28.375-07:00Books on Java performance tuning<div dir="ltr" style="text-align: left;" trbidi="on"> We usually do a performance research by writing small stop watch and it will log time taken for each business methods. You create stop watch methods something like startWath and stopWatch to start and stop a timer. The performance tuning on web applications vary from server to server since there are some server level tuning also improves your application's performance.<br /> <br /> Below are some books which might help you.<br /> <br /> Java Performance: The Definitive Guide is a really good book and its quite latest as well - covers G1 GC in depth.<br /> <br /> Then there is another book: Java Performance by Charlie Hunt and Binu John even this book is good expecially the java performance troubleshooting guidelines are good.<br /> <br /> Thanks,<br /> Ujjwal Soni</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-62146042066129112142015-04-21T05:43:00.002-07:002015-04-21T05:43:24.386-07:00How To Handle Downtime During Site Maintenance<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I came across a great article to handle&nbsp;downtime during website maintainence. I've shared the link below.<br /> <br /> <a href="http://moz.com/blog/how-to-handle-downtime-during-site-maintenance">http://moz.com/blog/how-to-handle-downtime-during-site-maintenance</a><br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-23704809864982101872015-04-21T04:37:00.000-07:002015-04-21T04:38:48.079-07:00error-message-401-2-unauthorized-logon-failed-due-to-server-configuration<div dir="ltr" style="text-align: left;" trbidi="on"> <div class="separator" style="clear: both; text-align: left;"> I faced below error when i configured my project to a different machine, i checkedout my source code from TFS. This error mainly occours when Authentication Mode is wrongly configured in your IISExpress.</div> <div class="separator" style="clear: both; text-align: center;"> <br /></div> <div class="separator" style="clear: both; text-align: center;"> <br /></div> <div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPbmi6TqlxuC2qm4LrB8Vun2R5rvGgJz28UNTUmKLVWRWfRx-0gWVTLejUqFRCa4GcRNYAVDbwq7EhngggvOxnFrcDT2BvFeQYftMw2-BemIhGlymmJhXsZj6N0ubveiIAGPZPvvMS7KYD/s1600/SERVER_ERROR.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPbmi6TqlxuC2qm4LrB8Vun2R5rvGgJz28UNTUmKLVWRWfRx-0gWVTLejUqFRCa4GcRNYAVDbwq7EhngggvOxnFrcDT2BvFeQYftMw2-BemIhGlymmJhXsZj6N0ubveiIAGPZPvvMS7KYD/s1600/SERVER_ERROR.png" height="84" width="640" /></a></div> <br /> In order to resolve this error, click on your project and press F4 key. (Dont right click and click on properties as it will take you to a different page).<br /> <br /> <div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoFmeC-Y4nFqKkiS_hnP3zfiCeTrC-_WNRnd40Q1Ib63Mvu5E-D9PM75oB0xOoRDXaRObOcfwdAPWWPhuxBcenYbCOBwIijALA746AfDbW47bcU1NF1whkrmRhuyI49kpO6lzOAImyCz3V/s1600/SERVER_ERROR.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoFmeC-Y4nFqKkiS_hnP3zfiCeTrC-_WNRnd40Q1Ib63Mvu5E-D9PM75oB0xOoRDXaRObOcfwdAPWWPhuxBcenYbCOBwIijALA746AfDbW47bcU1NF1whkrmRhuyI49kpO6lzOAImyCz3V/s1600/SERVER_ERROR.png" /></a></div> Change the settings as per above screenshot, disable anonymous mode and enable windows authentication. This will resolve this error.<br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-4377264706593307912015-04-10T05:41:00.000-07:002015-04-10T05:41:05.316-07:00Microsoft MVC 70-486 VCEFiles<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I have a collection of exam dumps for&nbsp;Microsoft MVC 70-486 VCEFiles which can be downloaded from below link.<br /> <br /> https://drive.google.com/file/d/0B_af9FI8dQPKZm56clViX1lhaHc/view?usp=sharing<br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-45372760301247246512015-03-13T06:04:00.000-07:002015-03-13T06:04:11.774-07:00Windows 10 for Raspberry PI<div dir="ltr" style="text-align: left;" trbidi="on"> Microsoft announced that windows 10 would be available for Raspberry PI. Although, this version will be quite different version than what is being used in Desktops and will be much faster.<br /> <br /> New Raspberry PI tourbocharges with&nbsp;<span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;">new Broadcom BCM2836 system-on-chip. This is a VideoCore IV GPU with four 900MHz ARMv7 Cortex-A7 cores. Also, there’s twice as much memory: 1GB LPDDR2 SDRAM.</span><br /> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;"><br /></span> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;">Windows 10 for the Raspberry Pi 2 will be available for free for the maker community via Microsoft’s Windows Developer Program for IoT.</span><br /> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;"><br /></span> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;">Have ordered my new Raspberry PI and waiting for it to be delivered.</span><br /> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;"><br /></span> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;">Thanks,</span><br /> <span style="background-color: white; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 21px;">Ujjwal</span></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com3tag:blogger.com,1999:blog-5435275999753254489.post-68296242542815424362015-01-27T05:58:00.001-08:002015-01-27T05:58:27.570-08:00Hibernate is haunted by "ghosts"!!<div dir="ltr" style="text-align: left;" trbidi="on"> <div class="separator" style="clear: both; text-align: center;"> <a href="https://media.licdn.com/media-proxy/ext?w=180&amp;h=110&amp;f=c&amp;hash=WHEVuccnEIDf0%2B6cr%2BAq8KTbkpY%3D&amp;ora=1%2CaFBCTXdkRmpGL2lvQUFBPQ%2CxAVta5g-0R6rhRoOww4ys-CGpFu48UVSVofOAW__H3D0vsvTPyr2PNjcfbqjol8ZPiEChkc_e--o" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://media.licdn.com/media-proxy/ext?w=180&amp;h=110&amp;f=c&amp;hash=WHEVuccnEIDf0%2B6cr%2BAq8KTbkpY%3D&amp;ora=1%2CaFBCTXdkRmpGL2lvQUFBPQ%2CxAVta5g-0R6rhRoOww4ys-CGpFu48UVSVofOAW__H3D0vsvTPyr2PNjcfbqjol8ZPiEChkc_e--o" /></a></div> <a href="https://github.com/hibernate/hibernate-orm/blob/4.3/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlGenerator.java?utm_content=buffer84544&amp;utm_medium=social&amp;utm_source=linkedin.com&amp;utm_campaign=buffer">Hibernate Haunted By Ghosts</a></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-54284506047297857332014-12-16T22:33:00.000-08:002014-12-16T22:33:36.128-08:00Features of MVC 6 and ASP.Net vNext<div dir="ltr" style="text-align: left;" trbidi="on"> <span style="background-color: white; color: #333333; font-family: 'Trebuchet MS', sans-serif; font-size: 13px; line-height: 20.7999992370605px;">1.&nbsp;<a href="http://www.code-sample.com/2014/09/features-of-mvc-6-and-aspnet-vnext.html" style="color: black; text-decoration: none;" target="_blank">MVC 6</a>&nbsp;added new cloud computing optimization system of MVC , web API, SignalR and entity framework.</span><br /> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">2. The Microsoft&nbsp; make a bundle of MVC, Web API, WebPages, SignalR , That bundle we called&nbsp;<a href="http://www.code-sample.com/2014/09/features-of-mvc-6-and-aspnet-vnext.html" style="color: black; text-decoration: none;" target="_blank">MVC 6</a>.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">3. In MVC 6, Microsoft removed the dependency of system.web.dll from MVC 6 &nbsp;because it's so expensive. Typically &nbsp;it consume 30K memory per request/response.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">Right now, in MVC 6 consume 2K&nbsp; memory per request response. It's too small memory&nbsp; consume.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">4. Most of the problem solved using the Roslyn Compiler.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">5. The ASP .Net &nbsp;vNext used the Roslyn Compiler,&nbsp; By using Roslyn compiler do not need to compile the application Its &nbsp;compile automatically the application code.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">6. The .Net vNext is a cross platform and open source.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <br style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;" /> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">7. The .Net vNext has the new project extension&nbsp;<b>project.json.&nbsp;</b>Basically project.json contain the all dependency dll of the application.</span><br /><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><span style="font-family: 'Trebuchet MS', sans-serif;">8. In MVC 5.1 and 5.2 support to Enum and EnumHelper in &nbsp;razor views.</span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div> <div class="MsoNormal" style="background-color: white; color: #333333; font-family: Arial, serif; font-size: 13px; line-height: 20.7999992370605px;"> <span style="font-family: 'Trebuchet MS', sans-serif;">9.&nbsp;</span><span style="color: #262626; font-family: Roboto, arial, sans-serif; line-height: 18.2000007629395px;">MVC 6 added new cloud computing optimization system of MVC ,</span></div> <span style="background-color: white; color: #262626; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">web API, SignalR and entity framework. The Microsoft&nbsp; make a</span><br style="background-color: white; color: #262626; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;" /><span style="background-color: white; color: #262626; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">bundle of MVC, Web API, WebPages, SignalR , That bundle we called MVC 6. In MVC 6, Microsoft removed the dependency of system.web.dll</span></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-39645031951504523712014-11-21T06:02:00.001-08:002014-11-21T06:02:49.545-08:00Encoding issue when exporting linq data to CSV C#<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I had been generating export in csv format from C# Code.<br /> <br /> I faced an issue where CSV content heading had some Currency symbols and those were perfectly getting displayed in CSV but when you open those in excel, it shows some corrupted symbols.<br /> <br /> i managed to resolve it using below sequence of development tasks.<br /> <br /> My Earlier Code<br /> <br /> &nbsp; byte[] Bytes = GetFileDataBytes(filename);<br /> &nbsp;return File(Bytes&nbsp;, "text/csv", "report-" + DateTime.Now.ToString("yyyy-MMM-dd") + ".csv");<br /> <br /> My New Code<br /> <br /> &nbsp; byte[] Bytes = GetFileDataBytes(filename);<br /> <b>&nbsp;var result = Encoding.UTF8.GetPreamble().Concat(Bytes).ToArray();</b><br /> &nbsp;return File(result&nbsp;, "text/csv", "report-" + DateTime.Now.ToString("yyyy-MMM-dd") + ".csv");<br /> <br /> Using Above code, i managed to open csv in excel with all special characters in it. :)<br /> <br /> Thanks,<br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0Vadodara, Gujarat, India22.3071588 73.18121870000004522.0721388 72.85849520000005 22.5421788 73.50394220000004tag:blogger.com,1999:blog-5435275999753254489.post-42088973612612835612014-06-24T02:55:00.002-07:002014-06-24T02:55:55.890-07:00Hike Messenger Download<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> Recently i downloaded Hike Messenger on my Note 3 mobile. I am already using whatsapp. The great feature i liked about Hike is the Location sharing feature, its really great. I'll post other features soon.<br /> <br /> Thanks,<br /> <br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-56991795917638877132014-05-30T11:28:00.000-07:002014-05-30T11:28:01.588-07:00Issue Rendering Large Table in Internet Explorer 9 using jquery modal box dialog<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> Recently i had to render large amount of data in an html table in modal dialog box. This worked fine in all browsers except internet explorer 9 specifically. The problem was some rows getting skipped while rendering.<br /> <br /> I had a simple table structure in jquery template as below<br /> &lt;pre&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;<br /> value 1<br /> &lt;/td&gt;<br /> &lt;td&gt;<br /> value 2<br /> &lt;/td&gt;<br /> &lt;td&gt;<br /> value 3<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/pre&gt;<br /> and so on....<br /> <br /> I struggled a lot to find the root cause and discussed it on many forums, some said its due to memory related issues in Internet Explorer 9 and some were questioning on the jquery table structure i have used.<br /> <br /> However, i managed to resolve this simply by removing extra spaces from td tag. Something like below solved my issue :<br /> <br /> &lt;pre&gt;&lt;tr&gt;&lt;td&gt;value 1&lt;/td&gt;&lt;td&gt;value 2&lt;/td&gt;&lt;td&gt;value 3&lt;/td&gt;&lt;/tr&gt;&lt;/pre&gt;<br /> <br /> Let me know if you have any questions.<br /> <br /> Cheers,<br /> <br /> Ujjwal</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0Vadodara, Gujarat, India22.3071588 73.18121870000004522.0721388 72.85849520000005 22.5421788 73.50394220000004tag:blogger.com,1999:blog-5435275999753254489.post-19760871772710769892014-04-01T02:03:00.001-07:002014-04-01T02:05:17.268-07:00Saving handsontable data<div dir="ltr" style="text-align: left;" trbidi="on"> <div dir="ltr" style="text-align: left;" trbidi="on"> <h2 style="background-color: white; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; margin: 0px -15px; padding: 0.6em 15px 0.5em; position: relative;"> What prompted me to use handsontable</h2> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">I was working on replacing an old Excel web control with a more user friendly and needed a JavaScript library that provided the functionality that I needed. After investigating several libraries I decided that handsontable provided me the best solution.</span><br /> <a href="https://www.blogger.com/null" name="more" style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;"></a><br style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;" /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">I thank Marcin Warpechowski, for creating this wonderful library. The community around this is very helpful and this library is rapidly evolving into an even better library!</span><br /> <h2 style="background-color: white; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; margin: 0px -15px; padding: 0.6em 15px 0.5em; position: relative;"> What my solution involved</h2> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">My project that I was implementing handsontable was a classic example of Web Forms with PostBack and code behind access of form elements directly.</span><br /> <h2 style="background-color: white; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; margin: 0px -15px; padding: 0.6em 15px 0.5em; position: relative;"> How to save the data</h2> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">I did not try to create a Web Form custom element, instead I just took advantage of what was already implemented. I started out with creating everything I needed to render a blank handsontable to my page where I was replacing this old control. You can get that from the&nbsp;</span><a href="http://handsontable.com/" rel="nofollow" style="background-color: white; color: blue; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px; text-decoration: none;" target="_blank">handsontable demo pages</a><span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">.</span><br /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">I then added the JSON2 library, from&nbsp;</span><a href="https://github.com/douglascrockford/JSON-js" rel="nofollow" style="background-color: white; color: blue; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px; text-decoration: none;" target="_blank">Douglas Crockford's Github repository</a><span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">, to my project and included it in the page that the table is on.</span><br /> <br style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;" /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">Lastly, I used jQuery to bind an event on the form submission that ran a simple verification that there were no invalid cells in my table. If my table was completely valid, then the event would harvest the data from handsontable and with JSON2 serialize that data into a valid JSON string and save it into a hidden field that my code-behind would pick up. Once it is on the server you can do what you need to do to this.</span><br /> <h2 style="background-color: white; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; margin: 0px -15px; padding: 0.6em 15px 0.5em; position: relative;"> How to retrieve the data</h2> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">With Web Forms and the page I was working with, I needed to be able to repopulate the table with data that had traveled across my PostBack event. So just as I did with my form submission event, I wrote a specialized page load event that populated an object for my handsontable to use during it's creation.</span><br /> <br style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;" /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">My event just listens for the ready event of the page and then looks for that hidden field I created to save the data. It pulls the data out of the hidden field and uses JSON2 to deserialize the object out of the string and that result is passed to my handsontable create table method.</span><br /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;"><br /></span> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;"></span><br /> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;"> </span> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">var hst = (function () {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; var $container = $("#hst");</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; $container.handsontable({</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; startRows: 8,</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; startCols: 6,</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; rowHeaders: true,</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; colHeaders: true,</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; minSpareRows: 1,</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; contextMenu: true</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; });</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; hst = $container.data('handsontable');</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; var $dataLocker = $("#dataLocker").val();</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; if ($dataLocker.length &gt; 0) {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; var data = JSON.parse($dataLocker);</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; hst.loadData(data);</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; }</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; return hst;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">})();</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">// Enable a click handler for the button to save data and submit the form</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">$("#saveContent").click(function (e) {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; // Save the table data before sending the form</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; $("#dataLocker").val(JSON.stringify(hst.getData()));</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; $("body &gt; form").submit();</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 18.200000762939453px;"></span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">});</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"></span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"> </span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">using System;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">using System.Collections.Generic;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">using System.Web.UI.HtmlControls;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">using Newtonsoft.Json;</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">namespace HandsonDemo</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">{</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; public partial class _Default : System.Web.UI.Page</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; protected HtmlInputHidden dataLocker;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; private List&lt;List&lt;int?&gt;&gt; Data = new List&lt;List&lt;int?&gt;&gt;</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new List&lt;int?&gt; { 1, 2, 3, 4, 5, 6 },</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new List&lt;int?&gt; { 7, 8, 9, 10, 11, 12 },</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new List&lt;int?&gt; { 13, 14, 15, 16, 17, 18 },</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new List&lt;int?&gt; { 19, 20, 21, 22, 23, 24 },</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; };</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (IsPostBack)</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // if we are posting data to the server deserialize it so that we can manipulate it</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data = JsonConvert.DeserializeObject&lt;List&lt;List&lt;int?&gt;&gt;&gt;(dataLocker.Value);</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></span><br /> <br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // store the data object to be rendered to the handsontable</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataLocker.Value = JsonConvert.SerializeObject(Data);</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; }</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; }</span></span><br /> <span style="line-height: 18.200000762939453px;"><span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"></span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">}</span></span><br /> <span style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"></span></span></div> <span style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.200000762939453px;"></span></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-7283408111038495622014-03-31T04:17:00.000-07:002014-03-31T04:17:19.257-07:00CSS Score <div dir="ltr" style="text-align: left;" trbidi="on"> <span style="background-color: white; color: #444444;"><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">(Original Article at&nbsp;</span><a class="snap_shots" href="http://sgdev-blog.blogspot.sg/2014/01/css-score.html" rel="nofollow" style="border: 0px; box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px 0.25em; vertical-align: baseline;" target="_blank">http://sgdev-blog.blogspot.sg/2014/01/css-score.html</a><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">)&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">We all know that when many conflict css properties can be applied for one web element, it is by specification that the more specific properties will be applied. However, specific is an abstract word. Hence, it is better that we know about css score, or how browser choose which properties to override.&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">Browser categorize css to 4 categories with the specificity from high to low as:&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">1/ Style Attribute: <li style="color: white;">&nbsp;</li> </span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">2/ ID: #some_id{ color: red;}&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">3/ Class, pseudo class, attribute: .some_class {color:green;}&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">4/ Elements: li {color:black;}&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">From W3C recommendation, the result of this calculation takes the form of four comma-separated values, a,b,c,d,1 where the values in column “a” are the most important and those in column “d” are least important. A selector’s specificity is calculated as follows:&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">To calculate a, count 1 if the declaration is from a style attribute rather than a rule with a selector (an inline style), 0 otherwise.&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">To calculate b, count the number of ID attributes in the selector.&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">To calculate c, count the number of other attributes and pseudo-classes in the selector.&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">To calculate d, count the number of element names and pseudo-elements in the selector.&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">Here is one example using this rule:&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">body#home div#warning p.message --&gt; 0, 2, 1, 3&nbsp;</span><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><br style="box-sizing: border-box; font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;" /><span style="font-family: 'Droid Sans', sans-serif; font-size: 14px; line-height: 21px;">Please notice the comma ',' in the css score, it is there to remind us that the score b, c, d can be equal or bigger than 10. Still, the rule to compare is left to right.</span></span></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0Vadodara, Gujarat, India22.3073095 73.1810975999999322.07229 72.858374099999935 22.542329 73.503821099999925tag:blogger.com,1999:blog-5435275999753254489.post-76040810228582242252014-03-31T04:02:00.000-07:002014-03-31T04:02:41.171-07:00Checking Javascript errors remotely<div dir="ltr" style="text-align: left;" trbidi="on"> Think of a scenario where your website has gone LIVE. Now there occurs a JavaScript error and because of that the record cannot be saved in database and this happens only with internet explorer 7. The client is now complaining. &nbsp;You checked this at your end to analyse but it seems to be working at your end.<br /> <br /> For scenarios like above, i found a great tool which can help us to monitor JavaScript errors. Yes, but for this you need to add a script in the page where you want to monitor. Check below link<br /> <br /> <a href="https://qbaka.com/">https://qbaka.com</a></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0Vadodara, Gujarat, India22.3073095 73.1810975999999322.07229 72.858374099999935 22.542329 73.503821099999925tag:blogger.com,1999:blog-5435275999753254489.post-86272194503127568102014-01-28T06:30:00.001-08:002014-01-28T06:30:15.033-08:00 Real-Time Distributed Software Development Using Eclipse<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I recently came across a cool plugin that enables&nbsp; Real-Time Distributed Software Development Using Eclipse.<br /> <br /> http://www.saros-project.org<br /> <br /> <h2 style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 22px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin: 8px 0px 5px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> What is Saros? What is it not?</h2> <h3 style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin: 5px 0px 4px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> Saros is an Open Source&nbsp;Eclipse plugin&nbsp;for&nbsp;distributed collaborative software development.</h3> <ul style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #4e4e4e; font-family: Verdana, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; list-style-type: disc; margin: 0px 1.6em 1.6em 0px; orphans: auto; outline: 0px; padding: 0px 0px 0px 1.6em; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; line-height: 1.538em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Currently, it works only with and within Eclipse. Saros users can use all Eclipse functionality as usual.</span></li> </ul> <h3 style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin: 5px 0px 4px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> Saros is a real-time&nbsp;collaborative editor for eclipse projects.</h3> <ul style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #4e4e4e; font-family: Verdana, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; list-style-type: disc; margin: 0px 1.6em 1.6em 0px; orphans: auto; outline: 0px; padding: 0px 0px 0px 1.6em; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;">All collaborators have an<strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span class="Apple-converted-space">&nbsp;</span>identical copy of Eclipse projects.</strong></li> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;">Two or more users can<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">jointly edit files</strong><span class="Apple-converted-space">&nbsp;</span>in the project.</li> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;"><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Each</strong><span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">user<span class="Apple-converted-space">&nbsp;</span></strong>has and<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">modifies<span class="Apple-converted-space">&nbsp;</span></strong>his or her own copy of the<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">file locally.</strong></li> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; line-height: 1.538em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Saros<strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span class="Apple-converted-space">&nbsp;</span>keeps these copies in sync</strong><span class="Apple-converted-space">&nbsp;</span>by transmitting each change to all of the other collaborators.</span></li> </ul> <h3 style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin: 5px 0px 4px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> Saros&nbsp;supports up to 5 participants&nbsp;at once.</h3> <ul style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #4e4e4e; font-family: Verdana, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; list-style-type: disc; margin: 0px 1.6em 1.6em 0px; orphans: auto; outline: 0px; padding: 0px 0px 0px 1.6em; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;">Saros is designed to at least work with two participants in a session - as inherent for pair programming.</li> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;">But it supports<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">up to 5 distributed parties</strong><span class="Apple-converted-space">&nbsp;</span>in a session.</li> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;">The initiator of a session, the<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">host</strong>, has a<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">privileged role</strong>.<span class="Apple-converted-space"> </span><div style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #4e4e4e; font-family: Verdana, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 0px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> <h3 style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 18px; font-weight: normal; line-height: 1.2; margin: 5px 0px 4px; outline: 0px; padding: 0px; vertical-align: baseline;"> Saros&nbsp;is not screen sharing, desktop sharing, or application sharing.</h3> <ul style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; list-style-type: disc; margin: 0px 1.6em 1.6em 0px; outline: 0px; padding: 0px 0px 0px 1.6em; vertical-align: baseline;"> <li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; line-height: 1.538em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">That means for instance that it does not support joint interactive testing.</span></li> </ul> <h2 style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Ubuntu Condensed', sans-serif; font-size: 22px; font-weight: normal; line-height: 1.2; margin: 8px 0px 5px; outline: 0px; padding: 0px; vertical-align: baseline;"> Saros can be used in various scenarios:</h2> </div> <div style="-webkit-text-stroke-width: 0px; background-color: #f4f4f4; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #4e4e4e; font-family: Verdana, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 0px; orphans: auto; outline: 0px; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: auto; word-spacing: 0px;"> <table border="1" cellpadding="2" cellspacing="1" style="background-color: #ececec; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(187, 187, 187); font-size: 12px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; width: 700px;"><tbody style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> <tr style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: middle;"><td class="rtecenter" style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Joint review</span></strong></td><td style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> One participant (<strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">"driver"</strong>) reviews the contents of one or more files together with other participants (<strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">"observers"</strong>).&nbsp;Saros is set to always show the observers the same region of text (program code or whatever else) that the driver sees (<strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">"follow mode"</strong>). At any time, any participant (driver as well as observers) can highlight text with the mouse for all the others to see.&nbsp;Also, any participant can become driver at any time.</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> </td></tr> <tr style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: middle;"><td class="rtecenter" style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Introducing beginners</strong></td><td style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> Much like before, except that explaining rather than reviewing is the goal. Each of the beginners (staying in the observer role) can individually peek at other regions of the file or even other files without influencing the flow of the session for the others. To do that, s/he will temporarily leave follow mode.</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> </td></tr> <tr style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: middle;"><td class="rtecenter" style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Distributed Party Programming</strong></td><td style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> <strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Two or more participants work together in a loosely coupled fashion.</strong><span class="Apple-converted-space">&nbsp;</span>They<span class="Apple-converted-space">&nbsp;</span><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">work independently much of the time, but can call one of the others to help whenever the need arises</strong>, for possibly only a very short time or for a longer episode. In this mode, distributed work can even be more powerful than working in the same room, as nobody needs to leave a seat to help multiple others in the course of an hour. Just think how this can speed up the coordination work just before release time after a code freeze!</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> </td></tr> <tr style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: middle;"><td class="rtecenter" style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><strong style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Distributed Pair Programming&nbsp;</strong></td><td style="background-color: #f1f1f1; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(200, 199, 199); border-bottom-style: solid; border-right-color: rgb(200, 199, 199); border-right-style: solid; border-width: 0px 1px 1px 0px; color: #4e4e4e; font-size: 12px; margin: 0px; outline: 0px; padding: 0px 0px 0px 4px; text-align: left; vertical-align: middle;"><div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> &nbsp;</div> <div style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: 12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> Is a particular form of Distributed Party Programming in which two people develop code or text in continuous close collaboration, discussing the approach and combining the best of their ideas.</div> </td></tr> </tbody></table> </div> </li> </ul> </div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0Vadodara, Gujarat, India22.3073095 73.1810975999999322.07229 72.858374099999935 22.542329 73.503821099999925tag:blogger.com,1999:blog-5435275999753254489.post-39051586962468003862014-01-26T04:32:00.000-08:002014-01-26T04:32:08.864-08:00Which ecommerce platform is right for you ?<div dir="ltr" style="text-align: left;" trbidi="on"> <div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3_ntKvNQBiF_lPw1-QIczBVz28SWQ9qBHAag6t6NhJjqJLExAySsOoN8JwLw5mSC42cP6QJ_lQzza3wL9nRISsQDbh8muK214tK-aOdiIjwWOFdhURp2cyZeaLaead-yk2xAze7ZimQny/s1600/58bcb1f0bc3404722726fee4a1988ced.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3_ntKvNQBiF_lPw1-QIczBVz28SWQ9qBHAag6t6NhJjqJLExAySsOoN8JwLw5mSC42cP6QJ_lQzza3wL9nRISsQDbh8muK214tK-aOdiIjwWOFdhURp2cyZeaLaead-yk2xAze7ZimQny/s1600/58bcb1f0bc3404722726fee4a1988ced.jpg" /></a></div> <br /></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-66332679375178716362014-01-14T03:31:00.002-08:002014-01-14T03:31:23.142-08:00Responsive Web Design<div dir="ltr" style="text-align: left;" trbidi="on"> <div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5VNQsu3vCiRTUA-tJUNBDfyYlbwm6euJoXyoLyF0s30ILnGM0B-ijwH7da7dRvNu3YVy3uYjaG6xzrg7G41JpGARnKu4bvLda1xpXr48XdxKUJM4vE1Kbhv9tdrByK7uY-uUZtYrRczGa/s1600/4601835102e541d11991e987b867722b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5VNQsu3vCiRTUA-tJUNBDfyYlbwm6euJoXyoLyF0s30ILnGM0B-ijwH7da7dRvNu3YVy3uYjaG6xzrg7G41JpGARnKu4bvLda1xpXr48XdxKUJM4vE1Kbhv9tdrByK7uY-uUZtYrRczGa/s1600/4601835102e541d11991e987b867722b.jpg" /></a></div> <br /></div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0tag:blogger.com,1999:blog-5435275999753254489.post-13499104794923795222013-11-01T04:36:00.003-07:002013-11-01T04:36:43.508-07:00Upgraded to OSX Mavericks on my Mac<div dir="ltr" style="text-align: left;" trbidi="on"> Hi,<br /> <br /> I upgraded my Mac with OSX Mavericks. &nbsp;Apple claims that they have made improvements on speed, multiple windows and yeah, they seem to have succeeded in that.<br /> <br /> Upgradation process went smooth and it was quick and steady.<br /> <br /> Cheers,<br /> <br /> Ujjwal Soni</div> Anonymoushttp://www.blogger.com/profile/05114450573216313353noreply@blogger.com0