• CV
  • Blog
  • Contacts
    • Facebook
    • LinkedIn
    • GitHub
    • Twitter
    • Google+
    • LiveJournal
    • VK
  • РусскийРусский

Anamnesis

of a kooky software developer with megalomaniacal inferiority complex

image

Amazon compact AMI with Ubuntu

29.05.2011 by Sergey Vasilyev 10 Comments

Did you ever try Amazon Web Services (AWS)? If you are an IT person and did not try it yet, then I recommend you to do so as soon as possible.  Just sign up with your Amazon account, and get their Free Tier for 1 year. Free Tier includes 10GB of EBS storage and 750 hours (24 hours * 31 days) of free time for “micro” instance. When the year will finish, this “micro” instance will cost you no more than ~$15/month (30 days * 24 hours * $0,02/hr).

You can easily run an instance of almost any modern OS — either Windows or any distribution of Linux — in less than a minute, with absolutely no need to go through difficult installation and initial configuration process. Just select an image (Amazon Machine Image, AMI), push the button, wait few seconds and connect with ssh to a running virtual server.

To be honest, the initial motive of making my own nano-AMI has came from misunderstanding of the Free Tier policy. I had found that the smallest of these images are 8GB in size, and one image takes all the Free Tier included EBS storage. So I thought that instead of  running one big 8GB empty image I can run ten nano-size 1GB images instead. Thus, saving money by fitting into Free Tier boundaries.

[Read more…]

Posted in: Development Tagged: amazon, ami, aws, cloud, ebs, ec2, image, instance, natty, server, ubuntu

COM Surrogate has stopped working in Windows Photo Viewer

28.04.2011 by Sergey Vasilyev 47 Comments

Suddenly my Microsoft Windows 7 started to throw “COM Surrogate” error when I try to view any picture with its built-in Windows Photo Viewer. The advices which you can find in the internet says to reinstall Nero or codec packs. I have neither of them, but only more or less clean Windows installation and all its usual updates.

In a nutshell, “COM Surrogate” is DllHost.exe process created by any other process, which wants to execute some code from any DLL (code library), but it doesn’t want to execute the code in its own space since it does not trust the code in terms of stability. So it creates a “surrogate” to execute the code. If that DLL code dies during execution, only DllHost.exe surrogate process dies (giving us this “COM Surrogate has stopped working” error) and the initial process stills alive. If this killing code were executed in the initial process directly, then the initial process dies instead of surrogate.

Though actually we have no need to care what it is and what all this means and how things work. We want our photos being shown.

[Read more…]

Posted in: Knowhows Tagged: bug, com, dll, error, fix, image, photo, surrogate, viewer, windows

Categories

Development Job Knowhows Life Hacks Management Nothings Traveling Word of the Day

Tags

amazon apple archive aws backup blog budget business canada capslock career cloud development document english expenses experiment file image iq job keyboard keyremap4macbook language layout lifehack macbook mac os x macosx management password pckeyboardhack photo psychology python russia russian startup storage success team toronto us windows workon

Copyright © 2025 Anamnesis.

Omega WordPress Theme by ThemeHall