Computing device Just who promotes that cheapes Hewlett Packard D8C84UTABA 4300p Sff I3 3 3 4GB 500GB W7p64 w8p Sby

Who actually is sold that cheapes Hewlett Packard D8C84UTABA 4300p Sff I3/3.3 4GB 500GB W7p64-w8p Sby with presently

Evaluations: Hewlett Packard D8C84UTABA 4300p Sff I3/3.3 4GB 500GB W7p64-w8p Sby

Hewlett Packard D8C84UTABA 4300p Sff I3/3.3 4GB 500GB W7p64-w8p Sby

Hewlett Packard D8C84UTABA 4300p Sff I3/3.3 4GB 500GB W7p64-w8p Sby below nowadays

1 10 110 V AC 13.3" 14.9" 16GB 16.70 lb 2 220 V AC 240 W 3 3MB 3 Year 3.30 GHz 4 4GB 4.0" 5 GT/s 500GB 64-bit 7200 Strong PC performance, intelligent PC design - the HP Compaq Pro 4300 Small Form Factor provides essential performance for office productivity. HP ProtectTools security software HP Power Assistant Microsoft Security Essentials Cyberlink Multimedia Suite Security HP Client Security Credential Manager Password Manager One Step Logon SpareKey DigitalPass Device Access Manager w/ JITA Drive Encryption (McAfee) File Sanitizer Privacy Manager Windows Applications Bing (Search) Productivity Microsoft Office Starter (Reduced-functionality Word and Excel only, with advertising. No PowerPoint or Outlook. Buy Office 2010 to use the full featured software) HP Additions HP Marketplace HP Wallpaper Desktop Applications PDF Complete Corporate Edition WinZip Basic Adobe Flash Player HP Support Applications HP EUDI Support Environment HP Help and Support HP Recovery Manager HP Setup v9.0 HP Support Assistant Pro 4300 Small Form Factor PC (ENERGY STAR) (D8C84UT) Keyboard Mouse Business Desktop Business Desktop Pro 4300 Core i3 D8C84UT D8C84UT#ABA DDR3 SDRAM DDR3-1600/PC3-12800 DVD-RAM/ R/ RW DVD-Writer Desktop Computer Dual-core (2 Core) EPEAT Gold Energy Star Genuine Windows 7 Professional Genuine Windows 7 Professional Upgradable to Genuine Windows 8 Pro Gigabit Ethernet H61 Express HD 2500 HP Hewlett-Packard IT Eco Declaration Intel Mouse Pro 4300 Pro 4300 Small Form Factor PC (ENERGY STAR) (D8C84UT) RoHS SATA/600 Serial ATA/600 Shared Small Form Factor WEEE Yes i3-3220 www. hp.com

Read more »
Read More..

HOWTO FreeNAS 8 0 3 RELEASE p1 USB device boot bug fix

The Problem



When I upgraded my FreeNAS to the latest version FreeNAS 8.0.3 RELEASE p1, it refused to boot and stop at the following message.



mountroot> GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).

GEOM: da0s2: geometry does not match label (16h,63s != 255h,63s).




I typed the following command and it boots fine.



ufs:/dev/da0s1a



The problem is that I need to type the captioned command on each boot up. How to solve this problem? Yes, I can.



The Solution



After the system is booting up and a menu is displayed. Select "9) Shell" to go to the shell prompt where we can do the following.



Step 1 :



nano /etc/fstab



Change from :

/dev/ufs/FreeNASs1a / ufs ro 1 1



To :

/dev/ufs/FreeNASs1a / ufs rw 1 1



Step 2 :



Then, save and exit the editor. Execute the following command :



mount -a



Step 3 :



Next, open up another file :



nano /boot/loader.conf



Change from :

#Fix booting from USB device bug

kern.cam.boot_delay=10000




To :

#Fix booting from USB device bug

kern.cam.boot_delay=20000




Save and exit the editor. Then reboot. This time, the boot up is much slower than before but it works. Problem solved!



Thats all! See you.
Read More..

How to Improve ASP Net MVC 3 View Performance

What is a View ?
  • Incoming browser requests are mapped to controller actions
  • A controller action might return a View
  • View handles the display of the data
  • Most often the Views are created from the ViewModel data

MVC

How to Improve View Performance ?

Tip 01 :  Run in Release Mode
  • You should always make sure that your application is Compiled in Release Mode
Compiled in Release Mode
  • Your Web.config file Must Looks Like below on Production
         <compilation debug="false" targetFramework="4.0">
         <assemblies>

        </assemblies>
     </compilation>

   Why This Needs ?

      #  MVC Will Not do any View Look-up Caching if you are running your application
            in Debug Mode

Tip 02 : Use only the View Engines that you need

  • MVC framework supports having multiple view engines
  • Can Configured simultaneously in your application
  • And will query each in turn when it is trying to find a View
  • In MVC 3 we register two view engines by default (WebForms and Razor)
  • There is no reason to pay the performance price for something you are not using
  • So make sure you specify only the view engines you need in your Global.asax file
         Global.asax  file Looks Like below :

      protected voidApplication_Start()
        {
          ViewEngines.Engines.Clear();
          ViewEngines.Engines.Add(new RazorViewEngine());//add razor view engine
        }

Tip 03 Avoid passing null ViewModels to Views

     When it Happens ?
  • You pass in a null ViewModel to a View that uses strongly-typed html helpers 
           Such as in the View :

              @model PawLoyalty.ViewModels.Product
          
      @{
                
              @Html.TextBoxFor(m => m.ProductName); 
       
       }
  • This frequently happens in Insert (Add) scenarios

    Why is it Bad ?
  • Strongly-typed html helpers like above,
  • Will try to emit the value of the ViewModel using the provided expression
  • However when something along the expression chain is null a NullReferenceException will be thrown,
  • When the expression gets evaluated,
  • MVC’s expression evaluator catches the exception
  • But on a page with multiple such html helpers the cost of the exception adds up
  • You can avoid that cost by always passing an instance of the ViewModel to the View

    Bad Way :

        [HttpGet]
        public ActionResult Add() //get empty data for user input operation
        {
            returnView();  //here the model instance defaults to null
        }

    Best Way :

        [HttpGet]
        public ActionResult Add()//get empty data for user input operation
        {
          returnView(new Product());//here the ViewModel Product has been sent
        }



Tip 04 Uninstall URL Rewrite if you don’t use it

  When it Happens :
  • Your IIS server has the URL Rewrite module installed
  • When you are running ASP.NET MVC 3,
  • None of the applications on the server are using it

            What is URL Rewrite ?

               #  Enables Web administrators to create powerful rules to implement URLs
               #  That are easier for users to remember and easier for search engines to find

Why is it Bad ?

  • When performing URL generation (e.g : Html.ActionLink)
  • MVC 3 checks to see if the currently requested URL has been rewritten by the URL Rewrite module
  • The act of checking need significant computing power to solve (because it involves checking server variables)
  • So if you are not using URL Rewrite you should Turn it Off (Uninstall)

                   How to Uninstall URL Rewrite ?

                       # Win 7 --> Controller Panel --> Programs and Features -->

Uninstall URL Rewrite


             Important Note :  MVC 2 always performs this check.So turning
                                         URL Rewrite off  (uninstall)  will not make a difference


Tip 05 Enabling Output Caching

    What is Output Caching ?

  • Enables you to cache the content returned by a controller action
  • The same content does not need to be generated each and every time the same controller action is invoked
  • Caching enables you to avoid performing redundant work on the Server
  • Can apply for either individual controller action or an entire controller class

   How to Do That ?

  • Using [OutputCache] attribute

    Lets take a simple Example

    public class HomeController : Controller
    {
      [OutputCache(Duration = 10, VaryByParam = "none")] //cached for 10 seconds
      public ActionResult Index()
      {
          returnView();
      }
    }

   When to Use it ?
  • Read operations Only

  When Not to Use it ?
  • Writes operations.Such as Update,Delete and Inserts 
  • Pages which are User Specific.e.g. shopping cart page

Summery of Performance Gain Chart :

Performance Gain Chart

                        Pages/Sec - How many pages can load per second

                        Page Time (ms) - How long will it take to load a page

                        Base - Page that has not done any performance gain operations

Conclusion
  • You can see that highest performance gain can get by using OutputCache operation
  • But OutputCache having its own Limitations
  • I will explain more about MVC caching in My future blog post
  • If your page is load under 1 second then you may not worry too much about performance gain

I hope this helps to You.Comments and feedback greatly appreciated.

Happy Coding.

MVC Related Articles


Read More..

HOWTO Flash Aid 2 2 3 for Ubuntu

Do you encounter blue faces or wrong colour displayed on the YouTube videos on your Ubuntu 12.04 box? If yes, I recommend you to install Flash-Aid which can solve the problem.



Open your Firefox and go to here to install the plugin. Once the plugin is installed, you can click on the icon on the right top hand corner to install the correct Flash.



The official wording of Flash-Aid :



Remove conflicting flash plugins from Ubuntu/Debian Linux systems, install the appropriate version according to system architecture and apply some tweaks to improve performance and fix common issues.



Thats all! See you.



UPDATED on May 23, 2012 :



If your problem is still there and you have nVidia display card with "libvdpau1" installed, you should follow the steps below to solve the problem.



sudo add-apt-repository ppa:tikhonov/misc

sudo apt-get update

sudo apt-get install libvdpau1




This solution is workable on Ubuntu 12.04 LTS with flashplugin-installer 11.2.202.235ubuntu0.12.04.1 but not with Flash-Aid 2.2.3.

Read More..

HOWTO Kioptrix 4 Level 1 3

The following videos are not created by me. They are created by one of my mentors, g0tmi1k. I re-post here for reference. Please credit to g0tmi1k.



To get Kioptrix 4 (Level 1.3) at here.



To find some hints and solutions, please refer to g0tmi1ks blog at here



g0tmi1k find three different ways to compromise the Kioptrix, here you are (Enjoy!!!) :





SQL Injection







Local File Inclusion







Limited Shell










Thats all! See you.
Read More..

Blog Archive

Powered by Blogger.